{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-hold-response-schema.json",
  "title": "HoldResponse",
  "description": "Serialised hold in API responses.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-orchestrator-holds-api-openapi.yml#/components/schemas/HoldResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "reason": {
      "type": "string",
      "title": "Reason"
    },
    "created_at": {
      "type": "number",
      "title": "Created At"
    },
    "ttl_seconds": {
      "type": "number",
      "title": "Ttl Seconds"
    },
    "expires_at": {
      "type": "number",
      "title": "Expires At"
    },
    "last_renewed_at": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Renewed At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "reason",
    "created_at",
    "ttl_seconds",
    "expires_at"
  ]
}