{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asteroidxrpl-com/json-schema/asteroidxrpl-com-evidence-response-schema.json",
  "title": "Historical evidence response data",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asteroidxrpl-com-asset-api-openapi.yml#/components/schemas/evidence-response",
  "type": "object",
  "required": [
    "classification",
    "items"
  ],
  "additionalProperties": false,
  "properties": {
    "classification": {
      "type": "string",
      "const": "historical-ledger-evidence"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ledger-evidence"
      }
    }
  },
  "$defs": {
    "ledger-evidence": {
      "title": "Historical ledger evidence item",
      "type": "object",
      "required": [
        "id",
        "classification",
        "label",
        "supportedClaim",
        "claimStatus",
        "verificationResult",
        "transactionHash",
        "ledgerIndex",
        "transactionResult",
        "observedValue",
        "expectedValue",
        "destination",
        "source",
        "method",
        "detail",
        "explorerUrl"
      ],
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "classification": {
          "type": "string",
          "const": "historical-ledger-evidence"
        },
        "label": {
          "type": "string"
        },
        "supportedClaim": {
          "type": "string"
        },
        "claimStatus": {
          "type": "string",
          "enum": [
            "ledger-verified",
            "owner-confirmed",
            "independently-sourced",
            "derived",
            "aspirational",
            "unresolved"
          ]
        },
        "verificationResult": {
          "type": "string",
          "enum": [
            "verified",
            "mismatch",
            "unavailable"
          ]
        },
        "transactionHash": {
          "type": "string",
          "pattern": "^[0-9A-F]{64}$"
        },
        "ledgerIndex": {
          "type": [
            "integer",
            "null"
          ]
        },
        "transactionResult": {
          "type": [
            "string",
            "null"
          ]
        },
        "observedValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Exact decimal string. Never a binary floating-point number, never coerced to zero."
        },
        "expectedValue": {
          "type": [
            "string",
            "null"
          ]
        },
        "destination": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": "string"
        },
        "method": {
          "type": "string"
        },
        "detail": {
          "type": [
            "string",
            "null"
          ]
        },
        "explorerUrl": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}