{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cqnce-app/json-schema/cqnce-app-project-callback-schema.json",
  "title": "ProjectCallback",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cqnce-app-callbacks-api-openapi.yml#/components/schemas/ProjectCallback",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "projectId": {
      "type": "string",
      "format": "uuid"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "request.approved",
          "request.rejected",
          "request.expired",
          "request.cancelled",
          "chain.step_approved",
          "serial.agent_timeout"
        ]
      }
    },
    "headerName": {
      "type": [
        "string",
        "null"
      ]
    },
    "headerValue": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}