DesignGlyphDraftRequest design.glyph-draft-request@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-request.v1.json

A first-party service asks Design to draw an icon candidate. Design verifies the caller's service token, deduplicates by caller and name, and keeps every candidate in staff review before any site shows it.

Fields

FieldTypeRequiredDescriptionConstraints
namestringyes
  • pattern ^[a-z][a-z0-9-]{1,31}$
sentencestringyes
  • minLength 3
  • maxLength 200

Examples

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

Valid: daily
{
  "name": "daily-2026-11-09",
  "sentence": "A shared quest about visiting and contributing across several sites"
}
Rejected: unknown-field
{
  "name": "daily-2026-11-09",
  "sentence": "A shared quest",
  "svg": "<svg/>"
}

Validate

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