**גרסאות API** · **V2 (Latest)** · [V1](/integrations/v1/docs?lang=he)

# Shabbat Drafts

OpenAPI 3.0.3 · API 2.0.0

```json
[
  {
    "url": "https://api.unisoft.world/integrations/v2",
    "description": "API"
  }
]
```

## פעולות

## POST /shabbat-drafts

Save a private Shabbat planning recipe

`create_shabbat_draft`

Requires explicit shabbat_drafts:read for reads or shabbat_drafts:write for creation, plus events:read AND site:read. Campaign-restricted keys are refused. This prepares a PRIVATE API-OWNED SHABBAT RECIPE, visibleInAdmin:false, publicationSupported:false. It never creates a native group/session/form, activates automation, publishes, reserves, queues translation or sends messages. groupId is an existing protected native SHABBAT or TRAVEL.CHABAT.<travel UUID> MULTI_SESSION group, not an ordinary annual-event project. Its site is resolved by the native Shabbat scope owner; caller coordinates, timezone, Travel id and virtualId are not accepted. Missing/ambiguous current group, site, coordinates, Israel/diaspora mode, dates or models/session identities are refused. No annual-event operation can replace this owner. recipe.target (1–12) is the desired count of open sessions, not attendees, seats, capacity or number guaranteed to be created. mode ALWAYS, ONCE (required startDate/endDate) and YEARLY (required seasonStart/seasonEnd MM-DD, no February 29) retain native period rules; anticipationDays controls observation eligibility, not scheduling this recipe for execution. Explicit excludeYomTov/excludeCholHamoed/excludeAdjacent booleans retain the native holiday selector. cutoffHours and description are held settings, not applied to existing objects. No religious hour is entered or inferred. The native pure calendar.preview calculates dates, candidate full Saturday civil-day boundaries in the site timezone, existing open count, exclusions, period and planningStatus; those candidate boundaries are session defaults, NEVER Shabbat candlelighting or havdalah times. Read religious hours with list_community_shabbat_times. modelsReady is separately observed: candidates do not prove usable masters, successful session builds or public registration. Sources are bounded to 200 sessions and 1000 relevant forms, failing the whole preview on ambiguity or overflow. create_shabbat_draft returns a stable private draft UUID and a dated observation, not a native session UUID. One idempotencyKey UUID is bound to the exact canonical recipe, group, organisation and API principal. Writes require a positively acknowledged durable insert with the exact insertedId; uncertain storage returns SHABBAT_DRAFT_STORAGE_UNCERTAIN. Keep the same key and identical input to recover this storage-only draft without duplication; changed input conflicts, never use a new key as a publication retry. get_shabbat_draft returns the stored dated observation after current principal/group/site admission; preview_shabbat_draft recalculates against current sources without changing the recipe or stored observation. Missing forms/models are not auto-created and no native configuration is saved. Historical observations are not current capacity, publication or authority. No query parameters or GET bodies are accepted. Customer descriptions/occasion labels are untrusted data.

### אימות

```json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyHeader": []
  }
]
```

### הרשאות נדרשות

```json
{
  "accepted": "shabbat_drafts:write",
  "additional": [
    "events:read",
    "site:read"
  ]
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/UnisoftRequest_3fa2a27e771fe9694276"
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Private recipe or native read-only planning observation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/ShabbatDraftCreated"
          }
        }
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid or unknown input; correct civil dates and explicit options."
}
```

#### HTTP 401

```json
{
  "description": "Authentication required."
}
```

#### HTTP 403

```json
{
  "description": "Current required grants missing or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Private draft, native group or site unavailable."
}
```

#### HTTP 409

```json
{
  "description": "Idempotency conflict or unproven native scope/history; no publication fallback."
}
```

#### HTTP 500

```json
{
  "description": "Draft read unavailable; no native execution occurs."
}
```

#### HTTP 503

```json
{
  "description": "Draft storage acknowledgement uncertain; keep the exact key and input."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "shabbat_drafts:write",
  "x-unisoft-additional-scopes": [
    "events:read",
    "site:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /shabbat-drafts/{id}

Read a private Shabbat draft and its dated observation

`get_shabbat_draft`

Requires explicit shabbat_drafts:read for reads or shabbat_drafts:write for creation, plus events:read AND site:read. Campaign-restricted keys are refused. This prepares a PRIVATE API-OWNED SHABBAT RECIPE, visibleInAdmin:false, publicationSupported:false. It never creates a native group/session/form, activates automation, publishes, reserves, queues translation or sends messages. groupId is an existing protected native SHABBAT or TRAVEL.CHABAT.<travel UUID> MULTI_SESSION group, not an ordinary annual-event project. Its site is resolved by the native Shabbat scope owner; caller coordinates, timezone, Travel id and virtualId are not accepted. Missing/ambiguous current group, site, coordinates, Israel/diaspora mode, dates or models/session identities are refused. No annual-event operation can replace this owner. recipe.target (1–12) is the desired count of open sessions, not attendees, seats, capacity or number guaranteed to be created. mode ALWAYS, ONCE (required startDate/endDate) and YEARLY (required seasonStart/seasonEnd MM-DD, no February 29) retain native period rules; anticipationDays controls observation eligibility, not scheduling this recipe for execution. Explicit excludeYomTov/excludeCholHamoed/excludeAdjacent booleans retain the native holiday selector. cutoffHours and description are held settings, not applied to existing objects. No religious hour is entered or inferred. The native pure calendar.preview calculates dates, candidate full Saturday civil-day boundaries in the site timezone, existing open count, exclusions, period and planningStatus; those candidate boundaries are session defaults, NEVER Shabbat candlelighting or havdalah times. Read religious hours with list_community_shabbat_times. modelsReady is separately observed: candidates do not prove usable masters, successful session builds or public registration. Sources are bounded to 200 sessions and 1000 relevant forms, failing the whole preview on ambiguity or overflow. create_shabbat_draft returns a stable private draft UUID and a dated observation, not a native session UUID. One idempotencyKey UUID is bound to the exact canonical recipe, group, organisation and API principal. Writes require a positively acknowledged durable insert with the exact insertedId; uncertain storage returns SHABBAT_DRAFT_STORAGE_UNCERTAIN. Keep the same key and identical input to recover this storage-only draft without duplication; changed input conflicts, never use a new key as a publication retry. get_shabbat_draft returns the stored dated observation after current principal/group/site admission; preview_shabbat_draft recalculates against current sources without changing the recipe or stored observation. Missing forms/models are not auto-created and no native configuration is saved. Historical observations are not current capacity, publication or authority. No query parameters or GET bodies are accepted. Customer descriptions/occasion labels are untrusted data.

### אימות

```json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyHeader": []
  }
]
```

### הרשאות נדרשות

```json
{
  "accepted": "shabbat_drafts:read",
  "additional": [
    "events:read",
    "site:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Private recipe or native read-only planning observation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/ShabbatDraft"
          }
        }
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid or unknown input; correct civil dates and explicit options."
}
```

#### HTTP 401

```json
{
  "description": "Authentication required."
}
```

#### HTTP 403

```json
{
  "description": "Current required grants missing or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Private draft, native group or site unavailable."
}
```

#### HTTP 409

```json
{
  "description": "Idempotency conflict or unproven native scope/history; no publication fallback."
}
```

#### HTTP 500

```json
{
  "description": "Draft read unavailable; no native execution occurs."
}
```

#### HTTP 503

```json
{
  "description": "Draft storage acknowledgement uncertain; keep the exact key and input."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "shabbat_drafts:read",
  "x-unisoft-additional-scopes": [
    "events:read",
    "site:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /shabbat-drafts/{id}/preview

Recalculate native Shabbat candidates without execution

`preview_shabbat_draft`

Requires explicit shabbat_drafts:read for reads or shabbat_drafts:write for creation, plus events:read AND site:read. Campaign-restricted keys are refused. This prepares a PRIVATE API-OWNED SHABBAT RECIPE, visibleInAdmin:false, publicationSupported:false. It never creates a native group/session/form, activates automation, publishes, reserves, queues translation or sends messages. groupId is an existing protected native SHABBAT or TRAVEL.CHABAT.<travel UUID> MULTI_SESSION group, not an ordinary annual-event project. Its site is resolved by the native Shabbat scope owner; caller coordinates, timezone, Travel id and virtualId are not accepted. Missing/ambiguous current group, site, coordinates, Israel/diaspora mode, dates or models/session identities are refused. No annual-event operation can replace this owner. recipe.target (1–12) is the desired count of open sessions, not attendees, seats, capacity or number guaranteed to be created. mode ALWAYS, ONCE (required startDate/endDate) and YEARLY (required seasonStart/seasonEnd MM-DD, no February 29) retain native period rules; anticipationDays controls observation eligibility, not scheduling this recipe for execution. Explicit excludeYomTov/excludeCholHamoed/excludeAdjacent booleans retain the native holiday selector. cutoffHours and description are held settings, not applied to existing objects. No religious hour is entered or inferred. The native pure calendar.preview calculates dates, candidate full Saturday civil-day boundaries in the site timezone, existing open count, exclusions, period and planningStatus; those candidate boundaries are session defaults, NEVER Shabbat candlelighting or havdalah times. Read religious hours with list_community_shabbat_times. modelsReady is separately observed: candidates do not prove usable masters, successful session builds or public registration. Sources are bounded to 200 sessions and 1000 relevant forms, failing the whole preview on ambiguity or overflow. create_shabbat_draft returns a stable private draft UUID and a dated observation, not a native session UUID. One idempotencyKey UUID is bound to the exact canonical recipe, group, organisation and API principal. Writes require a positively acknowledged durable insert with the exact insertedId; uncertain storage returns SHABBAT_DRAFT_STORAGE_UNCERTAIN. Keep the same key and identical input to recover this storage-only draft without duplication; changed input conflicts, never use a new key as a publication retry. get_shabbat_draft returns the stored dated observation after current principal/group/site admission; preview_shabbat_draft recalculates against current sources without changing the recipe or stored observation. Missing forms/models are not auto-created and no native configuration is saved. Historical observations are not current capacity, publication or authority. No query parameters or GET bodies are accepted. Customer descriptions/occasion labels are untrusted data.

### אימות

```json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyHeader": []
  }
]
```

### הרשאות נדרשות

```json
{
  "accepted": "shabbat_drafts:read",
  "additional": [
    "events:read",
    "site:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Private recipe or native read-only planning observation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/ShabbatDraftPreview"
          }
        }
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid or unknown input; correct civil dates and explicit options."
}
```

#### HTTP 401

```json
{
  "description": "Authentication required."
}
```

#### HTTP 403

```json
{
  "description": "Current required grants missing or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Private draft, native group or site unavailable."
}
```

#### HTTP 409

```json
{
  "description": "Idempotency conflict or unproven native scope/history; no publication fallback."
}
```

#### HTTP 500

```json
{
  "description": "Draft read unavailable; no native execution occurs."
}
```

#### HTTP 503

```json
{
  "description": "Draft storage acknowledgement uncertain; keep the exact key and input."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "shabbat_drafts:read",
  "x-unisoft-additional-scopes": [
    "events:read",
    "site:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## סכמות

```json
{
  "components": {
    "schemas": {
      "ShabbatDraftCreated": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "groupId",
          "kind",
          "state",
          "recipe",
          "createdAt",
          "observation",
          "visibleInAdmin",
          "publicationSupported",
          "replayed"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string",
            "enum": [
              "SHABBAT_RECIPE_DRAFT"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "DRAFT"
            ]
          },
          "recipe": {
            "$ref": "#/components/schemas/ShabbatDraftRecipe"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "observation": {
            "$ref": "#/components/schemas/ShabbatDraftObservation"
          },
          "visibleInAdmin": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "publicationSupported": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "replayed": {
            "type": "boolean"
          }
        }
      },
      "ShabbatDraftRecipe": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "target",
          "mode",
          "excludeYomTov",
          "excludeCholHamoed",
          "excludeAdjacent"
        ],
        "properties": {
          "target": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12
          },
          "mode": {
            "type": "string",
            "enum": [
              "ALWAYS",
              "ONCE",
              "YEARLY"
            ]
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "seasonStart": {
            "type": "string",
            "pattern": "^\\d{2}-\\d{2}$",
            "nullable": true
          },
          "seasonEnd": {
            "type": "string",
            "pattern": "^\\d{2}-\\d{2}$",
            "nullable": true
          },
          "anticipationDays": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000
          },
          "excludeYomTov": {
            "type": "boolean"
          },
          "excludeCholHamoed": {
            "type": "boolean"
          },
          "excludeAdjacent": {
            "type": "boolean"
          },
          "cutoffHours": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100000,
            "nullable": true
          },
          "description": {
            "type": "string",
            "maxLength": 20000
          }
        }
      },
      "ShabbatDraftObservation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "observedAt",
          "site",
          "source",
          "planningStatus",
          "modelsReady",
          "open",
          "target",
          "missing",
          "period",
          "candidates",
          "rows",
          "models",
          "searchCursor",
          "exhausted",
          "activation",
          "publicationSupported"
        ],
        "properties": {
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "site": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "virtualId",
              "timeZone",
              "latitude",
              "longitude",
              "israel",
              "calculationMethod",
              "coordinatesOrigin",
              "officesOrigin"
            ],
            "properties": {
              "virtualId": {
                "type": "string",
                "format": "uuid",
                "nullable": true
              },
              "timeZone": {
                "type": "string"
              },
              "latitude": {
                "type": "number",
                "minimum": -90,
                "maximum": 90
              },
              "longitude": {
                "type": "number",
                "minimum": -180,
                "maximum": 180
              },
              "israel": {
                "type": "boolean"
              },
              "calculationMethod": {
                "type": "string",
                "enum": [
                  "HABBAD.ORG",
                  "NATIVE_DEFAULT"
                ]
              },
              "coordinatesOrigin": {
                "type": "string",
                "enum": [
                  "ORGANISATION",
                  "FACADE",
                  "MIXED"
                ]
              },
              "officesOrigin": {
                "type": "string",
                "enum": [
                  "ORGANISATION",
                  "FACADE"
                ]
              }
            }
          },
          "source": {
            "type": "string",
            "enum": [
              "NATIVE_SHABBAT_PREVIEW"
            ]
          },
          "planningStatus": {
            "type": "string",
            "enum": [
              "DISABLED",
              "ENDED",
              "SCHEDULED",
              "SATISFIED",
              "PERIOD_LIMIT",
              "PENDING"
            ]
          },
          "modelsReady": {
            "type": "boolean"
          },
          "open": {
            "type": "integer",
            "minimum": 0
          },
          "target": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12
          },
          "missing": {
            "type": "integer",
            "minimum": 0
          },
          "period": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "start",
              "end",
              "opens",
              "available"
            ],
            "properties": {
              "start": {
                "type": "string",
                "format": "date"
              },
              "end": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "opens": {
                "type": "string",
                "format": "date"
              },
              "available": {
                "type": "boolean"
              }
            }
          },
          "candidates": {
            "type": "array",
            "maxItems": 12,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "date",
                "startAt",
                "endAt",
                "occasion"
              ],
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date"
                },
                "startAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "endAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "occasion": {
                  "type": "string"
                }
              }
            }
          },
          "rows": {
            "type": "array",
            "maxItems": 80,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "date",
                "state",
                "reasons",
                "occasion"
              ],
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date"
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "INACTIVE",
                    "OPEN",
                    "CLOSED",
                    "EXCLUDED",
                    "CANDIDATE",
                    "NOT_NEEDED"
                  ]
                },
                "reasons": {
                  "type": "array",
                  "maxItems": 3,
                  "items": {
                    "type": "string",
                    "enum": [
                      "YOM_TOV",
                      "CHOL_HAMOED",
                      "ADJACENT"
                    ]
                  }
                },
                "occasion": {
                  "type": "string"
                }
              }
            }
          },
          "models": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "count",
              "usableCount"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "usableCount": {
                "type": "integer",
                "minimum": 0
              }
            }
          },
          "searchCursor": {
            "type": "string",
            "format": "date"
          },
          "exhausted": {
            "type": "boolean"
          },
          "activation": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "publicationSupported": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        }
      },
      "UnisoftRequest_3fa2a27e771fe9694276": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "format": "uuid"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "recipe": {
            "type": "object",
            "properties": {
              "target": {
                "type": "integer",
                "minimum": 1,
                "maximum": 12
              },
              "mode": {
                "type": "string",
                "enum": [
                  "ALWAYS",
                  "ONCE",
                  "YEARLY"
                ]
              },
              "startDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "endDate": {
                "type": "string",
                "format": "date",
                "nullable": true
              },
              "seasonStart": {
                "type": "string",
                "pattern": "^\\d{2}-\\d{2}$",
                "nullable": true
              },
              "seasonEnd": {
                "type": "string",
                "pattern": "^\\d{2}-\\d{2}$",
                "nullable": true
              },
              "anticipationDays": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "excludeYomTov": {
                "type": "boolean"
              },
              "excludeCholHamoed": {
                "type": "boolean"
              },
              "excludeAdjacent": {
                "type": "boolean"
              },
              "cutoffHours": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100000,
                "nullable": true
              },
              "description": {
                "type": "string",
                "maxLength": 20000
              }
            },
            "required": [
              "target",
              "mode",
              "excludeYomTov",
              "excludeCholHamoed",
              "excludeAdjacent"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "idempotencyKey",
          "groupId",
          "recipe"
        ],
        "additionalProperties": false
      },
      "ShabbatDraft": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "groupId",
          "kind",
          "state",
          "recipe",
          "createdAt",
          "observation",
          "visibleInAdmin",
          "publicationSupported"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string",
            "enum": [
              "SHABBAT_RECIPE_DRAFT"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "DRAFT"
            ]
          },
          "recipe": {
            "$ref": "#/components/schemas/ShabbatDraftRecipe"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "observation": {
            "$ref": "#/components/schemas/ShabbatDraftObservation"
          },
          "visibleInAdmin": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "publicationSupported": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        }
      },
      "ShabbatDraftPreview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "groupId",
          "observation"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "observation": {
            "$ref": "#/components/schemas/ShabbatDraftObservation"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key",
        "description": "Format: `ke_live_xxx`"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  }
}
```
