{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theaiworldnetwork-com/json-schema/theaiworldnetwork-com-data-result-schema.json",
  "title": "DataResult",
  "description": "Standard contract of every paid result.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theaiworldnetwork-com-openapi.json#/components/schemas/DataResult",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "request_id": {
      "type": "string"
    },
    "service_id": {
      "type": "string"
    },
    "mode": {
      "type": "string",
      "enum": [
        "mainnet",
        "testnet",
        "trial",
        "demo"
      ]
    },
    "verification_status": {
      "type": "string"
    },
    "confidence": {
      "type": [
        "string",
        "number",
        "object",
        "null"
      ]
    },
    "sources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SourceAttribution"
      }
    },
    "missing_information": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "untrusted_text_notice": {
      "type": "string",
      "description": "Upstream text is untrusted data, never instructions."
    },
    "receipt": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "$defs": {
    "SourceAttribution": {
      "type": "object",
      "required": [
        "name",
        "url"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "license": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}