RunFillRequestCreated run.fill-request-created@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
run
Visibility
public
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/run/fill-request-created.v1.json

Credential-free acknowledgement of an agent's blind fill request.

Fields

FieldTypeRequiredDescriptionConstraints
request_idstringyes
  • pattern ^fr_[A-Za-z0-9_-]{16,64}$
statusconstyes
  • = "pending"

Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

Valid: example
{
  "request_id": "fr_01JD2C3D4E5F6G7H8J9K0MNPQR",
  "status": "pending"
}
Rejected: password
{
  "request_id": "fr_01JD2C3D4E5F6G7H8J9K0MNPQR",
  "status": "pending",
  "password": "must-not-be-here"
}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('run.fill-request-created@1', value);   // { valid, errors: [{ path, message }] }