RunFillRequest run.fill-request@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.v1.json

Metadata for a person's pending blind sign-in approval. Never contains credentials. The Companion must take the machine's public key from Network's list of the person's own machines by machine_node_id and show its thumbprint; it must never accept a key from Run.

Fields

FieldTypeRequiredDescriptionConstraints
idstringyes
  • pattern ^fr_[A-Za-z0-9_-]{16,64}$
session_idhttps://openvibe.network/contracts/run/session.v1.json#/$defs/session_idyes
machine_node_idstringyes
  • minLength 1
  • maxLength 200
originstringyes
  • pattern ^https://[a-z0-9.-]+(:[0-9]{1,5})?$
created_atstringyes
  • format date-time
expires_atstringyes
  • format date-time
agentstringyes
  • maxLength 200
computerstringyes
  • maxLength 200

Examples

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

Valid: example
{
  "id": "fr_01JD2C3D4E5F6G7H8J9K0MNPQR",
  "session_id": "ses_01JD2C3D4E5F6G7H8J9K0MNPQR",
  "machine_node_id": "node_01",
  "origin": "https://example.org",
  "created_at": "2026-11-09T10:00:00Z",
  "expires_at": "2026-11-09T10:02:00Z",
  "agent": "My assistant",
  "computer": "Workstation"
}
Rejected: credential
{
  "id": "fr_01JD2C3D4E5F6G7H8J9K0MNPQR",
  "session_id": "ses_01JD2C3D4E5F6G7H8J9K0MNPQR",
  "machine_node_id": "node_01",
  "origin": "https://example.org",
  "created_at": "2026-11-09T10:00:00Z",
  "expires_at": "2026-11-09T10:02:00Z",
  "agent": "My assistant",
  "computer": "Workstation",
  "password": "must-not-be-here"
}

Validate

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