DesignGlyphDraftResult design.glyph-draft-result@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- design
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/design/glyph-draft-result.v1.json
A glyph request's review state. A draft is never a public icon until staff approval; approved drawings may then be imported into openvibe-shared.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
name | string | yes |
| |
status | enum | yes |
| |
draft_ids | array of string | yes |
| |
created | boolean | yes |
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: pending
{
"name": "daily-2026-11-09",
"status": "pending",
"draft_ids": [
"gd_0123456789abcdef"
],
"created": true
}Rejected: public-before-review
{
"name": "daily-2026-11-09",
"status": "public",
"draft_ids": [],
"created": true
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('design.glyph-draft-result@1', value); // { valid, errors: [{ path, message }] }