{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://blessbri.com/sdk/agent-product-v1.schema.json",
  "title": "Blessbri Agent Generated Product v1",
  "type": "object",
  "additionalProperties": false,
  "required": ["requestId", "nonce", "issuedAt", "productId", "title", "productKind", "mediaType", "contentSha256", "byteLength", "provider", "providerModelReference", "agentId", "invocationId", "principalReference"],
  "properties": {
    "requestId": {"type": "string", "minLength": 1, "maxLength": 300},
    "nonce": {"type": "string", "minLength": 16, "maxLength": 200},
    "issuedAt": {"type": "string", "format": "date-time"},
    "productId": {"type": "string", "minLength": 1, "maxLength": 300},
    "title": {"type": "string", "minLength": 1, "maxLength": 300},
    "productKind": {"enum": ["generated_content", "agent_skill", "prompt", "workflow", "model", "dataset", "software", "service_output"]},
    "mediaType": {"type": "string", "minLength": 1, "maxLength": 300},
    "contentSha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
    "byteLength": {"type": "integer", "minimum": 0, "maximum": 8589934592},
    "provider": {"type": "string", "minLength": 1, "maxLength": 100},
    "providerModelReference": {"type": "string", "minLength": 1, "maxLength": 300},
    "agentId": {"type": "string", "minLength": 1, "maxLength": 300},
    "invocationId": {"type": "string", "minLength": 1, "maxLength": 300},
    "principalReference": {"type": "string", "minLength": 1, "maxLength": 300}
  }
}
