RunFillCommand run.fill-command@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- run
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/run/fill-command.v1.json
Machine-side blind fill command. Contains only the request id and sealed bytes.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
request_id | string | yes |
| |
envelope | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: example
{
"request_id": "fr_01JD2C3D4E5F6G7H8J9K0MNPQR",
"envelope": "T1ZMSwAAAAAAAAA="
}Rejected: password
{
"request_id": "fr_01JD2C3D4E5F6G7H8J9K0MNPQR",
"envelope": "T1ZMSwAAAAAAAAA=",
"password": "must-not-be-here"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('run.fill-command@1', value); // { valid, errors: [{ path, message }] }