{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Ausonomy public reviewed edition",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "title",
      "topic",
      "region",
      "status",
      "date",
      "publisher",
      "url",
      "summary",
      "detail",
      "cta",
      "evidence",
      "reviewed"
    ],
    "properties": {
      "id": {
        "type": "string",
        "pattern": "^[a-z0-9-]+$"
      },
      "title": {
        "type": "string"
      },
      "topic": {
        "type": "string"
      },
      "region": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "date": {
        "anyOf": [
          {
            "type": "null"
          },
          {
            "type": "string",
            "format": "date"
          }
        ]
      },
      "publisher": {
        "type": "string"
      },
      "url": {
        "type": "string",
        "format": "uri",
        "pattern": "^https://"
      },
      "summary": {
        "type": "string"
      },
      "detail": {
        "type": "string"
      },
      "cta": {
        "type": "string"
      },
      "evidence": {
        "type": "string"
      },
      "reviewed": {
        "type": "string",
        "format": "date"
      },
      "deadline": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}
