changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "allOf": [
+ {
+ "if": {
+ "properties": {
+ "domain": {
+ "const": "racing"
+ }
+ },
+ "required": [
+ "domain"
+ ]
+ },
+ "then": {
+ "properties": {
+ "classification": {
+ "enum": [
+ "fact",
+ "assessment",
+ "unknown"
+ ]
+ },
+ "confidence": {
+ "type": "null"
+ },
+ "entities": {
+ "required": [
+ "season",
+ "event",
+ "session",
+ "driver"
+ ],
+ "type": "object"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "permissions": {
+ "const": [
+ "read",
+ "cite"
+ ]
+ },
+ "retrieved_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "scope": {
+ "enum": [
+ "calendar",
+ "weekend",
+ "results",
+ "standings",
+ "strategy",
+ "changes"
+ ]
+ },
+ "season": {
+ "type": "integer"
+ },
+ "sources": {
+ "items": {
+ "properties": {
+ "evidence_type": {
+ "enum": [
+ "racing_fact",
+ "racing_assessment"
+ ]
+ },
+ "freshness": {
+ "enum": [
+ "current",
+ "historical",
+ "stale",
+ "unknown"
+ ]
+ },
+ "observed_at": {
+ "format": "date",
+ "type": "string"
+ },
+ "published_at": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "source_url",
+ "observed_at",
+ "published_at",
+ "freshness",
+ "evidence_type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "pending",
+ "unavailable",
+ "needs_clarification",
+ "unknown_race",
+ "unknown_driver"
+ ]
+ }
+ },
+ "required": [
+ "season",
+ "scope",
+ "status",
+ "classification",
+ "entities",
+ "permissions",
+ "confidence",
+ "retrieved_at",
+ "sources",
+ "limitations"
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "agent_id": {
+ "type": "string"
+ },
+ "answer_id": {
+ "pattern": "^ans-",
+ "type": "string"
+ },
+ "bonuses": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "casino": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "trust_score": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "withdrawal_time": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "casinos": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "claims": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "compared": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "evidence": {
+ "items": {
+ "properties": {
+ "evidence_id": {
+ "type": "string"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "evidence_id",
+ "source_url",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "evidence_state": {
+ "type": "string"
+ },
+ "latest_audits": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "long_running_casinos": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "new_casinos": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "regulatory_intelligence": {
+ "properties": {
+ "actions": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "data_available": {
+ "type": "boolean"
+ },
+ "found": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "found",
+ "data_available",
+ "actions"
+ ],
+ "type": "object"
+ },
+ "schema_version": {
+ "type": "string"
+ },
+ "top_casinos": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "schema_version",
+ "answer_id",
+ "agent_id",
+ "evidence_state",
+ "claims",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "proof": {
+ "properties": {
+ "key_id": {
+ "type": "string"
+ },
+ "signature": {
+ "type": "string"
+ },
+ "signed_at": {
+ "type": "string"
+ },
+ "signed_field": {
+ "const": "data"
+ },
+ "type": {
+ "const": "Ed25519Signature"
+ }
+ },
+ "required": [
+ "type",
+ "key_id",
+ "signature",
+ "signed_field",
+ "signed_at"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data",
+ "proof"
+ ],
+ "type": "object"
+}