{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Resource identifier returned by the operation."
          },
          "kind": {
            "type": "string",
            "enum": [
              "summary",
              "test",
              "invitation"
            ]
          },
          "state": {
            "type": "string",
            "description": "Saved lifecycle or evidence state, as enumerated for this record."
          },
          "attempts": {
            "type": "number",
            "description": "Provider send attempts recorded for this delivery."
          },
          "provider_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "Email provider message identifier; null until the provider accepted the message."
              },
              {
                "type": "null"
              }
            ],
            "description": "Email provider message identifier; null until the provider accepted the message."
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string",
                "description": "Latest delivery detail code; null when no failure or retry has been recorded."
              },
              {
                "type": "null"
              }
            ],
            "description": "Latest delivery detail code; null when no failure or retry has been recorded."
          },
          "created_at": {
            "type": "string",
            "description": "UTC timestamp when the record was created."
          },
          "updated_at": {
            "type": "string",
            "description": "UTC timestamp of the last record update."
          },
          "summary": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "project_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Project that owns this record."
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Project that owns this record."
                },
                "type": {
                  "type": "string"
                },
                "count": {
                  "type": "number"
                },
                "website": {
                  "type": "string"
                }
              },
              "required": [
                "project_id",
                "type",
                "count"
              ],
              "additionalProperties": {},
              "description": "Grouped change counts included in this delivery, limited to accessible websites."
            },
            "description": "Grouped change counts included in this delivery, limited to accessible websites."
          }
        },
        "required": [
          "id",
          "kind",
          "state",
          "attempts",
          "provider_id",
          "error_code",
          "created_at",
          "updated_at",
          "summary"
        ],
        "additionalProperties": {},
        "description": "Records in this bounded page."
      },
      "description": "Records in this bounded page."
    }
  },
  "required": [
    "items"
  ],
  "additionalProperties": {}
}
