{
  "$id": "https://redlightindex.com/schema/protocols.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "items": {
    "additionalProperties": false,
    "properties": {
      "changelog_url": {
        "type": "string"
      },
      "distance_buckets": {
        "type": "string"
      },
      "effective_date": {
        "pattern": "^$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
        "type": "string"
      },
      "formula_version": {
        "type": "string"
      },
      "notes": {
        "type": "string"
      },
      "protocol_id": {
        "type": "string"
      },
      "protocol_url": {
        "type": "string"
      },
      "source_document": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "version": {
        "type": "string"
      }
    },
    "required": [
      "protocol_id",
      "version",
      "title",
      "status",
      "effective_date",
      "protocol_url",
      "source_document",
      "distance_buckets",
      "formula_version",
      "changelog_url",
      "notes"
    ],
    "type": "object"
  },
  "title": "Red Light Index protocols rows",
  "type": "array"
}
