{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "license": "CC BY 4.0",
 "$id": "https://glp1pricecompare.com/data/schema/price-history.schema.json",
 "title": "GLP-1 Price Compare — price-history",
 "description": "Dated before/after record of every price change and correction.",
 "type": "object",
 "properties": {
  "dataset_version": {
   "type": "string"
  },
  "generated_at": {
   "type": "string"
  },
  "license": {
   "type": "string"
  },
  "attribution": {
   "type": "string"
  },
  "count": {
   "type": "integer"
  },
  "entries": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "date": {
      "type": "string"
     },
     "slug": {
      "type": "string"
     },
     "provider": {
      "type": "string"
     },
     "medication": {
      "type": "string"
     },
     "field": {
      "type": "string"
     },
     "previous": {
      "type": [
       "string",
       "null"
      ]
     },
     "new": {
      "type": "string"
     },
     "change_type": {
      "type": "string"
     },
     "source": {
      "type": "string"
     },
     "summary": {
      "type": "string"
     }
    },
    "additionalProperties": true
   }
  }
 }
}