{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vultax-com/json-schema/vultax-com-iq-observation-schema.json",
  "title": "IqObservation",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/vultax-com-openapi-openapi.json#/components/schemas/IqObservation",
  "type": "object",
  "required": [
    "pair",
    "score",
    "model_id",
    "model_version",
    "collected_at",
    "source_as_of",
    "factors",
    "freshness",
    "observation_id"
  ],
  "properties": {
    "pair": {
      "type": "string"
    },
    "score": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 1,
      "maximum": 100
    },
    "model_id": {
      "type": "string",
      "enum": [
        "vultax.crypto.vi-iq"
      ]
    },
    "model_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "model_identity_status": {
      "type": "string",
      "enum": [
        "configured_producer_version",
        "unversioned_upstream"
      ]
    },
    "schema_version": {
      "type": "string"
    },
    "collected_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "source_as_of": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "upstream_timestamp": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Timestamp reported by the producer. It is not represented as a verified computation or market quote time."
    },
    "freshness": {
      "type": "string",
      "enum": [
        "fresh",
        "stale",
        "unknown"
      ]
    },
    "factors": {
      "type": "object",
      "required": [
        "market_quality",
        "liquidity_health",
        "arbitrage_potential",
        "order_flow",
        "volatility",
        "news_sentiment"
      ],
      "properties": {
        "market_quality": {
          "type": "object",
          "required": [
            "score",
            "weight",
            "source_as_of",
            "freshness"
          ],
          "properties": {
            "score": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "weight": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "coverage": {
              "type": [
                "number",
                "null"
              ]
            },
            "confidence": {
              "type": [
                "number",
                "null"
              ]
            },
            "source_as_of": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "source_as_of_raw": {
              "type": [
                "string",
                "null"
              ],
              "description": "Original producer timestamp. Without an explicit timezone, normalized time stays null and freshness is unknown."
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            },
            "details": {
              "type": [
                "string",
                "null"
              ]
            },
            "notes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "description": "Producer notes, including fallback and stale-input warnings."
            },
            "freshness": {
              "type": "string",
              "enum": [
                "fresh",
                "stale",
                "unknown"
              ]
            }
          }
        },
        "liquidity_health": {
          "type": "object",
          "required": [
            "score",
            "weight",
            "source_as_of",
            "freshness"
          ],
          "properties": {
            "score": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "weight": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "coverage": {
              "type": [
                "number",
                "null"
              ]
            },
            "confidence": {
              "type": [
                "number",
                "null"
              ]
            },
            "source_as_of": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "source_as_of_raw": {
              "type": [
                "string",
                "null"
              ],
              "description": "Original producer timestamp. Without an explicit timezone, normalized time stays null and freshness is unknown."
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            },
            "details": {
              "type": [
                "string",
                "null"
              ]
            },
            "notes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "description": "Producer notes, including fallback and stale-input warnings."
            },
            "freshness": {
              "type": "string",
              "enum": [
                "fresh",
                "stale",
                "unknown"
              ]
            }
          }
        },
        "arbitrage_potential": {
          "type": "object",
          "required": [
            "score",
            "weight",
            "source_as_of",
            "freshness"
          ],
          "properties": {
            "score": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "weight": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "coverage": {
              "type": [
                "number",
                "null"
              ]
            },
            "confidence": {
              "type": [
                "number",
                "null"
              ]
            },
            "source_as_of": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "source_as_of_raw": {
              "type": [
                "string",
                "null"
              ],
              "description": "Original producer timestamp. Without an explicit timezone, normalized time stays null and freshness is unknown."
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            },
            "details": {
              "type": [
                "string",
                "null"
              ]
            },
            "notes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "description": "Producer notes, including fallback and stale-input warnings."
            },
            "freshness": {
              "type": "string",
              "enum": [
                "fresh",
                "stale",
                "unknown"
              ]
            }
          }
        },
        "order_flow": {
          "type": "object",
          "required": [
            "score",
            "weight",
            "source_as_of",
            "freshness"
          ],
          "properties": {
            "score": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "weight": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "coverage": {
              "type": [
                "number",
                "null"
              ]
            },
            "confidence": {
              "type": [
                "number",
                "null"
              ]
            },
            "source_as_of": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "source_as_of_raw": {
              "type": [
                "string",
                "null"
              ],
              "description": "Original producer timestamp. Without an explicit timezone, normalized time stays null and freshness is unknown."
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            },
            "details": {
              "type": [
                "string",
                "null"
              ]
            },
            "notes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "description": "Producer notes, including fallback and stale-input warnings."
            },
            "freshness": {
              "type": "string",
              "enum": [
                "fresh",
                "stale",
                "unknown"
              ]
            }
          }
        },
        "volatility": {
          "type": "object",
          "required": [
            "score",
            "weight",
            "source_as_of",
            "freshness"
          ],
          "properties": {
            "score": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "weight": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "coverage": {
              "type": [
                "number",
                "null"
              ]
            },
            "confidence": {
              "type": [
                "number",
                "null"
              ]
            },
            "source_as_of": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "source_as_of_raw": {
              "type": [
                "string",
                "null"
              ],
              "description": "Original producer timestamp. Without an explicit timezone, normalized time stays null and freshness is unknown."
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            },
            "details": {
              "type": [
                "string",
                "null"
              ]
            },
            "notes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "description": "Producer notes, including fallback and stale-input warnings."
            },
            "freshness": {
              "type": "string",
              "enum": [
                "fresh",
                "stale",
                "unknown"
              ]
            }
          }
        },
        "news_sentiment": {
          "type": "object",
          "required": [
            "score",
            "weight",
            "source_as_of",
            "freshness"
          ],
          "properties": {
            "score": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 100
            },
            "weight": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "coverage": {
              "type": [
                "number",
                "null"
              ]
            },
            "confidence": {
              "type": [
                "number",
                "null"
              ]
            },
            "source_as_of": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "source_as_of_raw": {
              "type": [
                "string",
                "null"
              ],
              "description": "Original producer timestamp. Without an explicit timezone, normalized time stays null and freshness is unknown."
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            },
            "details": {
              "type": [
                "string",
                "null"
              ]
            },
            "notes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "description": "Producer notes, including fallback and stale-input warnings."
            },
            "freshness": {
              "type": "string",
              "enum": [
                "fresh",
                "stale",
                "unknown"
              ]
            }
          }
        }
      }
    },
    "missing_factors": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "market_quality",
          "liquidity_health",
          "arbitrage_potential",
          "order_flow",
          "volatility",
          "news_sentiment"
        ]
      }
    },
    "confidence": {
      "type": [
        "number",
        "null"
      ]
    },
    "coverage": {
      "type": [
        "number",
        "null"
      ]
    },
    "observation_id": {
      "type": "string"
    },
    "methodology_url": {
      "type": "string",
      "format": "uri"
    }
  }
}