{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/socialdata-tools/json-schema/socialdata-tools-monitor-event-schema.json",
  "title": "MonitorEvent",
  "description": "One webhook delivery attempt made by a monitor",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/socialdata-tools-openapi.yml#/components/schemas/MonitorEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Event ID, used to fetch the event details"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The UTC datetime when the delivery was attempted"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The webhook URL the request was sent to"
    },
    "response_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The HTTP status your server returned. A null value means the request never completed - a timeout, a DNS failure, or a connection that was refused."
    }
  },
  "required": [
    "id",
    "created_at",
    "url",
    "response_code"
  ]
}