{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-hold-create-request-schema.json",
  "title": "HoldCreateRequest",
  "description": "Body for POST /orchestrator/holds.",
  "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/HoldCreateRequest",
  "properties": {
    "reason": {
      "type": "string",
      "title": "Reason",
      "description": "Why the caller wants the orchestrator to stay up"
    },
    "ttl_seconds": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0
        },
        {
          "type": "null"
        }
      ],
      "title": "Ttl Seconds",
      "description": "Grace-window auto-expiry; server default if omitted"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "reason"
  ]
}