{
  "$id": "https://redlightclaims.com/schema/brand_notices.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "items": {
    "additionalProperties": false,
    "properties": {
      "brand": {
        "type": "string"
      },
      "notice_id": {
        "type": "string"
      },
      "public_response": {
        "type": "string"
      },
      "record_id": {
        "type": "string"
      },
      "redactions": {
        "type": "string"
      },
      "sent_at": {
        "pattern": "^$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
        "type": "string"
      },
      "status": {
        "enum": [
          "sent",
          "delivered",
          "bounced",
          "replied"
        ],
        "type": "string"
      },
      "updated_at": {
        "pattern": "^$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
        "type": "string"
      }
    },
    "required": [
      "notice_id",
      "brand",
      "record_id",
      "status",
      "sent_at",
      "updated_at",
      "public_response",
      "redactions"
    ],
    "type": "object"
  },
  "title": "Red Light Claims brand_notices rows",
  "type": "array"
}
