{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://theloopbreaker.com/schemas/v3-x402/solana-health.v1.schema.json",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema",
    "schemaVersion",
    "protocolVersion",
    "route",
    "operational",
    "readiness",
    "source",
    "executable",
    "rpcContacted",
    "indexerContacted",
    "paymentSettlementEnabled",
    "protectedDecisionUse",
    "claims"
  ],
  "properties": {
    "schema": {
      "const": "vaultfire.v3.solana.health.v1"
    },
    "schemaVersion": {
      "const": "1.0.0"
    },
    "protocolVersion": {
      "const": "3.0.0"
    },
    "route": {
      "const": "/api/v3/solana/health"
    },
    "operational": {
      "const": false
    },
    "readiness": {
      "const": "source-only"
    },
    "source": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "evidenceScope",
        "inventoryAvailable",
        "canonicalDispositionManifestAvailable",
        "supportedCandidateCount",
        "redesignRequiredCount",
        "retiredCount"
      ],
      "properties": {
        "evidenceScope": {
          "const": "source-only"
        },
        "inventoryAvailable": {
          "const": true
        },
        "canonicalDispositionManifestAvailable": {
          "const": true
        },
        "supportedCandidateCount": {
          "const": 6
        },
        "redesignRequiredCount": {
          "const": 4
        },
        "retiredCount": {
          "const": 5
        }
      }
    },
    "executable": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "evidenceAvailable",
        "deploymentAuthorized",
        "deploymentMapAvailable",
        "programAddressVerified",
        "mainnetReadVerified"
      ],
      "properties": {
        "evidenceAvailable": {
          "const": false
        },
        "deploymentAuthorized": {
          "const": false
        },
        "deploymentMapAvailable": {
          "const": false
        },
        "programAddressVerified": {
          "const": false
        },
        "mainnetReadVerified": {
          "const": false
        }
      }
    },
    "rpcContacted": {
      "const": false
    },
    "indexerContacted": {
      "const": false
    },
    "paymentSettlementEnabled": {
      "const": false
    },
    "protectedDecisionUse": {
      "const": "prohibited"
    },
    "claims": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "v3ProgramAddressVerified",
        "mainnetReadVerified",
        "bazaarIndexingVerified"
      ],
      "properties": {
        "v3ProgramAddressVerified": {
          "const": false
        },
        "mainnetReadVerified": {
          "const": false
        },
        "bazaarIndexingVerified": {
          "const": false
        }
      }
    }
  }
}
