Skip to Content
SpecificationCore Schema

Core Schema

The APP metadata object is a JSON object containing provenance information about AI-generated content.

Required fields

FieldTypeDescription
app_versionstringProtocol version in semver format (e.g., "1.0.0")
ai_generatedbooleantrue if content was generated or substantially modified by AI
generatorobjectInformation about the generating system
generated_atstring (ISO 8601)Timestamp of generation completion (UTC recommended)
generation_idstring (UUID v4)Globally unique identifier for this generation event

Optional fields

FieldTypeDescription
inputsobjectDescription of inputs used for generation
reviewobjectHuman review status
usageobjectToken/resource usage
verification_uristring (URI)Endpoint where this generation can be verified
parent_generation_idstring (UUID)Links to a previous generation event
content_hashstringHash of generated content for integrity verification
extensionsobjectNamespace for domain-specific extensions

Minimal example

{ "app_version": "1.0.0", "ai_generated": true, "generator": { "platform": "example-platform", "model": "openai/gpt-4o" }, "generated_at": "2026-03-06T14:22:00Z", "generation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }

Generator object

FieldTypeRequiredDescription
platformstringYesIdentifier of the platform
modelstringYesIdentifier of the AI model (format: "provider/model-name")
platform_versionstringNoVersion of the platform

Inputs object

Describes what went into the generation — types and references, not content.

{ "inputs": { "type": "structured", "description": "Product images and attribute data", "items": [ { "kind": "image", "ref": "product-photo.jpg", "hash": "sha256:abc..." }, { "kind": "data", "ref": "product_attributes", "fields": ["name", "category"] } ], "prompt_ref": "prompt-template-v2.1" } }

Review object

Records human oversight — critical for EU AI Act Article 50(4) compliance.

{ "review": { "human_reviewed": true, "reviewer_role": "editor", "reviewed_at": "2026-03-06T15:30:00Z", "review_type": "approved_without_changes" } }

Review types: "approved_without_changes", "edited", "rejected", "pending".

Usage object

Resource consumption tracking.

{ "usage": { "input_tokens": 1523, "output_tokens": 487, "total_tokens": 2010, "duration_ms": 3200 } }

Complete example

{ "app_version": "1.0.0", "ai_generated": true, "generator": { "platform": "acme-content-engine", "platform_version": "2.3.1", "model": "anthropic/claude-sonnet-4" }, "generated_at": "2026-03-06T14:22:00Z", "generation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "content_hash": "sha256:e3b0c44298fc1c149afbf4c8996fb924...", "verification_uri": "https://verify.acme.com/v1/verify", "inputs": { "type": "structured", "description": "Product images and attribute data", "items": [ { "kind": "image", "ref": "product-photo.jpg" }, { "kind": "data", "ref": "product_attributes", "fields": ["name", "category"] } ] }, "review": { "human_reviewed": true, "reviewer_role": "editor", "reviewed_at": "2026-03-06T15:30:00Z", "review_type": "approved_without_changes" }, "usage": { "input_tokens": 1523, "output_tokens": 487, "total_tokens": 2010, "duration_ms": 3200 }, "extensions": { "com.acme": { "tenant_id": "t-123" } } }
Last updated on