VisionFaceLibraryResult vision.face-library-result@1

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

Version
1.0.0
Owner
vision
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/vision/face-library-result.v1.json

vision.face-library-result@1: clustering and group reads answer the caller's own private face groups as an array; a correction answers the action and how many clusters it updated.

Fields

This schema has no named fields.

Examples

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

Valid: one
[
  {
    "id": "fcl_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
    "media_id": "fme_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
    "group_id": "fgr_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
    "label": null,
    "excluded": false,
    "created_at": "2026-10-29T10:00:00.000Z"
  }
]
Rejected: one
{
  "action": "exclude",
  "updated": -1
}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('vision.face-library-result@1', value);   // { valid, errors: [{ path, message }] }