Schema

Source of Truth

All schema, JSON-LD context, and example files are governed in the ayra-governed-artifactsarrow-up-right repository. That repository is the single source of truth for these artifacts. This concept repository contains documentation about the schema but does not host the schema files themselves.

circle-info

The planned canonical domain for schema URIs is schema.ayra.forum. Until DNS and hosting are configured, the governed-artifacts repo uses raw.githubusercontent.com URLs as resolvable $id URIs.

Current Artifacts (v1.0)

Credential Schema

The main JSON Schema for an AyraBusinessCard Verifiable Credential.

JSON-LD Context

The JSON-LD @context file that provides semantic mappings for credential fields.

Payload Schema (Unified)

Standalone JSON Schema for individual payload items, compatible with the embedded payloads array in the credential schema.

Example Credential

A complete AyraBusinessCard Verifiable Credential with 8 example payloads (phone, social, avatar, credential requests, designation, website, vLEI).

Example credentialSubject

Just the credentialSubject portion, useful as a quick reference.

Schema Documentation

For detailed field-by-field documentation of the credential schema, including:

  • Required and optional fields

  • Naming conventions (snake_case, ayra_ prefix)

  • W3C VCDM 2.0 mapping

  • TRQP integration fields

  • Payload structure

See: Schema Concept

Alignment History

For a record of schema alignment decisions and changes, see: Schema Alignment Summaryarrow-up-right

Last updated