{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/conductorrelay-com/json-schema/conductorrelay-com-wake-event-v1-schema.json",
  "title": "WakeEventV1",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/conductorrelay-com-openapi.yml#/components/schemas/WakeEventV1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "version",
    "event_id",
    "adapter_id",
    "tenant",
    "configuration_version",
    "event_type",
    "created_at",
    "expires_at",
    "delivery_attempt",
    "nonce",
    "kid",
    "signature"
  ],
  "properties": {
    "version": {
      "type": "integer",
      "enum": [
        1
      ]
    },
    "event_id": {
      "type": "string",
      "format": "uuid"
    },
    "adapter_id": {
      "type": "string",
      "format": "uuid"
    },
    "tenant": {
      "type": "string",
      "format": "uuid"
    },
    "configuration_version": {
      "type": "integer",
      "minimum": 1
    },
    "event_type": {
      "type": "string",
      "enum": [
        "mailbox_work_available"
      ]
    },
    "created_at": {
      "type": "integer",
      "format": "int64",
      "minimum": 0
    },
    "expires_at": {
      "type": "integer",
      "format": "int64",
      "minimum": 0
    },
    "delivery_attempt": {
      "type": "integer",
      "minimum": 1,
      "maximum": 6
    },
    "nonce": {
      "type": "string",
      "minLength": 43,
      "maxLength": 43,
      "pattern": "^[A-Za-z0-9_-]{43}$"
    },
    "kid": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[A-Za-z0-9_-]{1,64}$"
    },
    "signature": {
      "type": "string",
      "minLength": 86,
      "maxLength": 86,
      "pattern": "^[A-Za-z0-9_-]{86}$"
    }
  }
}