{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thegoldbarometer-com/json-schema/thegoldbarometer-com-history-row-schema.json",
  "title": "HistoryRow",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thegoldbarometer-com-openapi.yaml#/components/schemas/HistoryRow",
  "type": "object",
  "required": [
    "date",
    "score",
    "zone"
  ],
  "properties": {
    "date": {
      "type": "string",
      "format": "date"
    },
    "score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "zone": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "pillars_used": {
      "type": "integer"
    },
    "backfilled": {
      "type": "boolean",
      "description": "True for reconstructed month-end context rows, false for readings published the day they happened."
    }
  },
  "additionalProperties": true
}