{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/predictasiax-com/json-schema/predictasiax-com-oracle-provider-schema.json",
  "title": "OracleProvider",
  "description": "An oracle attestation provider (resolver) registered by a platform user.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/predictasiax-com-openapi.yml#/components/schemas/OracleProvider",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "user_id": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "adapter_kind": {
      "type": "string",
      "enum": [
        "feed",
        "official_source",
        "regional_data",
        "manual"
      ]
    },
    "status": {
      "type": "string"
    },
    "staked_pax": {
      "$ref": "#/$defs/Money"
    },
    "attestations_total": {
      "type": "integer"
    },
    "disputed_total": {
      "type": "integer"
    },
    "slashed_total": {
      "type": "integer"
    },
    "rewards_pax": {
      "$ref": "#/$defs/Money"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "$defs": {
    "Money": {
      "type": "string",
      "description": "Decimal string with up to 6 fractional digits"
    }
  }
}