{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://theloopbreaker.com/schemas/v3-x402/solvency.v1.schema.json",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema",
    "schemaVersion",
    "protocolVersion",
    "route",
    "status",
    "readiness",
    "observedAt",
    "finality",
    "data",
    "dataSourceErrors",
    "claims"
  ],
  "properties": {
    "schema": {
      "const": "vaultfire.v3.protocol.solvency.v1"
    },
    "schemaVersion": {
      "const": "1.0.0"
    },
    "protocolVersion": {
      "const": "3.0.0"
    },
    "route": {
      "const": "/api/v3/protocol/solvency"
    },
    "status": {
      "const": "not-ready"
    },
    "readiness": {
      "const": "data-source-unconfigured"
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "finality": {
      "type": "null"
    },
    "data": {
      "type": "null"
    },
    "dataSourceErrors": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1,
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "claims": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "liveV3DeploymentVerified",
        "onchainEvidencePresent",
        "paymentSettlementEnabled"
      ],
      "properties": {
        "liveV3DeploymentVerified": {
          "const": false
        },
        "onchainEvidencePresent": {
          "const": false
        },
        "paymentSettlementEnabled": {
          "const": false
        }
      }
    }
  }
}
