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

# Forms

OpenAPI 3.0.3 · API 2.0.0

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

Transactional forms — both the form DEFINITIONS (structure, products, fields) and the SUBMISSIONS people send. Scopes: `forms:read`/`forms:write` for definitions, `forms_submit:read`/`forms_submit:write` for submissions, `forms_submit:validate` to accept/refuse a submission (which emails the registrant).

## פעולות

## GET /forms

List forms

`list_forms`

Required scope: `forms:read`. Lists the org's forms (light fields). Paginated.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  },
  "description": "Number of results per page"
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "schema": {
    "type": "string"
  },
  "description": "Opaque cursor returned by the previous request"
}
```

```json
{
  "name": "active",
  "in": "query",
  "schema": {
    "type": "boolean"
  },
  "description": "Filter by active state."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "OK",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormDefinition"
            }
          },
          "meta": {
            "$ref": "#/components/schemas/Pagination"
          }
        }
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "ERROR",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "ERROR"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "INSUFFICIENT_SCOPE"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms

Create a form

`create_form`

Required scope: `forms:write`. Creates a form DEFINITION from an editor business object. The transpilation of `additionalFields` and the storage of `products` are handled server-side. Returns the created form in editor shape. A successful write is acknowledged with id even if the editor readback is unavailable. Inspect readback.status and data; an unavailable readback is not permission to recreate the form. If the id is unavailable, reconcile without replaying the write.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": []
}
```

### גוף הבקשה

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

### תגובות

#### HTTP 200

```json
{
  "description": "Acknowledged definition write with qualified editor readback.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormWriteAcknowledgement"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "VALIDATION_ERROR",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "VALIDATION_ERROR"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "INSUFFICIENT_SCOPE"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:write",
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": false,
    "warn": false
  }
}
```

## GET /forms/{id}

Get a form definition (products, calendars, content)

`get_form`

Required scope: `forms:read`. Returns the same payload the public website uses to render the form (transpiled `content`), scoped to the API key's organisation. To EDIT a form, read `/forms/{id}/edit` instead. Top-level submissionSchema metadata describes expected answers in the default PUBLIC context, using the organisation language and currency, with the individual statuses of the DESKTOP and MOBILE profiles. It is separate from data, which retains its historical definition. To choose an explicit context, read get_form_submission_schema. The schema describes expected answers only for the active form and the returned qualified contexts. READY means at least one context is qualified and provides a real JSON Schema 2020-12 object with flat local definitions. Without device, contexts contains DESKTOP and MOBILE with their individual statuses; the schema covers only complete READY profiles through separate branches, never a union of their properties. An UNSUPPORTED context is not admitted by this read. If no context is qualified, the overall status is UNSUPPORTED and schema is null. Diagnostics contain no private definition or personal answer. Each READY context also supplies its own typed declarative rules: visible requirements, exact conditions and ancestor scopes, indexed occurrences, country rules, semantic formats and cross-property input checks. UNSUPPORTED contexts have rules:null. Keep rules with their exact mode, language, currency and device profile; never combine fields or rules from different profiles. Qualified conditions are enforced through the schema and the server-side pure semantic plan; Ajv alone does not replace those cross-property checks. Authorization, CRM, capacity, pricing and payments retain their native checks. Reading reserves nothing, creates no registration and grants no submission right, including in MANUAL mode. No schema revision is sent: each new submission is checked against the active definition before its first effect; rereading an already acquired result remains passive. 

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
    "format": "uuid"
  },
  "description": "Identifier of the existing target resource, returned by its authorised list or read operation. Never generate a new UUID to address an existing record."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "OK",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/FormDefinition"
          },
          "submissionSchema": {
            "$ref": "#/components/schemas/FormSubmissionSchemaInspection"
          }
        },
        "required": [
          "submissionSchema"
        ]
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "NOT_FOUND"
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "The complete source exceeds the bounded schema inspection limits; no partial schema is returned.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "The submission contract cannot be read completely.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## PATCH /forms/{id}

Edit a form

`update_form`

Required scope: `forms:write`. Partial update of a form DEFINITION (editor business object). Only the fields supplied change; omit `products`/`additionalFields` to leave them untouched, send them to replace the whole set. Returns the updated form in editor shape. A successful write is acknowledged with id even if the editor readback is unavailable. Inspect readback.status and data; an unavailable readback is not permission to recreate the form. If the id is unavailable, reconcile without replaying the write.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
    "format": "uuid"
  },
  "description": "Identifier of the existing target resource, returned by its authorised list or read operation. Never generate a new UUID to address an existing record."
}
```

### גוף הבקשה

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

### תגובות

#### HTTP 200

```json
{
  "description": "Acknowledged definition write with qualified editor readback.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormWriteAcknowledgement"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "VALIDATION_ERROR",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "VALIDATION_ERROR"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "NOT_FOUND"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:write",
  "x-unisoft-mcp": {
    "category": "update",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms/{id}/edit

Get a form in EDITOR shape

`get_form_edit`

Required scope: `forms:read`. Read the editor business object before editing. The response can contain read-only metadata and existing fields that are not writable. Build an update from the declared request schema; never resend this response wholesale. Top-level submissionSchema metadata describes expected answers in the default PUBLIC context, using the organisation language and currency, with the individual statuses of the DESKTOP and MOBILE profiles. It is separate from data, which retains its historical definition. To choose an explicit context, read get_form_submission_schema. The schema describes expected answers only for the active form and the returned qualified contexts. READY means at least one context is qualified and provides a real JSON Schema 2020-12 object with flat local definitions. Without device, contexts contains DESKTOP and MOBILE with their individual statuses; the schema covers only complete READY profiles through separate branches, never a union of their properties. An UNSUPPORTED context is not admitted by this read. If no context is qualified, the overall status is UNSUPPORTED and schema is null. Diagnostics contain no private definition or personal answer. Each READY context also supplies its own typed declarative rules: visible requirements, exact conditions and ancestor scopes, indexed occurrences, country rules, semantic formats and cross-property input checks. UNSUPPORTED contexts have rules:null. Keep rules with their exact mode, language, currency and device profile; never combine fields or rules from different profiles. Qualified conditions are enforced through the schema and the server-side pure semantic plan; Ajv alone does not replace those cross-property checks. Authorization, CRM, capacity, pricing and payments retain their native checks. Reading reserves nothing, creates no registration and grants no submission right, including in MANUAL mode. No schema revision is sent: each new submission is checked against the active definition before its first effect; rereading an already acquired result remains passive. 

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
    "format": "uuid"
  },
  "description": "Identifier of the existing target resource, returned by its authorised list or read operation. Never generate a new UUID to address an existing record."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "OK",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/FormInput"
          },
          "submissionSchema": {
            "$ref": "#/components/schemas/FormSubmissionSchemaInspection"
          }
        },
        "required": [
          "submissionSchema"
        ]
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "NOT_FOUND"
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "The complete source exceeds the bounded schema inspection limits; no partial schema is returned.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "The submission contract cannot be read completely.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms-submit

List form submissions

`list_forms_submit`

Required scope: `forms_submit:read`

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  },
  "description": "Number of results per page"
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "schema": {
    "type": "string"
  },
  "description": "Opaque cursor returned by the previous request"
}
```

```json
{
  "name": "createdAfter",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "date-time"
  },
  "description": "Filter: created after this date (ISO 8601)"
}
```

```json
{
  "name": "createdBefore",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "date-time"
  },
  "description": "Filter: created before this date (ISO 8601)"
}
```

```json
{
  "name": "formId",
  "in": "query",
  "schema": {
    "type": "string"
  }
}
```

```json
{
  "name": "state",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "SUBMIT",
      "VALIDE",
      "INVALIDE"
    ]
  },
  "description": "Filter by decision state. SUBMIT = awaiting a decision."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "OK",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormSubmit"
            }
          },
          "meta": {
            "$ref": "#/components/schemas/Pagination"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms-submit

Submit a form

`create_forms_submit`

Requires forms_submit:write. Preserves the existing PUBLIC owner, including its conditional hosted-link creation. New external creations are validated against the active JSON Schema and mandatory per-profile rules before effects, with fresh admission under the protections. Discover expected literal answer keys through get_form_submission_schema in PUBLIC mode when forms:read is available; reading is not a new mandatory grant or prerequisite call for submission. No schema revision is supplied. For customized pricing the caller chooses amount; referenceKey is optional and recalculated by the server. A missing association refuses a new creation even at zero. Existing command recovery is passive and precedes validation of a changed definition. PUBLIC registration owner only; no administrator identity or edit mode is manufactured. A durable command journal and shared form/CRM fences precede the native owner. Optional idempotencyKey is a UUID: choose it once before the first call and preserve the exact body, endpoint and API principal. The same key reads the recorded receipt without repeating submission. Another body or endpoint kind conflicts. Without a key the server creates a UUID, returned only in HTTP header X-Unisoft-Submission-Command-Id; MCP does not deliver that header, so supply a key for recoverable MCP calls. An uncertain result or missing response never permits a new key, import, alternate endpoint or automatic retry. Pending/UNKNOWN commands retain protections against conflicting form and CRM writers. Success proves the registration was reread from canonical majority storage and its terminal journal acknowledged; it does not confirm every native CRM/mail/ticket/link side effect or bank collection. Fields are projected explicitly; private form/provider snapshots and tokens are absent. total/paye/reste use MAJOR units, while the native stored total is MINOR. Payment history is read only with current paiements:read; otherwise paye/reste are null, paidStatus is UNKNOWN and total remains the recorded amount. Answers use a bounded typed JSON map; unavailable or unsupported answer projection is null with dataStatus UNAVAILABLE. url is the canonical public checkout/redirect result of this same creation, not proof of payment. ticketsUrl is returned only when current forms:read, forms_submit:read, tickets:read and tickets:share and the persisted order-token scope are independently proved; absence does not prove that tickets do not exist. No raw token or QR data is returned. Known registration success survives an accessory payment read or lock-cleanup failure; retained protection can still block a later command. The fences are external deny-only controls, not a transaction with internal editors/callbacks. Errors SUBMISSION_RESULT_UNCERTAIN/SUBMISSION_CLAIM_UNCERTAIN retain uncertainty; CONTACT_MUTATION_BLOCKED/FORM_MUTATION_FENCE_BLOCKED refuse conflicts, and fence UNAVAILABLE errors refuse unverifiable admission. Before any effect, the exact native read-only CRM matcher is run for active identity/CONTACT selectors, with bounded candidates and globally unique scalar UUID/organisation admission; contradictory phone/email matches or historical aliases are refused. Ordinary contacts, addresses and typed non-document extras remain supported on admitted targets. Anniversary enrichment also needs the native pure calendar and canonical reminder bindings. Active CHILD/HAZKARA processing that depends on a matched main identity, active withRelations family mutations, and document-asset attachment have no qualified external binding owner here and return SUBMISSION_CONTACT_RELATION_OWNER_UNAVAILABLE or SUBMISSION_CONTACT_DOCUMENT_OWNER_UNAVAILABLE before submission. Merely stored inactive answers do not activate these refusals. Do not remove the requested data or switch to another workflow to force submission. JSON Schema validation does not itself authorize these business effects or qualify an unavailable owner. If the answer schema exposes [NEWSLETTER]_optIn, use true only to record the submitter's affirmative choice to add all contacts from this submission to the organisation's Newsletter category, including contacts with different email addresses. Omit the answer or send false otherwise.

### אימות

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

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

```json
{
  "accepted": "forms_submit:write",
  "additional": []
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "formId": {
            "type": "string",
            "description": "ID of the target form (must belong to the API key's organisation)."
          },
          "devise": {
            "type": "string",
            "nullable": true,
            "description": "Submission currency. Defaults to the form's currency."
          },
          "data": {
            "$ref": "#/components/schemas/UnisoftRequest_7077b029aa51d9d5ac33"
          },
          "idempotencyKey": {
            "type": "string",
            "format": "uuid",
            "description": "Optional command key for this exact submission intent. Reuse the same key and body to read its recorded result. An uncertain outcome must not be resubmitted with a new key. Omission generates a server command id without caller-key replay."
          }
        },
        "required": [
          "formId"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded registration and admitted public navigation only.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionRecordedSuccess"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

### OpenAPI

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

## POST /forms-submit/with-payment

Submit a form and create the payment link in one call

`create_forms_submit_with_payment`

Requires forms_submit:write AND paiements:write. Same PUBLIC creation intent with explicit payment-write authority. New external creations are validated against the active JSON Schema and mandatory per-profile rules before effects, with fresh admission under the protections. Discover expected literal answer keys through get_form_submission_schema in PUBLIC mode when forms:read is available; reading is not a new mandatory grant or prerequisite call for submission. No schema revision is supplied. For customized pricing the caller chooses amount; referenceKey is optional and recalculated by the server. A missing association refuses a new creation even at zero. Existing command recovery is passive and precedes validation of a changed definition. PUBLIC registration owner only; no administrator identity or edit mode is manufactured. A durable command journal and shared form/CRM fences precede the native owner. Optional idempotencyKey is a UUID: choose it once before the first call and preserve the exact body, endpoint and API principal. The same key reads the recorded receipt without repeating submission. Another body or endpoint kind conflicts. Without a key the server creates a UUID, returned only in HTTP header X-Unisoft-Submission-Command-Id; MCP does not deliver that header, so supply a key for recoverable MCP calls. An uncertain result or missing response never permits a new key, import, alternate endpoint or automatic retry. Pending/UNKNOWN commands retain protections against conflicting form and CRM writers. Success proves the registration was reread from canonical majority storage and its terminal journal acknowledged; it does not confirm every native CRM/mail/ticket/link side effect or bank collection. Fields are projected explicitly; private form/provider snapshots and tokens are absent. total/paye/reste use MAJOR units, while the native stored total is MINOR. Payment history is read only with current paiements:read; otherwise paye/reste are null, paidStatus is UNKNOWN and total remains the recorded amount. Answers use a bounded typed JSON map; unavailable or unsupported answer projection is null with dataStatus UNAVAILABLE. url is the canonical public checkout/redirect result of this same creation, not proof of payment. ticketsUrl is returned only when current forms:read, forms_submit:read, tickets:read and tickets:share and the persisted order-token scope are independently proved; absence does not prove that tickets do not exist. No raw token or QR data is returned. Known registration success survives an accessory payment read or lock-cleanup failure; retained protection can still block a later command. The fences are external deny-only controls, not a transaction with internal editors/callbacks. Errors SUBMISSION_RESULT_UNCERTAIN/SUBMISSION_CLAIM_UNCERTAIN retain uncertainty; CONTACT_MUTATION_BLOCKED/FORM_MUTATION_FENCE_BLOCKED refuse conflicts, and fence UNAVAILABLE errors refuse unverifiable admission. Before any effect, the exact native read-only CRM matcher is run for active identity/CONTACT selectors, with bounded candidates and globally unique scalar UUID/organisation admission; contradictory phone/email matches or historical aliases are refused. Ordinary contacts, addresses and typed non-document extras remain supported on admitted targets. Anniversary enrichment also needs the native pure calendar and canonical reminder bindings. Active CHILD/HAZKARA processing that depends on a matched main identity, active withRelations family mutations, and document-asset attachment have no qualified external binding owner here and return SUBMISSION_CONTACT_RELATION_OWNER_UNAVAILABLE or SUBMISSION_CONTACT_DOCUMENT_OWNER_UNAVAILABLE before submission. Merely stored inactive answers do not activate these refusals. Do not remove the requested data or switch to another workflow to force submission. JSON Schema validation does not itself authorize these business effects or qualify an unavailable owner. If the answer schema exposes [NEWSLETTER]_optIn, use true only to record the submitter's affirmative choice to add all contacts from this submission to the organisation's Newsletter category, including contacts with different email addresses. Omit the answer or send false otherwise.

### אימות

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

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

```json
{
  "accepted": "forms_submit:write",
  "additional": [
    "paiements:write"
  ]
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "formId": {
            "type": "string",
            "description": "ID of the target form (must belong to the API key's organisation)."
          },
          "devise": {
            "type": "string",
            "nullable": true,
            "description": "Submission currency. Defaults to the form's currency."
          },
          "data": {
            "$ref": "#/components/schemas/UnisoftRequest_7077b029aa51d9d5ac33"
          },
          "idempotencyKey": {
            "type": "string",
            "format": "uuid",
            "description": "Optional command key for this exact submission intent. Reuse the same key and body to read its recorded result. An uncertain outcome must not be resubmitted with a new key. Omission generates a server command id without caller-key replay."
          }
        },
        "required": [
          "formId"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded registration and admitted public navigation only.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionRecordedSuccess"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Refused or uncertain PUBLIC command. Preserve the original key; no alternative submission is authorised.",
  "headers": {
    "X-Unisoft-Submission-Command-Id": {
      "description": "Stable private command UUID; HTTP only. Supply idempotencyKey before the first MCP call.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicSubmissionCommandError"
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms-submit/{id}

Get a form submission

`get_forms_submit`

Required scope: `forms_submit:read`

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
    "format": "uuid"
  },
  "description": "Identifier of the existing target resource, returned by its authorised list or read operation. Never generate a new UUID to address an existing record."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "OK",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/FormSubmit"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "NOT_FOUND"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms-submit/{id}/validate

Accept a submission (⚠️ emails the registrant)

`validate_submission`

Required scope: `forms_submit:validate`. Atomically accepts the authorised submission and invokes its confirmation owner once for the winning transition. This is a real notification side effect, requiring explicit acceptance authority. emailSent is null because invocation does not prove delivery; inspect notificationStatus (UNCONFIRMED, NOT_QUEUED or FAILED). An uncertain result must not be invalidated/revalidated to force another notification.

### אימות

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

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

```json
{
  "accepted": "forms_submit:validate",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
    "format": "uuid"
  },
  "description": "Identifier of the existing target resource, returned by its authorised list or read operation. Never generate a new UUID to address an existing record."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded acceptance and observed notification outcome.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "already": {
            "type": "boolean"
          },
          "emailSent": {
            "type": "boolean",
            "nullable": true
          },
          "notificationStatus": {
            "type": "string",
            "enum": [
              "UNCONFIRMED",
              "NOT_QUEUED",
              "FAILED"
            ]
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "INSUFFICIENT_SCOPE"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "NOT_FOUND"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:validate",
  "x-unisoft-mcp": {
    "category": "action",
    "readOnly": false,
    "destructive": true,
    "idempotent": false,
    "warn": true
  }
}
```

## POST /forms-submit/{id}/invalidate

Refuse a submission (no email)

`invalidate_submission`

Required scope: `forms_submit:validate`. Sets the submission to INVALIDE. Does NOT email anyone. Idempotent: returns `already:true` if it was already INVALIDE.

### אימות

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

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

```json
{
  "accepted": "forms_submit:validate",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
    "format": "uuid"
  },
  "description": "Identifier of the existing target resource, returned by its authorised list or read operation. Never generate a new UUID to address an existing record."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "OK",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "INSUFFICIENT_SCOPE"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string",
            "example": "NOT_FOUND"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:validate",
  "x-unisoft-mcp": {
    "category": "update",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms/{id}/submission-schema

Read the expected answer schema of a form

`get_form_submission_schema`

Requires forms:read and an organisation context without campaign restrictions. PUBLIC is the default mode; MANUAL is read-only inspection and grants no creation right. lang must belong to the active organisation languages and devise to the allowed context currencies; an unauthorized value is refused. The organisation language and currency apply when omitted. Unknown parameters and any HTTP body are refused. The schema describes expected answers only for the active form and the returned qualified contexts. READY means at least one context is qualified and provides a real JSON Schema 2020-12 object with flat local definitions. Without device, contexts contains DESKTOP and MOBILE with their individual statuses; the schema covers only complete READY profiles through separate branches, never a union of their properties. An UNSUPPORTED context is not admitted by this read. If no context is qualified, the overall status is UNSUPPORTED and schema is null. Diagnostics contain no private definition or personal answer. Each READY context also supplies its own typed declarative rules: visible requirements, exact conditions and ancestor scopes, indexed occurrences, country rules, semantic formats and cross-property input checks. UNSUPPORTED contexts have rules:null. Keep rules with their exact mode, language, currency and device profile; never combine fields or rules from different profiles. Qualified conditions are enforced through the schema and the server-side pure semantic plan; Ajv alone does not replace those cross-property checks. Authorization, CRM, capacity, pricing and payments retain their native checks. Reading reserves nothing, creates no registration and grants no submission right, including in MANUAL mode. No schema revision is sent: each new submission is checked against the active definition before its first effect; rereading an already acquired result remains passive. 

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

```json
{
  "name": "mode",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "PUBLIC",
      "MANUAL"
    ]
  }
}
```

```json
{
  "name": "lang",
  "in": "query",
  "schema": {
    "type": "string",
    "minLength": 2,
    "maxLength": 35,
    "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
  }
}
```

```json
{
  "name": "devise",
  "in": "query",
  "schema": {
    "type": "string",
    "minLength": 3,
    "maxLength": 3,
    "pattern": "^[A-Za-z]{3}$"
  }
}
```

```json
{
  "name": "device",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "DESKTOP",
      "MOBILE"
    ]
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Complete READY contract or explicit UNSUPPORTED diagnostics, without business effects.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid identifier, mode, context, parameter or read body.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Missing or invalid authentication.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing forms:read, campaign restriction or unauthorized principal.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "The form does not exist or is unavailable to this organisation.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Inconsistent form history or context.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "The complete source exceeds the bounded schema inspection limits; no partial schema is returned.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "The bounded contract read is temporarily unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormSubmissionSchemaError"
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-additional-scopes": [],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp-output-limits": {
    "maxNodes": 250000,
    "maxBytes": 16777216
  },
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms/{id}/custom-price-quote

Preview a current custom-price quote

`preview_form_custom_price`

Optional read-only quote for the current native CUSTOM-PRICE module. Requires forms:read, an unrestricted key and a concrete organisation (ROOT must supply X-Org-Id as for get_form). Send products as productId/quantity pairs, optional devise, lang, device, promoCode, declared root freeAmounts and chosenAmount in currency units. The organisation language and DESKTOP profile apply when omitted. Root free-amount fields are admitted only from this exact language/device profile, never from a union or nested fields. No personal answers or schema revision are accepted. The server reads the current RAW native configuration and complete admitted product catalogue, then uses the native price, discount, promotion and custom-price calculators. Amounts and constraints in the response are integer minor units (100 per currency unit); adjustment may be negative. referenceProducts is the discounted/promoted product subtotal; independent free amounts stay in donationTotal and are not replaced by chosenAmount. The reference is deterministic unsigned JSON, not authorization. It is optional for submissions: enabled:true plus amount is sufficient; any legacy reference is replaced privately with the current reference before native validation. Native minimum, zero, higher-price, product, currency and configuration errors are preserved. Selected monetary sources must be finite nonnegative numbers with safe native-rounded minor units, including the effective current-currency price, an active unexpired discount and the first matched promotion. Booleans, strings, arrays, objects or an absent selected price never authorize a coerced amount. FORM_FINANCIAL_SOURCE_INVALID refuses this corrupt source before any effect; explicit numeric zero, unselected products and inactive financial branches retain their native meaning. This quote creates no registration, payment, reservation, claim or price lock. availability is NOT_RESERVED and settlement is NOT_VERIFIED; prices, discounts and source configuration may change before submission. CUSTOM_PRICE_DISABLED means no active custom-price module; CUSTOM_PRICE_SOURCE_UNSUPPORTED requires a supported complete source, not a partial quote. An unavailable product, currency or free-amount field must be corrected in the selection. eligibleReceipt is only the native calculated base: no document is issued and legal deductibility is not verified. No preview is a mandatory prerequisite for an external write.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

### גוף הבקשה

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

### תגובות

#### HTTP 200

```json
{
  "description": "Current pure quote; nothing is reserved or settled.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Closed input, native-rule, source or authorization error.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCustomPriceQuoteError"
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms/{formId}/manual-submission-context

Read admission context before a manual registration

`get_manual_submission_context`

Manual creation uses the actual native submitForm owner after proving the API key creator is a real current active ADMIN of this organisation, with full association/contact scope. Root and campaign-restricted keys are refused. Context reading requires forms_submit:manual plus forms:read and forms_submit:read. Creation additionally requires forms_submit:write/validate and messages:send. Reading a command requires its original cumulative rights; all rights are re-admitted from persistence. A linked event additionally requires events:read, including context reading. Person blocks also require contacts:read/write/manage-tags/manage; a paying form or positive FREE_AMOUNT requires paiements:write. Automatic native ticket issuance does not expose a ticket capability and does not grant tickets:read/share. This creates a new manual registration already VALIDE; it never records funds received, charges a saved method or marks a payment settled. Existing records must use their correction/lifecycle tools, never another manual create. Read the manual context first and use its exact revision. Product/global/category quantities and numbered seats are checked from the native occupancy rule: VALIDE plus recent SUBMIT holds, excluding archives/refusals. All capacity checks are observations; the external form fence serialises cooperating API mutations. EXTERNAL_OPTIMISTIC additionally requires capacityAcknowledgement=OPTIMISTIC_WITH_INTERNAL_WRITES because ordinary internal submissions do not share this external fence. ANNUAL_NATIVE_LEASE_AND_EXTERNAL_PREFLIGHT also uses the native annual lease, which is not a global lock against every internal edit. Stock override is unavailable and allowStockOverride must be false. Calendar-slot capacity, document references and CHILD/HAZKARA person owners are refused precisely in this version; no silent ignored input or alternative owner is invented. Up to 100 products/categories, 5000 history candidates, 5000 seats, 100 person/reference graph nodes, 10000 requested units, 9000 JSON answer nodes, six container levels and 1 MiB answer bytes; oversized/ambiguous sources refuse the command. data uses the native submitted-answer keys, not editor node IDs or arbitrary paths: identity, exact product UUID_quantity integers and product UUID participant arrays; supported typed [TEXT]/[NUMBER]/[SELECT]/[SELECT_MULTI]/[CHECKBOX]/date/[FREE_AMOUNT]/[CONTACT]/[SEAT] keys, __paiementMethod, __promo and __customPrice with the caller-chosen amount. People accept civil/contact fields and supported typed extras; nonempty tel must be international E.164 without spaces, email is at most 320 characters, and distinct phone/email owners are refused; never caller-supplied id, _contact, access or family snapshots. Prices/FREE_AMOUNT/custom-price amounts are major currency units; persisted native totals are minor units and are not returned here. Read the current definition, product references and get_form_submission_schema in MANUAL mode; do not invent answer keys. Each new creation is checked against the active JSON Schema and mandatory per-profile rules before effects. The transport map alone is insufficient. No schema revision is sent; expectedRevision from get_manual_submission_context remains required. For enabled custom pricing, amount is caller-chosen and referenceKey is optional: the external adapter derives its current native value without changing the raw intention hash. Acquired receipts remain passive and precede validation of a new definition. devise is explicit lower-case currency and must resolve an exact configured association without EUR/0 fallback. lang, when supplied, must be a currently supported native language. sendConfirmationEmail only controls the native client confirmation; internal notification may still run and needs messages:send. A durable journal, exact command identity and form/CRM fences are acquired before the native owner. Reusing the same idempotencyKey and identical intent only reads the recorded command; conflicting intent returns IDEMPOTENCY_CONFLICT. A successful result is re-read canonically with majority read concern and exact current references. SUCCEEDED proves a recorded manual VALIDE registration only: financialSettlement, crmEffects, notificationDelivery and ticketIssuance remain NOT_VERIFIED. UNKNOWN includes interrupted PREPARED/RUNNING commands, cannot prove no effects and keeps protective fences. retryable=false always: read get_manual_submission_command and reconcile UNKNOWN without a new key, another create, automatic retry or internal workaround. No provider URL, ticket bearer, private formData, contacts or raw native error is exposed. protectionReleased=false means releasing the external fence was not confirmed; a proven terminal outcome remains terminal and is never replayed. GET performs no creation, recovery, mail, ticket or payment effect.

### אימות

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

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

```json
{
  "accepted": "forms_submit:manual",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified external result; no private form snapshot, contact profile, reusable link or settlement assertion.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ManualSubmissionContext"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid or unexpected input, manual flag, edit/access/account binding, person snapshot, amount, quantity or missing capacity acknowledgement."
}
```

#### HTTP 403

```json
{
  "description": "Missing cumulative rights, restricted/root principal or no current real full-scope administrator creator."
}
```

#### HTTP 404

```json
{
  "description": "Form or command unavailable in the current organisation and principal."
}
```

#### HTTP 409

```json
{
  "description": "Revision/reference/history conflict, full capacity, taken seat, CRM/form fence, unsupported calendar/document/family-person variant or uncertain result. Do not automatically retry a mutation."
}
```

#### HTTP 422

```json
{
  "description": "Bound exceeded; no truncation or partial admission."
}
```

#### HTTP 503

```json
{
  "description": "Admission, authority or mandatory fence temporarily unavailable; no permissive fallback."
}
```

### OpenAPI

```json
{
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  },
  "x-unisoft-scope": "forms_submit:manual",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-conditional-scopes": [
    {
      "condition": "The form references an event/session or annual-event project",
      "scopes": [
        "events:read"
      ],
      "allRequired": true
    }
  ]
}
```

## POST /forms/{formId}/manual-submissions

Create a confirmed manual registration through the native owner

`create_manual_submission`

Manual creation uses the actual native submitForm owner after proving the API key creator is a real current active ADMIN of this organisation, with full association/contact scope. Root and campaign-restricted keys are refused. Context reading requires forms_submit:manual plus forms:read and forms_submit:read. Creation additionally requires forms_submit:write/validate and messages:send. Reading a command requires its original cumulative rights; all rights are re-admitted from persistence. A linked event additionally requires events:read, including context reading. Person blocks also require contacts:read/write/manage-tags/manage; a paying form or positive FREE_AMOUNT requires paiements:write. Automatic native ticket issuance does not expose a ticket capability and does not grant tickets:read/share. This creates a new manual registration already VALIDE; it never records funds received, charges a saved method or marks a payment settled. Existing records must use their correction/lifecycle tools, never another manual create. Read the manual context first and use its exact revision. Product/global/category quantities and numbered seats are checked from the native occupancy rule: VALIDE plus recent SUBMIT holds, excluding archives/refusals. All capacity checks are observations; the external form fence serialises cooperating API mutations. EXTERNAL_OPTIMISTIC additionally requires capacityAcknowledgement=OPTIMISTIC_WITH_INTERNAL_WRITES because ordinary internal submissions do not share this external fence. ANNUAL_NATIVE_LEASE_AND_EXTERNAL_PREFLIGHT also uses the native annual lease, which is not a global lock against every internal edit. Stock override is unavailable and allowStockOverride must be false. Calendar-slot capacity, document references and CHILD/HAZKARA person owners are refused precisely in this version; no silent ignored input or alternative owner is invented. Up to 100 products/categories, 5000 history candidates, 5000 seats, 100 person/reference graph nodes, 10000 requested units, 9000 JSON answer nodes, six container levels and 1 MiB answer bytes; oversized/ambiguous sources refuse the command. data uses the native submitted-answer keys, not editor node IDs or arbitrary paths: identity, exact product UUID_quantity integers and product UUID participant arrays; supported typed [TEXT]/[NUMBER]/[SELECT]/[SELECT_MULTI]/[CHECKBOX]/date/[FREE_AMOUNT]/[CONTACT]/[SEAT] keys, __paiementMethod, __promo and __customPrice with the caller-chosen amount. People accept civil/contact fields and supported typed extras; nonempty tel must be international E.164 without spaces, email is at most 320 characters, and distinct phone/email owners are refused; never caller-supplied id, _contact, access or family snapshots. Prices/FREE_AMOUNT/custom-price amounts are major currency units; persisted native totals are minor units and are not returned here. Read the current definition, product references and get_form_submission_schema in MANUAL mode; do not invent answer keys. Each new creation is checked against the active JSON Schema and mandatory per-profile rules before effects. The transport map alone is insufficient. No schema revision is sent; expectedRevision from get_manual_submission_context remains required. For enabled custom pricing, amount is caller-chosen and referenceKey is optional: the external adapter derives its current native value without changing the raw intention hash. Acquired receipts remain passive and precede validation of a new definition. devise is explicit lower-case currency and must resolve an exact configured association without EUR/0 fallback. lang, when supplied, must be a currently supported native language. sendConfirmationEmail only controls the native client confirmation; internal notification may still run and needs messages:send. A durable journal, exact command identity and form/CRM fences are acquired before the native owner. Reusing the same idempotencyKey and identical intent only reads the recorded command; conflicting intent returns IDEMPOTENCY_CONFLICT. A successful result is re-read canonically with majority read concern and exact current references. SUCCEEDED proves a recorded manual VALIDE registration only: financialSettlement, crmEffects, notificationDelivery and ticketIssuance remain NOT_VERIFIED. UNKNOWN includes interrupted PREPARED/RUNNING commands, cannot prove no effects and keeps protective fences. retryable=false always: read get_manual_submission_command and reconcile UNKNOWN without a new key, another create, automatic retry or internal workaround. No provider URL, ticket bearer, private formData, contacts or raw native error is exposed. protectionReleased=false means releasing the external fence was not confirmed; a proven terminal outcome remains terminal and is never replayed. GET performs no creation, recovery, mail, ticket or payment effect.

### אימות

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

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

```json
{
  "accepted": "forms_submit:manual",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:write",
    "forms_submit:validate",
    "messages:send"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified external result; no private form snapshot, contact profile, reusable link or settlement assertion.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ManualSubmissionReceipt"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid or unexpected input, manual flag, edit/access/account binding, person snapshot, amount, quantity or missing capacity acknowledgement."
}
```

#### HTTP 403

```json
{
  "description": "Missing cumulative rights, restricted/root principal or no current real full-scope administrator creator."
}
```

#### HTTP 404

```json
{
  "description": "Form or command unavailable in the current organisation and principal."
}
```

#### HTTP 409

```json
{
  "description": "Revision/reference/history conflict, full capacity, taken seat, CRM/form fence, unsupported calendar/document/family-person variant or uncertain result. Do not automatically retry a mutation."
}
```

#### HTTP 422

```json
{
  "description": "Bound exceeded; no truncation or partial admission."
}
```

#### HTTP 503

```json
{
  "description": "Admission, authority or mandatory fence temporarily unavailable; no permissive fallback."
}
```

### OpenAPI

```json
{
  "x-unisoft-mcp": {
    "category": "write",
    "readOnly": false,
    "destructive": true,
    "idempotent": true,
    "warn": true
  },
  "x-unisoft-scope": "forms_submit:manual",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:write",
    "forms_submit:validate",
    "messages:send"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-conditional-scopes": [
    {
      "condition": "The form references an event/session or annual-event project",
      "scopes": [
        "events:read"
      ],
      "allRequired": true
    },
    {
      "condition": "A person block is submitted",
      "scopes": [
        "contacts:read",
        "contacts:write",
        "contacts:manage-tags",
        "contacts:manage"
      ],
      "allRequired": true
    },
    {
      "condition": "The form has withPaiement=true or data contains a positive FREE_AMOUNT",
      "scopes": [
        "paiements:write"
      ],
      "allRequired": true
    }
  ]
}
```

## GET /forms/manual-submission-commands/{commandId}

Read a manual-registration command without replaying effects

`get_manual_submission_command`

Manual creation uses the actual native submitForm owner after proving the API key creator is a real current active ADMIN of this organisation, with full association/contact scope. Root and campaign-restricted keys are refused. Context reading requires forms_submit:manual plus forms:read and forms_submit:read. Creation additionally requires forms_submit:write/validate and messages:send. Reading a command requires its original cumulative rights; all rights are re-admitted from persistence. A linked event additionally requires events:read, including context reading. Person blocks also require contacts:read/write/manage-tags/manage; a paying form or positive FREE_AMOUNT requires paiements:write. Automatic native ticket issuance does not expose a ticket capability and does not grant tickets:read/share. This creates a new manual registration already VALIDE; it never records funds received, charges a saved method or marks a payment settled. Existing records must use their correction/lifecycle tools, never another manual create. A durable journal, exact command identity and form/CRM fences are acquired before the native owner. Reusing the same idempotencyKey and identical intent only reads the recorded command; conflicting intent returns IDEMPOTENCY_CONFLICT. A successful result is re-read canonically with majority read concern and exact current references. SUCCEEDED proves a recorded manual VALIDE registration only: financialSettlement, crmEffects, notificationDelivery and ticketIssuance remain NOT_VERIFIED. UNKNOWN includes interrupted PREPARED/RUNNING commands, cannot prove no effects and keeps protective fences. retryable=false always: read get_manual_submission_command and reconcile UNKNOWN without a new key, another create, automatic retry or internal workaround. No provider URL, ticket bearer, private formData, contacts or raw native error is exposed. protectionReleased=false means releasing the external fence was not confirmed; a proven terminal outcome remains terminal and is never replayed. GET performs no creation, recovery, mail, ticket or payment effect.

### אימות

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

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

```json
{
  "accepted": "forms_submit:manual",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified external result; no private form snapshot, contact profile, reusable link or settlement assertion.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ManualSubmissionReceipt"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid or unexpected input, manual flag, edit/access/account binding, person snapshot, amount, quantity or missing capacity acknowledgement."
}
```

#### HTTP 403

```json
{
  "description": "Missing cumulative rights, restricted/root principal or no current real full-scope administrator creator."
}
```

#### HTTP 404

```json
{
  "description": "Form or command unavailable in the current organisation and principal."
}
```

#### HTTP 409

```json
{
  "description": "Revision/reference/history conflict, full capacity, taken seat, CRM/form fence, unsupported calendar/document/family-person variant or uncertain result. Do not automatically retry a mutation."
}
```

#### HTTP 422

```json
{
  "description": "Bound exceeded; no truncation or partial admission."
}
```

#### HTTP 503

```json
{
  "description": "Admission, authority or mandatory fence temporarily unavailable; no permissive fallback."
}
```

### OpenAPI

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

## GET /forms-submit/{id}/restoration-plan

Inspect original registration resources before restoration

`get_submission_restoration_plan`

Requires forms_submit:restore AND forms_submit:archive AND forms:read AND forms_submit:read, all independently granted; forms_submit:restore is opt-in and never a default permission. A linked event additionally requires events:read; a VALIDE submission additionally requires tickets:read, even when no ticket row is currently recorded, because a previously distributed legacy QR may still exist. An organisation API grant does not impersonate a participant. Campaign-restricted keys are refused. IDs and all related native resources must be exact scalars in this organisation, globally unambiguous where native owners use global IDs. No passwords, account sessions, QR, ticket ID bearer, order token, access URL, raw answer map, private snapshot or owner error is returned. Native unarchive changes archived:false and editDatetime only; this adapter adds an atomic private proof and external journal. It preserves the complete existing submission, including original state, datetime, product quantities, answer data, seats, currency, fiscal association, prices and payment snapshots. It does not run submitForm, reprice, swap products, validate a pending registration, debit/refund, reconcile or issue tickets, reset check-in or send email. Restoring a VALIDE record can make its old entry access usable again on the next native ticket read; a used/revoked ticket keeps its prior usedAt/history and native replay protection. The explicit ticket acknowledgement accepts that access consequence, not a ticket rearm. A later native read can reconcile tickets; this command never does it. Reads are side-effect free apart from authentication telemetry. Unknown parameters/types and nonempty GET bodies are refused. Read this exact restoration plan before commanding. revision is an opaque BSON-based hash of the complete source, form, products, categories, linked event/project, ticket metadata and current bounded occupancy. eligible and reasons qualify the current observation, not a reservation. Capacity is in product/seat units, never money; null capacity/available means no recorded cap, not zero. Products retain their original IDs and category; a removed/moved/inactive original resource is refused rather than replaced. Global, product and native SIMPLE/SEATS category caps and every original numbered seat are checked against VALIDE and recent SUBMIT records, excluding archives. SUBMIT holds last 15 minutes when requirePaiementValidation is true, otherwise 24 hours, based on its original datetime, which restoration never refreshes. An expired SUBMIT has consumesResourcesAfterRestore:false and NO_CAPACITY_REACQUISITION: old seat data remains but does not reserve a place. The plan exposes the cutoff instant in UTC. Selected CALENDAR answers are explicitly refused with RESTORATION_CALENDAR_CAPACITY_UNQUALIFIED: native local-server day matching and unordered cross-calendar stock overrides lack one qualified restoration rule; ordinary product/seat/annual restoration is implemented. INVALIDE uses the existing non-occupying restore, and an already active record is not a new restoration. Limits: 200 products/categories, 5000 current source submissions/seats, 1000 recorded tickets, 2 MiB original submission. Each bounded read additionally refuses more than 8 MiB of BSON; the required occupied-seat population is limited to 5000. Overflow or malformed/foreign required history refuses the whole observation. Event-linked historical forms need not be currently publicly open; this is explicit administration of their existing registration, not a new public order.

### אימות

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

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

```json
{
  "accepted": "forms_submit:restore",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:archive"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified restoration observation or command receipt.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionRestorationPlan"
          }
        }
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid restoration parameters or missing explicit ticket-access acknowledgement.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope, inconsistent organisation or campaign-restricted key.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Submission or related resource unavailable in this organisation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Changed plan, unavailable original resource, capacity conflict, invalid history or pending command.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "Source exceeds the supported bounded restoration context.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Restoration admission, durable claim or confirmation is unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:restore",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:archive"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms-submit/{id}/restore-with-capacity

Restore the existing registration after checking its original capacity

`restore_submission_with_capacity`

Requires forms_submit:restore AND forms_submit:archive AND forms:read AND forms_submit:read, all independently granted; forms_submit:restore is opt-in and never a default permission. A linked event additionally requires events:read; a VALIDE submission additionally requires tickets:read, even when no ticket row is currently recorded, because a previously distributed legacy QR may still exist. An organisation API grant does not impersonate a participant. Campaign-restricted keys are refused. IDs and all related native resources must be exact scalars in this organisation, globally unambiguous where native owners use global IDs. No passwords, account sessions, QR, ticket ID bearer, order token, access URL, raw answer map, private snapshot or owner error is returned. Native unarchive changes archived:false and editDatetime only; this adapter adds an atomic private proof and external journal. It preserves the complete existing submission, including original state, datetime, product quantities, answer data, seats, currency, fiscal association, prices and payment snapshots. It does not run submitForm, reprice, swap products, validate a pending registration, debit/refund, reconcile or issue tickets, reset check-in or send email. Restoring a VALIDE record can make its old entry access usable again on the next native ticket read; a used/revoked ticket keeps its prior usedAt/history and native replay protection. The explicit ticket acknowledgement accepts that access consequence, not a ticket rearm. A later native read can reconcile tickets; this command never does it. Reads are side-effect free apart from authentication telemetry. Unknown parameters/types and nonempty GET bodies are refused. Pass the exact fresh plan revision as expectedRevision, a new UUID idempotencyKey for this intention and capacityAcknowledgement:OPTIMISTIC_WITH_INTERNAL_WRITES. For VALIDE also pass ticketAccessAcknowledgement:EXISTING_TICKET_ACCESS_MAY_RESUME. No resource, price, state, seat or financial change is accepted in the body. The form-level durable fence is shared with manual registrations, placement and form configuration mutations; an annual form that actually reacquires resources also uses the native annual capacity lease with strengthened durable ACKs. Optimistic API fences and current admission do not make internal/legacy writers transactional; concurrentInternalChangesPossible:true remains explicit. After positively acknowledged majority/journal reservations and second admission, a whole-document BSON CAS changes only the native archive fields plus its proof marker. APPLIED means that exact mutation has durable positive ACK or an exact correlated fresh majority proof. A later journal or cleanup failure does not erase this proven effect; RESTORATION_CLEANUP_UNCONFIRMED/cleanupUnconfirmed qualify that limitation separately. NOT_APPLIED means admission/CAS refused before this command changed the target. UNKNOWN means an effect or claim may be incomplete; retain locks and inspect the same command. No owner/CAS is ever run again for an existing identity. Preserve every original argument and the key on a lost response. Never change the key/revision, use a different organisation, legacy restore or participant/ticket operations to bypass a pending or unknown restoration. This command does not prove payment settlement or ticket admission.

### אימות

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

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

```json
{
  "accepted": "forms_submit:restore",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:archive"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "capacityAcknowledgement": {
            "type": "string",
            "enum": [
              "OPTIMISTIC_WITH_INTERNAL_WRITES"
            ]
          },
          "ticketAccessAcknowledgement": {
            "type": "string",
            "enum": [
              "EXISTING_TICKET_ACCESS_MAY_RESUME"
            ]
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision",
          "capacityAcknowledgement"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified restoration observation or command receipt.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "replayed",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionRestorationReceipt"
          }
        }
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid restoration parameters or missing explicit ticket-access acknowledgement.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope, inconsistent organisation or campaign-restricted key.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Submission or related resource unavailable in this organisation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Changed plan, unavailable original resource, capacity conflict, invalid history or pending command.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "Source exceeds the supported bounded restoration context.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Restoration admission, durable claim or confirmation is unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:restore",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:archive"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": false,
    "warn": false
  }
}
```

## GET /forms-submit/{id}/restoration-commands/{commandId}

Read a recorded registration restoration outcome

`get_submission_restoration_command`

Requires forms_submit:restore AND forms_submit:archive AND forms:read AND forms_submit:read, all independently granted; forms_submit:restore is opt-in and never a default permission. A linked event additionally requires events:read; a VALIDE submission additionally requires tickets:read, even when no ticket row is currently recorded, because a previously distributed legacy QR may still exist. An organisation API grant does not impersonate a participant. Campaign-restricted keys are refused. IDs and all related native resources must be exact scalars in this organisation, globally unambiguous where native owners use global IDs. No passwords, account sessions, QR, ticket ID bearer, order token, access URL, raw answer map, private snapshot or owner error is returned. Native unarchive changes archived:false and editDatetime only; this adapter adds an atomic private proof and external journal. It preserves the complete existing submission, including original state, datetime, product quantities, answer data, seats, currency, fiscal association, prices and payment snapshots. It does not run submitForm, reprice, swap products, validate a pending registration, debit/refund, reconcile or issue tickets, reset check-in or send email. Restoring a VALIDE record can make its old entry access usable again on the next native ticket read; a used/revoked ticket keeps its prior usedAt/history and native replay protection. The explicit ticket acknowledgement accepts that access consequence, not a ticket rearm. A later native read can reconcile tickets; this command never does it. Reads are side-effect free apart from authentication telemetry. Unknown parameters/types and nonempty GET bodies are refused. Read only the correlated restoration receipt for this exact submission and commandId, under the same API principal and all scopes required by the original plan. PREPARED/RUNNING are returned as UNKNOWN. An uncertain stored receipt can be qualified APPLIED only by a fresh majority read matching the exact command marker, request hash and predicted complete target BSON hash; merely seeing archived:false, a free seat or an absent lock proves nothing. This read neither retries the CAS nor releases/repairs a lock. Inspect APPLIED/NOT_APPLIED/UNKNOWN and cleanupUnconfirmed as documented by the restoration command. The returned revision describes the confirmed mutation, not a promise that the source has remained unchanged since.

### אימות

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

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

```json
{
  "accepted": "forms_submit:restore",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:archive"
  ]
}
```

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified restoration observation or command receipt.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "replayed",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionRestorationReceipt"
          }
        }
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid restoration parameters or missing explicit ticket-access acknowledgement.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope, inconsistent organisation or campaign-restricted key.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Submission or related resource unavailable in this organisation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Changed plan, unavailable original resource, capacity conflict, invalid history or pending command.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "Source exceeds the supported bounded restoration context.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Restoration admission, durable claim or confirmation is unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:restore",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:archive"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms-submit/{id}/reassignment-context

Read the existing registration choices and revision

`get_submission_reassignment_context`

One existing non-archived VALIDE or SUBMIT registration, in the same COMPLEX form and authenticated organisation only. This is a registration choice correction, not a PE/form migration, new registration, refund or price adjustment. Current API key and its true unique active unrestricted ADMIN creator are re-admitted. Root and campaign-restricted keys are refused. forms:read and forms_submit:read are required; attached payments additionally require paiements:read, pledges/allocations promesses:read, linked recurring FORM contracts abonnements:read, preserved CRM bindings contacts:read, and existing tickets or affected ticketed products tickets:read. No contacts:write is used because no CRM owner is invoked. Identities, payment/pledge allocations, association, currency, stored totals and fiscal snapshots stay unchanged. No provider, debit, refund, CRM sync, automatic mail, ticket reconciliation or pointage reset is performed. Unknown fields/query parameters are refused. moves transfers each source product entire positive quantity to a distinct empty existing target; source/target sets cannot overlap. It moves existing participant occurrences as-is without changing their identities; participant schema must match. Read current form/product/calendar references separately, never invent ids. Each pair must retain the canonical unit price, discount and fiscal classification; current and historical canonical quotes and all four stored totals must agree exactly in MINOR units. 1234 means 12.34 currency units. No custom-price variant or changed historical price is admitted. calendar selects an existing active ALLDAY slot by calendarId and slotId for an already answered calendar field; it changes that stored date, not registration creation time. No new slot/calendar/product or cross-form move. Native slot product overrides constrain global product occupation, not an invented per-date attendance pool. Seats remain identical; a different seating category needs the separate seating owner. A product observed with a USED ticket at admission cannot move. Shared source and per-ticket guards serialize cooperating external ticket writers; an internal writer can still mark USED after the last admission, so no global ticket-state CAS is promised. ticketReconciliation=REQUIRED is a prerequisite for a separate explicit supported ticket operation using this submissionId; it is not a completed reconciliation or a ticket URL. Preview and GET reserve nothing and make no business write; API-key usage telemetry may be recorded. Read the context, preview the exact moves/calendar with expectedRevision, then explicitly confirm with the returned previewHash, unchanged intent and one stable UUID idempotencyKey. Commands additionally require forms_submit:write AND forms_submit:edit AND the explicit opt-in forms_submit:reassign. A durable journal precedes the shared form, ticket-source and per-ticket guards; whole-document compare-and-set performs the only registration write. Capacity is bounded and follows native occupancyOr, category/seat owners and excludes the current submission. Nonannual capacity remains OPTIMISTIC_WITH_INTERNAL_WRITES and requires that exact capacityAcknowledgement: external fences do not serialize internal writers. Annual forms additionally use the real native capacity lease. No stock override exists. APPLIED proves one acknowledged stored update, not future availability, settlement or device effects. REFUSED/CONFLICT made no target update. UNKNOWN includes an interrupted command or unproved effect/final journal; protections are retained. retryable=false always. Same key and intent reads the receipt only; never use a new key, internal route or another mutation to bypass UNKNOWN. Use get_submission_reassignment_command; cleanup failure can leave a protection after an already proven APPLIED result.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": [
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "A closed registration reassignment result without private answers, payment means or ticket bearers.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionReassignmentCurrentResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, unknown field, non-empty read body, unsupported move shape or missing explicit confirmation/capacity acknowledgement."
}
```

#### HTTP 403

```json
{
  "description": "Missing scopes, campaign-restricted key or unavailable real current ADMIN creator. Never use another role or credentials as a workaround."
}
```

#### HTTP 404

```json
{
  "description": "Unavailable form or inaccessible command. Foreign organisations never grant authority."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision/preview, changed price/fiscal classification, unavailable historical reference, occupied capacity/seat, used ticket, nonempty target or form fence. No automatic retry or financial compensation."
}
```

#### HTTP 422

```json
{
  "description": "Bounded source population exceeded; no partial reassignment is performed."
}
```

#### HTTP 503

```json
{
  "description": "Admission, durable claim, lease or persistence could not be proved. Read the command when known; do not substitute a new key after uncertainty."
}
```

### OpenAPI

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

## POST /forms-submit/{id}/reassignment-preview

Preview a financially neutral existing choice reassignment

`preview_submission_reassignment`

One existing non-archived VALIDE or SUBMIT registration, in the same COMPLEX form and authenticated organisation only. This is a registration choice correction, not a PE/form migration, new registration, refund or price adjustment. Current API key and its true unique active unrestricted ADMIN creator are re-admitted. Root and campaign-restricted keys are refused. forms:read and forms_submit:read are required; attached payments additionally require paiements:read, pledges/allocations promesses:read, linked recurring FORM contracts abonnements:read, preserved CRM bindings contacts:read, and existing tickets or affected ticketed products tickets:read. No contacts:write is used because no CRM owner is invoked. Identities, payment/pledge allocations, association, currency, stored totals and fiscal snapshots stay unchanged. No provider, debit, refund, CRM sync, automatic mail, ticket reconciliation or pointage reset is performed. Unknown fields/query parameters are refused. moves transfers each source product entire positive quantity to a distinct empty existing target; source/target sets cannot overlap. It moves existing participant occurrences as-is without changing their identities; participant schema must match. Read current form/product/calendar references separately, never invent ids. Each pair must retain the canonical unit price, discount and fiscal classification; current and historical canonical quotes and all four stored totals must agree exactly in MINOR units. 1234 means 12.34 currency units. No custom-price variant or changed historical price is admitted. calendar selects an existing active ALLDAY slot by calendarId and slotId for an already answered calendar field; it changes that stored date, not registration creation time. No new slot/calendar/product or cross-form move. Native slot product overrides constrain global product occupation, not an invented per-date attendance pool. Seats remain identical; a different seating category needs the separate seating owner. A product observed with a USED ticket at admission cannot move. Shared source and per-ticket guards serialize cooperating external ticket writers; an internal writer can still mark USED after the last admission, so no global ticket-state CAS is promised. ticketReconciliation=REQUIRED is a prerequisite for a separate explicit supported ticket operation using this submissionId; it is not a completed reconciliation or a ticket URL. Preview and GET reserve nothing and make no business write; API-key usage telemetry may be recorded. Read the context, preview the exact moves/calendar with expectedRevision, then explicitly confirm with the returned previewHash, unchanged intent and one stable UUID idempotencyKey. Commands additionally require forms_submit:write AND forms_submit:edit AND the explicit opt-in forms_submit:reassign. A durable journal precedes the shared form, ticket-source and per-ticket guards; whole-document compare-and-set performs the only registration write. Capacity is bounded and follows native occupancyOr, category/seat owners and excludes the current submission. Nonannual capacity remains OPTIMISTIC_WITH_INTERNAL_WRITES and requires that exact capacityAcknowledgement: external fences do not serialize internal writers. Annual forms additionally use the real native capacity lease. No stock override exists. APPLIED proves one acknowledged stored update, not future availability, settlement or device effects. REFUSED/CONFLICT made no target update. UNKNOWN includes an interrupted command or unproved effect/final journal; protections are retained. retryable=false always. Same key and intent reads the receipt only; never use a new key, internal route or another mutation to bypass UNKNOWN. Use get_submission_reassignment_command; cleanup failure can leave a protection after an already proven APPLIED result.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": [
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "moves": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "type": "object",
              "properties": {
                "fromProductId": {
                  "type": "string",
                  "format": "uuid"
                },
                "toProductId": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "fromProductId",
                "toProductId"
              ],
              "additionalProperties": false
            }
          },
          "calendar": {
            "type": "object",
            "properties": {
              "calendarId": {
                "type": "string",
                "format": "uuid"
              },
              "slotId": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "calendarId",
              "slotId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "expectedRevision"
        ],
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "moves"
            ]
          },
          {
            "required": [
              "calendar"
            ]
          }
        ]
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "A closed registration reassignment result without private answers, payment means or ticket bearers.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionReassignmentPreviewResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, unknown field, non-empty read body, unsupported move shape or missing explicit confirmation/capacity acknowledgement."
}
```

#### HTTP 403

```json
{
  "description": "Missing scopes, campaign-restricted key or unavailable real current ADMIN creator. Never use another role or credentials as a workaround."
}
```

#### HTTP 404

```json
{
  "description": "Unavailable form or inaccessible command. Foreign organisations never grant authority."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision/preview, changed price/fiscal classification, unavailable historical reference, occupied capacity/seat, used ticket, nonempty target or form fence. No automatic retry or financial compensation."
}
```

#### HTTP 422

```json
{
  "description": "Bounded source population exceeded; no partial reassignment is performed."
}
```

#### HTTP 503

```json
{
  "description": "Admission, durable claim, lease or persistence could not be proved. Read the command when known; do not substitute a new key after uncertainty."
}
```

### OpenAPI

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

## POST /forms-submit/{id}/reassignments

Confirm a neutral product or calendar reassignment

`reassign_submission`

One existing non-archived VALIDE or SUBMIT registration, in the same COMPLEX form and authenticated organisation only. This is a registration choice correction, not a PE/form migration, new registration, refund or price adjustment. Current API key and its true unique active unrestricted ADMIN creator are re-admitted. Root and campaign-restricted keys are refused. forms:read and forms_submit:read are required; attached payments additionally require paiements:read, pledges/allocations promesses:read, linked recurring FORM contracts abonnements:read, preserved CRM bindings contacts:read, and existing tickets or affected ticketed products tickets:read. No contacts:write is used because no CRM owner is invoked. Identities, payment/pledge allocations, association, currency, stored totals and fiscal snapshots stay unchanged. No provider, debit, refund, CRM sync, automatic mail, ticket reconciliation or pointage reset is performed. Unknown fields/query parameters are refused. moves transfers each source product entire positive quantity to a distinct empty existing target; source/target sets cannot overlap. It moves existing participant occurrences as-is without changing their identities; participant schema must match. Read current form/product/calendar references separately, never invent ids. Each pair must retain the canonical unit price, discount and fiscal classification; current and historical canonical quotes and all four stored totals must agree exactly in MINOR units. 1234 means 12.34 currency units. No custom-price variant or changed historical price is admitted. calendar selects an existing active ALLDAY slot by calendarId and slotId for an already answered calendar field; it changes that stored date, not registration creation time. No new slot/calendar/product or cross-form move. Native slot product overrides constrain global product occupation, not an invented per-date attendance pool. Seats remain identical; a different seating category needs the separate seating owner. A product observed with a USED ticket at admission cannot move. Shared source and per-ticket guards serialize cooperating external ticket writers; an internal writer can still mark USED after the last admission, so no global ticket-state CAS is promised. ticketReconciliation=REQUIRED is a prerequisite for a separate explicit supported ticket operation using this submissionId; it is not a completed reconciliation or a ticket URL. Preview and GET reserve nothing and make no business write; API-key usage telemetry may be recorded. Read the context, preview the exact moves/calendar with expectedRevision, then explicitly confirm with the returned previewHash, unchanged intent and one stable UUID idempotencyKey. Commands additionally require forms_submit:write AND forms_submit:edit AND the explicit opt-in forms_submit:reassign. A durable journal precedes the shared form, ticket-source and per-ticket guards; whole-document compare-and-set performs the only registration write. Capacity is bounded and follows native occupancyOr, category/seat owners and excludes the current submission. Nonannual capacity remains OPTIMISTIC_WITH_INTERNAL_WRITES and requires that exact capacityAcknowledgement: external fences do not serialize internal writers. Annual forms additionally use the real native capacity lease. No stock override exists. APPLIED proves one acknowledged stored update, not future availability, settlement or device effects. REFUSED/CONFLICT made no target update. UNKNOWN includes an interrupted command or unproved effect/final journal; protections are retained. retryable=false always. Same key and intent reads the receipt only; never use a new key, internal route or another mutation to bypass UNKNOWN. Use get_submission_reassignment_command; cleanup failure can leave a protection after an already proven APPLIED result.

### אימות

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

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

```json
{
  "accepted": "forms_submit:reassign",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:write",
    "forms_submit:edit"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

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

### תגובות

#### HTTP 200

```json
{
  "description": "A closed registration reassignment result without private answers, payment means or ticket bearers.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionReassignmentReceiptResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, unknown field, non-empty read body, unsupported move shape or missing explicit confirmation/capacity acknowledgement."
}
```

#### HTTP 403

```json
{
  "description": "Missing scopes, campaign-restricted key or unavailable real current ADMIN creator. Never use another role or credentials as a workaround."
}
```

#### HTTP 404

```json
{
  "description": "Unavailable form or inaccessible command. Foreign organisations never grant authority."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision/preview, changed price/fiscal classification, unavailable historical reference, occupied capacity/seat, used ticket, nonempty target or form fence. No automatic retry or financial compensation."
}
```

#### HTTP 422

```json
{
  "description": "Bounded source population exceeded; no partial reassignment is performed."
}
```

#### HTTP 503

```json
{
  "description": "Admission, durable claim, lease or persistence could not be proved. Read the command when known; do not substitute a new key after uncertainty."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:reassign",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:write",
    "forms_submit:edit"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "update",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": true
  }
}
```

## GET /forms-submit/reassignment-commands/{commandId}

Read a reassignment command without replaying effects

`get_submission_reassignment_command`

One existing non-archived VALIDE or SUBMIT registration, in the same COMPLEX form and authenticated organisation only. This is a registration choice correction, not a PE/form migration, new registration, refund or price adjustment. Current API key and its true unique active unrestricted ADMIN creator are re-admitted. Root and campaign-restricted keys are refused. forms:read and forms_submit:read are required; attached payments additionally require paiements:read, pledges/allocations promesses:read, linked recurring FORM contracts abonnements:read, preserved CRM bindings contacts:read, and existing tickets or affected ticketed products tickets:read. No contacts:write is used because no CRM owner is invoked. Identities, payment/pledge allocations, association, currency, stored totals and fiscal snapshots stay unchanged. No provider, debit, refund, CRM sync, automatic mail, ticket reconciliation or pointage reset is performed. Unknown fields/query parameters are refused. moves transfers each source product entire positive quantity to a distinct empty existing target; source/target sets cannot overlap. It moves existing participant occurrences as-is without changing their identities; participant schema must match. Read current form/product/calendar references separately, never invent ids. Each pair must retain the canonical unit price, discount and fiscal classification; current and historical canonical quotes and all four stored totals must agree exactly in MINOR units. 1234 means 12.34 currency units. No custom-price variant or changed historical price is admitted. calendar selects an existing active ALLDAY slot by calendarId and slotId for an already answered calendar field; it changes that stored date, not registration creation time. No new slot/calendar/product or cross-form move. Native slot product overrides constrain global product occupation, not an invented per-date attendance pool. Seats remain identical; a different seating category needs the separate seating owner. A product observed with a USED ticket at admission cannot move. Shared source and per-ticket guards serialize cooperating external ticket writers; an internal writer can still mark USED after the last admission, so no global ticket-state CAS is promised. ticketReconciliation=REQUIRED is a prerequisite for a separate explicit supported ticket operation using this submissionId; it is not a completed reconciliation or a ticket URL. Preview and GET reserve nothing and make no business write; API-key usage telemetry may be recorded. Read the context, preview the exact moves/calendar with expectedRevision, then explicitly confirm with the returned previewHash, unchanged intent and one stable UUID idempotencyKey. Commands additionally require forms_submit:write AND forms_submit:edit AND the explicit opt-in forms_submit:reassign. A durable journal precedes the shared form, ticket-source and per-ticket guards; whole-document compare-and-set performs the only registration write. Capacity is bounded and follows native occupancyOr, category/seat owners and excludes the current submission. Nonannual capacity remains OPTIMISTIC_WITH_INTERNAL_WRITES and requires that exact capacityAcknowledgement: external fences do not serialize internal writers. Annual forms additionally use the real native capacity lease. No stock override exists. APPLIED proves one acknowledged stored update, not future availability, settlement or device effects. REFUSED/CONFLICT made no target update. UNKNOWN includes an interrupted command or unproved effect/final journal; protections are retained. retryable=false always. Same key and intent reads the receipt only; never use a new key, internal route or another mutation to bypass UNKNOWN. Use get_submission_reassignment_command; cleanup failure can leave a protection after an already proven APPLIED result.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": [
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "A closed registration reassignment result without private answers, payment means or ticket bearers.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionReassignmentReceiptResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, unknown field, non-empty read body, unsupported move shape or missing explicit confirmation/capacity acknowledgement."
}
```

#### HTTP 403

```json
{
  "description": "Missing scopes, campaign-restricted key or unavailable real current ADMIN creator. Never use another role or credentials as a workaround."
}
```

#### HTTP 404

```json
{
  "description": "Unavailable form or inaccessible command. Foreign organisations never grant authority."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision/preview, changed price/fiscal classification, unavailable historical reference, occupied capacity/seat, used ticket, nonempty target or form fence. No automatic retry or financial compensation."
}
```

#### HTTP 422

```json
{
  "description": "Bounded source population exceeded; no partial reassignment is performed."
}
```

#### HTTP 503

```json
{
  "description": "Admission, durable claim, lease or persistence could not be proved. Read the command when known; do not substitute a new key after uncertainty."
}
```

### OpenAPI

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

## GET /forms-submit/{id}/placement

Read a registration placement revision

`get_submission_placement`

Requires forms_submit:place, forms:read, forms_submit:read, forms_submit:edit and tickets:read. Campaign-restricted keys are refused. Existing UUIDs come from authorised form/registration reads. Assign or move numbered seats in ONE active SEATS category of the SAME active COMPLEX form. Product IDs, quantities, other answers, stored totals, association, currency, payment/subscription references, decisions and ticket/check-in records are preserved. No repricing, charge, refund, CRM synchronisation, email, QR rotation or entry reset. Paid registrations additionally require paiements:read; linked subscriptions require abonnements:read; linked events require events:read. Annual capacity uses its native lease and the genuine current unrestricted administrator who created the key, never a synthetic administrator. Source/BSON revision checks are optimistic against internal writers, not a global transaction. Expired SUBMIT holds, archives, refusals, ambiguous sources and tickets requiring reconciliation are refused. GET/preview are passive and reserve nothing. UNKNOWN retains the form guard: inspect the receipt without a new key or automatic retry. Returns existing tables and selected seats. requiredSeats is the recorded category product quantity. Seat numbers start at 1. No occupant identities or QR tokens.

### אימות

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

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

```json
{
  "accepted": "forms_submit:place",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified placement result.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionPlacementRead"
          }
        },
        "required": [
          "success",
          "data"
        ]
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid input."
}
```

#### HTTP 403

```json
{
  "description": "Missing authority."
}
```

#### HTTP 404

```json
{
  "description": "Resource not found."
}
```

#### HTTP 409

```json
{
  "description": "Revision, seat, source or fence conflict."
}
```

#### HTTP 503

```json
{
  "description": "Storage unavailable."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:place",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms-submit/{id}/placement/preview

Preview a financially neutral seat placement

`preview_submission_placement`

Requires forms_submit:place, forms:read, forms_submit:read, forms_submit:edit and tickets:read. Campaign-restricted keys are refused. Existing UUIDs come from authorised form/registration reads. Assign or move numbered seats in ONE active SEATS category of the SAME active COMPLEX form. Product IDs, quantities, other answers, stored totals, association, currency, payment/subscription references, decisions and ticket/check-in records are preserved. No repricing, charge, refund, CRM synchronisation, email, QR rotation or entry reset. Paid registrations additionally require paiements:read; linked subscriptions require abonnements:read; linked events require events:read. Annual capacity uses its native lease and the genuine current unrestricted administrator who created the key, never a synthetic administrator. Source/BSON revision checks are optimistic against internal writers, not a global transaction. Expired SUBMIT holds, archives, refusals, ambiguous sources and tickets requiring reconciliation are refused. GET/preview are passive and reserve nothing. UNKNOWN retains the form guard: inspect the receipt without a new key or automatic retry. Supply the current expectedRevision and COMPLETE ordered seat list for ONE category. The native renderer uses this order to assign existing product units. Count must equal requiredSeats; seats must be distinct, valid and free. Carry planToken and the identical selection to the command.

### אימות

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

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

```json
{
  "accepted": "forms_submit:place",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "seats": {
            "type": "array",
            "maxItems": 5000,
            "items": {
              "type": "object",
              "properties": {
                "tableId": {
                  "type": "string",
                  "format": "uuid"
                },
                "seat": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 5000
                }
              },
              "required": [
                "tableId",
                "seat"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "expectedRevision",
          "categoryId",
          "seats"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified placement result.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionPlacementPreview"
          }
        },
        "required": [
          "success",
          "data"
        ]
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid input."
}
```

#### HTTP 403

```json
{
  "description": "Missing authority."
}
```

#### HTTP 404

```json
{
  "description": "Resource not found."
}
```

#### HTTP 409

```json
{
  "description": "Revision, seat, source or fence conflict."
}
```

#### HTTP 503

```json
{
  "description": "Storage unavailable."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:place",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms-submit/{id}/placement/commands

Apply a previewed seat placement

`apply_submission_placement`

Requires forms_submit:place, forms:read, forms_submit:read, forms_submit:edit and tickets:read. Campaign-restricted keys are refused. Existing UUIDs come from authorised form/registration reads. Assign or move numbered seats in ONE active SEATS category of the SAME active COMPLEX form. Product IDs, quantities, other answers, stored totals, association, currency, payment/subscription references, decisions and ticket/check-in records are preserved. No repricing, charge, refund, CRM synchronisation, email, QR rotation or entry reset. Paid registrations additionally require paiements:read; linked subscriptions require abonnements:read; linked events require events:read. Annual capacity uses its native lease and the genuine current unrestricted administrator who created the key, never a synthetic administrator. Source/BSON revision checks are optimistic against internal writers, not a global transaction. Expired SUBMIT holds, archives, refusals, ambiguous sources and tickets requiring reconciliation are refused. GET/preview are passive and reserve nothing. UNKNOWN retains the form guard: inspect the receipt without a new key or automatic retry. Journal and shared form guard are durably acknowledged before the BSON compare-and-set. Supply a caller UUID idempotencyKey. Reuse the same key/payload after a lost response: no second execution. SUCCEEDED proves only the limited placement write and preserved observed context, never settlement or a future reservation.

### אימות

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

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

```json
{
  "accepted": "forms_submit:place",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "seats": {
            "type": "array",
            "maxItems": 5000,
            "items": {
              "type": "object",
              "properties": {
                "tableId": {
                  "type": "string",
                  "format": "uuid"
                },
                "seat": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 5000
                }
              },
              "required": [
                "tableId",
                "seat"
              ],
              "additionalProperties": false
            }
          },
          "planToken": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "expectedRevision",
          "categoryId",
          "seats",
          "planToken",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified placement result.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionPlacementReceipt"
          }
        },
        "required": [
          "success",
          "data"
        ]
      }
    }
  }
}
```

#### HTTP 202

```json
{
  "description": "Running or uncertain command; inspect its receipt.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionPlacementReceipt"
          }
        },
        "required": [
          "success",
          "data"
        ]
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid input."
}
```

#### HTTP 403

```json
{
  "description": "Missing authority."
}
```

#### HTTP 404

```json
{
  "description": "Resource not found."
}
```

#### HTTP 409

```json
{
  "description": "Revision, seat, source or fence conflict."
}
```

#### HTTP 503

```json
{
  "description": "Storage unavailable."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:place",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "write",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": true
  }
}
```

## GET /forms-submit/{id}/placement/commands/{commandId}

Read a placement command receipt

`get_submission_placement_command`

Requires forms_submit:place, forms:read, forms_submit:read, forms_submit:edit and tickets:read. Campaign-restricted keys are refused. Existing UUIDs come from authorised form/registration reads. Assign or move numbered seats in ONE active SEATS category of the SAME active COMPLEX form. Product IDs, quantities, other answers, stored totals, association, currency, payment/subscription references, decisions and ticket/check-in records are preserved. No repricing, charge, refund, CRM synchronisation, email, QR rotation or entry reset. Paid registrations additionally require paiements:read; linked subscriptions require abonnements:read; linked events require events:read. Annual capacity uses its native lease and the genuine current unrestricted administrator who created the key, never a synthetic administrator. Source/BSON revision checks are optimistic against internal writers, not a global transaction. Expired SUBMIT holds, archives, refusals, ambiguous sources and tickets requiring reconciliation are refused. GET/preview are passive and reserve nothing. UNKNOWN retains the form guard: inspect the receipt without a new key or automatic retry. Passive receipt. RUNNING or UNKNOWN never permits another command. Replaying SUCCEEDED does not write or reconcile tickets.

### אימות

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

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

```json
{
  "accepted": "forms_submit:place",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ]
}
```

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified placement result.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionPlacementReceipt"
          }
        },
        "required": [
          "success",
          "data"
        ]
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid input."
}
```

#### HTTP 403

```json
{
  "description": "Missing authority."
}
```

#### HTTP 404

```json
{
  "description": "Resource not found."
}
```

#### HTTP 409

```json
{
  "description": "Revision, seat, source or fence conflict."
}
```

#### HTTP 503

```json
{
  "description": "Storage unavailable."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:place",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read",
    "forms_submit:edit",
    "tickets:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms/{id}/registration-rules

Read native registration limits and product categories

`get_form_registration_rules`

Requires forms:read and conditional events:read for linked PE context. Read only current explicit fields and a whole-snapshot expectedRevision, not a submission count or authoritative public availability. Unknown properties, query parameters and any HTTP body are refused. These are native form configuration fields, not a reservation, remaining availability or payment result. expireAt is the existing closing instant; null removes that deadline but does not override inactive/draft/session/annual-event gates. No native opening date exists. Supply timezone-qualified ISO instants; no caller timezone is inferred. globalStock is a shared total quantity ceiling over products, null is unbounded and 0 is a real zero. A product category is distinct from CRM tags in product.categories. NONE has no category ceiling; SIMPLE shares stock over its products; SEATS sums native tables[].capacity and retains numbered seat identity. Positions use native ordering with id tie-breaks. Existing private media, rich/AI content, translations, pricing, calendar and other settings are preserved, never returned or accepted as replacement bags. Only existing independent COMPLEX forms are writable; masters/managed children and campaign-restricted keys are refused. No inscription, allocation, payment, ticket, seat assignment, notification, provider or internal publication is moved or rewritten. Native ALLDAY calendars remain with the calendar tools; timed SLOTS are not exposed by the current software. Annual-event-owned forms require their native capacity lease and are refused for edits here. 

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing owned form id; a session ceiling is the ceiling of its linked form, not a new PE property."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit registration configuration or recorded command result without private extras.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormRegistrationRulesCurrentResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, operation, query, input or read body.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE or CAMPAIGN_RESTRICTED_KEY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Owned form, category, product, session or command not found.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, owner unavailable, stale revision, structural seating change, retained fence or idempotency conflict.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Registration rule storage unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

### OpenAPI

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

## POST /forms/{id}/registration-rules/plan

Plan one native registration configuration change

`plan_form_registration_rules`

Requires forms:read and conditional events:read for linked PE context. Read-only POST: no journal, lock, persistent initialization, write or native renderer is invoked. Supply the current expectedRevision and one operation. Returns a closed projected after state and planToken; it reserves nothing. Existing extras are retained privately by identity. These are native form configuration fields, not a reservation, remaining availability or payment result. expireAt is the existing closing instant; null removes that deadline but does not override inactive/draft/session/annual-event gates. No native opening date exists. Supply timezone-qualified ISO instants; no caller timezone is inferred. globalStock is a shared total quantity ceiling over products, null is unbounded and 0 is a real zero. A product category is distinct from CRM tags in product.categories. NONE has no category ceiling; SIMPLE shares stock over its products; SEATS sums native tables[].capacity and retains numbered seat identity. Positions use native ordering with id tie-breaks. Existing private media, rich/AI content, translations, pricing, calendar and other settings are preserved, never returned or accepted as replacement bags. Only existing independent COMPLEX forms are writable; masters/managed children and campaign-restricted keys are refused. No inscription, allocation, payment, ticket, seat assignment, notification, provider or internal publication is moved or rewritten. Native ALLDAY calendars remain with the calendar tools; timed SLOTS are not exposed by the current software. Annual-event-owned forms require their native capacity lease and are refused for edits here. 

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing owned form id; a session ceiling is the ceiling of its linked form, not a new PE property."
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "operation": {
            "$ref": "#/components/schemas/UnisoftRequest_6e109051d2386f4bf692"
          }
        },
        "required": [
          "expectedRevision",
          "operation"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit registration configuration or recorded command result without private extras.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormRegistrationRulesPlanResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, operation, query, input or read body.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE or CAMPAIGN_RESTRICTED_KEY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Owned form, category, product, session or command not found.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, owner unavailable, stale revision, structural seating change, retained fence or idempotency conflict.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Registration rule storage unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

### OpenAPI

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

## POST /forms/{id}/registration-rules/commands

Apply one confirmed registration configuration change

`apply_form_registration_rules`

Requires forms:read AND forms:write AND explicit opt-in forms:configure-registration, plus events:read whenever this form links to a PE session/group. Read get_form_registration_rules, then plan_form_registration_rules with its expectedRevision and one exact operation. Confirm the plan and use the identical operation, expectedRevision and planToken with acknowledgeFutureRegistrations:true. Category creation uses a fresh caller-generated categoryId UUID, distinct from the command idempotencyKey; global identity collisions are refused. Changes to seating modes or table removal/shrink are refused when related historical selections/seats exist; no force flag is accepted. Moving a selected product into/out of SEATS is refused. Adding tables or retaining/increasing existing capacities preserves their ids. A claimed intent is never entered twice; STARTED/UNKNOWN and timeouts require reading the command, never another UUID or force/reclaim. The durable per-form fence remains after uncertainty. APPLIED is an acknowledged historical edit; read current configuration before another intent. journal:UNAVAILABLE preserves a proven application while retaining recovery protections. These are native form configuration fields, not a reservation, remaining availability or payment result. expireAt is the existing closing instant; null removes that deadline but does not override inactive/draft/session/annual-event gates. No native opening date exists. Supply timezone-qualified ISO instants; no caller timezone is inferred. globalStock is a shared total quantity ceiling over products, null is unbounded and 0 is a real zero. A product category is distinct from CRM tags in product.categories. NONE has no category ceiling; SIMPLE shares stock over its products; SEATS sums native tables[].capacity and retains numbered seat identity. Positions use native ordering with id tie-breaks. Existing private media, rich/AI content, translations, pricing, calendar and other settings are preserved, never returned or accepted as replacement bags. Only existing independent COMPLEX forms are writable; masters/managed children and campaign-restricted keys are refused. No inscription, allocation, payment, ticket, seat assignment, notification, provider or internal publication is moved or rewritten. Native ALLDAY calendars remain with the calendar tools; timed SLOTS are not exposed by the current software. Annual-event-owned forms require their native capacity lease and are refused for edits here. 

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read",
    "forms:configure-registration"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing owned form id; a session ceiling is the ceiling of its linked form, not a new PE property."
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "planToken": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "format": "uuid"
          },
          "acknowledgeFutureRegistrations": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "operation": {
            "$ref": "#/components/schemas/UnisoftRequest_6e109051d2386f4bf692"
          }
        },
        "required": [
          "expectedRevision",
          "planToken",
          "idempotencyKey",
          "acknowledgeFutureRegistrations",
          "operation"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit registration configuration or recorded command result without private extras.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormRegistrationRulesCommandResponse"
      }
    }
  }
}
```

#### HTTP 202

```json
{
  "description": "Explicit registration configuration or recorded command result without private extras.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormRegistrationRulesCommandResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, operation, query, input or read body.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE or CAMPAIGN_RESTRICTED_KEY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Owned form, category, product, session or command not found.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, owner unavailable, stale revision, structural seating change, retained fence or idempotency conflict.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Registration rule storage unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms/{id}/registration-rules/commands/{commandId}

Read a registration configuration command result

`get_form_registration_rules_command`

Requires forms:read and conditional events:read for the current linked PE context. Passive command-journal read, never an owner retry, cleanup or provider call. commandId is the returned external command id, not the form/category/product id. STARTED/UNKNOWN never imply no effect. These are native form configuration fields, not a reservation, remaining availability or payment result. expireAt is the existing closing instant; null removes that deadline but does not override inactive/draft/session/annual-event gates. No native opening date exists. Supply timezone-qualified ISO instants; no caller timezone is inferred. globalStock is a shared total quantity ceiling over products, null is unbounded and 0 is a real zero. A product category is distinct from CRM tags in product.categories. NONE has no category ceiling; SIMPLE shares stock over its products; SEATS sums native tables[].capacity and retains numbered seat identity. Positions use native ordering with id tie-breaks. Existing private media, rich/AI content, translations, pricing, calendar and other settings are preserved, never returned or accepted as replacement bags. Only existing independent COMPLEX forms are writable; masters/managed children and campaign-restricted keys are refused. No inscription, allocation, payment, ticket, seat assignment, notification, provider or internal publication is moved or rewritten. Native ALLDAY calendars remain with the calendar tools; timed SLOTS are not exposed by the current software. Annual-event-owned forms require their native capacity lease and are refused for edits here. 

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing owned form id; a session ceiling is the ceiling of its linked form, not a new PE property."
}
```

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

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit registration configuration or recorded command result without private extras.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormRegistrationRulesCommandResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, operation, query, input or read body.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE or CAMPAIGN_RESTRICTED_KEY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Owned form, category, product, session or command not found.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, owner unavailable, stale revision, structural seating change, retained fence or idempotency conflict.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "Registration rule storage unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "success",
          "error"
        ]
      }
    }
  }
}
```

### OpenAPI

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

## GET /form-templates

List one event group form templates

`list_form_templates`

A form template here is an organisation-owned isMaster form attached to one MULTI_SESSION event group. It is not the global preset library or an independent public form: no public URL/session is assigned to the master. Linked child forms belong to sessions of that same group. The native mirror propagation owner preserves matched child product ids through sourceProductId; unlink freezes current configuration and removes source matching links. Campaign-restricted keys are refused. External mutable coverage is the admitted simple-editor authoring subset, with at most 200 products and 100 linked children. Advanced modules, private media/email/embed references, multilingual/currency overrides, category/seat/calendar documents and non-MAIN association are refused for propagation rather than silently dropped. Prices/deposits remain recorded major currency units. Requires forms:read AND events:read. groupId is required. Returns 50 masters ordered by id; continue nextAfter until hasMore:false with unchanged groupId. Pages are not a snapshot transaction. configurationSupported:false with configuration:null means read-only unsupported configuration, never an empty recipe. No HTTP body or unknown query accepted.

### אימות

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

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

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

### פרמטרים

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

```json
{
  "name": "after",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "uuid"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted template/child projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormTemplateListResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, configuration, input, query or read body."
}
```

#### HTTP 403

```json
{
  "description": "Forms/events scopes, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned template, group, child, session or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported configuration, invalid historical relationship, stale revision, invalid link or idempotency conflict."
}
```

### OpenAPI

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

## POST /form-templates

Create an event group form template

`create_form_template`

A form template here is an organisation-owned isMaster form attached to one MULTI_SESSION event group. It is not the global preset library or an independent public form: no public URL/session is assigned to the master. Linked child forms belong to sessions of that same group. The native mirror propagation owner preserves matched child product ids through sourceProductId; unlink freezes current configuration and removes source matching links. Campaign-restricted keys are refused. External mutable coverage is the admitted simple-editor authoring subset, with at most 200 products and 100 linked children. Advanced modules, private media/email/embed references, multilingual/currency overrides, category/seat/calendar documents and non-MAIN association are refused for propagation rather than silently dropped. Prices/deposits remain recorded major currency units. Requires forms:write AND forms:read AND events:write AND events:read. Use a stable idempotencyKey, expectedRevision NEW for master creation, or the last returned snapshot hash for an existing template/child. No private reference, organisation, product parent or new product id is caller-writable. A claim precedes effects and is never automatically executed twice. success:true is command evaluation; only APPLIED acknowledges all awaited owner calls, CONFLICT means CAS did not apply, STARTED/UNKNOWN remain unresolved and must not be retried with another key. Preserve resourceId/requestId and read get_form_template_request. journal:UNAVAILABLE preserves APPLIED. Native propagation is multiple writes, not an all-or-nothing transaction or a global lock over internal writers; a failure can leave partial child progress and remains UNKNOWN. The command integer revision is informational; reread the template/child to obtain its next expectedRevision hash. No registration, payment or notification is created. Creates a native nonpublic simple-editor master with new products. The master applies automatically to later sessions through the existing group/session owner; this call does not instantiate or modify existing sessions. resourceId for creation is groupId, while id after APPLIED is the new master UUID. Source ids and public URL fields are forbidden. APPLIED with id:null and FORM_WRITE_ID_UNAVAILABLE preserves acknowledged native creation without a usable returned id; do not create another master. No query parameters.

### אימות

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

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

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "enum": [
              "NEW"
            ]
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "configuration": {
            "$ref": "#/components/schemas/UnisoftRequest_d86121f51f7c6db1e812"
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "groupId",
          "configuration"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted template/child projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormTemplateCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, configuration, input, query or read body."
}
```

#### HTTP 403

```json
{
  "description": "Forms/events scopes, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned template, group, child, session or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported configuration, invalid historical relationship, stale revision, invalid link or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-templates/{id}

Read a form template and linked children

`get_form_template`

A form template here is an organisation-owned isMaster form attached to one MULTI_SESSION event group. It is not the global preset library or an independent public form: no public URL/session is assigned to the master. Linked child forms belong to sessions of that same group. The native mirror propagation owner preserves matched child product ids through sourceProductId; unlink freezes current configuration and removes source matching links. Campaign-restricted keys are refused. External mutable coverage is the admitted simple-editor authoring subset, with at most 200 products and 100 linked children. Advanced modules, private media/email/embed references, multilingual/currency overrides, category/seat/calendar documents and non-MAIN association are refused for propagation rather than silently dropped. Prices/deposits remain recorded major currency units. Requires forms:read AND events:read. Returns selected editable configuration and stable current product ids only when configurationSupported:true, plus currently linked child ids and a snapshot revision. Unsupported configuration is withheld as null. Children are current relationships, not registrations or a propagated-version guarantee. No query parameter or HTTP body.

### אימות

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

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

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

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted template/child projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormTemplateReadResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, configuration, input, query or read body."
}
```

#### HTTP 403

```json
{
  "description": "Forms/events scopes, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned template, group, child, session or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported configuration, invalid historical relationship, stale revision, invalid link or idempotency conflict."
}
```

### OpenAPI

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

## PATCH /form-templates/{id}

Edit a master and propagate to linked forms

`update_form_template`

A form template here is an organisation-owned isMaster form attached to one MULTI_SESSION event group. It is not the global preset library or an independent public form: no public URL/session is assigned to the master. Linked child forms belong to sessions of that same group. The native mirror propagation owner preserves matched child product ids through sourceProductId; unlink freezes current configuration and removes source matching links. Campaign-restricted keys are refused. External mutable coverage is the admitted simple-editor authoring subset, with at most 200 products and 100 linked children. Advanced modules, private media/email/embed references, multilingual/currency overrides, category/seat/calendar documents and non-MAIN association are refused for propagation rather than silently dropped. Prices/deposits remain recorded major currency units. Requires forms:write AND forms:read AND events:write AND events:read. Use a stable idempotencyKey, expectedRevision NEW for master creation, or the last returned snapshot hash for an existing template/child. No private reference, organisation, product parent or new product id is caller-writable. A claim precedes effects and is never automatically executed twice. success:true is command evaluation; only APPLIED acknowledges all awaited owner calls, CONFLICT means CAS did not apply, STARTED/UNKNOWN remain unresolved and must not be retried with another key. Preserve resourceId/requestId and read get_form_template_request. journal:UNAVAILABLE preserves APPLIED. Native propagation is multiple writes, not an all-or-nothing transaction or a global lock over internal writers; a failure can leave partial child progress and remains UNKNOWN. The command integer revision is informational; reread the template/child to obtain its next expectedRevision hash. No registration, payment or notification is created. configuration is a partial native authoring edit. Omitted products/questions stay unchanged; supplied arrays replace their set. Preserve read product ids and question fieldKey identities for retained items; omit id on new products. After the master save, native propagateMaster mirrors all currently linked child forms, not only one chosen child. The complete admitted linked population must be in this organisation/group. No query parameters.

### אימות

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

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

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

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "configuration": {
            "minProperties": 1,
            "allOf": [
              {
                "$ref": "#/components/schemas/UnisoftRequest_175347e6aca3c4908e91"
              }
            ],
            "type": "object",
            "properties": {
              "title": {},
              "description": {},
              "autoValid": {},
              "withPaiement": {},
              "paiementType": {},
              "onePaiement": {},
              "deposit": {},
              "depositPercent": {},
              "abonnementMaxMonth": {},
              "aboMonthInfinite": {},
              "aboMonthMin": {},
              "aboMonthMax": {},
              "paiementMethods": {},
              "requirePaiementValidation": {},
              "autoValidOtherPaiementMethod": {},
              "allowZeroAmount": {},
              "identity": {},
              "categories": {},
              "globalStock": {},
              "allowNoProduct": {},
              "products": {},
              "additionalFields": {}
            },
            "additionalProperties": false
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "configuration"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted template/child projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormTemplateCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, configuration, input, query or read body."
}
```

#### HTTP 403

```json
{
  "description": "Forms/events scopes, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned template, group, child, session or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported configuration, invalid historical relationship, stale revision, invalid link or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-templates/children/{id}

Read a form template child relationship

`get_form_template_child_relation`

A form template here is an organisation-owned isMaster form attached to one MULTI_SESSION event group. It is not the global preset library or an independent public form: no public URL/session is assigned to the master. Linked child forms belong to sessions of that same group. The native mirror propagation owner preserves matched child product ids through sourceProductId; unlink freezes current configuration and removes source matching links. Campaign-restricted keys are refused. External mutable coverage is the admitted simple-editor authoring subset, with at most 200 products and 100 linked children. Advanced modules, private media/email/embed references, multilingual/currency overrides, category/seat/calendar documents and non-MAIN association are refused for propagation rather than silently dropped. Prices/deposits remain recorded major currency units. Requires forms:read AND events:read. id is an existing concrete form UUID. Returns its current masterId or null and its relation snapshot hash. Null means currently independent, not a missing template inferred by label. No query parameter or HTTP body.

### אימות

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

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

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

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted template/child projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormTemplateChildResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, configuration, input, query or read body."
}
```

#### HTTP 403

```json
{
  "description": "Forms/events scopes, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned template, group, child, session or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported configuration, invalid historical relationship, stale revision, invalid link or idempotency conflict."
}
```

### OpenAPI

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

## POST /form-templates/children/{id}/relation

Link or unlink a concrete form and template

`change_form_template_child_relation`

A form template here is an organisation-owned isMaster form attached to one MULTI_SESSION event group. It is not the global preset library or an independent public form: no public URL/session is assigned to the master. Linked child forms belong to sessions of that same group. The native mirror propagation owner preserves matched child product ids through sourceProductId; unlink freezes current configuration and removes source matching links. Campaign-restricted keys are refused. External mutable coverage is the admitted simple-editor authoring subset, with at most 200 products and 100 linked children. Advanced modules, private media/email/embed references, multilingual/currency overrides, category/seat/calendar documents and non-MAIN association are refused for propagation rather than silently dropped. Prices/deposits remain recorded major currency units. Requires forms:write AND forms:read AND events:write AND events:read. Use a stable idempotencyKey, expectedRevision NEW for master creation, or the last returned snapshot hash for an existing template/child. No private reference, organisation, product parent or new product id is caller-writable. A claim precedes effects and is never automatically executed twice. success:true is command evaluation; only APPLIED acknowledges all awaited owner calls, CONFLICT means CAS did not apply, STARTED/UNKNOWN remain unresolved and must not be retried with another key. Preserve resourceId/requestId and read get_form_template_request. journal:UNAVAILABLE preserves APPLIED. Native propagation is multiple writes, not an all-or-nothing transaction or a global lock over internal writers; a failure can leave partial child progress and remains UNKNOWN. The command integer revision is informational; reread the template/child to obtain its next expectedRevision hash. No registration, payment or notification is created. Read get_form_template_child_relation first. LINK requires masterId, an independent child and its session in the same MULTI_SESSION group as the master; it links and invokes native propagation for every linked child of that master. It can replace the child configuration/products and affect pricing for later submissions. A child with unmatched manual products is refused with CHILD_PRODUCTS_REQUIRE_REVIEW; no matching by label or product deletion is guessed. UNLINK forbids masterId and detaches the currently linked master; it freezes current configuration, retains child/product ids, and clears product/category source matching references through admitted per-record updates. Existing registrations/payments are not copied or rewritten. No query parameters.

### אימות

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

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

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

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "action": {
            "type": "string",
            "enum": [
              "LINK",
              "UNLINK"
            ]
          },
          "masterId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "action"
        ],
        "additionalProperties": false,
        "oneOf": [
          {
            "properties": {
              "action": {
                "enum": [
                  "LINK"
                ]
              }
            },
            "required": [
              "masterId"
            ],
            "additionalProperties": true
          },
          {
            "properties": {
              "action": {
                "enum": [
                  "UNLINK"
                ]
              }
            },
            "additionalProperties": true,
            "not": {
              "required": [
                "masterId"
              ]
            }
          }
        ]
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted template/child projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormTemplateCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, configuration, input, query or read body."
}
```

#### HTTP 403

```json
{
  "description": "Forms/events scopes, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned template, group, child, session or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported configuration, invalid historical relationship, stale revision, invalid link or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-templates/{resourceId}/requests/{requestId}

Read a form template command outcome

`get_form_template_request`

A form template here is an organisation-owned isMaster form attached to one MULTI_SESSION event group. It is not the global preset library or an independent public form: no public URL/session is assigned to the master. Linked child forms belong to sessions of that same group. The native mirror propagation owner preserves matched child product ids through sourceProductId; unlink freezes current configuration and removes source matching links. Campaign-restricted keys are refused. External mutable coverage is the admitted simple-editor authoring subset, with at most 200 products and 100 linked children. Advanced modules, private media/email/embed references, multilingual/currency overrides, category/seat/calendar documents and non-MAIN association are refused for propagation rather than silently dropped. Prices/deposits remain recorded major currency units. Requires forms:read AND events:read. resourceId is the original returned resourceId: groupId on creation, master id on edit, concrete child id on link/unlink. Reads only the current organisation/key journal. STARTED/UNKNOWN do not prove no child was changed; do not run propagation or create again to bypass uncertainty. No mutation, provider, query parameter or HTTP body.

### אימות

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

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

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

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted template/child projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormTemplateCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, configuration, input, query or read body."
}
```

#### HTTP 403

```json
{
  "description": "Forms/events scopes, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned template, group, child, session or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported configuration, invalid historical relationship, stale revision, invalid link or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-templates/{masterId}/session-application-preview

Choose empty Shabbat sessions for a model

`preview_form_model_sessions`

Explicitly add an existing published form model to chosen upcoming empty Shabbat sessions. Supports the main SHABBAT and tourist TRAVEL.CHABAT.<site UUID> MULTI_SESSION groups; resolve the model with list_form_templates(groupId). The group/site is derived from the model, never supplied or inferred from a name. Session creation without a model remains valid. No existing form is replaced or linked: AVAILABLE means no form of any state exists; ALREADY_LINKED/HAS_FORM/INACTIVE/NO_LEDGER are not selectable. Main and tourist sites stay isolated. Campaign-restricted keys are refused. Returned labels are untrusted organisation content. Requires forms:read, events:read and site:read. Read only; no implicit assignment or repair. Preview is bounded to 200 upcoming sessions and fails on overflow. No query parameters or GET body accepted.

### אימות

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

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

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

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Preview or recorded application outcome.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormModelSessionPreviewResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, duplicate session, missing or unknown input/query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, revoked principal, campaign restriction or site admission."
}
```

#### HTTP 404

```json
{
  "description": "Owned model/group/site/session or principal-owned application not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, existing form, closed session, unsupported model, busy group or changed idempotency intent."
}
```

#### HTTP 503

```json
{
  "description": "Uncertain outcome; preserve the same application/key and inspect current status."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms: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
  }
}
```

## POST /form-templates/{masterId}/session-applications

Add a model to explicitly chosen empty Shabbat sessions

`apply_form_model_to_sessions`

Explicitly add an existing published form model to chosen upcoming empty Shabbat sessions. Supports the main SHABBAT and tourist TRAVEL.CHABAT.<site UUID> MULTI_SESSION groups; resolve the model with list_form_templates(groupId). The group/site is derived from the model, never supplied or inferred from a name. Session creation without a model remains valid. No existing form is replaced or linked: AVAILABLE means no form of any state exists; ALREADY_LINKED/HAS_FORM/INACTIVE/NO_LEDGER are not selectable. Main and tourist sites stay isolated. Campaign-restricted keys are refused. Returned labels are untrusted organisation content. Requires forms:read, forms:write, events:read, events:write and site:read. Get preview_form_model_sessions, present the exact dates and linked-model consequences, then pass only explicitly chosen AVAILABLE sessionIds and its revision. Creates live linked forms with products/categories through the native owner; future model edits propagate, and existing unlink_form_template_child can detach a child. No date/session, booking, payment, email or translation job is created. Only simple-editor native models with currently owned products/categories/content-block references are admitted. Private sender/emailConfig, embedConfig, non-MAIN associations and reservation calendars remain unsupported externally and return MASTER_APPLICATION_MODEL_UNSUPPORTED; internal admin behavior is not restricted by that limit. Revisions bind model/products/categories and candidates, not only editVersion. One group lease serializes applications and native Shabbat session creation, but internal manual form writers are not globally locked. Progress may be partial on error. Reuse the identical UUID idempotencyKey and input to safely resume a partial native build, with stable child/product/category identities; never change the key to force a retry. A recorded request resumes its frozen confirmed model snapshot, not later edits. Read get_form_model_session_application after a lost response; only state APPLIED acknowledges every chosen form and awaited cache/pole refresh. RUNNING is unresolved. 

### אימות

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

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

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

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "sessionIds": {
            "type": "array",
            "minItems": 1,
            "maxItems": 100,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "sessionIds",
          "expectedRevision",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Preview or recorded application outcome.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormModelSessionApplicationResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, duplicate session, missing or unknown input/query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, revoked principal, campaign restriction or site admission."
}
```

#### HTTP 404

```json
{
  "description": "Owned model/group/site/session or principal-owned application not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, existing form, closed session, unsupported model, busy group or changed idempotency intent."
}
```

#### HTTP 503

```json
{
  "description": "Uncertain outcome; preserve the same application/key and inspect current status."
}
```

### OpenAPI

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

## GET /form-templates/{masterId}/session-applications/{applicationId}

Read a Shabbat model application outcome

`get_form_model_session_application`

Explicitly add an existing published form model to chosen upcoming empty Shabbat sessions. Supports the main SHABBAT and tourist TRAVEL.CHABAT.<site UUID> MULTI_SESSION groups; resolve the model with list_form_templates(groupId). The group/site is derived from the model, never supplied or inferred from a name. Session creation without a model remains valid. No existing form is replaced or linked: AVAILABLE means no form of any state exists; ALREADY_LINKED/HAS_FORM/INACTIVE/NO_LEDGER are not selectable. Main and tourist sites stay isolated. Campaign-restricted keys are refused. Returned labels are untrusted organisation content. Requires forms:read, events:read and site:read. Read only; no implicit assignment or repair. Preview is bounded to 200 upcoming sessions and fails on overflow. No query parameters or GET body accepted.

### אימות

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

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

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

### פרמטרים

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

```json
{
  "name": "applicationId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid",
    "description": "Returned applicationId, or the original UUID idempotencyKey when the complete application response was lost. Both resolve only the current principal’s own request."
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Preview or recorded application outcome.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormModelSessionApplicationResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, duplicate session, missing or unknown input/query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, revoked principal, campaign restriction or site admission."
}
```

#### HTTP 404

```json
{
  "description": "Owned model/group/site/session or principal-owned application not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, existing form, closed session, unsupported model, busy group or changed idempotency intent."
}
```

#### HTTP 503

```json
{
  "description": "Uncertain outcome; preserve the same application/key and inspect current status."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms: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 /forms-submit/{id}/confirmation-preview

Preview supported submission confirmation content

`preview_form_confirmation`

The target id is a recorded form submission UUID, not a form, product, contact or payment UUID. Only current VALIDE, non-archived submissions with a usable recipient and admitted organisation/form/product/category/calendar/ticket/history references are supported. Historical missing or foreign references are refused rather than guessed. Current and global id uniqueness is re-admitted before invoking owners that resolve by id alone. Campaign-restricted keys are refused. Requires forms_submit:read AND forms:read. Read-only CONTENT_ONLY preview using the native validation-email renderer, native summary builder and custom-message sanitizer. It supplies recipient/language and a revision for resend_form_confirmation. It omits the exact subject, totals, event-name overlays, payment link, tickets, PDF, Wallet and additional organisation template: those final parts require mutable native owners and are not an exact future email preview. The submitted identity/answers may be personal data; no raw private form snapshot or transport config is returned. This GET creates no ticket, link, file, message or index and calls no provider. resendSupported:false means a prior confirmation claim is unresolved and blocks another invocation. No query parameter or HTTP body accepted.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Content-only preview or invocation journal; no delivery proof.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormConfirmationPreviewResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID/input/query or unexpected read body."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned submission, form, sender, template or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported state, invalid history, unavailable historical references, stale revision, previous unknown confirmation or idempotency conflict."
}
```

### OpenAPI

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

## POST /forms-submit/{id}/confirmation-resends

Invoke a submission confirmation resend once

`resend_form_confirmation`

The target id is a recorded form submission UUID, not a form, product, contact or payment UUID. Only current VALIDE, non-archived submissions with a usable recipient and admitted organisation/form/product/category/calendar/ticket/history references are supported. Historical missing or foreign references are refused rather than guessed. Current and global id uniqueness is re-admitted before invoking owners that resolve by id alone. Campaign-restricted keys are refused. Requires messages:send AND forms_submit:read AND forms:read. This is a real notification action and requires the user to ask to resend this submission confirmation. First preview_form_confirmation and use its exact expectedRevision with a stable idempotencyKey. Calls the existing validation-confirmation owner with resend:true, which intentionally overrides noEmailValidate/manual confirmation suppression and may create a payment handoff link, issue/reconcile tickets, generate a ticket PDF/Wallet notifications and enqueue native/additional-template emails. It does not charge a payer or prove bank settlement. The owner catches its internal errors and gives no authoritative queue receipt; RETURNED means invocation returned, never queued or delivered. Therefore its business outcome stays state:UNKNOWN with delivery:UNKNOWN even when success:true; a thrown invocation is also UNKNOWN. A per-submission durable latch blocks every later resend after that uncertainty, including a new idempotency key or another API key. Existing exact-intention repeats read the journal and never invoke again. Preserve resourceId/requestId and use get_form_confirmation_request; do not infer no email or try another key. Only the supported original native invocation is exposed; no direct SMTP, recipients override or repeated test send. No query parameters accepted.

### אימות

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

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

```json
{
  "accepted": "messages:send",
  "additional": [
    "forms_submit:read",
    "forms:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Content-only preview or invocation journal; no delivery proof.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormConfirmationCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID/input/query or unexpected read body."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned submission, form, sender, template or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported state, invalid history, unavailable historical references, stale revision, previous unknown confirmation or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "messages:send",
  "x-unisoft-additional-scopes": [
    "forms_submit:read",
    "forms:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "update",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms-submit/{id}/confirmation-resends/{requestId}

Read a confirmation invocation outcome

`get_form_confirmation_request`

The target id is a recorded form submission UUID, not a form, product, contact or payment UUID. Only current VALIDE, non-archived submissions with a usable recipient and admitted organisation/form/product/category/calendar/ticket/history references are supported. Historical missing or foreign references are refused rather than guessed. Current and global id uniqueness is re-admitted before invoking owners that resolve by id alone. Campaign-restricted keys are refused. Requires forms_submit:read AND forms:read. Reads only the current organisation/key/submission invocation journal. STARTED/UNKNOWN never prove no queue entry or delivery; RETURNED is invocation return only and THREW remains an unknown effect. This read does not call the mailer, release the per-submission latch, reconcile tickets, generate PDFs, create links, debit funds or send messages. A missing request is not permission for another resend. No query parameter or HTTP body accepted.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Content-only preview or invocation journal; no delivery proof.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormConfirmationCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID/input/query or unexpected read body."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned submission, form, sender, template or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported state, invalid history, unavailable historical references, stale revision, previous unknown confirmation or idempotency conflict."
}
```

### OpenAPI

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

## POST /forms/{formId}/submissions/documents

Generate a form registration PDF explicitly

`generate_form_submission_document`

Requires explicit forms_submit:export plus forms:read and forms_submit:read. Campaign-restricted keys are refused. An artifact belongs to this organisation and this API-key principal; another key cannot retrieve it. includeFinancial=true additionally requires paiements:read at generation and on every later retrieval; all per-record expected/paid/remainder amounts must be qualified or the command refuses SUBMISSION_PDF_FINANCIAL_DATA_UNAVAILABLE. No unknown-to-zero or currency-to-EUR fallback, no mixed-currency total, and no provider verification. COMPLETED is not bank settlement. The PDF uses the isolated external renderer with the native qualified specification: registration IDs, recorded decisions/archive flag, dates and exact JSON answer values. It is a registration document, never a ticket, tax receipt, invoice, attendance proof or payment settlement proof. Limits: 100 records, 100000 source text characters, 2 MiB PDF bytes, plus the source reader limits. Source title must fit the supported single-line layout. Bundled licensed Noto fonts and native Unicode bidi rendering are qualified for French, English and Hebrew, including numbers and Hebrew marks; this is not a guarantee for every Unicode script or text extractor. Missing glyphs, bidi override controls or unsupported layout return SUBMISSION_PDF_TEXT_ENCODING_UNSUPPORTED or SUBMISSION_PDF_LAYOUT_UNSUPPORTED before preparation, without transliteration or character removal. There are at most 2000 layout items, 2 simultaneous documents, no waiting queue and a 30-second rendering deadline. Resource saturation returns SUBMISSION_PDF_RENDERER_BUSY before PREPARED; missing managed Chromium returns SUBMISSION_PDF_RENDERER_UNAVAILABLE before PREPARED. A rendering failure after PREPARED leaves an uncertain command with no automatic replay. No remote image/document/link is fetched. Source observations are bounded by sourceReadStartedAt/sourceReadCompletedAt with snapshot=false. Generated documents are historical copies: later source edits are not reflected until a new explicit generation. Every retrieval rechecks live owned parent/submission references and current scopes, never generating or refreshing content. Explicit generation only: supply one new idempotencyKey per requested artifact and retain the exact request. A durable PREPARED record is acquired before the admitted renderer, then PDF bytes and DONE state are published atomically. The receipt returns an existing document id; call get_submission_document to fetch its existing base64 bytes and decode them as a PDF. Same-key/same-intent retries return the proven artifact without rendering again, even if source answers later change. Different intent returns IDEMPOTENCY_CONFLICT. A prepared or unproven outcome returns SUBMISSION_DOCUMENT_COMMAND_UNCERTAIN; reconcile the same command rather than generating under a new key or retrying blindly. Generation never edits a registration, money, stock, ticket or notification. The form operation uses the list state/archive/paired calendar-occurrence filters, with archive EXCLUDE by default; the individual operation includes the selected record even when archived and does not accept list filters.

### אימות

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

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

```json
{
  "accepted": "forms_submit:export",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
          },
          "includeFinancial": {
            "type": "boolean",
            "default": false
          },
          "state": {
            "type": "string",
            "enum": [
              "SUBMIT",
              "VALIDE",
              "INVALIDE"
            ]
          },
          "archive": {
            "type": "string",
            "enum": [
              "EXCLUDE",
              "ONLY",
              "INCLUDE"
            ],
            "default": "EXCLUDE"
          },
          "calendarId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,128}$"
          },
          "occurrenceAt": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt](?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[Zz]|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
            "format": "date-time"
          }
        },
        "required": [
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified existing document metadata or bytes with explicit source period.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionDocumentReceipt"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid closed command, UUID or occurrence filters."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent read/export/financial right or restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Document, current source or parent unavailable for this principal."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported layout/script, ambiguous finance/history, source/byte/text limit, conflict or uncertain command. No guessed or partial document."
}
```

#### HTTP 422

```json
{
  "description": "The form source reader refused an unsupported technical answer shape or output budget; no partial document or renderer call."
}
```

#### HTTP 500

```json
{
  "description": "Generation or persistence temporarily unavailable; reconcile the same command identity."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:export",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": false,
    "warn": false
  }
}
```

## POST /forms-submit/{id}/document

Generate an individual registration PDF explicitly

`generate_individual_submission_document`

Requires explicit forms_submit:export plus forms:read and forms_submit:read. Campaign-restricted keys are refused. An artifact belongs to this organisation and this API-key principal; another key cannot retrieve it. includeFinancial=true additionally requires paiements:read at generation and on every later retrieval; all per-record expected/paid/remainder amounts must be qualified or the command refuses SUBMISSION_PDF_FINANCIAL_DATA_UNAVAILABLE. No unknown-to-zero or currency-to-EUR fallback, no mixed-currency total, and no provider verification. COMPLETED is not bank settlement. The PDF uses the isolated external renderer with the native qualified specification: registration IDs, recorded decisions/archive flag, dates and exact JSON answer values. It is a registration document, never a ticket, tax receipt, invoice, attendance proof or payment settlement proof. Limits: 100 records, 100000 source text characters, 2 MiB PDF bytes, plus the source reader limits. Source title must fit the supported single-line layout. Bundled licensed Noto fonts and native Unicode bidi rendering are qualified for French, English and Hebrew, including numbers and Hebrew marks; this is not a guarantee for every Unicode script or text extractor. Missing glyphs, bidi override controls or unsupported layout return SUBMISSION_PDF_TEXT_ENCODING_UNSUPPORTED or SUBMISSION_PDF_LAYOUT_UNSUPPORTED before preparation, without transliteration or character removal. There are at most 2000 layout items, 2 simultaneous documents, no waiting queue and a 30-second rendering deadline. Resource saturation returns SUBMISSION_PDF_RENDERER_BUSY before PREPARED; missing managed Chromium returns SUBMISSION_PDF_RENDERER_UNAVAILABLE before PREPARED. A rendering failure after PREPARED leaves an uncertain command with no automatic replay. No remote image/document/link is fetched. Source observations are bounded by sourceReadStartedAt/sourceReadCompletedAt with snapshot=false. Generated documents are historical copies: later source edits are not reflected until a new explicit generation. Every retrieval rechecks live owned parent/submission references and current scopes, never generating or refreshing content. Explicit generation only: supply one new idempotencyKey per requested artifact and retain the exact request. A durable PREPARED record is acquired before the admitted renderer, then PDF bytes and DONE state are published atomically. The receipt returns an existing document id; call get_submission_document to fetch its existing base64 bytes and decode them as a PDF. Same-key/same-intent retries return the proven artifact without rendering again, even if source answers later change. Different intent returns IDEMPOTENCY_CONFLICT. A prepared or unproven outcome returns SUBMISSION_DOCUMENT_COMMAND_UNCERTAIN; reconcile the same command rather than generating under a new key or retrying blindly. Generation never edits a registration, money, stock, ticket or notification. The form operation uses the list state/archive/paired calendar-occurrence filters, with archive EXCLUDE by default; the individual operation includes the selected record even when archived and does not accept list filters.

### אימות

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

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

```json
{
  "accepted": "forms_submit:export",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
          },
          "includeFinancial": {
            "type": "boolean",
            "default": false
          }
        },
        "required": [
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified existing document metadata or bytes with explicit source period.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionDocumentReceipt"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid closed command, UUID or occurrence filters."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent read/export/financial right or restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Document, current source or parent unavailable for this principal."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported layout/script, ambiguous finance/history, source/byte/text limit, conflict or uncertain command. No guessed or partial document."
}
```

#### HTTP 422

```json
{
  "description": "The form source reader refused an unsupported technical answer shape or output budget; no partial document or renderer call."
}
```

#### HTTP 500

```json
{
  "description": "Generation or persistence temporarily unavailable; reconcile the same command identity."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:export",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": false,
    "warn": false
  }
}
```

## GET /forms/submission-documents/{documentId}

Retrieve an existing authorised submission PDF

`get_submission_document`

Requires explicit forms_submit:export plus forms:read and forms_submit:read. Campaign-restricted keys are refused. An artifact belongs to this organisation and this API-key principal; another key cannot retrieve it. includeFinancial=true additionally requires paiements:read at generation and on every later retrieval; all per-record expected/paid/remainder amounts must be qualified or the command refuses SUBMISSION_PDF_FINANCIAL_DATA_UNAVAILABLE. No unknown-to-zero or currency-to-EUR fallback, no mixed-currency total, and no provider verification. COMPLETED is not bank settlement. The PDF uses the isolated external renderer with the native qualified specification: registration IDs, recorded decisions/archive flag, dates and exact JSON answer values. It is a registration document, never a ticket, tax receipt, invoice, attendance proof or payment settlement proof. Limits: 100 records, 100000 source text characters, 2 MiB PDF bytes, plus the source reader limits. Source title must fit the supported single-line layout. Bundled licensed Noto fonts and native Unicode bidi rendering are qualified for French, English and Hebrew, including numbers and Hebrew marks; this is not a guarantee for every Unicode script or text extractor. Missing glyphs, bidi override controls or unsupported layout return SUBMISSION_PDF_TEXT_ENCODING_UNSUPPORTED or SUBMISSION_PDF_LAYOUT_UNSUPPORTED before preparation, without transliteration or character removal. There are at most 2000 layout items, 2 simultaneous documents, no waiting queue and a 30-second rendering deadline. Resource saturation returns SUBMISSION_PDF_RENDERER_BUSY before PREPARED; missing managed Chromium returns SUBMISSION_PDF_RENDERER_UNAVAILABLE before PREPARED. A rendering failure after PREPARED leaves an uncertain command with no automatic replay. No remote image/document/link is fetched. Source observations are bounded by sourceReadStartedAt/sourceReadCompletedAt with snapshot=false. Generated documents are historical copies: later source edits are not reflected until a new explicit generation. Every retrieval rechecks live owned parent/submission references and current scopes, never generating or refreshing content. This GET retrieves existing private base64 PDF bytes only. It never calls the renderer, creates a missing artifact, refreshes answers, verifies a payment or retries generation. Decode contentBase64 and save under filename; digest is SHA-256 of the decoded PDF bytes, not of the base64 string. A missing, foreign-principal or deleted-source document is unavailable; do not guess another id, widen rights or call the internal API.

### אימות

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

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

```json
{
  "accepted": "forms_submit:export",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified existing document metadata or bytes with explicit source period.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionDocumentContent"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid closed command, UUID or occurrence filters."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent read/export/financial right or restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Document, current source or parent unavailable for this principal."
}
```

#### HTTP 409

```json
{
  "description": "Unsupported layout/script, ambiguous finance/history, source/byte/text limit, conflict or uncertain command. No guessed or partial document."
}
```

#### HTTP 422

```json
{
  "description": "The form source reader refused an unsupported technical answer shape or output budget; no partial document or renderer call."
}
```

#### HTTP 500

```json
{
  "description": "Generation or persistence temporarily unavailable; reconcile the same command identity."
}
```

### OpenAPI

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

## GET /forms/product-categories/{categoryId}/seating

Read qualified table and seat occupancy for a form category

`get_form_category_seating`

Requires both forms:read and forms_submit:read; campaign-restricted keys are refused. Resolve an existing SEATS product category of an authorised form; a product category is not a CRM tag, event group, form, table or registration. Returns current table IDs/capacities, one-based numbered seats and authorised occupant submission IDs/recorded decisions without names, CRM, finance or provider snapshots. Occupancy uses the native occupancyOr owner: accepted VALIDE records and recent SUBMIT holds since pendingHeldSince, excluding archives and refused records. The pending hold is currently 15 minutes when payment validation is required, otherwise 24 hours; use the response cutoff rather than hardcoding it. A null occupant means unoccupied in this observation, not a reservation or a guarantee a subsequent write can acquire it. Unknown pending timestamps, invalid layout/history or colliding owners refuse the entire result. Capacity is bounded to 5000 seats and the candidate scan to 10000 registrations before filters; exceeding either returns SEATING_LIMIT without a partial plan. snapshot=false: concurrent writes may change occupancy. Reading has no effect. assignmentAvailable=false and SEATING_ASSIGNMENT_OWNER_UNAVAILABLE explicitly mean placement writes are not exposed: the only native correction path also owns prices, stock, CRM and tickets, and no safe atomic dedicated owner is available. Never call submitForm or patch a seat/foreign key to simulate reassignment. A complete successful JSON result also stays within 9000 nodes and 8 MiB. This can be stricter than the 5000-seat source-layout ceiling; SEATING_OUTPUT_LIMIT (422) refuses an oversized complete plan rather than truncating it. No table/seat pagination is exposed yet, so report that larger-read capability as unavailable.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": [
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified occupancy observation without reservation.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionSeatingRead"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, unsupported category or unexpected request input."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent read rights or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Category or form unavailable in this organisation."
}
```

#### HTTP 409

```json
{
  "description": "Ambiguous layout, references, history, collision, owner or limit; no partial occupancy."
}
```

#### HTTP 422

```json
{
  "description": "SEATING_OUTPUT_LIMIT: the complete plan exceeds 9000 JSON nodes or 8 MiB. No partial plan or fabricated free seats; a larger plan needs a future paginated reader."
}
```

#### HTTP 500

```json
{
  "description": "Seating read temporarily unavailable."
}
```

### OpenAPI

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

## POST /forms/{formId}/submissions/export

Export authorised registration records as JSON or CSV

`export_form_submissions`

Requires explicit forms_submit:export plus forms:read and forms_submit:read; the session path also requires events:read. Campaign-restricted keys are refused. A session is a pe record, never a group or form. Explicitly builds a UTF-8 file in data.content within the JSON response; save that string as data.filename or parse it for JSON format. It is not a public URL, background job, PDF, or one row per participant. Filters match the registration lists: state is the recorded decision, archive defaults EXCLUDE, calendarId and occurrenceAt must be supplied together and use the native half-open next-UTC-day window. Bound to 1000 records and 4 MiB, with no partial/truncated export on limit failure; narrow the scope or use paginated list reads. ID_ASC records are observations over startedAt/completedAt, not a transaction snapshot. Concurrent changes can change membership; reconcile IDs rather than claiming point-in-time completeness. Money values are major units per row with its currency/status; paid/remainder require optional paiements:read and otherwise remain null/UNKNOWN. Do not sum unknown or mixed-currency values, and do not infer bank settlement from COMPLETED. No CRM join or private provider/form snapshot; answers are recorded personal data authorised by submission read rights. CSV has fixed columns, quoted JSON answers, formula-prefix neutralisation and explicit money status columns. Empty monetary cells are unknown when their status says UNKNOWN, never zero. Export changes no registration, payment, stock, ticket or notification.

### אימות

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

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

```json
{
  "accepted": "forms_submit:export",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "format": {
            "type": "string",
            "enum": [
              "JSON",
              "CSV"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "SUBMIT",
              "VALIDE",
              "INVALIDE"
            ]
          },
          "archive": {
            "type": "string",
            "enum": [
              "EXCLUDE",
              "ONLY",
              "INCLUDE"
            ],
            "default": "EXCLUDE"
          },
          "calendarId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,128}$"
          },
          "occurrenceAt": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt](?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[Zz]|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
            "format": "date-time"
          }
        },
        "required": [
          "format"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Bounded authorised UTF-8 file and observation metadata.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionFileExport"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid export format, filter, parent or unknown property."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent export/read rights or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Parent or calendar unavailable in this organisation."
}
```

#### HTTP 409

```json
{
  "description": "Limit, ambiguity, changed scope or unavailable submitted answers; no partial file is returned."
}
```

#### HTTP 422

```json
{
  "description": "Underlying recorded answers exceed the bounded technical JSON shape or page-output budget; no partial export is produced."
}
```

#### HTTP 500

```json
{
  "description": "Export temporarily unavailable."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:export",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": false,
    "warn": false
  }
}
```

## POST /events/{sessionId}/submissions/export

Export authorised registration records as JSON or CSV

`export_event_session_submissions`

Requires explicit forms_submit:export plus forms:read and forms_submit:read; the session path also requires events:read. Campaign-restricted keys are refused. A session is a pe record, never a group or form. Explicitly builds a UTF-8 file in data.content within the JSON response; save that string as data.filename or parse it for JSON format. It is not a public URL, background job, PDF, or one row per participant. Filters match the registration lists: state is the recorded decision, archive defaults EXCLUDE, calendarId and occurrenceAt must be supplied together and use the native half-open next-UTC-day window. Bound to 1000 records and 4 MiB, with no partial/truncated export on limit failure; narrow the scope or use paginated list reads. ID_ASC records are observations over startedAt/completedAt, not a transaction snapshot. Concurrent changes can change membership; reconcile IDs rather than claiming point-in-time completeness. Money values are major units per row with its currency/status; paid/remainder require optional paiements:read and otherwise remain null/UNKNOWN. Do not sum unknown or mixed-currency values, and do not infer bank settlement from COMPLETED. No CRM join or private provider/form snapshot; answers are recorded personal data authorised by submission read rights. CSV has fixed columns, quoted JSON answers, formula-prefix neutralisation and explicit money status columns. Empty monetary cells are unknown when their status says UNKNOWN, never zero. Export changes no registration, payment, stock, ticket or notification.

### אימות

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

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

```json
{
  "accepted": "forms_submit:export",
  "additional": [
    "forms:read",
    "forms_submit:read",
    "events:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "format": {
            "type": "string",
            "enum": [
              "JSON",
              "CSV"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "SUBMIT",
              "VALIDE",
              "INVALIDE"
            ]
          },
          "archive": {
            "type": "string",
            "enum": [
              "EXCLUDE",
              "ONLY",
              "INCLUDE"
            ],
            "default": "EXCLUDE"
          },
          "calendarId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,128}$"
          },
          "occurrenceAt": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt](?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[Zz]|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
            "format": "date-time"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "format"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Bounded authorised UTF-8 file and observation metadata.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionFileExport"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid export format, filter, parent or unknown property."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent export/read rights or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Parent or calendar unavailable in this organisation."
}
```

#### HTTP 409

```json
{
  "description": "Limit, ambiguity, changed scope or unavailable submitted answers; no partial file is returned."
}
```

#### HTTP 422

```json
{
  "description": "Underlying recorded answers exceed the bounded technical JSON shape or page-output budget; no partial export is produced."
}
```

#### HTTP 500

```json
{
  "description": "Export temporarily unavailable."
}
```

### OpenAPI

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

## GET /forms-submit/{id}/edit-context

Read current registration answers and optimistic edit revision

`get_submission_edit_context`

Requires forms_submit:read and forms:read. Read the current answers and opaque revision before an answer correction. No private form/provider snapshot or financial history is returned. This is not a writable full-registration object. IDs, totals, quantities, payment fields, seats and calendar selections are not part of the answer correction contract. Reading never creates a registration or sends a message. Recorded answers retain their original Unicode field keys and JSON values in a typed map, not a private framework snapshot. Keys follow the native nonblank 1000-character limit and forbid $, NUL and prototype path segments. The generic technical shape allows six object/array container levels and 10000 entries per map; a read is bounded to 9000 JSON nodes and 8 MiB. An unsupported stored/proposed shape returns 422 SUBMISSION_ANSWER_SHAPE_UNSUPPORTED; an oversized read returns SUBMISSION_READ_OUTPUT_LIMIT before any partial response or write. This technical JSON qualification does not implement the deferred V2 form.content validation.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised registration UUID; never generate a replacement to edit an existing record."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded result; no CRM, payment or notification operation is executed.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionEditContext"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid command, value type, field family or revision format."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Registration, parent, product or existing answer not authorised or absent."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, conflicting idempotency intent, unqualified history or unsupported occurrence edit. An uncertain prepared command is never replayed automatically."
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED: the stored or proposed answer map exceeds six container levels, 9000 nodes, 10000 keys per map, or the native safe Unicode field-key bounds. No partial answer object or write is returned."
}
```

#### HTTP 500

```json
{
  "description": "Command temporarily unavailable. Re-read context and retry only the same command identity after reconciling its outcome."
}
```

### OpenAPI

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

## PATCH /forms-submit/{id}/answers

Correct existing nonfinancial registration answers

`edit_submission_answers`

Requires the explicit forms_submit:edit scope plus forms:read and forms_submit:read. Use the current get_submission_edit_context revision and one new idempotencyKey per intended command. Corrects only existing TEXT, NUMBER, SELECT, SELECT_MULTI, CHECKBOX, DATE, DATETIME, YEAR, MONTH, TIME or ANNIV answers; simple existing identity/CONTACT/CHILD/HAZKARA members are supported. A participant patch requires both a live owned productId and a zero-based participantIndex. Keys, values and optional members are typed; duplicate field patches are refused. Null clears a stored answer. This adapts the native inline answer edit, not submitForm: it neither creates a new registration, synchronises CRM, recalculates prices/stock, changes payment or ticket ownership nor sends notifications. Calendar/session moves, products, quantities, seats, payment/promotion/custom-price fields and metadata are refused until a safe native owner is available. Dynamic form.content validation remains V2. A single-document compare-and-set records the change and recovery marker atomically; the separate journal can be acknowledged on retry. Reuse the same key and exact intent after a lost response. A different intent returns IDEMPOTENCY_CONFLICT. A stale revision returns SUBMISSION_REVISION_CONFLICT; a prepared outcome that cannot be proved returns SUBMISSION_COMMAND_UNCERTAIN and must be reconciled without replay. Recorded answers retain their original Unicode field keys and JSON values in a typed map, not a private framework snapshot. Keys follow the native nonblank 1000-character limit and forbid $, NUL and prototype path segments. The generic technical shape allows six object/array container levels and 10000 entries per map; a read is bounded to 9000 JSON nodes and 8 MiB. An unsupported stored/proposed shape returns 422 SUBMISSION_ANSWER_SHAPE_UNSUPPORTED; an oversized read returns SUBMISSION_READ_OUTPUT_LIMIT before any partial response or write. This technical JSON qualification does not implement the deferred V2 form.content validation.

### אימות

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

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

```json
{
  "accepted": "forms_submit:edit",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised registration UUID; never generate a replacement to edit an existing record."
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
          },
          "patches": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_45d511f96afeace94d67"
            }
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "patches"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded result; no CRM, payment or notification operation is executed.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionCommandAcknowledgement"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid command, value type, field family or revision format."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Registration, parent, product or existing answer not authorised or absent."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, conflicting idempotency intent, unqualified history or unsupported occurrence edit. An uncertain prepared command is never replayed automatically."
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED: the stored or proposed answer map exceeds six container levels, 9000 nodes, 10000 keys per map, or the native safe Unicode field-key bounds. No partial answer object or write is returned."
}
```

#### HTTP 500

```json
{
  "description": "Command temporarily unavailable. Re-read context and retry only the same command identity after reconciling its outcome."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:edit",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "update",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms-submit/{id}/archive

Archive an existing registration

`archive_submission`

Requires the explicit forms_submit:archive right plus forms:read and forms_submit:read. Read get_submission_edit_context, then submit its current expectedRevision and a new idempotencyKey. Archive sets the native archived flag and releases the resources excluded by native archive-aware stock/ticket readers; it does not cancel/refund payments, delete participants or change the primary decision. Restore clears only this flag. Restoring an archived VALIDE or SUBMIT registration is refused with RESTORE_CAPACITY_OWNER_UNAVAILABLE because no safe atomic native owner can reacquire seats and stock; an archived INVALIDE record can be restored without changing its refused decision. Already unarchived records can acknowledge a restore without acquiring resources. No notification or financial recalculation occurs. Receipt mode ARCHIVE_FLAG_ONLY and archived describe the recorded lifecycle flag. CAS and the pre-effect journal prevent blind repeats. Reuse the same key and intent after response loss; conflicting intent fails. SUBMISSION_COMMAND_UNCERTAIN requires reconciliation without a new key or automatic replay.

### אימות

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

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

```json
{
  "accepted": "forms_submit:archive",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised registration UUID; never generate a replacement to edit an existing record."
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded result; no CRM, payment or notification operation is executed.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionCommandAcknowledgement"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid command, value type, field family or revision format."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Registration, parent, product or existing answer not authorised or absent."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, conflicting idempotency intent, unqualified history or unsupported occurrence edit. An uncertain prepared command is never replayed automatically."
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED: the stored or proposed answer map exceeds six container levels, 9000 nodes, 10000 keys per map, or the native safe Unicode field-key bounds. No partial answer object or write is returned."
}
```

#### HTTP 500

```json
{
  "description": "Command temporarily unavailable. Re-read context and retry only the same command identity after reconciling its outcome."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:archive",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": false,
    "warn": false
  }
}
```

## POST /forms-submit/{id}/restore

Restore an eligible archived registration

`restore_submission`

Requires the explicit forms_submit:archive right plus forms:read and forms_submit:read. Read get_submission_edit_context, then submit its current expectedRevision and a new idempotencyKey. Archive sets the native archived flag and releases the resources excluded by native archive-aware stock/ticket readers; it does not cancel/refund payments, delete participants or change the primary decision. Restore clears only this flag. Restoring an archived VALIDE or SUBMIT registration is refused with RESTORE_CAPACITY_OWNER_UNAVAILABLE because no safe atomic native owner can reacquire seats and stock; an archived INVALIDE record can be restored without changing its refused decision. Already unarchived records can acknowledge a restore without acquiring resources. No notification or financial recalculation occurs. Receipt mode ARCHIVE_FLAG_ONLY and archived describe the recorded lifecycle flag. CAS and the pre-effect journal prevent blind repeats. Reuse the same key and intent after response loss; conflicting intent fails. SUBMISSION_COMMAND_UNCERTAIN requires reconciliation without a new key or automatic replay.

### אימות

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

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

```json
{
  "accepted": "forms_submit:archive",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised registration UUID; never generate a replacement to edit an existing record."
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded result; no CRM, payment or notification operation is executed.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionCommandAcknowledgement"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid command, value type, field family or revision format."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Registration, parent, product or existing answer not authorised or absent."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, conflicting idempotency intent, unqualified history or unsupported occurrence edit. An uncertain prepared command is never replayed automatically."
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED: the stored or proposed answer map exceeds six container levels, 9000 nodes, 10000 keys per map, or the native safe Unicode field-key bounds. No partial answer object or write is returned."
}
```

#### HTTP 500

```json
{
  "description": "Command temporarily unavailable. Re-read context and retry only the same command identity after reconciling its outcome."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:archive",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "create",
    "readOnly": false,
    "destructive": false,
    "idempotent": false,
    "warn": false
  }
}
```

## GET /forms-submit/{id}/custom-statuses

Read registration custom statuses and their current form catalog

`get_submission_custom_statuses`

Requires forms:read and forms_submit:read; replacement also requires explicit forms_submit:edit. These are custom follow-up tags configured in form.customStatus, not the SUBMIT/VALIDE/INVALIDE decision, payment status, ticket entry or CRM tags. Read catalog, assigned, unconfiguredAssigned, revision and catalogRevision first. Replacement supplies the full desired statuses array, including an empty array to clear all, with expectedRevision, expectedCatalogRevision and a new idempotencyKey. Only exact unique tags in the catalog admitted for this command are accepted, up to 100 strings of 200 characters; no creation or rename of catalog tags. An unconfigured historical assignment is reported without being invented as an allowed option. The command replaces it only when the caller explicitly chooses a complete valid target list. Catalog conflict requires a new read and review. Catalog admission and the submission CAS are not a cross-document lock on the internal app: a later catalog change can leave an assigned tag historical again. Native inline customStatus/editDatetime are updated without changing the primary decision, archive flag, stock, money, CRM or notifications. Same-intent retry recovers a proven result; uncertainty must be reconciled without blind replay. Receipt mode CUSTOM_STATUS_ONLY proves recorded tag replacement, not attendance or a payment.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised registration UUID; never generate a replacement to edit an existing record."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded result; no CRM, payment or notification operation is executed.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionCustomStatusesContext"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid command, value type, field family or revision format."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Registration, parent, product or existing answer not authorised or absent."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, conflicting idempotency intent, unqualified history or unsupported occurrence edit. An uncertain prepared command is never replayed automatically."
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED: the stored or proposed answer map exceeds six container levels, 9000 nodes, 10000 keys per map, or the native safe Unicode field-key bounds. No partial answer object or write is returned."
}
```

#### HTTP 500

```json
{
  "description": "Command temporarily unavailable. Re-read context and retry only the same command identity after reconciling its outcome."
}
```

### OpenAPI

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

## PUT /forms-submit/{id}/custom-statuses

Replace registration custom status tags from the admitted catalog

`set_submission_custom_statuses`

Requires forms:read and forms_submit:read; replacement also requires explicit forms_submit:edit. These are custom follow-up tags configured in form.customStatus, not the SUBMIT/VALIDE/INVALIDE decision, payment status, ticket entry or CRM tags. Read catalog, assigned, unconfiguredAssigned, revision and catalogRevision first. Replacement supplies the full desired statuses array, including an empty array to clear all, with expectedRevision, expectedCatalogRevision and a new idempotencyKey. Only exact unique tags in the catalog admitted for this command are accepted, up to 100 strings of 200 characters; no creation or rename of catalog tags. An unconfigured historical assignment is reported without being invented as an allowed option. The command replaces it only when the caller explicitly chooses a complete valid target list. Catalog conflict requires a new read and review. Catalog admission and the submission CAS are not a cross-document lock on the internal app: a later catalog change can leave an assigned tag historical again. Native inline customStatus/editDatetime are updated without changing the primary decision, archive flag, stock, money, CRM or notifications. Same-intent retry recovers a proven result; uncertainty must be reconciled without blind replay. Receipt mode CUSTOM_STATUS_ONLY proves recorded tag replacement, not attendance or a payment.

### אימות

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

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

```json
{
  "accepted": "forms_submit:edit",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised registration UUID; never generate a replacement to edit an existing record."
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "expectedCatalogRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
          },
          "statuses": {
            "type": "array",
            "maxItems": 100,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          }
        },
        "required": [
          "expectedRevision",
          "expectedCatalogRevision",
          "idempotencyKey",
          "statuses"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded result; no CRM, payment or notification operation is executed.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SubmissionCommandAcknowledgement"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid command, value type, field family or revision format."
}
```

#### HTTP 403

```json
{
  "description": "Missing independent scope or campaign-restricted key."
}
```

#### HTTP 404

```json
{
  "description": "Registration, parent, product or existing answer not authorised or absent."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, conflicting idempotency intent, unqualified history or unsupported occurrence edit. An uncertain prepared command is never replayed automatically."
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED: the stored or proposed answer map exceeds six container levels, 9000 nodes, 10000 keys per map, or the native safe Unicode field-key bounds. No partial answer object or write is returned."
}
```

#### HTTP 500

```json
{
  "description": "Command temporarily unavailable. Re-read context and retry only the same command identity after reconciling its outcome."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms_submit:edit",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "update",
    "readOnly": false,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /form-calendars

List a form reservation calendars

`list_form_calendars`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:read. formId is required. Returns 100 items ordered by id; continue nextAfter until hasMore:false. Pages are not a transaction snapshot. No HTTP body or unknown query accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

```json
{
  "name": "after",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "uuid"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarListResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /form-calendars

Create a form reservation calendar

`create_form_calendar`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:write AND forms:read. Supply a stable idempotencyKey and expectedRevision (NEW for creation; the last nonnull snapshot hash for an edit). Edits check a selected snapshot hash and exact stored fields, not just a counter, and preserve record/parent ids. Native legacy defaults/fields are used; no registration, payment or provider is touched. Master-managed forms are refused. Only APPLIED acknowledges a completed mutation; STARTED/UNKNOWN are unresolved even with success:true, and CONFLICT did not apply. Preserve resourceId/requestId and read get_form_calendar_request after uncertainty; a claimed intention is never run twice, so never switch to a new key for an automatic retry. journal:UNAVAILABLE preserves an APPLIED acknowledgement. Creates one active calendar attached to formId. On a native simple-editor form it appears through the owner render path. No query parameters accepted.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "expectedRevision": {
            "type": "string",
            "enum": [
              "NEW"
            ]
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision",
          "formId",
          "label"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-calendars/{id}

Read a form reservation calendar

`get_form_calendar`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:read. Reads exact calendar and parent ownership and returns owner timeZone plus revision. No query parameter or HTTP body accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarReadResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## PATCH /form-calendars/{id}

Change form calendar label or activity

`update_form_calendar`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:write AND forms:read. Supply a stable idempotencyKey and expectedRevision (NEW for creation; the last nonnull snapshot hash for an edit). Edits check a selected snapshot hash and exact stored fields, not just a counter, and preserve record/parent ids. Native legacy defaults/fields are used; no registration, payment or provider is touched. Master-managed forms are refused. Only APPLIED acknowledges a completed mutation; STARTED/UNKNOWN are unresolved even with success:true, and CONFLICT did not apply. Preserve resourceId/requestId and read get_form_calendar_request after uncertainty; a claimed intention is never run twice, so never switch to a new key for an automatic retry. journal:UNAVAILABLE preserves an APPLIED acknowledgement. Changes supplied label/active only. Calendar active is the native render/catalogue flag; it is not a guarantee that existing advanced-form references cannot be used. Close individual dates through slot active:false when needed. No existing registrations are cancelled. No query parameters.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision"
        ],
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "label"
            ]
          },
          {
            "required": [
              "active"
            ]
          }
        ]
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-calendars/{id}/slots

Read stored all-day reservation slots

`list_form_calendar_slots`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:read. from inclusive and to exclusive are owner-zone calendar days; range must be positive and at most 367 elapsed days. Returns both active and inactive stored ALLDAY records, 100 per page ordered by id, not a public availability calculation. A stock left blank in the admin is returned as stock:null and inherits the normal product stock. Continue nextAfter until hasMore:false with unchanged calendar/date filters. No HTTP body or unknown query accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

```json
{
  "name": "from",
  "in": "query",
  "required": true,
  "schema": {
    "type": "string",
    "format": "date"
  }
}
```

```json
{
  "name": "to",
  "in": "query",
  "required": true,
  "schema": {
    "type": "string",
    "format": "date"
  }
}
```

```json
{
  "name": "after",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "uuid"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarSlotListResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /form-calendars/{id}/slots

Open one all-day reservation date

`create_form_calendar_slot`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:write AND forms:read. Supply a stable idempotencyKey and expectedRevision (NEW for creation; the last nonnull snapshot hash for an edit). Edits check a selected snapshot hash and exact stored fields, not just a counter, and preserve record/parent ids. Native legacy defaults/fields are used; no registration, payment or provider is touched. Master-managed forms are refused. Only APPLIED acknowledges a completed mutation; STARTED/UNKNOWN are unresolved even with success:true, and CONFLICT did not apply. Preserve resourceId/requestId and read get_form_calendar_request after uncertainty; a claimed intention is never run twice, so never switch to a new key for an automatic retry. journal:UNAVAILABLE preserves an APPLIED acknowledgement. date must be YYYY-MM-DD and timeZone must exactly equal the returned owner zone. Creates an active ALLDAY record at native owner-zone midnight. Existing active same-day records are refused; external concurrent same-day creates share one deterministic slot identity. Internal writers are not globally locked. Products are optional; each supplied id is re-admitted under the calendar form. No query parameters.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "expectedRevision": {
            "type": "string",
            "enum": [
              "NEW"
            ]
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "timeZone": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "expireBefore": {
            "type": "number",
            "minimum": 0,
            "maximum": 8760,
            "nullable": true
          },
          "products": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "stock": {
                  "type": "integer",
                  "minimum": 0,
                  "nullable": true
                }
              },
              "required": [
                "id",
                "stock"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision",
          "date",
          "timeZone"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

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

## PATCH /form-calendars/{id}/slots/{slotId}

Change all-day capacity or close a date

`update_form_calendar_slot`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:write AND forms:read. Supply a stable idempotencyKey and expectedRevision (NEW for creation; the last nonnull snapshot hash for an edit). Edits check a selected snapshot hash and exact stored fields, not just a counter, and preserve record/parent ids. Native legacy defaults/fields are used; no registration, payment or provider is touched. Master-managed forms are refused. Only APPLIED acknowledges a completed mutation; STARTED/UNKNOWN are unresolved even with success:true, and CONFLICT did not apply. Preserve resourceId/requestId and read get_form_calendar_request after uncertainty; a claimed intention is never run twice, so never switch to a new key for an automatic retry. journal:UNAVAILABLE preserves an APPLIED acknowledgement. Changes active, expireBefore or the complete products override array for this date. To edit one product, keep every other entry from the latest slot read. [] clears all overrides; null stock clears one override. active:false closes this record from native active-slot enumeration without cancelling or refunding existing registrations. The date/calendar/slot ids cannot be moved. No query parameters.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "active": {
            "type": "boolean"
          },
          "expireBefore": {
            "type": "number",
            "minimum": 0,
            "maximum": 8760,
            "nullable": true
          },
          "products": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "stock": {
                  "type": "integer",
                  "minimum": 0,
                  "nullable": true
                }
              },
              "required": [
                "id",
                "stock"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision"
        ],
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "active"
            ]
          },
          {
            "required": [
              "expireBefore"
            ]
          },
          {
            "required": [
              "products"
            ]
          }
        ]
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-calendars/{resourceId}/requests/{requestId}

Read a calendar command outcome

`get_form_calendar_request`

This is a form reservation calendar, not an event session or calendar-provider connection. Every calendar belongs to one owned form; each slot product belongs to that same form and exact organisation. Campaign-restricted keys are refused. Only the native ALLDAY model is supported, not timed SLOTS. timeZone is the calendar owner runtime IANA zone returned by get_form_calendar; dates are local calendar days in that zone, never assumed to be the caller or organisation zone. date in slot reads is the recorded instant; localDate is its owner-zone day. expireBefore is hours before that instant, not minutes. products[].stock is an integer capacity override; null restores the normal product-stock rule and zero is a real zero. This is stored configuration, not remaining availability, a reservation, booking acceptance or a payment result. Requires forms:read. resourceId is the calendar or slot resourceId returned by the original command, not always the parent calendar id. Reads only the current organisation/key journal; never edits, retries, repairs or creates availability. STARTED/UNKNOWN remain unresolved. No query parameter or HTTP body accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Stored calendar configuration or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormCalendarCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid UUID, input, date, timezone, product stock or query."
}
```

#### HTTP 403

```json
{
  "description": "Scope, organisation or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "Owned calendar, parent form, slot, product or request not found."
}
```

#### HTTP 409

```json
{
  "description": "Stale revision, duplicate active date, master-managed form, invalid history or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /form-blocks

List reusable form blocks

`list_form_blocks`

A reusable form block is organisation-owned content loaded live by every referencing form. It is not a form definition, registration, content-block AI entity or product. Campaign-restricted keys are refused. Supported content is a bounded legacy react-page JSON string (500000 characters, 2000 nodes) containing layout containers and standalone plain-text, textarea, select, checkbox, date or upload form plugins. It accepts default and declared organisation-language data only. Product/calendar/AI/nested-block references, unknown plugins and unknown data keys are refused. Existing unsupported content returns content:null/contentSupported:false rather than raw private configuration. active is the native catalogue flag; it does not promise that existing references stop rendering. Requires forms:read. Returns up to 100 items ordered by id. Begin without after and continue using nextAfter until hasMore:false; pages are not a transaction snapshot. No HTTP body or unknown query parameter accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "after",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "uuid"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit block projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormBlockListResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT, INVALID_UUID or UNSUPPORTED_BLOCK_CONTENT."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, stale revision or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /form-blocks

Create a reusable form field block

`create_form_block`

A reusable form block is organisation-owned content loaded live by every referencing form. It is not a form definition, registration, content-block AI entity or product. Campaign-restricted keys are refused. Supported content is a bounded legacy react-page JSON string (500000 characters, 2000 nodes) containing layout containers and standalone plain-text, textarea, select, checkbox, date or upload form plugins. It accepts default and declared organisation-language data only. Product/calendar/AI/nested-block references, unknown plugins and unknown data keys are refused. Existing unsupported content returns content:null/contentSupported:false rather than raw private configuration. active is the native catalogue flag; it does not promise that existing references stop rendering. Requires forms:write AND forms:read. Read the block first for its integer revision; expectedRevision is mandatory (0 on creation). The stable idempotencyKey binds the exact intention to this organisation/key. A claimed command is never executed again. success:true means command evaluation: only APPLIED acknowledges the change; STARTED/UNKNOWN remain unresolved and CONFLICT did not apply. Preserve requestId; read get_form_block_request after uncertainty, never use a new key or automatic retry. journal:UNAVAILABLE preserves an APPLIED acknowledgement. No registration, payment or notification is created. Changes to existing content affect all referencing forms on their next render. Creates one block with native active:true and an empty content when omitted/null. A JSON null content is represented by the string "null" for later content saves. No query parameters accepted.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "expectedRevision": {
            "type": "integer",
            "enum": [
              0
            ]
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "content": {
            "type": "string",
            "maxLength": 500000,
            "nullable": true
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision",
          "name"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit block projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormBlockCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT, INVALID_UUID or UNSUPPORTED_BLOCK_CONTENT."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, stale revision or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-blocks/{id}

Read a reusable form field block

`get_form_block`

A reusable form block is organisation-owned content loaded live by every referencing form. It is not a form definition, registration, content-block AI entity or product. Campaign-restricted keys are refused. Supported content is a bounded legacy react-page JSON string (500000 characters, 2000 nodes) containing layout containers and standalone plain-text, textarea, select, checkbox, date or upload form plugins. It accepts default and declared organisation-language data only. Product/calendar/AI/nested-block references, unknown plugins and unknown data keys are refused. Existing unsupported content returns content:null/contentSupported:false rather than raw private configuration. active is the native catalogue flag; it does not promise that existing references stop rendering. Requires forms:read. Reads one exact owned block UUID and revision. No query parameter or HTTP body accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit block projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormBlockReadResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT, INVALID_UUID or UNSUPPORTED_BLOCK_CONTENT."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, stale revision or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## PATCH /form-blocks/{id}

Change reusable form block metadata

`update_form_block_metadata`

A reusable form block is organisation-owned content loaded live by every referencing form. It is not a form definition, registration, content-block AI entity or product. Campaign-restricted keys are refused. Supported content is a bounded legacy react-page JSON string (500000 characters, 2000 nodes) containing layout containers and standalone plain-text, textarea, select, checkbox, date or upload form plugins. It accepts default and declared organisation-language data only. Product/calendar/AI/nested-block references, unknown plugins and unknown data keys are refused. Existing unsupported content returns content:null/contentSupported:false rather than raw private configuration. active is the native catalogue flag; it does not promise that existing references stop rendering. Requires forms:write AND forms:read. Read the block first for its integer revision; expectedRevision is mandatory (0 on creation). The stable idempotencyKey binds the exact intention to this organisation/key. A claimed command is never executed again. success:true means command evaluation: only APPLIED acknowledges the change; STARTED/UNKNOWN remain unresolved and CONFLICT did not apply. Preserve requestId; read get_form_block_request after uncertainty, never use a new key or automatic retry. journal:UNAVAILABLE preserves an APPLIED acknowledgement. No registration, payment or notification is created. Changes to existing content affect all referencing forms on their next render. Changes only supplied name and/or active, preserving the content. No query parameter accepted.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision"
        ],
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "name"
            ]
          },
          {
            "required": [
              "active"
            ]
          }
        ]
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit block projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormBlockCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT, INVALID_UUID or UNSUPPORTED_BLOCK_CONTENT."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, stale revision or idempotency conflict."
}
```

### OpenAPI

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

## PUT /form-blocks/{id}/content

Replace reusable form field content

`replace_form_block_content`

A reusable form block is organisation-owned content loaded live by every referencing form. It is not a form definition, registration, content-block AI entity or product. Campaign-restricted keys are refused. Supported content is a bounded legacy react-page JSON string (500000 characters, 2000 nodes) containing layout containers and standalone plain-text, textarea, select, checkbox, date or upload form plugins. It accepts default and declared organisation-language data only. Product/calendar/AI/nested-block references, unknown plugins and unknown data keys are refused. Existing unsupported content returns content:null/contentSupported:false rather than raw private configuration. active is the native catalogue flag; it does not promise that existing references stop rendering. Requires forms:write AND forms:read. Read the block first for its integer revision; expectedRevision is mandatory (0 on creation). The stable idempotencyKey binds the exact intention to this organisation/key. A claimed command is never executed again. success:true means command evaluation: only APPLIED acknowledges the change; STARTED/UNKNOWN remain unresolved and CONFLICT did not apply. Preserve requestId; read get_form_block_request after uncertainty, never use a new key or automatic retry. journal:UNAVAILABLE preserves an APPLIED acknowledgement. No registration, payment or notification is created. Changes to existing content affect all referencing forms on their next render. Uses the native legacy-editor content owner and its editVersion CAS. content replaces the entire document; preserve existing fieldKey identities when changing labels. It does not produce a dynamic submission JSON Schema. No query parameter accepted.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "content": {
            "type": "string",
            "maxLength": 500000
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision",
          "content"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit block projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormBlockCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT, INVALID_UUID or UNSUPPORTED_BLOCK_CONTENT."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, stale revision or idempotency conflict."
}
```

### OpenAPI

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

## GET /form-blocks/{id}/requests/{requestId}

Read a reusable block command outcome

`get_form_block_request`

A reusable form block is organisation-owned content loaded live by every referencing form. It is not a form definition, registration, content-block AI entity or product. Campaign-restricted keys are refused. Supported content is a bounded legacy react-page JSON string (500000 characters, 2000 nodes) containing layout containers and standalone plain-text, textarea, select, checkbox, date or upload form plugins. It accepts default and declared organisation-language data only. Product/calendar/AI/nested-block references, unknown plugins and unknown data keys are refused. Existing unsupported content returns content:null/contentSupported:false rather than raw private configuration. active is the native catalogue flag; it does not promise that existing references stop rendering. Requires forms:read. Reads only the current key/organisation/block command journal. STARTED/UNKNOWN never establish no effect. No replay, mutation, provider call, query parameter or HTTP body.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Explicit block projection or recorded command state.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormBlockCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT, INVALID_UUID or UNSUPPORTED_BLOCK_CONTENT."
}
```

#### HTTP 403

```json
{
  "description": "Insufficient scopes, organisation mismatch or campaign restriction."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid history, stale revision or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms/{id}/promotional-codes

Read a form promotional code catalogue

`get_form_promotional_codes`

Requires forms:read. Reads exact case-sensitive promotionalCode labels and reducedPercent percentages from the current owned form, plus revision and managed. They are percentage reductions, not minor-unit amounts, currency values, coupons at a provider or product ids. Missing catalogue is empty; malformed historical catalogues are refused. No discount is applied retrospectively and no payment is reconciled. Campaign-restricted keys, query parameters and HTTP bodies are refused.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded codes or command outcome; only state APPLIED acknowledges a completed replacement.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormPromotionCatalogue"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT or INVALID_PROMOTIONAL_CODES."
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE or CAMPAIGN_RESTRICTED_KEY."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid historical references, master-managed form or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## PUT /forms/{id}/promotional-codes

Replace a form promotional code catalogue

`replace_form_promotional_codes`

Requires forms:write AND forms:read. Read get_form_promotional_codes first and supply its integer revision as expectedRevision. codes replaces the entire catalogue (maximum 100); [] removes all codes. Each exact case-sensitive promotionalCode must be unique and reducedPercent is between 0 and 100 percent. Preserves all other form settings, and regenerates native simple-editor content when required. Locked children and master forms are refused; no mirror propagation is hidden here. Changes affect later form quotes/submissions, not existing registrations or payments. A stable idempotencyKey is bound to the exact intention and current key/organisation; reusing it never runs a claimed command again. success:true acknowledges command evaluation only: APPLIED means the CAS replacement completed; CONFLICT means it did not apply; STARTED/UNKNOWN do not establish whether it applied. Preserve requestId and read get_form_promotion_request; never use a new key or automatic retry after uncertainty. journal:UNAVAILABLE preserves an APPLIED acknowledgement. No query parameters accepted.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

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

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*"
          },
          "codes": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "promotionalCode": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100,
                  "pattern": ".*\\S.*"
                },
                "reducedPercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                }
              },
              "required": [
                "promotionalCode",
                "reducedPercent"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "codes"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded codes or command outcome; only state APPLIED acknowledges a completed replacement.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormPromotionCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT or INVALID_PROMOTIONAL_CODES."
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE or CAMPAIGN_RESTRICTED_KEY."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid historical references, master-managed form or idempotency conflict."
}
```

### OpenAPI

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

## GET /forms/{id}/promotional-codes/requests/{requestId}

Read a promotional code replacement outcome

`get_form_promotion_request`

Requires forms:read. Reads only the current organisation/key/form promotional-command journal. APPLIED acknowledges the recorded replacement; STARTED/UNKNOWN remain unresolved, never proof of no effect. This read never edits codes, regenerates content, sends a notification, applies a discount or calls a provider. A missing request does not authorise a new idempotency key. No query parameter or HTTP body accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded codes or command outcome; only state APPLIED acknowledges a completed replacement.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormPromotionCommandOutcome"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_RESOURCE_INPUT or INVALID_PROMOTIONAL_CODES."
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE or CAMPAIGN_RESTRICTED_KEY."
}
```

#### HTTP 404

```json
{
  "description": "RESOURCE_NOT_FOUND."
}
```

#### HTTP 409

```json
{
  "description": "Invalid historical references, master-managed form or idempotency conflict."
}
```

### OpenAPI

```json
{
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## GET /forms/{id}/availability

Read form registration availability and capacity references

`get_form_availability`

Required scope: `forms:read`. Read-only observation from the canonical form visitor owners; no registration, reservation, payment, notification or persistent calendar initialization. Campaign-restricted keys are refused. IDs are existing UUIDs returned by authorised form reads, never generated for lookups. Missing or foreign resources return 404. Ambiguous historical references, capacities, source quantities or owner sentinels return 409, never a fabricated zero. Reads are bounded to 100 resources per kind and 10000 occupied submissions or selected active slots per operation. Results can change concurrently and are not an atomic reservation or transaction snapshot. timeZone is the server calendar timezone actually used by the native date picker, not an assumed organisation timezone. expiresAt is the configured form expiration only; linked-event gates can close registration earlier. Stock observations do not evaluate price, currency eligibility or every required answer. First resolve registrationOpen and the product/category/calendar identifiers here. configuredCapacity is the stored ceiling, not remaining stock. Null configuredCapacity means no ceiling configured at this level; another global, category or selected-calendar ceiling may still apply. To obtain a remaining product count, call read_form_product_availability. Closed forms return references with registrationOpen false; they are not an invitation to submit.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded availability observation; no reservation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/EventAvailabilityOverview"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 401

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 403

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 404

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 409

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 500

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  },
  "x-unisoft-mcp-output-schema": true
}
```

## POST /forms/{id}/availability/products/{productId}

Observe remaining product stock for a proposed selection

`read_form_product_availability`

Required scope: `forms:read`. Read-only observation from the canonical form visitor owners; no registration, reservation, payment, notification or persistent calendar initialization. Campaign-restricted keys are refused. IDs are existing UUIDs returned by authorised form reads, never generated for lookups. Missing or foreign resources return 404. Ambiguous historical references, capacities, source quantities or owner sentinels return 409, never a fabricated zero. Reads are bounded to 100 resources per kind and 10000 occupied submissions or selected active slots per operation. Results can change concurrently and are not an atomic reservation or transaction snapshot. timeZone is the server calendar timezone actually used by the native date picker, not an assumed organisation timezone. expiresAt is the configured form expiration only; linked-event gates can close registration earlier. Stock observations do not evaluate price, currency eligibility or every required answer. Read-only POST. Optional quantities is a list of {id,quantity} for existing products in this form; optional calendars is a list of {id,date} for its calendars. Quantities are nonnegative safe integers, and dates are civil YYYY-MM-DD in the returned server timezone. Repeated or foreign IDs are refused. The canonical owner subtracts already-occupied quantities, applies its temporary SUBMIT holds and global/category caps, and can subtract live quantities of OTHER products from a shared pool; the selected product quantity is not subtracted again. remaining null with NOT_CONFIGURED_FOR_SELECTION does not prove unlimited capacity for a different date or selection. NOT_EVALUATED_CLOSED means no stock computation. A nonnegative remaining value is an observation, never a stock lock. Negative legacy owner sentinels are refused as ambiguous.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

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

### גוף הבקשה

```json
{
  "required": false,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "quantities": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "quantity": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "id",
                "quantity"
              ],
              "additionalProperties": false
            }
          },
          "calendars": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "date": {
                  "type": "string",
                  "pattern": "^20[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "format": "date"
                }
              },
              "required": [
                "id",
                "date"
              ],
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded availability observation; no reservation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/EventAvailabilityProduct"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 401

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 403

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 404

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 409

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 500

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  },
  "x-unisoft-mcp-output-schema": true
}
```

## GET /forms/{id}/availability/categories/{categoryId}/seats

Read currently occupied seats of a form category

`get_form_seat_availability`

Required scope: `forms:read`. Read-only observation from the canonical form visitor owners; no registration, reservation, payment, notification or persistent calendar initialization. Campaign-restricted keys are refused. IDs are existing UUIDs returned by authorised form reads, never generated for lookups. Missing or foreign resources return 404. Ambiguous historical references, capacities, source quantities or owner sentinels return 409, never a fabricated zero. Reads are bounded to 100 resources per kind and 10000 occupied submissions or selected active slots per operation. Results can change concurrently and are not an atomic reservation or transaction snapshot. timeZone is the server calendar timezone actually used by the native date picker, not an assumed organisation timezone. expiresAt is the configured form expiration only; linked-event gates can close registration earlier. Stock observations do not evaluate price, currency eligibility or every required answer. categoryId must belong to this form and use SEATS mode. Tables contain their configured capacity and currently taken seat numbers under the native temporary-hold rules. This does not choose or reserve a seat. evaluated false on a closed form is distinct from an empty occupied-seat list. The response excludes participant identities and submission data.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

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

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded availability observation; no reservation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/EventAvailabilitySeats"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 401

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 403

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 404

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 409

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 500

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  },
  "x-unisoft-mcp-output-schema": true
}
```

## GET /forms/{id}/availability/calendars/{calendarId}

Read native date-picker availability for a form calendar

`get_form_calendar_availability`

Required scope: `forms:read`. Read-only observation from the canonical form visitor owners; no registration, reservation, payment, notification or persistent calendar initialization. Campaign-restricted keys are refused. IDs are existing UUIDs returned by authorised form reads, never generated for lookups. Missing or foreign resources return 404. Ambiguous historical references, capacities, source quantities or owner sentinels return 409, never a fabricated zero. Reads are bounded to 100 resources per kind and 10000 occupied submissions or selected active slots per operation. Results can change concurrently and are not an atomic reservation or transaction snapshot. timeZone is the server calendar timezone actually used by the native date picker, not an assumed organisation timezone. expiresAt is the configured form expiration only; linked-event gates can close registration earlier. Stock observations do not evaluate price, currency eligibility or every required answer. Required year 2000–2099 and month 1–12; month is converted to the native zero-based month internally. Dates are eligible recorded ALLDAY slot dates from the native date-picker window, which may include adjacent months. This is not an exact-month export, a complete timetable, an hourly-slot API or a remaining-stock calculation. Existing expireBefore restrictions are retained. evaluated false on a closed form does not prove that no slots exist. No calendar or slot is created.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

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

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

```json
{
  "name": "year",
  "in": "query",
  "required": true,
  "schema": {
    "type": "integer",
    "minimum": 2000,
    "maximum": 2099
  }
}
```

```json
{
  "name": "month",
  "in": "query",
  "required": true,
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 12
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded availability observation; no reservation.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/EventAvailabilityCalendar"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 401

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 403

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 404

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 409

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

#### HTTP 500

```json
{
  "description": "Request, permission, ownership or availability-source admission failed. No reservation or business write was performed."
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  },
  "x-unisoft-mcp-output-schema": true
}
```

## GET /forms/{formId}/submissions

Read registrations for the selected parent and occurrence

`list_form_submissions`

Requires forms_submit:read and forms:read; a session path also requires events:read. Fundraising-campaign-restricted keys are refused. A session id is a pe record, never a group, poster, form or submission id. Its forms are resolved in the authenticated organisation. Calendar selection filters stored answers through the native 24-hour UTC window, independently of submission creation time. Both BSON dates and strict recorded ISO strings are admitted; ambiguous references/dates fail closed. Reads never reserve stock, create tickets, send notifications or verify a provider. Candidate metadata is bounded to 10000 registrations and 500 forms; larger scopes return EVENT_SUBMISSIONS_TOO_LARGE or EVENT_SUBMISSION_FORM_LIMIT, never a partial total. Narrow to one form. Pages sort by UUID in ID_ASC order; retain filters with a cursor and reconcile concurrent changes. No transaction snapshot or unlimited export is promised. Returns the authorised submission DTO without CRM joins or private form/provider snapshots. Expected total is in major units. Recorded paid/remainder fields are known only when paiements:read is also granted and the recorded history is unambiguous; otherwise they remain null with money.paidStatus=UNKNOWN. COMPLETED does not prove capture or bank settlement. Registration, acceptance, payment and ticket entry are separate. Submitted answers retain their original client field keys and JSON values in a typed map with at most six object/array container levels, 10000 entries per map and native safe nonblank Unicode keys of at most 1000 characters. $, NUL and prototype path segments are forbidden. A complete read is bounded to 9000 JSON nodes and 8 MiB; payloads are streamed with a bounded source buffer. Shape errors return 422 SUBMISSION_ANSWER_SHAPE_UNSUPPORTED; total page-budget errors return SUBMISSION_READ_OUTPUT_LIMIT, requiring a smaller limit. No truncation, key renaming or new UNAVAILABLE flag is substituted for these errors. This is technical JSON qualification, not the deferred V2 form.content validator.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised parent UUID. Resolve it from a living list/read operation; never generate one for an existing parent."
}
```

```json
{
  "name": "state",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "SUBMIT",
      "VALIDE",
      "INVALIDE"
    ]
  },
  "description": "Exact recorded decision state; independent of payment and ticket entry."
}
```

```json
{
  "name": "archive",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "EXCLUDE",
      "ONLY",
      "INCLUDE"
    ],
    "default": "EXCLUDE"
  },
  "description": "EXCLUDE omits archived registrations, ONLY selects them, INCLUDE reads both. This never restores or archives a record."
}
```

```json
{
  "name": "calendarId",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^[A-Za-z0-9_-]{1,128}$"
  },
  "description": "Verified calendar belonging to a selected form. Supply together with occurrenceAt."
}
```

```json
{
  "name": "occurrenceAt",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt](?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[Zz]|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
    "format": "date-time"
  },
  "description": "Selected calendar occurrence start as an ISO instant with timezone. Uses the native inclusive start/exclusive next UTC day window, not submission creation time, session date, or participant array position. Obtain it from the form calendar; never infer a timezone."
}
```

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  }
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "schema": {
    "type": "string",
    "maxLength": 1024,
    "pattern": "^[A-Za-z0-9_-]+$"
  },
  "description": "Opaque cursor from this operation, bound to its parent and all filters. ID_ASC order, not chronological order. Retain filters; no transaction snapshot is promised."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Authorised recorded observations with explicit scope and limits.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventSubmissionReadPage"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid filters, UUID, occurrence pair or cursor.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing independent domain scope or campaign-restricted key.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Parent or calendar unavailable within the authorised scope.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Ambiguous history, concurrent change, invalid decision state or bounded read exceeded. No partial result is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED or SUBMISSION_READ_OUTPUT_LIMIT: technical answer shape or total page JSON budget exceeded. Answer maps allow six container levels, native safe Unicode keys up to 1000 characters and at most 10000 entries; successful output is bounded to 9000 nodes. Reduce the list limit for a page budget error; complex answer shapes need the later V2 contract. No partial/truncated data or fabricated UNAVAILABLE flag.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Recorded submissions are temporarily unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms/{formId}/submissions/summary

Count registration decisions for the selected parent and occurrence

`summarize_form_submissions`

Requires forms_submit:read and forms:read; a session path also requires events:read. Fundraising-campaign-restricted keys are refused. A session id is a pe record, never a group, poster, form or submission id. Its forms are resolved in the authenticated organisation. Calendar selection filters stored answers through the native 24-hour UTC window, independently of submission creation time. Both BSON dates and strict recorded ISO strings are admitted; ambiguous references/dates fail closed. Reads never reserve stock, create tickets, send notifications or verify a provider. Candidate metadata is bounded to 10000 registrations and 500 forms; larger scopes return EVENT_SUBMISSIONS_TOO_LARGE or EVENT_SUBMISSION_FORM_LIMIT, never a partial total. Narrow to one form. Pages sort by UUID in ID_ASC order; retain filters with a cursor and reconcile concurrent changes. No transaction snapshot or unlimited export is promised. Counts registration records, not participants, seats, tickets, paid donors or attendances. ARCHIVED overrides the decision bucket, matching the native admin recap. Filters, including state and archive, apply to the whole summary; default archive=EXCLUDE. Unknown active decision states return SUBMISSION_STATE_UNAVAILABLE rather than guessed counts. No answers, contact or payment data are returned.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised parent UUID. Resolve it from a living list/read operation; never generate one for an existing parent."
}
```

```json
{
  "name": "state",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "SUBMIT",
      "VALIDE",
      "INVALIDE"
    ]
  },
  "description": "Exact recorded decision state; independent of payment and ticket entry."
}
```

```json
{
  "name": "archive",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "EXCLUDE",
      "ONLY",
      "INCLUDE"
    ],
    "default": "EXCLUDE"
  },
  "description": "EXCLUDE omits archived registrations, ONLY selects them, INCLUDE reads both. This never restores or archives a record."
}
```

```json
{
  "name": "calendarId",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^[A-Za-z0-9_-]{1,128}$"
  },
  "description": "Verified calendar belonging to a selected form. Supply together with occurrenceAt."
}
```

```json
{
  "name": "occurrenceAt",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt](?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[Zz]|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
    "format": "date-time"
  },
  "description": "Selected calendar occurrence start as an ISO instant with timezone. Uses the native inclusive start/exclusive next UTC day window, not submission creation time, session date, or participant array position. Obtain it from the form calendar; never infer a timezone."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Authorised recorded observations with explicit scope and limits.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventSubmissionReadSummary"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid filters, UUID, occurrence pair or cursor.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing independent domain scope or campaign-restricted key.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Parent or calendar unavailable within the authorised scope.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Ambiguous history, concurrent change, invalid decision state or bounded read exceeded. No partial result is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED or SUBMISSION_READ_OUTPUT_LIMIT: technical answer shape or total page JSON budget exceeded. Answer maps allow six container levels, native safe Unicode keys up to 1000 characters and at most 10000 entries; successful output is bounded to 9000 nodes. Reduce the list limit for a page budget error; complex answer shapes need the later V2 contract. No partial/truncated data or fabricated UNAVAILABLE flag.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Recorded submissions are temporarily unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

### OpenAPI

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

## GET /events/{sessionId}/submissions

Read registrations for the selected parent and occurrence

`list_event_session_submissions`

Requires forms_submit:read and forms:read; a session path also requires events:read. Fundraising-campaign-restricted keys are refused. A session id is a pe record, never a group, poster, form or submission id. Its forms are resolved in the authenticated organisation. Calendar selection filters stored answers through the native 24-hour UTC window, independently of submission creation time. Both BSON dates and strict recorded ISO strings are admitted; ambiguous references/dates fail closed. Reads never reserve stock, create tickets, send notifications or verify a provider. Candidate metadata is bounded to 10000 registrations and 500 forms; larger scopes return EVENT_SUBMISSIONS_TOO_LARGE or EVENT_SUBMISSION_FORM_LIMIT, never a partial total. Narrow to one form. Pages sort by UUID in ID_ASC order; retain filters with a cursor and reconcile concurrent changes. No transaction snapshot or unlimited export is promised. Returns the authorised submission DTO without CRM joins or private form/provider snapshots. Expected total is in major units. Recorded paid/remainder fields are known only when paiements:read is also granted and the recorded history is unambiguous; otherwise they remain null with money.paidStatus=UNKNOWN. COMPLETED does not prove capture or bank settlement. Registration, acceptance, payment and ticket entry are separate. Submitted answers retain their original client field keys and JSON values in a typed map with at most six object/array container levels, 10000 entries per map and native safe nonblank Unicode keys of at most 1000 characters. $, NUL and prototype path segments are forbidden. A complete read is bounded to 9000 JSON nodes and 8 MiB; payloads are streamed with a bounded source buffer. Shape errors return 422 SUBMISSION_ANSWER_SHAPE_UNSUPPORTED; total page-budget errors return SUBMISSION_READ_OUTPUT_LIMIT, requiring a smaller limit. No truncation, key renaming or new UNAVAILABLE flag is substituted for these errors. This is technical JSON qualification, not the deferred V2 form.content validator.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read",
    "events:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "sessionId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised parent UUID. Resolve it from a living list/read operation; never generate one for an existing parent."
}
```

```json
{
  "name": "state",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "SUBMIT",
      "VALIDE",
      "INVALIDE"
    ]
  },
  "description": "Exact recorded decision state; independent of payment and ticket entry."
}
```

```json
{
  "name": "archive",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "EXCLUDE",
      "ONLY",
      "INCLUDE"
    ],
    "default": "EXCLUDE"
  },
  "description": "EXCLUDE omits archived registrations, ONLY selects them, INCLUDE reads both. This never restores or archives a record."
}
```

```json
{
  "name": "calendarId",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^[A-Za-z0-9_-]{1,128}$"
  },
  "description": "Verified calendar belonging to a selected form. Supply together with occurrenceAt."
}
```

```json
{
  "name": "occurrenceAt",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt](?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[Zz]|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
    "format": "date-time"
  },
  "description": "Selected calendar occurrence start as an ISO instant with timezone. Uses the native inclusive start/exclusive next UTC day window, not submission creation time, session date, or participant array position. Obtain it from the form calendar; never infer a timezone."
}
```

```json
{
  "name": "formId",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Optional single form of the selected session; foreign or unrelated forms are refused."
}
```

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  }
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "schema": {
    "type": "string",
    "maxLength": 1024,
    "pattern": "^[A-Za-z0-9_-]+$"
  },
  "description": "Opaque cursor from this operation, bound to its parent and all filters. ID_ASC order, not chronological order. Retain filters; no transaction snapshot is promised."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Authorised recorded observations with explicit scope and limits.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventSubmissionReadPage"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid filters, UUID, occurrence pair or cursor.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing independent domain scope or campaign-restricted key.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Parent or calendar unavailable within the authorised scope.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Ambiguous history, concurrent change, invalid decision state or bounded read exceeded. No partial result is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED or SUBMISSION_READ_OUTPUT_LIMIT: technical answer shape or total page JSON budget exceeded. Answer maps allow six container levels, native safe Unicode keys up to 1000 characters and at most 10000 entries; successful output is bounded to 9000 nodes. Reduce the list limit for a page budget error; complex answer shapes need the later V2 contract. No partial/truncated data or fabricated UNAVAILABLE flag.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Recorded submissions are temporarily unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

### OpenAPI

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

## GET /events/{sessionId}/submissions/summary

Count registration decisions for the selected parent and occurrence

`summarize_event_session_submissions`

Requires forms_submit:read and forms:read; a session path also requires events:read. Fundraising-campaign-restricted keys are refused. A session id is a pe record, never a group, poster, form or submission id. Its forms are resolved in the authenticated organisation. Calendar selection filters stored answers through the native 24-hour UTC window, independently of submission creation time. Both BSON dates and strict recorded ISO strings are admitted; ambiguous references/dates fail closed. Reads never reserve stock, create tickets, send notifications or verify a provider. Candidate metadata is bounded to 10000 registrations and 500 forms; larger scopes return EVENT_SUBMISSIONS_TOO_LARGE or EVENT_SUBMISSION_FORM_LIMIT, never a partial total. Narrow to one form. Pages sort by UUID in ID_ASC order; retain filters with a cursor and reconcile concurrent changes. No transaction snapshot or unlimited export is promised. Counts registration records, not participants, seats, tickets, paid donors or attendances. ARCHIVED overrides the decision bucket, matching the native admin recap. Filters, including state and archive, apply to the whole summary; default archive=EXCLUDE. Unknown active decision states return SUBMISSION_STATE_UNAVAILABLE rather than guessed counts. No answers, contact or payment data are returned.

### אימות

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

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

```json
{
  "accepted": "forms_submit:read",
  "additional": [
    "forms:read",
    "events:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "sessionId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Existing authorised parent UUID. Resolve it from a living list/read operation; never generate one for an existing parent."
}
```

```json
{
  "name": "state",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "SUBMIT",
      "VALIDE",
      "INVALIDE"
    ]
  },
  "description": "Exact recorded decision state; independent of payment and ticket entry."
}
```

```json
{
  "name": "archive",
  "in": "query",
  "schema": {
    "type": "string",
    "enum": [
      "EXCLUDE",
      "ONLY",
      "INCLUDE"
    ],
    "default": "EXCLUDE"
  },
  "description": "EXCLUDE omits archived registrations, ONLY selects them, INCLUDE reads both. This never restores or archives a record."
}
```

```json
{
  "name": "calendarId",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^[A-Za-z0-9_-]{1,128}$"
  },
  "description": "Verified calendar belonging to a selected form. Supply together with occurrenceAt."
}
```

```json
{
  "name": "occurrenceAt",
  "in": "query",
  "schema": {
    "type": "string",
    "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt](?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[Zz]|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
    "format": "date-time"
  },
  "description": "Selected calendar occurrence start as an ISO instant with timezone. Uses the native inclusive start/exclusive next UTC day window, not submission creation time, session date, or participant array position. Obtain it from the form calendar; never infer a timezone."
}
```

```json
{
  "name": "formId",
  "in": "query",
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Optional single form of the selected session; foreign or unrelated forms are refused."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Authorised recorded observations with explicit scope and limits.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventSubmissionReadSummary"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Invalid filters, UUID, occurrence pair or cursor.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Missing independent domain scope or campaign-restricted key.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Parent or calendar unavailable within the authorised scope.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Ambiguous history, concurrent change, invalid decision state or bounded read exceeded. No partial result is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 422

```json
{
  "description": "SUBMISSION_ANSWER_SHAPE_UNSUPPORTED or SUBMISSION_READ_OUTPUT_LIMIT: technical answer shape or total page JSON budget exceeded. Answer maps allow six container levels, native safe Unicode keys up to 1000 characters and at most 10000 entries; successful output is bounded to 9000 nodes. Reduce the list limit for a page budget error; complex answer shapes need the later V2 contract. No partial/truncated data or fabricated UNAVAILABLE flag.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Recorded submissions are temporarily unavailable.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms/{formId}/tickets

List recorded tickets of a form

`list_form_tickets`

Requires explicitly granted tickets:read plus forms:read and forms_submit:read. Campaign-restricted keys are refused. Reads already persisted tickets only; native ticket list/PDF owners are not called because those reads reconcile and can issue/revoke tickets. Empty data does not prove that no ticket is due: lazy native reconciliation may not have materialised it. The native pure planner qualifies each submission as CURRENT_AT_READ, RECONCILIATION_REQUIRED or UNKNOWN without applying changes. Registration, acceptance, payment, ticket state and entry are distinct. No scan, debit, notification, PDF generation, index creation, database reconciliation or Wallet call occurs. No native ticket UUID, QR value, bearer URL, order token, holder identity, reusable method or private snapshot is returned. References are opaque hashes of canonical unpredictable UUID v4 within the organisation. Missing, foreign, duplicate, malformed or array-valued identities are withheld/refused. At most 1000 persisted tickets per submission and 5000 context rows per call; excessive scope returns TICKET_READ_TOO_LARGE without a partial response. Default page size 50, maximum 200, live offset capped at 10000; keep the same target/limit and follow nextCursor. All bodies and unknown, repeated or structured query parameters are refused. No transaction snapshot or present admission guarantee is claimed.

### אימות

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

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

```json
{
  "accepted": "tickets:read",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  },
  "description": "Page size, from 1 to 200. Keep it unchanged when continuing a cursor."
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "schema": {
    "type": "string",
    "maxLength": 300
  },
  "description": "Previous nextCursor for the same organisation, form/submission and page size. Live offset pagination is not a snapshot: concurrent changes can cause omissions or repeats. Never treat a page count as the complete ticket count."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded ticket observations and qualified page coverage.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketPage"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms-submit/{submissionId}/tickets

List recorded tickets of a submission

`list_submission_tickets`

Requires explicitly granted tickets:read plus forms:read and forms_submit:read. Campaign-restricted keys are refused. Reads already persisted tickets only; native ticket list/PDF owners are not called because those reads reconcile and can issue/revoke tickets. Empty data does not prove that no ticket is due: lazy native reconciliation may not have materialised it. The native pure planner qualifies each submission as CURRENT_AT_READ, RECONCILIATION_REQUIRED or UNKNOWN without applying changes. Registration, acceptance, payment, ticket state and entry are distinct. No scan, debit, notification, PDF generation, index creation, database reconciliation or Wallet call occurs. No native ticket UUID, QR value, bearer URL, order token, holder identity, reusable method or private snapshot is returned. References are opaque hashes of canonical unpredictable UUID v4 within the organisation. Missing, foreign, duplicate, malformed or array-valued identities are withheld/refused. At most 1000 persisted tickets per submission and 5000 context rows per call; excessive scope returns TICKET_READ_TOO_LARGE without a partial response. Default page size 50, maximum 200, live offset capped at 10000; keep the same target/limit and follow nextCursor. All bodies and unknown, repeated or structured query parameters are refused. No transaction snapshot or present admission guarantee is claimed.

### אימות

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

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

```json
{
  "accepted": "tickets:read",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "submissionId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  },
  "description": "Page size, from 1 to 200. Keep it unchanged when continuing a cursor."
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "schema": {
    "type": "string",
    "maxLength": 300
  },
  "description": "Previous nextCursor for the same organisation, form/submission and page size. Live offset pagination is not a snapshot: concurrent changes can cause omissions or repeats. Never treat a page count as the complete ticket count."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Recorded ticket observations and qualified page coverage.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketPage"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms-submit/{submissionId}/tickets/{reference}/access

Read an authorised public single-ticket link

`get_submission_ticket_access`

Requires explicitly granted tickets:share plus forms:read and forms_submit:read; tickets:read alone never reveals a scan-capable link. Use reference from list_submission_tickets for this exact submission. The native ticket UUID is a bearer/scan capability and remains hidden until this explicit access operation. Returns only the existing public single-ticket page URL, not an order token, QR image, Wallet pass or generated PDF. The link is unavailable when the shared pure planner detects stale/unknown ticket state, the submission is inactive, the ticket is not VALID or its record changed. Canonical native UUID uniqueness is checked across organisations before sharing. A returned URL is itself a capability: share only with the intended recipient. expiresAt:null means no fixed expiry supplied, not guaranteed permanent validity. This API read never navigates to the URL or reconciles; opening the existing native page can reconcile tickets. No PDF is persisted, so pdf status is PDF_NOT_PERSISTED rather than a fake download endpoint. Do not call a scan or registration workflow to force a missing ticket. All query parameters and bodies are refused; campaign-restricted keys, foreign/malformed/ambiguous references and excess context are refused with fixed errors.

### אימות

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

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

```json
{
  "accepted": "tickets:share",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "submissionId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "reference",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^tkt_[a-f0-9]{64}$"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified capability link, or an explicit unavailability reason without a URL.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketAccess"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "tickets:share",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms-submit/{submissionId}/tickets/{reference}/check-in

Record entry for one authorised ticket

`check_in_submission_ticket`

Real ticket-control action, requiring explicit authority for this person and event. Requires its dedicated action scope plus tickets:read, forms:read and forms_submit:read. Resolve the exact submission/reference and obtain expectedRevision from a fresh ticket read. Only current, active, unarchived entry-ticket observations are admitted; order summaries and stale/unknown contexts are refused. The native owner performs its conditional state change and native audit/Wallet effects; it receives an API_KEY actor, never an invented administrator. Admission checks do not lock the internal application's concurrent writers. An organisation-scoped idempotency journal permits only one owner invocation per key: an identical confirmed request replays its safe result, changed arguments conflict, and a pending/uncertain request never re-executes. TICKET_COMMAND_UNCERTAIN means the native effect or acknowledgement may already have happened. Inspect the command-status read with the same target and idempotencyKey; do not change the key or revalidate/resubmit the registration to force another action. No QR value, bearer URL, holder identity, raw native result or private exception is returned. This records ticket-control evidence; it does not prove that a human physically entered, settled payment or received a message. Requires tickets:scan. The observed ticket must be VALID. ENTRY_RECORDED means the native owner confirmed USED; a concurrent native use can instead report ALREADY_USED or NOT_ADMITTED. Do not count an order-summary ticket as an extra person.

### אימות

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

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

```json
{
  "accepted": "tickets:scan",
  "additional": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "submissionId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "reference",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^tkt_[a-f0-9]{64}$"
  }
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^trev_[a-f0-9]{64}$",
            "description": "Exact revision returned by the last authorised ticket read. A changed observation is refused before dispatch; this is not a lock on internal application writers."
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,128}$",
            "description": "Caller-owned retry key, 8 to 128 ASCII letters/digits/underscore/hyphen, unique within the organisation. Reuse it with the exact same operation, target and revision. Never put personal data, a secret or the QR value in this key."
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified persisted command observation; SUCCEEDED is distinct from PENDING or UNCERTAIN.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketCommandResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "tickets:scan",
  "x-unisoft-additional-scopes": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "action",
    "readOnly": false,
    "destructive": true,
    "idempotent": true,
    "warn": true
  }
}
```

## POST /forms-submit/{submissionId}/tickets/{reference}/rearm

Undo a mistaken recorded ticket entry

`rearm_submission_ticket`

Real ticket-control action, requiring explicit authority for this person and event. Requires its dedicated action scope plus tickets:read, forms:read and forms_submit:read. Resolve the exact submission/reference and obtain expectedRevision from a fresh ticket read. Only current, active, unarchived entry-ticket observations are admitted; order summaries and stale/unknown contexts are refused. The native owner performs its conditional state change and native audit/Wallet effects; it receives an API_KEY actor, never an invented administrator. Admission checks do not lock the internal application's concurrent writers. An organisation-scoped idempotency journal permits only one owner invocation per key: an identical confirmed request replays its safe result, changed arguments conflict, and a pending/uncertain request never re-executes. TICKET_COMMAND_UNCERTAIN means the native effect or acknowledgement may already have happened. Inspect the command-status read with the same target and idempotencyKey; do not change the key or revalidate/resubmit the registration to force another action. No QR value, bearer URL, holder identity, raw native result or private exception is returned. This records ticket-control evidence; it does not prove that a human physically entered, settled payment or received a message. Requires tickets:rearm. The observed ticket must be USED. VALID_CONFIRMED means the native owner confirmed a valid ticket with its usedAt cleared; another entry is now possible. This corrects a mistaken record, not a physical passage or a registration/payment state. Do not use it as a retry or to make an unrelated person enter.

### אימות

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

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

```json
{
  "accepted": "tickets:rearm",
  "additional": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "submissionId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "reference",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^tkt_[a-f0-9]{64}$"
  }
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^trev_[a-f0-9]{64}$",
            "description": "Exact revision returned by the last authorised ticket read. A changed observation is refused before dispatch; this is not a lock on internal application writers."
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,128}$",
            "description": "Caller-owned retry key, 8 to 128 ASCII letters/digits/underscore/hyphen, unique within the organisation. Reuse it with the exact same operation, target and revision. Never put personal data, a secret or the QR value in this key."
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified persisted command observation; SUCCEEDED is distinct from PENDING or UNCERTAIN.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketCommandResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "tickets:rearm",
  "x-unisoft-additional-scopes": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "action",
    "readOnly": false,
    "destructive": true,
    "idempotent": true,
    "warn": true
  }
}
```

## GET /forms-submit/{submissionId}/tickets/{reference}/commands/{idempotencyKey}

Read a ticket-control command after an uncertain result

`get_submission_ticket_command`

Requires tickets:read plus forms:read and forms_submit:read, with the current submission and ticket reference still authorised. Use the same idempotencyKey as the attempted command. SUCCEEDED exposes only the persisted projected outcome. PENDING and UNCERTAIN expose no successful effect; they do not mean nothing happened. This read never invokes scan, rearm, reconciliation, PDF generation, journal mutation or Wallet notifications. Reconcile current ticket observations without creating a new key or replaying an uncertain owner action. Missing/foreign/ambiguous command histories and all query parameters/bodies are refused.

### אימות

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

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

```json
{
  "accepted": "tickets:read",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "submissionId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "reference",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^tkt_[a-f0-9]{64}$"
  }
}
```

```json
{
  "name": "idempotencyKey",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[A-Za-z0-9_-]{8,128}$"
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified persisted command observation; SUCCEEDED is distinct from PENDING or UNCERTAIN.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketCommandResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms/{formId}/ticket-access-links

List recorded temporary scanner delegations

`list_ticket_access_links`

A volunteer scanner delegation grants access to exactly one form through an expiring public bearer URL, without creating an internal account. The native public role sees names and ticket-control information, not payment amounts or contact email/phone. The secret is never an ordinary read field. Permission to read registrations/tickets does not grant permission to delegate scanning. Campaign-restricted keys are refused. Current form ownership and canonical scalar link identities are independently admitted; a capability additionally needs a qualified unique native secret and unique native id across organisations. No unrequested send, recipient creation, ticket issuance or scan occurs from this API call. Opening/using the existing volunteer page can invoke the native scanner's reconciliation and entry workflow. Requires tickets:read plus forms:read and forms_submit:read. Returns only metadata, temporal lifecycle and the delegation catalogue revision; never URLs, secrets, creator names or contact coordinates. Reads all stored links up to 1000, then paginates by id with default limit 50, maximum 200. totalStored counts this admitted read, not a transactional snapshot. Preserve the target/limit with nextCursor. Expiry/revocation dates can be unknown. This does not call native listLinks, create indexes or touch usage timestamps.

### אימות

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

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

```json
{
  "accepted": "tickets:read",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "limit",
  "in": "query",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  },
  "description": "Page size, from 1 to 200. Keep it unchanged when continuing a cursor."
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "schema": {
    "type": "string",
    "maxLength": 300
  },
  "description": "Previous nextCursor for the same organisation, form/submission and page size. Live offset pagination is not a snapshot: concurrent changes can cause omissions or repeats. Never treat a page count as the complete ticket count."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded delegation result; no creation or delivery is implied by a metadata read.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketDelegationPage"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

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

## POST /forms/{formId}/ticket-access-links

Grant a temporary volunteer scanner link

`create_ticket_access_link`

A volunteer scanner delegation grants access to exactly one form through an expiring public bearer URL, without creating an internal account. The native public role sees names and ticket-control information, not payment amounts or contact email/phone. The secret is never an ordinary read field. Permission to read registrations/tickets does not grant permission to delegate scanning. Campaign-restricted keys are refused. Current form ownership and canonical scalar link identities are independently admitted; a capability additionally needs a qualified unique native secret and unique native id across organisations. No unrequested send, recipient creation, ticket issuance or scan occurs from this API call. Opening/using the existing volunteer page can invoke the native scanner's reconciliation and entry workflow. Requires tickets:delegate, tickets:read, forms:read and forms_submit:read and explicit authority to grant this team access. Supply a fresh delegation catalogue expectedRevision, stable idempotencyKey, nonempty label and explicit integer hours (1 to 720). The native owner creates the secret and expiry. Current unknown history or 50 active links refuse admission; API grants are serialised per form but internal application writers remain independent. A confirmed replay does not create another link and reflects its current availability. LIMIT_REACHED confirms that no grant was created by that native result. PENDING/UNCERTAIN never replay the owner; an uncertain creation keeps the grant guard even with another key. Read the delegation command status and seek owner review, never create a substitute grant to bypass uncertainty. The returned URL is itself a scanner credential; share only with the requested team. If an acknowledged creation's optional readback fails, the command remains SUCCEEDED with null link and READBACK_UNAVAILABLE rather than suggesting another creation.

### אימות

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

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

```json
{
  "accepted": "tickets:delegate",
  "additional": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

### גוף הבקשה

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

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded delegation result; no creation or delivery is implied by a metadata read.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketDelegationCommandResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "tickets:delegate",
  "x-unisoft-additional-scopes": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "action",
    "readOnly": false,
    "destructive": true,
    "idempotent": true,
    "warn": true
  }
}
```

## GET /forms/{formId}/ticket-access-links/{linkId}/access

Read an authorised volunteer scanner capability

`get_ticket_access_link`

A volunteer scanner delegation grants access to exactly one form through an expiring public bearer URL, without creating an internal account. The native public role sees names and ticket-control information, not payment amounts or contact email/phone. The secret is never an ordinary read field. Permission to read registrations/tickets does not grant permission to delegate scanning. Campaign-restricted keys are refused. Current form ownership and canonical scalar link identities are independently admitted; a capability additionally needs a qualified unique native secret and unique native id across organisations. No unrequested send, recipient creation, ticket issuance or scan occurs from this API call. Opening/using the existing volunteer page can invoke the native scanner's reconciliation and entry workflow. Requires tickets:delegate plus both form/submission reads. This explicit capability read is distinct from listing metadata. A revoked, expired, unknown or unqualified link returns no URL with its precise reason. A URL is the real bearer credential, not proof that a volunteer opened it. No secret is rotated or issued, expiry extended, index created or usage touched. All query parameters and bodies are refused.

### אימות

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

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

```json
{
  "accepted": "tickets:delegate",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "linkId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded delegation result; no creation or delivery is implied by a metadata read.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketDelegationAccessResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "tickets:delegate",
  "x-unisoft-additional-scopes": [
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms/{formId}/ticket-access-links/{linkId}/revoke

Revoke a temporary volunteer scanner link

`revoke_ticket_access_link`

A volunteer scanner delegation grants access to exactly one form through an expiring public bearer URL, without creating an internal account. The native public role sees names and ticket-control information, not payment amounts or contact email/phone. The secret is never an ordinary read field. Permission to read registrations/tickets does not grant permission to delegate scanning. Campaign-restricted keys are refused. Current form ownership and canonical scalar link identities are independently admitted; a capability additionally needs a qualified unique native secret and unique native id across organisations. No unrequested send, recipient creation, ticket issuance or scan occurs from this API call. Opening/using the existing volunteer page can invoke the native scanner's reconciliation and entry workflow. Requires tickets:delegate, tickets:read and both form/submission reads. Use the current delegation catalogue expectedRevision and stable idempotencyKey. The native owner conditionally records revocation; REVOKED_CONFIRMED means the stored revocation was confirmed, not that a previous physical entry was undone. Replays never re-invoke a pending/uncertain native action. Revocation is guarded per link and remains possible while an unrelated creation is uncertain. No new link, credential or expiry extension is created, and the revocation response never includes a scanner URL. Inspect the command-status read after an uncertain result; no stale guard takeover is allowed.

### אימות

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

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

```json
{
  "accepted": "tickets:delegate",
  "additional": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "linkId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

### גוף הבקשה

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^tdrev_[a-f0-9]{64}$",
            "description": "Exact delegation-catalogue revision from the last list_ticket_access_links call for this form; do not use a ticket's trev revision."
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,128}$",
            "description": "Caller-owned retry key, 8 to 128 ASCII letters/digits/underscore/hyphen, unique within the organisation. Reuse it with the exact same operation, target and revision. Never put personal data, a secret or the QR value in this key."
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey"
        ],
        "additionalProperties": false
      }
    }
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded delegation result; no creation or delivery is implied by a metadata read.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketDelegationCommandResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-scope": "tickets:delegate",
  "x-unisoft-additional-scopes": [
    "tickets:read",
    "forms:read",
    "forms_submit:read"
  ],
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-mcp": {
    "category": "action",
    "readOnly": false,
    "destructive": true,
    "idempotent": true,
    "warn": true
  }
}
```

## GET /forms/{formId}/ticket-access-links/commands/{idempotencyKey}

Read a volunteer-delegation command status

`get_ticket_access_link_command`

Requires tickets:read plus forms:read and forms_submit:read for the current form. Read the existing delegation command using the same idempotencyKey after a lost result. SUCCEEDED exposes only a persisted projected outcome/link id; PENDING or UNCERTAIN never prove absence of effect. No scanner secret or URL is returned under this read scope. This operation never creates, revokes, retries, reconciles, clears a guard, creates an index or touches native usage. Use the explicitly authorised capability read to retrieve an existing confirmed link; do not create a replacement after uncertainty.

### אימות

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

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

```json
{
  "accepted": "tickets:read",
  "additional": [
    "forms:read",
    "forms_submit:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "formId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
    "format": "uuid"
  },
  "description": "Existing canonical UUID v4 returned by an authorised resource read. Never generate a new UUID to locate an existing resource."
}
```

```json
{
  "name": "idempotencyKey",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "pattern": "^[A-Za-z0-9_-]{8,128}$",
    "description": "Caller-owned retry key, 8 to 128 ASCII letters/digits/underscore/hyphen, unique within the organisation. Reuse it with the exact same operation, target and revision. Never put personal data, a secret or the QR value in this key."
  }
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Qualified recorded delegation result; no creation or delivery is implied by a metadata read.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/EventTicketDelegationStatusResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "Fixed error code; no private ticket token, scan code, path or exception text is returned.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms/{id}/duplication-preview

Inspect the supported form duplication snapshot

`preview_form_duplication`

Required scope: `forms:read`. Read-only admission of the source form definition and its products in the connected organisation. Campaign-restricted keys are refused. Supports the native simple-editor authoring subset only: payment/validation settings, descriptions, identity, category labels, stock settings, global questions and product labels/titles/prices/questions. Product montant and deposit are major currency units and are copied unchanged; no currency conversion or charge occurs. At most 200 products. Calendars, product category/seat documents, advanced fields, templates/event links, multilingual overrides, non-MAIN accounting associations and unsupported modules return supported:false, FORM_DUPLICATION_CONFIGURATION_UNSUPPORTED and expectedRevision:null; no partial silent duplicate is allowed. Header media/content, private links and source URL are explicitly excluded, as are registrations, payments and history. supported:true supplies expectedRevision for duplicate_form; it is the selected admitted snapshot hash, not a lock or promise that later edits are impossible. No source configuration, product id or secret is returned. No mutation, provider, cache write, registration, message or payment is performed. No query parameters or HTTP body are accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Source form definition UUID in the connected organisation; not a registration, product, payment or template id."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted form duplication snapshot or recorded outcome.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormResourceDuplicationPreviewResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_UUID, INVALID_FORM_DUPLICATION_INPUT, UNKNOWN_QUERY_PARAMETER or UNEXPECTED_REQUEST_BODY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Missing or invalid authentication.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE, INVALID_ORGANISATION_CONTEXT or CAMPAIGN_RESTRICTED_KEY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND or FORM_DUPLICATION_REQUEST_NOT_FOUND.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "FORM_REVISION_CONFLICT, FORM_DUPLICATION_CONFIGURATION_UNSUPPORTED, FORM_URL_ALREADY_EXISTS, IDEMPOTENCY_KEY_CONFLICT, INVALID_FORM_HISTORY, INVALID_PRODUCT_HISTORY or INVALID_FORM_DUPLICATION_HISTORY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "FORM_RESOURCE_UNAVAILABLE. No automatic write retry is authorised.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## POST /forms/{id}/duplicate

Duplicate the supported form configuration and products

`duplicate_form`

Required scopes: `forms:write` AND `forms:read`. First call preview_form_duplication and require supported:true and its nonnull expectedRevision. Creates one independent form using the native saveForm/transpilation owner from an allowlisted admitted snapshot, with freshly generated form/product/module ids. Copies supported simple-editor questions, product prices/stock/category labels and payment/validation settings; amounts remain in their recorded major currency units. The title is required; the source URL is never reused. Optional url is a new slug checked for current use, without a reservation against concurrent internal writers. Source active:false remains false; absent activity uses the native default true. Header image/content references, email/embed links, private links, registrations, payments, history, calendars, seat categories and advanced configuration are never copied. Unsupported configuration returns 409 rather than making a partial copy. expectedRevision is checked against the selected snapshot admitted for this call; internal writers are not globally locked and the native owner receives that snapshot, not a later source reread. idempotencyKey binds organisation, current API key and exact intention. Unchanged repeats return the recorded completion or PENDING/UNCERTAIN and never call the creation owner again; changed input with the same key returns 409 IDEMPOTENCY_KEY_CONFLICT. success:true acknowledges evaluation or journal reading only. Only state:COMPLETED acknowledges native creation, never a registration, payment or full advanced clone. id may be null if the acknowledged owner did not return a valid id. No accessory read is required. journal:UNAVAILABLE does not undo acknowledged creation; preserve its id and requestId. If state is PENDING/UNCERTAIN (even with success:true), or if a response is lost, inspect get_form_duplication_request with the same source id and requestId; if requestId was lost, resending the exact same key/input reads the journal and cannot force another execution. Do not automatically retry with a new key or imitate duplication through repeated create_form calls. No query parameters are accepted.

### אימות

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

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

```json
{
  "accepted": "forms:write",
  "additional": [
    "forms:read"
  ]
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Source form definition UUID in the connected organisation; not a registration, product, payment or template id."
}
```

### גוף הבקשה

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

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted form duplication snapshot or recorded outcome.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormResourceDuplicationResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_UUID, INVALID_FORM_DUPLICATION_INPUT, UNKNOWN_QUERY_PARAMETER or UNEXPECTED_REQUEST_BODY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Missing or invalid authentication.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE, INVALID_ORGANISATION_CONTEXT or CAMPAIGN_RESTRICTED_KEY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND or FORM_DUPLICATION_REQUEST_NOT_FOUND.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "FORM_REVISION_CONFLICT, FORM_DUPLICATION_CONFIGURATION_UNSUPPORTED, FORM_URL_ALREADY_EXISTS, IDEMPOTENCY_KEY_CONFLICT, INVALID_FORM_HISTORY, INVALID_PRODUCT_HISTORY or INVALID_FORM_DUPLICATION_HISTORY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "FORM_RESOURCE_UNAVAILABLE. No automatic write retry is authorised.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### OpenAPI

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

## GET /forms/{id}/duplication-requests/{requestId}

Read a form duplication request outcome

`get_form_duplication_request`

Required scope: `forms:read`. Reads only the duplication journal bound to this organisation, current API key, source form UUID and returned requestId UUID. Campaign-restricted keys are refused. This is a recorded creation acknowledgement, not the current form configuration or proof of payment/registration. COMPLETED returns the acknowledged new form id or null if the owner omitted it. PENDING and UNCERTAIN are unresolved outcomes, never evidence of no created form; stop and retain the original request identity. This read never calls saveForm, repairs a journal, reads a provider or creates another form. journal:UNAVAILABLE on the original creation response still means creation was acknowledged. A missing request is not permission to use a new key. No query parameters or HTTP body are accepted.

### אימות

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

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

```json
{
  "accepted": "forms:read",
  "additional": []
}
```

### פרמטרים

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Source form definition UUID in the connected organisation; not a registration, product, payment or template id."
}
```

```json
{
  "name": "requestId",
  "in": "path",
  "required": true,
  "schema": {
    "type": "string",
    "format": "uuid"
  },
  "description": "Original duplication request UUID, distinct from the newly created form id."
}
```

### תגובות

#### HTTP 200

```json
{
  "description": "Admitted form duplication snapshot or recorded outcome.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/FormResourceDuplicationResult"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_UUID, INVALID_FORM_DUPLICATION_INPUT, UNKNOWN_QUERY_PARAMETER or UNEXPECTED_REQUEST_BODY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 401

```json
{
  "description": "Missing or invalid authentication.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE, INVALID_ORGANISATION_CONTEXT or CAMPAIGN_RESTRICTED_KEY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND or FORM_DUPLICATION_REQUEST_NOT_FOUND.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "FORM_REVISION_CONFLICT, FORM_DUPLICATION_CONFIGURATION_UNSUPPORTED, FORM_URL_ALREADY_EXISTS, IDEMPOTENCY_KEY_CONFLICT, INVALID_FORM_HISTORY, INVALID_PRODUCT_HISTORY or INVALID_FORM_DUPLICATION_HISTORY.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "FORM_RESOURCE_UNAVAILABLE. No automatic write retry is authorised.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### OpenAPI

```json
{
  "x-unisoft-mcp-output-schema": true,
  "x-unisoft-scope": "forms:read",
  "x-unisoft-mcp": {
    "category": "read",
    "readOnly": true,
    "destructive": false,
    "idempotent": true,
    "warn": false
  }
}
```

## סכמות

```json
{
  "components": {
    "schemas": {
      "FormDefinition": {
        "type": "object",
        "description": "Public-facing definition of a form (products, calendars, transpiled HTML).",
        "properties": {
          "id": {
            "type": "string"
          },
          "organisation": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "SIMPLE",
              "COMPLEX"
            ]
          },
          "title": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "withPaiement": {
            "type": "boolean"
          },
          "autoValid": {
            "type": "boolean"
          },
          "requirePaiementValidation": {
            "type": "boolean"
          },
          "content": {
            "type": "string",
            "description": "Transpiled HTML when type=SIMPLE."
          },
          "afficheUrl": {
            "type": "string",
            "description": "Absolute URL of the poster/cover image shown atop the form (present when set)."
          },
          "aiContentBlockId": {
            "type": "string",
            "description": "Id of the AI content block rendered as a rich banner at the top of the form (present when set)."
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormProduct"
            }
          },
          "calendars": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "expired": {
            "type": "boolean",
            "description": "True if the linked PE session is no longer active."
          }
        }
      },
      "FormProduct": {
        "type": "object",
        "description": "A product line of a COMPLEX form (purchase item).",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "montant": {
            "type": "number",
            "description": "Unit amount in major units (e.g. euros)"
          },
          "cerfa": {
            "type": "boolean"
          },
          "simple_stock": {
            "type": "integer",
            "nullable": true
          },
          "activeReducedPrice": {
            "type": "boolean"
          },
          "reducedPercent": {
            "type": "number",
            "nullable": true
          },
          "reducedExpireAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "position": {
            "type": "integer"
          }
        }
      },
      "Pagination": {
        "type": "object",
        "properties": {
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "count": {
            "type": "integer"
          }
        }
      },
      "UnisoftRequest_6343b8981a644fab0f5d": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Public form title (required)."
          },
          "url": {
            "type": "string",
            "description": "Public slug (lowercase, no accents, spaces→\"-\"). Optional."
          },
          "description": {
            "type": "string",
            "description": "Internal description (admin only)."
          },
          "afficheUrl": {
            "type": "string",
            "description": "Poster/cover image URL or hosted filename shown at the top of the form. Adds WhatsApp share metadata. Send \"\" to remove it. Coexists with aiContentBlockId (both may be set)."
          },
          "aiContentBlockId": {
            "type": "string",
            "nullable": true,
            "description": "Id of an AI content block (ai_content_blocks) rendered as a rich HTML banner at the very top of the form, above the identity fields. Optional — omit to leave unchanged, send \"\"/null to remove. Independent from afficheUrl (the poster image): a form may show both."
          },
          "autoValid": {
            "type": "boolean",
            "description": "true = submissions auto-validated; false = manual validation."
          },
          "withPaiement": {
            "type": "boolean",
            "description": "Enable online payment. When false, all payment fields below are ignored."
          },
          "paiementType": {
            "type": "string",
            "enum": [
              "PAIEMENT",
              "ABONNEMENT",
              "MONTHLY"
            ],
            "description": "Billing model: PAIEMENT=one-off; ABONNEMENT=limited instalments; MONTHLY=recurring monthly. Requires withPaiement=true."
          },
          "onePaiement": {
            "type": "boolean",
            "description": "Force a single payment (no deposit). Only with paiementType=PAIEMENT."
          },
          "deposit": {
            "type": "number",
            "description": "Fixed deposit amount. paiementType=PAIEMENT and onePaiement=false."
          },
          "depositPercent": {
            "type": "number",
            "description": "Deposit as a percentage (0-100). Same dependency as `deposit`."
          },
          "abonnementMaxMonth": {
            "type": "integer",
            "description": "Max number of instalments (≥2). paiementType=ABONNEMENT."
          },
          "aboMonthInfinite": {
            "type": "boolean",
            "description": "Subscription with no end. paiementType=MONTHLY."
          },
          "aboMonthMin": {
            "type": "integer",
            "description": "Min subscription months (≥1). MONTHLY + aboMonthInfinite=false."
          },
          "aboMonthMax": {
            "type": "integer",
            "description": "Max subscription months (≥ aboMonthMin). MONTHLY + aboMonthInfinite=false."
          },
          "paiementMethods": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternative manual methods, e.g. [\"CHEQUE\",\"VIREMENT\",\"ESPECES\"]."
          },
          "requirePaiementValidation": {
            "type": "boolean",
            "description": "Validation conditioned on online payment. Requires withPaiement=true."
          },
          "autoValidOtherPaiementMethod": {
            "type": "boolean",
            "description": "Auto-validate alternative-method payments. Requires requirePaiementValidation=true."
          },
          "allowZeroAmount": {
            "type": "boolean",
            "description": "Allow a submission whose total is 0."
          },
          "identity": {
            "type": "string",
            "enum": [
              "NONE",
              "SIMPLE",
              "FULL"
            ],
            "description": "Contact identification level. SIMPLE = full name + email + phone."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "CRM categories auto-applied to every contact who submits."
          },
          "globalStock": {
            "type": "integer",
            "nullable": true,
            "description": "Shared stock that overrides per-product stocks."
          },
          "allowNoProduct": {
            "type": "boolean",
            "description": "Allow submitting without selecting any product."
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_b57646707cc7b35df354"
            },
            "description": "Buyable items. Use distinct products for distinct prices."
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_c0312059004e3f6dbc76"
            },
            "description": "Global custom fields (once per submission)."
          }
        },
        "required": [
          "title"
        ],
        "additionalProperties": false,
        "description": "Editor business object of a form DEFINITION — the shape you send to create or edit a form, and the shape returned by GET /forms/{id}/edit. A form is a flexible transactional engine: a submission may be a ticketing order, a multi-product purchase, a family registration, a donation, etc. Distinguish the PAYER (who submits) from BENEFICIARIES (via product additionalFields). On a partial PATCH, omit `products`/`additionalFields` to leave them as-is; send them to replace the whole set."
      },
      "UnisoftRequest_b57646707cc7b35df354": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Product id (omit on create; matched by id or label on edit)."
          },
          "label": {
            "type": "string",
            "description": "Internal unique label within the form."
          },
          "title": {
            "type": "string",
            "description": "Public title shown to the buyer."
          },
          "description": {
            "type": "string",
            "description": "Internal description (admin only)."
          },
          "montant": {
            "type": "number",
            "description": "Unit price in MAJOR units (e.g. euros). 0 = free. Interpreted monthly when paiementType=MONTHLY."
          },
          "cerfa": {
            "type": "boolean",
            "description": "Whether this product is eligible for a tax receipt."
          },
          "active": {
            "type": "boolean",
            "description": "Whether the product is active (default true)."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "CRM categories applied to the contact ONLY when this product is selected."
          },
          "simple_stock": {
            "type": "integer",
            "description": "Per-product stock limit. Ignored when globalStock is set."
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_f43e0091aabb1c1449a5"
            },
            "description": "Per-unit fields, repeated for each quantity bought."
          }
        },
        "required": [
          "label",
          "title",
          "montant"
        ],
        "additionalProperties": false,
        "description": "A product line of a form (a buyable item/ticket/option). PRICE VARIATION IS DONE ONLY VIA DISTINCT PRODUCTS — never via tariff options on a single product."
      },
      "UnisoftRequest_f43e0091aabb1c1449a5": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "CONTACT-INPUT",
              "FREE-AMOUNT-INPUT",
              "CHILD-INPUT",
              "HAZKARA-INPUT",
              "BLOCK-FORM",
              "IDENTITY",
              "CALENDARS",
              "PRODUCTS"
            ],
            "description": "Field kind. TEXT-INPUT=free single-line text; TEXTAREA-INPUT=free multi-line text (optional `height` in px); SELECT-INPUT=dropdown (needs `values`); CHECKBOX-INPUT=yes/no; DOCS-INPUT=file upload (needs `doctype`); DATE-INPUT=date/time picker (optional `picker`/`dateFilter`/`range`/`defaultNow`, defaults to a plain date); TITLE=visual separator (no data; uses `__title_tag`+`__text`); CONTACT-INPUT=secondary CRM contact (name+email+phone); FREE-AMOUNT-INPUT=donor-chosen amount (GLOBAL only, requires withPaiement=true, never inside a product)."
          },
          "required": {
            "type": "boolean",
            "description": "Whether the field is mandatory."
          },
          "__label": {
            "type": "string",
            "description": "Visible label of the field."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Options for SELECT-INPUT (required for that type)."
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ],
            "description": "Allowed upload kind for DOCS-INPUT."
          },
          "height": {
            "type": "integer",
            "description": "TEXTAREA-INPUT only: fixed height of the text area in pixels (optional)."
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ],
            "description": "DATE-INPUT only: granularity. Omit for a plain day date (DD/MM/YYYY). \"Date & Heure\"=date+time; \"Uniquement les Années\"=year; \"Uniquement les Mois\"=month; \"Uniquement l'heure\"=time."
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ],
            "description": "DATE-INPUT only: restrict selectable dates relative to today (optional)."
          },
          "range": {
            "type": "boolean",
            "description": "DATE-INPUT only: pick a start→end range instead of a single value (optional)."
          },
          "defaultNow": {
            "type": "boolean",
            "description": "DATE-INPUT only: pre-fill with the current date/time (optional)."
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ],
            "description": "Heading level for TITLE."
          },
          "__text": {
            "type": "string",
            "description": "Heading text for TITLE."
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000,
            "description": "Existing effective answer key of this form field, scoped to its global form or product. Preserve it when renaming a question; omit it for a new question. Unknown, foreign, duplicate or unsafe keys are refused. A read editor object can contain additional read-only metadata."
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_e68ae70af0a96be23084"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false,
        "description": "A dynamic field added to a form (or to a product). Two scopes: GLOBAL fields (at the form root) appear once per submission; PRODUCT fields (inside a product) repeat per purchased unit. Only collect per-unit info as a product field; everything about the whole order is a global field."
      },
      "UnisoftRequest_e68ae70af0a96be23084": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "BLOCK-FORM",
              "CONTACT-DDN",
              "CONTACT-SOCIAL-ID"
            ],
            "description": "Field kind. TEXT-INPUT=free single-line text; TEXTAREA-INPUT=free multi-line text (optional `height` in px); SELECT-INPUT=dropdown (needs `values`); CHECKBOX-INPUT=yes/no; DOCS-INPUT=file upload (needs `doctype`); DATE-INPUT=date/time picker (optional `picker`/`dateFilter`/`range`/`defaultNow`, defaults to a plain date); TITLE=visual separator (no data; uses `__title_tag`+`__text`); CONTACT-INPUT=secondary CRM contact (name+email+phone); FREE-AMOUNT-INPUT=donor-chosen amount (GLOBAL only, requires withPaiement=true, never inside a product)."
          },
          "required": {
            "type": "boolean",
            "description": "Whether the field is mandatory."
          },
          "__label": {
            "type": "string",
            "description": "Visible label of the field."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Options for SELECT-INPUT (required for that type)."
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ],
            "description": "Allowed upload kind for DOCS-INPUT."
          },
          "height": {
            "type": "integer",
            "description": "TEXTAREA-INPUT only: fixed height of the text area in pixels (optional)."
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ],
            "description": "DATE-INPUT only: granularity. Omit for a plain day date (DD/MM/YYYY). \"Date & Heure\"=date+time; \"Uniquement les Années\"=year; \"Uniquement les Mois\"=month; \"Uniquement l'heure\"=time."
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ],
            "description": "DATE-INPUT only: restrict selectable dates relative to today (optional)."
          },
          "range": {
            "type": "boolean",
            "description": "DATE-INPUT only: pick a start→end range instead of a single value (optional)."
          },
          "defaultNow": {
            "type": "boolean",
            "description": "DATE-INPUT only: pre-fill with the current date/time (optional)."
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ],
            "description": "Heading level for TITLE."
          },
          "__text": {
            "type": "string",
            "description": "Heading text for TITLE."
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000,
            "description": "Existing effective answer key of this form field, scoped to its global form or product. Preserve it when renaming a question; omit it for a new question. Unknown, foreign, duplicate or unsafe keys are refused. A read editor object can contain additional read-only metadata."
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false,
        "description": "A dynamic field added to a form (or to a product). Two scopes: GLOBAL fields (at the form root) appear once per submission; PRODUCT fields (inside a product) repeat per purchased unit. Only collect per-unit info as a product field; everything about the whole order is a global field."
      },
      "UnisoftRequest_c0312059004e3f6dbc76": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/UnisoftRequest_0a9d59cdf9693717051d"
          },
          "required": {
            "type": "boolean",
            "description": "Whether the field is mandatory."
          },
          "__label": {
            "type": "string",
            "description": "Visible label of the field."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Options for SELECT-INPUT (required for that type)."
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ],
            "description": "Allowed upload kind for DOCS-INPUT."
          },
          "height": {
            "type": "integer",
            "description": "TEXTAREA-INPUT only: fixed height of the text area in pixels (optional)."
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ],
            "description": "DATE-INPUT only: granularity. Omit for a plain day date (DD/MM/YYYY). \"Date & Heure\"=date+time; \"Uniquement les Années\"=year; \"Uniquement les Mois\"=month; \"Uniquement l'heure\"=time."
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ],
            "description": "DATE-INPUT only: restrict selectable dates relative to today (optional)."
          },
          "range": {
            "type": "boolean",
            "description": "DATE-INPUT only: pick a start→end range instead of a single value (optional)."
          },
          "defaultNow": {
            "type": "boolean",
            "description": "DATE-INPUT only: pre-fill with the current date/time (optional)."
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ],
            "description": "Heading level for TITLE."
          },
          "__text": {
            "type": "string",
            "description": "Heading text for TITLE."
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000,
            "description": "Existing effective answer key of this form field, scoped to its global form or product. Preserve it when renaming a question; omit it for a new question. Unknown, foreign, duplicate or unsafe keys are refused. A read editor object can contain additional read-only metadata."
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_e68ae70af0a96be23084"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false,
        "description": "A dynamic field added to a form (or to a product). Two scopes: GLOBAL fields (at the form root) appear once per submission; PRODUCT fields (inside a product) repeat per purchased unit. Only collect per-unit info as a product field; everything about the whole order is a global field."
      },
      "UnisoftRequest_0a9d59cdf9693717051d": {
        "type": "string",
        "enum": [
          "TEXT-INPUT",
          "TEXTAREA-INPUT",
          "SELECT-INPUT",
          "CHECKBOX-INPUT",
          "DOCS-INPUT",
          "DATE-INPUT",
          "TITLE",
          "CONTACT-INPUT",
          "FREE-AMOUNT-INPUT",
          "CHILD-INPUT",
          "HAZKARA-INPUT",
          "BLOCK-FORM",
          "IDENTITY",
          "CALENDARS",
          "PRODUCTS",
          "NEWSLETTER"
        ],
        "description": "Field kind. TEXT-INPUT=free single-line text; TEXTAREA-INPUT=free multi-line text (optional `height` in px); SELECT-INPUT=dropdown (needs `values`); CHECKBOX-INPUT=yes/no; DOCS-INPUT=file upload (needs `doctype`); DATE-INPUT=date/time picker (optional `picker`/`dateFilter`/`range`/`defaultNow`, defaults to a plain date); TITLE=visual separator (no data; uses `__title_tag`+`__text`); CONTACT-INPUT=secondary CRM contact (name+email+phone); FREE-AMOUNT-INPUT=donor-chosen amount (GLOBAL only, requires withPaiement=true, never inside a product). NEWSLETTER is an optional unchecked opt-in for all contacts in the submission. Use once at the form root only. Set __label to customise the checkbox text, or omit it for the default. No required flag or fieldKey."
      },
      "FormWriteAcknowledgement": {
        "type": "object",
        "required": [
          "success",
          "id",
          "data",
          "readback"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "data": {
            "type": "object",
            "nullable": true,
            "description": "Editor object when readback is available. It can contain read-only metadata; build subsequent edits from the request schema."
          },
          "readback": {
            "type": "object",
            "required": [
              "status"
            ],
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "AVAILABLE",
                  "UNAVAILABLE"
                ]
              },
              "reason": {
                "type": "string",
                "enum": [
                  "FORM_READBACK_UNAVAILABLE",
                  "FORM_WRITE_ID_UNAVAILABLE"
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "FormSubmissionSchemaInspection": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "contexts": {
                "type": "array",
                "minItems": 1,
                "maxItems": 2,
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "mode": {
                          "type": "string",
                          "enum": [
                            "PUBLIC",
                            "MANUAL"
                          ]
                        },
                        "lang": {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 35,
                          "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
                        },
                        "devise": {
                          "type": "string",
                          "minLength": 3,
                          "maxLength": 3,
                          "pattern": "^[a-z]{3}$"
                        },
                        "device": {
                          "type": "string",
                          "enum": [
                            "DESKTOP",
                            "MOBILE"
                          ]
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "READY"
                          ]
                        },
                        "diagnostics": {
                          "type": "array",
                          "maxItems": 100,
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "code": {
                                "type": "string",
                                "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "code"
                            ]
                          }
                        },
                        "rules": {
                          "$ref": "#/components/schemas/FormSubmissionSchemaRules"
                        }
                      },
                      "required": [
                        "mode",
                        "lang",
                        "devise",
                        "device",
                        "status",
                        "diagnostics",
                        "rules"
                      ]
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "mode": {
                          "type": "string",
                          "enum": [
                            "PUBLIC",
                            "MANUAL"
                          ]
                        },
                        "lang": {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 35,
                          "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
                        },
                        "devise": {
                          "type": "string",
                          "minLength": 3,
                          "maxLength": 3,
                          "pattern": "^[a-z]{3}$"
                        },
                        "device": {
                          "type": "string",
                          "enum": [
                            "DESKTOP",
                            "MOBILE"
                          ]
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "UNSUPPORTED"
                          ]
                        },
                        "diagnostics": {
                          "type": "array",
                          "maxItems": 100,
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "code": {
                                "type": "string",
                                "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "code"
                            ]
                          }
                        },
                        "rules": {
                          "type": "string",
                          "nullable": true,
                          "enum": [
                            null
                          ]
                        }
                      },
                      "required": [
                        "mode",
                        "lang",
                        "devise",
                        "device",
                        "status",
                        "diagnostics",
                        "rules"
                      ]
                    }
                  ]
                },
                "not": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "PUBLIC",
                          "MANUAL"
                        ]
                      },
                      "lang": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 35,
                        "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
                      },
                      "devise": {
                        "type": "string",
                        "minLength": 3,
                        "maxLength": 3,
                        "pattern": "^[a-z]{3}$"
                      },
                      "device": {
                        "type": "string",
                        "enum": [
                          "DESKTOP",
                          "MOBILE"
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "UNSUPPORTED"
                        ]
                      },
                      "diagnostics": {
                        "type": "array",
                        "maxItems": 100,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "code": {
                              "type": "string",
                              "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
                              "maxLength": 128
                            }
                          },
                          "required": [
                            "code"
                          ]
                        }
                      },
                      "rules": {
                        "type": "string",
                        "nullable": true,
                        "enum": [
                          null
                        ]
                      }
                    },
                    "required": [
                      "mode",
                      "lang",
                      "devise",
                      "device",
                      "status",
                      "diagnostics",
                      "rules"
                    ]
                  }
                }
              },
              "diagnostics": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "string",
                      "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
                      "maxLength": 128
                    }
                  },
                  "required": [
                    "code"
                  ]
                }
              },
              "checks": {
                "type": "array",
                "minItems": 6,
                "maxItems": 6,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "JSON_SCHEMA",
                    "PURE_SEMANTICS",
                    "NATIVE_AUTHORIZATION",
                    "NATIVE_CRM",
                    "NATIVE_CAPACITY",
                    "NATIVE_FINANCIAL"
                  ]
                }
              },
              "limitations": {
                "type": "array",
                "minItems": 5,
                "maxItems": 5,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "PURE_SEMANTICS_REQUIRED",
                    "NATIVE_AUTHORIZATION_REQUIRED",
                    "NATIVE_CRM_CHECKS_REQUIRED",
                    "NATIVE_CAPACITY_NOT_RESERVED",
                    "NATIVE_FINANCIAL_CHECKS_REQUIRED"
                  ]
                }
              },
              "status": {
                "type": "string",
                "enum": [
                  "READY"
                ]
              },
              "schema": {
                "$ref": "#/components/schemas/FormSubmissionSchemaGraph"
              }
            },
            "required": [
              "formId",
              "contexts",
              "diagnostics",
              "checks",
              "limitations",
              "status",
              "schema"
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "contexts": {
                "type": "array",
                "minItems": 1,
                "maxItems": 2,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "mode": {
                      "type": "string",
                      "enum": [
                        "PUBLIC",
                        "MANUAL"
                      ]
                    },
                    "lang": {
                      "type": "string",
                      "minLength": 2,
                      "maxLength": 35,
                      "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
                    },
                    "devise": {
                      "type": "string",
                      "minLength": 3,
                      "maxLength": 3,
                      "pattern": "^[a-z]{3}$"
                    },
                    "device": {
                      "type": "string",
                      "enum": [
                        "DESKTOP",
                        "MOBILE"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "UNSUPPORTED"
                      ]
                    },
                    "diagnostics": {
                      "type": "array",
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "code": {
                            "type": "string",
                            "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
                            "maxLength": 128
                          }
                        },
                        "required": [
                          "code"
                        ]
                      }
                    },
                    "rules": {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ]
                    }
                  },
                  "required": [
                    "mode",
                    "lang",
                    "devise",
                    "device",
                    "status",
                    "diagnostics",
                    "rules"
                  ]
                }
              },
              "diagnostics": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "string",
                      "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
                      "maxLength": 128
                    }
                  },
                  "required": [
                    "code"
                  ]
                }
              },
              "checks": {
                "type": "array",
                "minItems": 6,
                "maxItems": 6,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "JSON_SCHEMA",
                    "PURE_SEMANTICS",
                    "NATIVE_AUTHORIZATION",
                    "NATIVE_CRM",
                    "NATIVE_CAPACITY",
                    "NATIVE_FINANCIAL"
                  ]
                }
              },
              "limitations": {
                "type": "array",
                "minItems": 5,
                "maxItems": 5,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "PURE_SEMANTICS_REQUIRED",
                    "NATIVE_AUTHORIZATION_REQUIRED",
                    "NATIVE_CRM_CHECKS_REQUIRED",
                    "NATIVE_CAPACITY_NOT_RESERVED",
                    "NATIVE_FINANCIAL_CHECKS_REQUIRED"
                  ]
                }
              },
              "status": {
                "type": "string",
                "enum": [
                  "UNSUPPORTED"
                ]
              },
              "schema": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              }
            },
            "required": [
              "formId",
              "contexts",
              "diagnostics",
              "checks",
              "limitations",
              "status",
              "schema"
            ]
          }
        ]
      },
      "FormSubmissionSchemaRules": {
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "enum": [
              1
            ]
          },
          "pathPolicy": {
            "type": "string",
            "enum": [
              "LITERAL_SEGMENTS_ZERO_BASED_PRODUCT_INDEX"
            ]
          },
          "visibilityPolicy": {
            "type": "string",
            "enum": [
              "ANY_ALTERNATIVE_ALL_GUARDS"
            ]
          },
          "requiredPolicy": {
            "type": "object",
            "properties": {
              "emptyValues": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ABSENT",
                    "NULL",
                    "EMPTY_STRING",
                    "EMPTY_ARRAY"
                  ]
                },
                "maxItems": 4,
                "minItems": 4
              },
              "whitespace": {
                "type": "string",
                "enum": [
                  "PRESERVED_VALID"
                ]
              },
              "checkbox": {
                "type": "string",
                "enum": [
                  "MUST_BE_TRUE"
                ]
              }
            },
            "required": [
              "emptyValues",
              "whitespace",
              "checkbox"
            ],
            "additionalProperties": false
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024
                      },
                      {
                        "type": "object",
                        "properties": {
                          "indexOf": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9_-]{1,128}$",
                            "maxLength": 128
                          }
                        },
                        "required": [
                          "indexOf"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "requiredWhenVisible": {
                  "type": "boolean"
                },
                "visibilityAlternatives": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "hidden"
                              ]
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "condition"
                              ]
                            },
                            "id": {
                              "type": "string",
                              "pattern": "^c[0-9]{1,4}$",
                              "maxLength": 5
                            }
                          },
                          "required": [
                            "kind",
                            "id"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "occurrence"
                              ]
                            },
                            "productId": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{1,128}$",
                              "maxLength": 128
                            },
                            "after": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "kind",
                            "productId",
                            "after"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "country"
                              ]
                            },
                            "path": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1024
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "indexOf": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                        "maxLength": 128
                                      }
                                    },
                                    "required": [
                                      "indexOf"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "maxItems": 64,
                              "minItems": 0
                            },
                            "countryRule": {
                              "type": "string",
                              "enum": [
                                "POSTAL",
                                "STATE"
                              ]
                            }
                          },
                          "required": [
                            "kind",
                            "path",
                            "countryRule"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "copyIdentity"
                              ]
                            },
                            "path": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1024
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "indexOf": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                        "maxLength": 128
                                      }
                                    },
                                    "required": [
                                      "indexOf"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "maxItems": 64,
                              "minItems": 0
                            }
                          },
                          "required": [
                            "kind",
                            "path"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "maxItems": 130,
                    "minItems": 0
                  },
                  "maxItems": 10000,
                  "minItems": 1
                },
                "format": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "INSTANT",
                        "CIVIL_INSTANT",
                        "INSTANT_RANGE",
                        "PHONE",
                        "EMAIL",
                        "IDENTITY_EMAIL",
                        "IBAN"
                      ]
                    },
                    {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ]
                    }
                  ]
                },
                "dateNullAllowed": {
                  "type": "boolean"
                },
                "inactiveValuePolicy": {
                  "type": "string",
                  "enum": [
                    "RETAIN_IF_SCHEMA_VALID",
                    "REJECT_IF_EMAIL_OR_PHONE_TRUTHY",
                    "REJECT_IF_MAIN_IDENTITY_ACTIVE_AND_FIRST_NAME_TRUTHY",
                    "REJECT_IF_MAIN_IDENTITY_ACTIVE_AND_OBJECT_PRESENT",
                    "REJECT_IF_POSITIVE_AMOUNT",
                    "REJECT_IF_ENABLED_TRUE",
                    "REJECT_IF_POSITIVE_QUANTITY",
                    "REJECT_IF_NONEMPTY_SEATS",
                    "REJECT_IF_PERSON_ACTIVE_AND_SINGLE_VALUE",
                    "REJECT_IF_PERSON_ACTIVE_AND_DOCUMENT_NONEMPTY",
                    "REJECT_IF_PERSON_ACTIVE_AND_NONZERO_SOCIAL_ID",
                    "REJECT_IF_PERSON_ACTIVE",
                    "REJECT_IF_PERSON_ACTIVE_AND_ADDRESS_PRESENT_AND_VALUE_TRUTHY",
                    "REJECT_IF_MAIN_AND_CONTACT_ACTIVE_AND_RELATION_TRUTHY_NOT_OTHER"
                  ]
                },
                "person": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "path": {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 1024
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "indexOf": {
                                    "type": "string",
                                    "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                    "maxLength": 128
                                  }
                                },
                                "required": [
                                  "indexOf"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "maxItems": 64,
                          "minItems": 0
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "IDENTITY",
                            "CONTACT",
                            "CHILD",
                            "HAZKARA"
                          ]
                        },
                        "allowCopyIdentity": {
                          "type": "boolean"
                        },
                        "activation": {
                          "type": "string",
                          "enum": [
                            "SELF_EMAIL_OR_PHONE_TRUTHY",
                            "MAIN_IDENTITY_ACTIVE_AND_FIRST_NAME_TRUTHY",
                            "MAIN_IDENTITY_ACTIVE_AND_OBJECT_PRESENT"
                          ]
                        }
                      },
                      "required": [
                        "path",
                        "type",
                        "allowCopyIdentity",
                        "activation"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ]
                    }
                  ]
                },
                "annotations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "tooltip": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "placeholder": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "message": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelNom": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelPrenom": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelEmail": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelTel": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelGenre": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelAdresse": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelPostal": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelVille": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelPays": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelEtat": {
                        "type": "string",
                        "maxLength": 4096
                      },
                      "labelNote": {
                        "type": "string",
                        "maxLength": 4096
                      }
                    },
                    "additionalProperties": false,
                    "minProperties": 1
                  },
                  "maxItems": 10000,
                  "minItems": 0
                }
              },
              "required": [
                "path",
                "requiredWhenVisible",
                "visibilityAlternatives",
                "format",
                "dateNullAllowed",
                "inactiveValuePolicy",
                "person",
                "annotations"
              ],
              "additionalProperties": false
            },
            "maxItems": 2000,
            "minItems": 0,
            "description": "Each path consists of literal property segments and zero-based {indexOf:productId} tokens; never split dots, brackets or control characters in a segment. A field is visible if any visibility alternative has all its guards satisfied. An empty guard branch is true. requiredWhenVisible rejects absent, null, empty string and empty array; a checkbox key additionally requires true. Whitespace is preserved. annotations retains distinct known public question labels and help text for aliases of this same answer path; it contains no arbitrary configuration."
          },
          "conditions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^c[0-9]{1,4}$",
                  "maxLength": 5
                },
                "config": {
                  "type": "object",
                  "properties": {
                    "default": {
                      "type": "string",
                      "enum": [
                        "Afficher",
                        "Masquer"
                      ]
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "Afficher",
                        "Masquer"
                      ]
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 1000
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "Est égal à",
                                  "Est supérieur ou égal à",
                                  "Est inférieur ou égal à",
                                  "N'est pas égal à",
                                  "Est vide",
                                  "N'est pas vide",
                                  "Est coché"
                                ]
                              },
                              "values": {
                                "type": "array",
                                "items": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "nullable": true,
                                      "maxLength": 8192
                                    },
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "boolean"
                                    }
                                  ]
                                },
                                "maxItems": 2000,
                                "minItems": 0
                              },
                              "next": {
                                "type": "string",
                                "enum": [
                                  "AND",
                                  "OR"
                                ]
                              }
                            },
                            "required": [
                              "field",
                              "type",
                              "values",
                              "next"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "constant": {
                                "type": "boolean",
                                "enum": [
                                  false
                                ]
                              },
                              "next": {
                                "type": "string",
                                "enum": [
                                  "AND"
                                ]
                              }
                            },
                            "required": [
                              "constant",
                              "next"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "maxItems": 2000,
                      "minItems": 0
                    }
                  },
                  "required": [
                    "default",
                    "action",
                    "conditions"
                  ],
                  "additionalProperties": false
                },
                "scopesNearestFirst": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 1024
                        },
                        {
                          "type": "object",
                          "properties": {
                            "indexOf": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{1,128}$",
                              "maxLength": 128
                            }
                          },
                          "required": [
                            "indexOf"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "maxItems": 64,
                    "minItems": 0
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "visibilityAlternatives": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "hidden"
                              ]
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "condition"
                              ]
                            },
                            "id": {
                              "type": "string",
                              "pattern": "^c[0-9]{1,4}$",
                              "maxLength": 5
                            }
                          },
                          "required": [
                            "kind",
                            "id"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "occurrence"
                              ]
                            },
                            "productId": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{1,128}$",
                              "maxLength": 128
                            },
                            "after": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "kind",
                            "productId",
                            "after"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "country"
                              ]
                            },
                            "path": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1024
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "indexOf": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                        "maxLength": 128
                                      }
                                    },
                                    "required": [
                                      "indexOf"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "maxItems": 64,
                              "minItems": 0
                            },
                            "countryRule": {
                              "type": "string",
                              "enum": [
                                "POSTAL",
                                "STATE"
                              ]
                            }
                          },
                          "required": [
                            "kind",
                            "path",
                            "countryRule"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "copyIdentity"
                              ]
                            },
                            "path": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1024
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "indexOf": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                        "maxLength": 128
                                      }
                                    },
                                    "required": [
                                      "indexOf"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "maxItems": 64,
                              "minItems": 0
                            }
                          },
                          "required": [
                            "kind",
                            "path"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "maxItems": 130,
                    "minItems": 0
                  },
                  "maxItems": 10000,
                  "minItems": 1
                }
              },
              "required": [
                "id",
                "config",
                "scopesNearestFirst",
                "visibilityAlternatives"
              ],
              "additionalProperties": false
            },
            "maxItems": 10000,
            "minItems": 0,
            "description": "Condition ids are local public references. Resolve a bare field in the listed scopes from nearest to farthest, stripping the declared typed prefix; a missing field makes every operator false, including Est vide. Scalar strings are trimmed only for comparison; array elements are not. Equality is strict any-pair, inequality is native loose any-left/all-right, order uses safe primitive comparisons, and AND binds before OR. Empty condition lists use default; a match selects action, otherwise default. Only listed ancestors are visible across a block boundary. A constant:false entry is a preserved native empty row, evaluates false with next:AND, and retains its original position."
          },
          "conditionPolicy": {
            "type": "object",
            "properties": {
              "lookup": {
                "type": "string",
                "enum": [
                  "NEAREST_PRESENT_BARE_FIELD_IN_LISTED_SCOPES"
                ]
              },
              "prefixPattern": {
                "type": "string",
                "maxLength": 1000
              },
              "absent": {
                "type": "string",
                "enum": [
                  "FALSE_INCLUDING_EMPTY_TEST"
                ]
              },
              "scalarString": {
                "type": "string",
                "enum": [
                  "TRIM_FOR_COMPARISON_ONLY"
                ]
              },
              "arrays": {
                "type": "string",
                "enum": [
                  "ELEMENTS_NOT_TRIMMED"
                ]
              },
              "equality": {
                "type": "string",
                "enum": [
                  "STRICT_ANY_PAIR"
                ]
              },
              "inequality": {
                "type": "string",
                "enum": [
                  "LOOSE_ANY_LEFT_ALL_RIGHT"
                ]
              },
              "order": {
                "type": "string",
                "enum": [
                  "SAFE_PRIMITIVE_JS_COMPARISON"
                ]
              },
              "relationalOperands": {
                "type": "string",
                "enum": [
                  "INEQUALITY_AND_ORDER_REQUIRE_SCALARS"
                ]
              },
              "combination": {
                "type": "string",
                "enum": [
                  "AND_BEFORE_OR"
                ]
              },
              "nonObjectScopes": {
                "type": "string",
                "enum": [
                  "IGNORE_ARRAYS_AND_SCALARS"
                ]
              },
              "scopeBoundary": {
                "type": "string",
                "enum": [
                  "LISTED_SCOPES_ONLY_NO_SIBLING_OR_EXTERNAL_BLOCK_LOOKUP"
                ]
              }
            },
            "required": [
              "lookup",
              "prefixPattern",
              "absent",
              "scalarString",
              "arrays",
              "equality",
              "inequality",
              "order",
              "relationalOperands",
              "combination",
              "nonObjectScopes",
              "scopeBoundary"
            ],
            "additionalProperties": false
          },
          "occurrences": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "productId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,128}$",
                  "maxLength": 128
                },
                "after": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                },
                "nativeAfter": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                },
                "visibilityAlternatives": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "hidden"
                              ]
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "condition"
                              ]
                            },
                            "id": {
                              "type": "string",
                              "pattern": "^c[0-9]{1,4}$",
                              "maxLength": 5
                            }
                          },
                          "required": [
                            "kind",
                            "id"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "occurrence"
                              ]
                            },
                            "productId": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{1,128}$",
                              "maxLength": 128
                            },
                            "after": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "kind",
                            "productId",
                            "after"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "country"
                              ]
                            },
                            "path": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1024
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "indexOf": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                        "maxLength": 128
                                      }
                                    },
                                    "required": [
                                      "indexOf"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "maxItems": 64,
                              "minItems": 0
                            },
                            "countryRule": {
                              "type": "string",
                              "enum": [
                                "POSTAL",
                                "STATE"
                              ]
                            }
                          },
                          "required": [
                            "kind",
                            "path",
                            "countryRule"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "copyIdentity"
                              ]
                            },
                            "path": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1024
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "indexOf": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                        "maxLength": 128
                                      }
                                    },
                                    "required": [
                                      "indexOf"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "maxItems": 64,
                              "minItems": 0
                            }
                          },
                          "required": [
                            "kind",
                            "path"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "maxItems": 130,
                    "minItems": 0
                  },
                  "maxItems": 10000,
                  "minItems": 1
                }
              },
              "required": [
                "productId",
                "after",
                "nativeAfter",
                "visibilityAlternatives"
              ],
              "additionalProperties": false
            },
            "maxItems": 10000,
            "minItems": 0,
            "description": "For quantity q and after N, active UI indices are 0 through max(0,q-N+1)-1. after is the selected UI threshold; nativeAfter is the separately admitted native tail threshold. Dense preserved null/object tails may exist, but a visible nonempty answer that native execution would prune is refused. These rules create no reservation."
          },
          "occurrencePolicy": {
            "type": "object",
            "properties": {
              "indexBase": {
                "type": "integer",
                "enum": [
                  0
                ]
              },
              "missingQuantity": {
                "type": "integer",
                "enum": [
                  0
                ]
              },
              "length": {
                "type": "string",
                "enum": [
                  "MAX_ZERO_QUANTITY_MINUS_AFTER_PLUS_ONE"
                ]
              },
              "slots": {
                "type": "string",
                "enum": [
                  "DENSE_NULL_OR_SCHEMA_VALID_OBJECT"
                ]
              },
              "nativeTail": {
                "type": "string",
                "enum": [
                  "DROP_AFTER_NATIVE_LIMIT_ONLY_IF_NO_VISIBLE_NONEMPTY_ANSWER"
                ]
              }
            },
            "required": [
              "indexBase",
              "missingQuantity",
              "length",
              "slots",
              "nativeTail"
            ],
            "additionalProperties": false,
            "description": "A structurally allowed null slot is not an exemption from visible required fields. Evaluate each declared field and its visibility guards at every calculated active index, even when the product array is absent or the slot is null or an empty object. Every visible required field must still have a nonempty value at that exact index."
          },
          "samePersonPolicy": {
            "type": "object",
            "properties": {
              "identityPath": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 1024
                    },
                    {
                      "type": "object",
                      "properties": {
                        "indexOf": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_-]{1,128}$",
                          "maxLength": 128
                        }
                      },
                      "required": [
                        "indexOf"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 64,
                "minItems": 0
              },
              "nameFields": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "prenom",
                    "nom"
                  ]
                },
                "maxItems": 2,
                "minItems": 2
              },
              "nameNormalization": {
                "type": "string",
                "enum": [
                  "TRIM_LOWERCASE_COLLAPSE_WHITESPACE"
                ]
              },
              "namePriority": {
                "type": "string",
                "enum": [
                  "ANY_NONEMPTY_IDENTITY_NAME_REQUIRES_EQUAL_NAME_PAIR_ONLY"
                ]
              },
              "emailNormalization": {
                "type": "string",
                "enum": [
                  "TRIM_LOWERCASE_COLLAPSE_WHITESPACE"
                ]
              },
              "phoneNormalization": {
                "type": "string",
                "enum": [
                  "TRIM_REMOVE_SPACES_HYPHEN_PARENS_DOTS"
                ]
              },
              "fallbackOrder": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "email",
                    "tel"
                  ]
                },
                "maxItems": 2,
                "minItems": 2
              },
              "requireNonemptyCoordinate": {
                "type": "boolean",
                "enum": [
                  true
                ]
              }
            },
            "required": [
              "identityPath",
              "nameFields",
              "nameNormalization",
              "namePriority",
              "emailNormalization",
              "phoneNormalization",
              "fallbackOrder",
              "requireNonemptyCoordinate"
            ],
            "additionalProperties": false,
            "description": "Copy identity uses this pure input comparison only. If either normalized identity name is nonempty, both normalized names must match and coordinate fallback is not consulted. Otherwise compare a nonempty normalized email, then a nonempty phone after separator removal. CONTACT_NOT_IDENTITY compares raw lowercase truthy coordinates and exempts only an allowed copy satisfying this predicate."
          },
          "personActivationPolicy": {
            "type": "object",
            "properties": {
              "identityPath": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 1024
                    },
                    {
                      "type": "object",
                      "properties": {
                        "indexOf": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_-]{1,128}$",
                          "maxLength": 128
                        }
                      },
                      "required": [
                        "indexOf"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 64,
                "minItems": 0
              },
              "mainActive": {
                "type": "string",
                "enum": [
                  "OBJECT_WITH_TRUTHY_EMAIL_OR_PHONE"
                ]
              },
              "addressPresent": {
                "type": "string",
                "enum": [
                  "TRUTHY_ADDRESS_AND_POSTAL_OR_CITY"
                ]
              },
              "socialIdActive": {
                "type": "string",
                "enum": [
                  "NONEMPTY_TRIMMED_NOT_ALL_ZERO"
                ]
              },
              "singleValue": {
                "type": "string",
                "enum": [
                  "NOT_AN_ARRAY"
                ]
              },
              "documentNonempty": {
                "type": "string",
                "enum": [
                  "NON_ARRAY_OR_ARRAY_WITH_ITEMS"
                ]
              }
            },
            "required": [
              "identityPath",
              "mainActive",
              "addressPresent",
              "socialIdActive",
              "singleValue",
              "documentNonempty"
            ],
            "additionalProperties": false
          },
          "crossProfilePolicy": {
            "type": "object",
            "properties": {
              "whenDeviceOmitted": {
                "type": "boolean",
                "enum": [
                  true
                ]
              },
              "schemaMatching": {
                "type": "string",
                "enum": [
                  "RAW_ANSWER_MATCHES_COMPLETE_PROFILE_SCHEMA"
                ]
              },
              "activeTailConflict": {
                "type": "string",
                "enum": [
                  "ANY_MATCHING_PROFILE_ACTIVE_ANSWER_WOULD_BE_PRUNED_VETOES_ADMISSION"
                ]
              },
              "otherSemanticFailures": {
                "type": "string",
                "enum": [
                  "DO_NOT_VETO_OTHER_QUALIFIED_PROFILE"
                ]
              }
            },
            "required": [
              "whenDeviceOmitted",
              "schemaMatching",
              "activeTailConflict",
              "otherSemanticFailures"
            ],
            "additionalProperties": false,
            "description": "With no explicit device, any complete schema-matching profile that reports an active answer would be pruned vetoes admission. Other semantic failures do not become a global allOf over profiles. No profile may silently trim an answer that another matching profile keeps active."
          },
          "countries": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "defaultCode": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  },
                  "mappings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 1000
                        },
                        "code": {
                          "type": "string",
                          "pattern": "^[A-Z]{2}$"
                        }
                      },
                      "required": [
                        "name",
                        "code"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 500,
                    "minItems": 0
                  },
                  "postalNotRequiredFor": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "IL"
                      ]
                    },
                    "maxItems": 1,
                    "minItems": 1
                  },
                  "stateRequiredFor": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "US",
                        "CA",
                        "AU",
                        "BR",
                        "MX",
                        "IN",
                        "CN",
                        "JP"
                      ]
                    },
                    "maxItems": 8,
                    "minItems": 8
                  },
                  "unknownName": {
                    "type": "string",
                    "enum": [
                      "ORGANISATION_DEFAULT"
                    ]
                  }
                },
                "required": [
                  "defaultCode",
                  "mappings",
                  "postalNotRequiredFor",
                  "stateRequiredFor",
                  "unknownName"
                ],
                "additionalProperties": false
              },
              {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              }
            ],
            "description": "Country names match the explicit mapping exactly; an unknown or missing name uses defaultCode. The POSTAL guard is false for IL; the STATE guard is true only for the listed country codes. Guards carry the relevant person path."
          },
          "formats": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "enum": [
                    "INSTANT",
                    "CIVIL_INSTANT",
                    "INSTANT_RANGE",
                    "PHONE",
                    "EMAIL",
                    "IDENTITY_EMAIL",
                    "IBAN"
                  ]
                },
                "nullPolicy": {
                  "type": "string",
                  "enum": [
                    "FIELD_DATE_FLAG",
                    "ALWAYS",
                    "NEVER"
                  ]
                },
                "emptyString": {
                  "type": "string",
                  "enum": [
                    "SKIP",
                    "INVALID"
                  ]
                },
                "normalization": {
                  "type": "string",
                  "enum": [
                    "NONE",
                    "REMOVE_WHITESPACE_UPPERCASE",
                    "REMOVE_PHONE_SEPARATORS"
                  ]
                },
                "normalizationPattern": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 100
                    },
                    {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ]
                    }
                  ]
                },
                "lengthUnit": {
                  "type": "string",
                  "enum": [
                    "UTF16_CODE_UNITS"
                  ]
                },
                "pattern": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 8192
                    },
                    {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ]
                    }
                  ]
                },
                "maxLength": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 8192
                    },
                    {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ]
                    }
                  ]
                },
                "arrayLength": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "enum": [
                        2
                      ]
                    },
                    {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ]
                    }
                  ]
                },
                "calendarDayCheck": {
                  "type": "boolean"
                },
                "ibanChecksum": {
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "nullPolicy",
                "emptyString",
                "normalization",
                "normalizationPattern",
                "lengthUnit",
                "pattern",
                "maxLength",
                "arrayLength",
                "calendarDayCheck",
                "ibanChecksum"
              ],
              "additionalProperties": false
            },
            "maxItems": 7,
            "minItems": 0,
            "description": "Semantic formats run on every present value, including preserved invisible values. Apply the exact regular expression and semantic checks after the declared comparison-only normalization, replacing all normalization-pattern matches. ISO dates also require a real calendar day and finite instant. IBAN requires its checksum; these checks do not rewrite submitted values."
          },
          "crossChecks": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "SEAT_COUNT"
                      ]
                    },
                    "seatPath": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1024
                          },
                          {
                            "type": "object",
                            "properties": {
                              "indexOf": {
                                "type": "string",
                                "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "indexOf"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "quantityPaths": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1024
                            },
                            {
                              "type": "object",
                              "properties": {
                                "indexOf": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                  "maxLength": 128
                                }
                              },
                              "required": [
                                "indexOf"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "maxItems": 64,
                        "minItems": 0
                      },
                      "maxItems": 500,
                      "minItems": 0
                    },
                    "visibilityAlternatives": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "hidden"
                                  ]
                                }
                              },
                              "required": [
                                "kind"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "condition"
                                  ]
                                },
                                "id": {
                                  "type": "string",
                                  "pattern": "^c[0-9]{1,4}$",
                                  "maxLength": 5
                                }
                              },
                              "required": [
                                "kind",
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "occurrence"
                                  ]
                                },
                                "productId": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                  "maxLength": 128
                                },
                                "after": {
                                  "type": "integer",
                                  "minimum": 1,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "kind",
                                "productId",
                                "after"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "country"
                                  ]
                                },
                                "path": {
                                  "type": "array",
                                  "items": {
                                    "oneOf": [
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 1024
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "indexOf": {
                                            "type": "string",
                                            "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                            "maxLength": 128
                                          }
                                        },
                                        "required": [
                                          "indexOf"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "maxItems": 64,
                                  "minItems": 0
                                },
                                "countryRule": {
                                  "type": "string",
                                  "enum": [
                                    "POSTAL",
                                    "STATE"
                                  ]
                                }
                              },
                              "required": [
                                "kind",
                                "path",
                                "countryRule"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "copyIdentity"
                                  ]
                                },
                                "path": {
                                  "type": "array",
                                  "items": {
                                    "oneOf": [
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 1024
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "indexOf": {
                                            "type": "string",
                                            "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                            "maxLength": 128
                                          }
                                        },
                                        "required": [
                                          "indexOf"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "maxItems": 64,
                                  "minItems": 0
                                }
                              },
                              "required": [
                                "kind",
                                "path"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "maxItems": 130,
                        "minItems": 0
                      },
                      "maxItems": 10000,
                      "minItems": 1
                    }
                  },
                  "required": [
                    "kind",
                    "seatPath",
                    "quantityPaths",
                    "visibilityAlternatives"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "PRODUCT_SELECTION"
                      ]
                    },
                    "quantityPaths": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1024
                            },
                            {
                              "type": "object",
                              "properties": {
                                "indexOf": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                  "maxLength": 128
                                }
                              },
                              "required": [
                                "indexOf"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "maxItems": 64,
                        "minItems": 0
                      },
                      "maxItems": 2000,
                      "minItems": 1
                    },
                    "minimumPositive": {
                      "type": "integer",
                      "enum": [
                        1
                      ]
                    }
                  },
                  "required": [
                    "kind",
                    "quantityPaths",
                    "minimumPositive"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "MINOR_UNIT_AMOUNT"
                      ]
                    },
                    "path": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1024
                          },
                          {
                            "type": "object",
                            "properties": {
                              "indexOf": {
                                "type": "string",
                                "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "indexOf"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "whenEnabledPath": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 1024
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "indexOf": {
                                    "type": "string",
                                    "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                    "maxLength": 128
                                  }
                                },
                                "required": [
                                  "indexOf"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "maxItems": 64,
                          "minItems": 0
                        },
                        {
                          "type": "string",
                          "nullable": true,
                          "enum": [
                            null
                          ]
                        }
                      ]
                    },
                    "unit": {
                      "type": "string",
                      "enum": [
                        "MAJOR"
                      ]
                    },
                    "fractionDigits": {
                      "type": "integer",
                      "enum": [
                        2
                      ]
                    },
                    "roundTripTolerance": {
                      "type": "number",
                      "enum": [
                        0.000001
                      ]
                    },
                    "maximumMinor": {
                      "type": "integer",
                      "enum": [
                        9007199254740991
                      ]
                    },
                    "nullAllowed": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "kind",
                    "path",
                    "whenEnabledPath",
                    "unit",
                    "fractionDigits",
                    "roundTripTolerance",
                    "maximumMinor",
                    "nullAllowed"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "CONTACT_NOT_IDENTITY"
                      ]
                    },
                    "path": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1024
                          },
                          {
                            "type": "object",
                            "properties": {
                              "indexOf": {
                                "type": "string",
                                "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "indexOf"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "identityPath": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1024
                          },
                          {
                            "type": "object",
                            "properties": {
                              "indexOf": {
                                "type": "string",
                                "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "indexOf"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "personPath": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1024
                          },
                          {
                            "type": "object",
                            "properties": {
                              "indexOf": {
                                "type": "string",
                                "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "indexOf"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "allowCopyIdentity": {
                      "type": "boolean"
                    },
                    "comparison": {
                      "type": "string",
                      "enum": [
                        "BOTH_TRUTHY_RAW_LOWERCASE_EQUAL"
                      ]
                    },
                    "visibilityAlternatives": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "hidden"
                                  ]
                                }
                              },
                              "required": [
                                "kind"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "condition"
                                  ]
                                },
                                "id": {
                                  "type": "string",
                                  "pattern": "^c[0-9]{1,4}$",
                                  "maxLength": 5
                                }
                              },
                              "required": [
                                "kind",
                                "id"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "occurrence"
                                  ]
                                },
                                "productId": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                  "maxLength": 128
                                },
                                "after": {
                                  "type": "integer",
                                  "minimum": 1,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "kind",
                                "productId",
                                "after"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "country"
                                  ]
                                },
                                "path": {
                                  "type": "array",
                                  "items": {
                                    "oneOf": [
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 1024
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "indexOf": {
                                            "type": "string",
                                            "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                            "maxLength": 128
                                          }
                                        },
                                        "required": [
                                          "indexOf"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "maxItems": 64,
                                  "minItems": 0
                                },
                                "countryRule": {
                                  "type": "string",
                                  "enum": [
                                    "POSTAL",
                                    "STATE"
                                  ]
                                }
                              },
                              "required": [
                                "kind",
                                "path",
                                "countryRule"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "copyIdentity"
                                  ]
                                },
                                "path": {
                                  "type": "array",
                                  "items": {
                                    "oneOf": [
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 1024
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "indexOf": {
                                            "type": "string",
                                            "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                            "maxLength": 128
                                          }
                                        },
                                        "required": [
                                          "indexOf"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "maxItems": 64,
                                  "minItems": 0
                                }
                              },
                              "required": [
                                "kind",
                                "path"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "maxItems": 130,
                        "minItems": 0
                      },
                      "maxItems": 10000,
                      "minItems": 1
                    }
                  },
                  "required": [
                    "kind",
                    "path",
                    "identityPath",
                    "personPath",
                    "allowCopyIdentity",
                    "comparison",
                    "visibilityAlternatives"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "UTF16_LENGTH_MAX"
                      ]
                    },
                    "path": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1024
                          },
                          {
                            "type": "object",
                            "properties": {
                              "indexOf": {
                                "type": "string",
                                "pattern": "^[A-Za-z0-9_-]{1,128}$",
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "indexOf"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "maximum": {
                      "type": "integer",
                      "enum": [
                        131072
                      ]
                    },
                    "whenPresent": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "kind",
                    "path",
                    "maximum",
                    "whenPresent"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "maxItems": 4001,
            "minItems": 0,
            "description": "Supplemental input checks: seat count equals the sum of linked quantities while visible; at least one selectable product must be positive when required; major-unit amounts must round to safe integer cents within the stated tolerance. CONTACT_NOT_IDENTITY and UTF16_LENGTH_MAX apply as declared. Native pricing, authorization, capacity and financial checks still execute separately."
          }
        },
        "required": [
          "version",
          "pathPolicy",
          "visibilityPolicy",
          "requiredPolicy",
          "fields",
          "conditions",
          "conditionPolicy",
          "occurrences",
          "occurrencePolicy",
          "samePersonPolicy",
          "personActivationPolicy",
          "crossProfilePolicy",
          "countries",
          "formats",
          "crossChecks"
        ],
        "additionalProperties": false,
        "description": "Declarative supplemental input rules for exactly one READY profile. Combine that profile schema with these rules; they grant no authorization, CRM action, capacity reservation or payment result. Private execution plans, source fingerprints, pruning proofs and private catalogs are excluded."
      },
      "FormSubmissionSchemaGraph": {
        "type": "object",
        "properties": {
          "$schema": {
            "type": "string",
            "enum": [
              "https://json-schema.org/draft/2020-12/schema"
            ]
          },
          "$ref": {
            "type": "string",
            "enum": [
              "#/$defs/n0"
            ]
          },
          "$defs": {
            "type": "object",
            "minProperties": 1,
            "maxProperties": 10000,
            "x-unisoft-map-key-pattern": "^n(?:0|[1-9][0-9]{0,3})$",
            "additionalProperties": {
              "$ref": "#/components/schemas/FormSubmissionSchemaGraphNode"
            }
          }
        },
        "required": [
          "$schema",
          "$ref",
          "$defs"
        ],
        "additionalProperties": false
      },
      "FormSubmissionSchemaGraphNode": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "object",
                  "array",
                  "string",
                  "integer",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "properties": {
                "type": "object",
                "minProperties": 0,
                "maxProperties": 2000,
                "x-unisoft-map-key-pattern": "^(?!(?:__proto__|prototype|constructor)(?![\\s\\S]))[^\\u0000]{1,1024}$(?![\\s\\S])$",
                "additionalProperties": {
                  "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
                },
                "x-unisoft-map-key-max-length": 1024
              },
              "required": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 1024,
                  "pattern": "^(?!(?:__proto__|prototype|constructor)(?![\\s\\S]))[^\\u0000]{1,1024}$(?![\\s\\S])$"
                },
                "minItems": 0,
                "maxItems": 2000,
                "uniqueItems": true
              },
              "additionalProperties": {
                "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
              },
              "items": {
                "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
              },
              "anyOf": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
                },
                "minItems": 1,
                "maxItems": 2000
              },
              "allOf": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
                },
                "minItems": 1,
                "maxItems": 2000
              },
              "if": {
                "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
              },
              "then": {
                "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
              },
              "else": {
                "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
              },
              "not": {
                "$ref": "#/components/schemas/FormSubmissionSchemaGraphRef"
              },
              "enum": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "nullable": true,
                      "maxLength": 8192
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                },
                "minItems": 1,
                "maxItems": 2000,
                "uniqueItems": true
              },
              "const": {
                "anyOf": [
                  {
                    "type": "string",
                    "nullable": true,
                    "maxLength": 8192
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  }
                ]
              },
              "minimum": {
                "type": "number"
              },
              "maximum": {
                "type": "number"
              },
              "multipleOf": {
                "type": "number",
                "exclusiveMinimum": true,
                "minimum": 0
              },
              "minLength": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "maxLength": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "minItems": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "maxItems": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "uniqueItems": {
                "type": "boolean"
              },
              "pattern": {
                "type": "string",
                "maxLength": 4096
              },
              "title": {
                "type": "string",
                "maxLength": 4096
              },
              "description": {
                "type": "string",
                "maxLength": 4096
              }
            },
            "additionalProperties": false
          },
          {
            "type": "boolean"
          }
        ]
      },
      "FormSubmissionSchemaGraphRef": {
        "type": "object",
        "properties": {
          "$ref": {
            "type": "string",
            "pattern": "^#/\\$defs/n(?:0|[1-9][0-9]{0,3})$",
            "maxLength": 14
          }
        },
        "required": [
          "$ref"
        ],
        "additionalProperties": false
      },
      "FormSubmissionSchemaError": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
            "maxLength": 128
          },
          "required": {
            "type": "array",
            "maxItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "forms:read"
              ]
            }
          },
          "details": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string",
                "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
                "maxLength": 128
              },
              "location": {
                "type": "string",
                "enum": [
                  "query",
                  "path",
                  "body"
                ]
              }
            },
            "required": [
              "code"
            ]
          },
          "param": {
            "type": "string",
            "enum": [
              "id"
            ]
          }
        },
        "required": [
          "success",
          "error"
        ]
      },
      "UnisoftRequest_77d3676131214f42e6d4": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Public form title (required)."
          },
          "url": {
            "type": "string",
            "description": "Public slug (lowercase, no accents, spaces→\"-\"). Optional."
          },
          "description": {
            "type": "string",
            "description": "Internal description (admin only)."
          },
          "afficheUrl": {
            "type": "string",
            "description": "Poster/cover image URL or hosted filename shown at the top of the form. Adds WhatsApp share metadata. Send \"\" to remove it. Coexists with aiContentBlockId (both may be set)."
          },
          "aiContentBlockId": {
            "type": "string",
            "nullable": true,
            "description": "Id of an AI content block (ai_content_blocks) rendered as a rich HTML banner at the very top of the form, above the identity fields. Optional — omit to leave unchanged, send \"\"/null to remove. Independent from afficheUrl (the poster image): a form may show both."
          },
          "autoValid": {
            "type": "boolean",
            "description": "true = submissions auto-validated; false = manual validation."
          },
          "withPaiement": {
            "type": "boolean",
            "description": "Enable online payment. When false, all payment fields below are ignored."
          },
          "paiementType": {
            "type": "string",
            "enum": [
              "PAIEMENT",
              "ABONNEMENT",
              "MONTHLY"
            ],
            "description": "Billing model: PAIEMENT=one-off; ABONNEMENT=limited instalments; MONTHLY=recurring monthly. Requires withPaiement=true."
          },
          "onePaiement": {
            "type": "boolean",
            "description": "Force a single payment (no deposit). Only with paiementType=PAIEMENT."
          },
          "deposit": {
            "type": "number",
            "description": "Fixed deposit amount. paiementType=PAIEMENT and onePaiement=false."
          },
          "depositPercent": {
            "type": "number",
            "description": "Deposit as a percentage (0-100). Same dependency as `deposit`."
          },
          "abonnementMaxMonth": {
            "type": "integer",
            "description": "Max number of instalments (≥2). paiementType=ABONNEMENT."
          },
          "aboMonthInfinite": {
            "type": "boolean",
            "description": "Subscription with no end. paiementType=MONTHLY."
          },
          "aboMonthMin": {
            "type": "integer",
            "description": "Min subscription months (≥1). MONTHLY + aboMonthInfinite=false."
          },
          "aboMonthMax": {
            "type": "integer",
            "description": "Max subscription months (≥ aboMonthMin). MONTHLY + aboMonthInfinite=false."
          },
          "paiementMethods": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternative manual methods, e.g. [\"CHEQUE\",\"VIREMENT\",\"ESPECES\"]."
          },
          "requirePaiementValidation": {
            "type": "boolean",
            "description": "Validation conditioned on online payment. Requires withPaiement=true."
          },
          "autoValidOtherPaiementMethod": {
            "type": "boolean",
            "description": "Auto-validate alternative-method payments. Requires requirePaiementValidation=true."
          },
          "allowZeroAmount": {
            "type": "boolean",
            "description": "Allow a submission whose total is 0."
          },
          "identity": {
            "type": "string",
            "enum": [
              "NONE",
              "SIMPLE",
              "FULL"
            ],
            "description": "Contact identification level. SIMPLE = full name + email + phone."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "CRM categories auto-applied to every contact who submits."
          },
          "globalStock": {
            "type": "integer",
            "nullable": true,
            "description": "Shared stock that overrides per-product stocks."
          },
          "allowNoProduct": {
            "type": "boolean",
            "description": "Allow submitting without selecting any product."
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_b57646707cc7b35df354"
            },
            "description": "Buyable items. Use distinct products for distinct prices."
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_c0312059004e3f6dbc76"
            },
            "description": "Global custom fields (once per submission)."
          }
        },
        "additionalProperties": false,
        "description": "Partial form definition update. Only supplied fields change; no field is required."
      },
      "FormInput": {
        "type": "object",
        "description": "Editor business object of a form DEFINITION — the shape you send to create or edit a form, and the shape returned by GET /forms/{id}/edit. A form is a flexible transactional engine: a submission may be a ticketing order, a multi-product purchase, a family registration, a donation, etc. Distinguish the PAYER (who submits) from BENEFICIARIES (via product additionalFields). On a partial PATCH, omit `products`/`additionalFields` to leave them as-is; send them to replace the whole set.",
        "required": [
          "title"
        ],
        "properties": {
          "title": {
            "type": "string",
            "description": "Public form title (required)."
          },
          "url": {
            "type": "string",
            "description": "Public slug (lowercase, no accents, spaces→\"-\"). Optional."
          },
          "description": {
            "type": "string",
            "description": "Internal description (admin only)."
          },
          "afficheUrl": {
            "type": "string",
            "description": "Poster/cover image URL or hosted filename shown at the top of the form. Adds WhatsApp share metadata. Send \"\" to remove it. Coexists with aiContentBlockId (both may be set)."
          },
          "aiContentBlockId": {
            "type": "string",
            "nullable": true,
            "description": "Id of an AI content block (ai_content_blocks) rendered as a rich HTML banner at the very top of the form, above the identity fields. Optional — omit to leave unchanged, send \"\"/null to remove. Independent from afficheUrl (the poster image): a form may show both."
          },
          "autoValid": {
            "type": "boolean",
            "description": "true = submissions auto-validated; false = manual validation."
          },
          "withPaiement": {
            "type": "boolean",
            "description": "Enable online payment. When false, all payment fields below are ignored."
          },
          "paiementType": {
            "type": "string",
            "enum": [
              "PAIEMENT",
              "ABONNEMENT",
              "MONTHLY"
            ],
            "description": "Billing model: PAIEMENT=one-off; ABONNEMENT=limited instalments; MONTHLY=recurring monthly. Requires withPaiement=true."
          },
          "onePaiement": {
            "type": "boolean",
            "description": "Force a single payment (no deposit). Only with paiementType=PAIEMENT."
          },
          "deposit": {
            "type": "number",
            "description": "Fixed deposit amount. paiementType=PAIEMENT and onePaiement=false."
          },
          "depositPercent": {
            "type": "number",
            "description": "Deposit as a percentage (0-100). Same dependency as `deposit`."
          },
          "abonnementMaxMonth": {
            "type": "integer",
            "description": "Max number of instalments (≥2). paiementType=ABONNEMENT."
          },
          "aboMonthInfinite": {
            "type": "boolean",
            "description": "Subscription with no end. paiementType=MONTHLY."
          },
          "aboMonthMin": {
            "type": "integer",
            "description": "Min subscription months (≥1). MONTHLY + aboMonthInfinite=false."
          },
          "aboMonthMax": {
            "type": "integer",
            "description": "Max subscription months (≥ aboMonthMin). MONTHLY + aboMonthInfinite=false."
          },
          "paiementMethods": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Alternative manual methods, e.g. [\"CHEQUE\",\"VIREMENT\",\"ESPECES\"]."
          },
          "requirePaiementValidation": {
            "type": "boolean",
            "description": "Validation conditioned on online payment. Requires withPaiement=true."
          },
          "autoValidOtherPaiementMethod": {
            "type": "boolean",
            "description": "Auto-validate alternative-method payments. Requires requirePaiementValidation=true."
          },
          "allowZeroAmount": {
            "type": "boolean",
            "description": "Allow a submission whose total is 0."
          },
          "identity": {
            "type": "string",
            "enum": [
              "NONE",
              "SIMPLE",
              "FULL"
            ],
            "description": "Contact identification level. SIMPLE = full name + email + phone."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "CRM categories auto-applied to every contact who submits."
          },
          "globalStock": {
            "type": "integer",
            "nullable": true,
            "description": "Shared stock that overrides per-product stocks."
          },
          "allowNoProduct": {
            "type": "boolean",
            "description": "Allow submitting without selecting any product."
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormProductInput"
            },
            "description": "Buyable items. Use distinct products for distinct prices."
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormAdditionalField"
            },
            "description": "Global custom fields (once per submission)."
          }
        }
      },
      "FormProductInput": {
        "type": "object",
        "description": "A product line of a form (a buyable item/ticket/option). PRICE VARIATION IS DONE ONLY VIA DISTINCT PRODUCTS — never via tariff options on a single product.",
        "required": [
          "label",
          "title",
          "montant"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Product id (omit on create; matched by id or label on edit)."
          },
          "label": {
            "type": "string",
            "description": "Internal unique label within the form."
          },
          "title": {
            "type": "string",
            "description": "Public title shown to the buyer."
          },
          "description": {
            "type": "string",
            "description": "Internal description (admin only)."
          },
          "montant": {
            "type": "number",
            "description": "Unit price in MAJOR units (e.g. euros). 0 = free. Interpreted monthly when paiementType=MONTHLY."
          },
          "cerfa": {
            "type": "boolean",
            "description": "Whether this product is eligible for a tax receipt."
          },
          "active": {
            "type": "boolean",
            "description": "Whether the product is active (default true)."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "CRM categories applied to the contact ONLY when this product is selected."
          },
          "simple_stock": {
            "type": "integer",
            "description": "Per-product stock limit. Ignored when globalStock is set."
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormAdditionalFieldProduct"
            },
            "description": "Per-unit fields, repeated for each quantity bought."
          }
        }
      },
      "FormAdditionalFieldProduct": {
        "type": "object",
        "description": "A dynamic field added to a form (or to a product). Two scopes: GLOBAL fields (at the form root) appear once per submission; PRODUCT fields (inside a product) repeat per purchased unit. Only collect per-unit info as a product field; everything about the whole order is a global field.",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "CONTACT-INPUT",
              "FREE-AMOUNT-INPUT",
              "CHILD-INPUT",
              "HAZKARA-INPUT",
              "BLOCK-FORM",
              "IDENTITY",
              "CALENDARS",
              "PRODUCTS"
            ],
            "description": "Field kind. TEXT-INPUT=free single-line text; TEXTAREA-INPUT=free multi-line text (optional `height` in px); SELECT-INPUT=dropdown (needs `values`); CHECKBOX-INPUT=yes/no; DOCS-INPUT=file upload (needs `doctype`); DATE-INPUT=date/time picker (optional `picker`/`dateFilter`/`range`/`defaultNow`, defaults to a plain date); TITLE=visual separator (no data; uses `__title_tag`+`__text`); CONTACT-INPUT=secondary CRM contact (name+email+phone); FREE-AMOUNT-INPUT=donor-chosen amount (GLOBAL only, requires withPaiement=true, never inside a product)."
          },
          "required": {
            "type": "boolean",
            "description": "Whether the field is mandatory."
          },
          "__label": {
            "type": "string",
            "description": "Visible label of the field."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Options for SELECT-INPUT (required for that type)."
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ],
            "description": "Allowed upload kind for DOCS-INPUT."
          },
          "height": {
            "type": "integer",
            "description": "TEXTAREA-INPUT only: fixed height of the text area in pixels (optional)."
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ],
            "description": "DATE-INPUT only: granularity. Omit for a plain day date (DD/MM/YYYY). \"Date & Heure\"=date+time; \"Uniquement les Années\"=year; \"Uniquement les Mois\"=month; \"Uniquement l'heure\"=time."
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ],
            "description": "DATE-INPUT only: restrict selectable dates relative to today (optional)."
          },
          "range": {
            "type": "boolean",
            "description": "DATE-INPUT only: pick a start→end range instead of a single value (optional)."
          },
          "defaultNow": {
            "type": "boolean",
            "description": "DATE-INPUT only: pre-fill with the current date/time (optional)."
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ],
            "description": "Heading level for TITLE."
          },
          "__text": {
            "type": "string",
            "description": "Heading text for TITLE."
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000,
            "description": "Existing effective answer key of this form field, scoped to its global form or product. Preserve it when renaming a question; omit it for a new question. Unknown, foreign, duplicate or unsafe keys are refused. A read editor object can contain additional read-only metadata."
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/FormAdditionalFieldChild"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        }
      },
      "FormAdditionalFieldChild": {
        "type": "object",
        "description": "A dynamic field added to a form (or to a product). Two scopes: GLOBAL fields (at the form root) appear once per submission; PRODUCT fields (inside a product) repeat per purchased unit. Only collect per-unit info as a product field; everything about the whole order is a global field.",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "BLOCK-FORM",
              "CONTACT-DDN",
              "CONTACT-SOCIAL-ID"
            ],
            "description": "Field kind. TEXT-INPUT=free single-line text; TEXTAREA-INPUT=free multi-line text (optional `height` in px); SELECT-INPUT=dropdown (needs `values`); CHECKBOX-INPUT=yes/no; DOCS-INPUT=file upload (needs `doctype`); DATE-INPUT=date/time picker (optional `picker`/`dateFilter`/`range`/`defaultNow`, defaults to a plain date); TITLE=visual separator (no data; uses `__title_tag`+`__text`); CONTACT-INPUT=secondary CRM contact (name+email+phone); FREE-AMOUNT-INPUT=donor-chosen amount (GLOBAL only, requires withPaiement=true, never inside a product)."
          },
          "required": {
            "type": "boolean",
            "description": "Whether the field is mandatory."
          },
          "__label": {
            "type": "string",
            "description": "Visible label of the field."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Options for SELECT-INPUT (required for that type)."
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ],
            "description": "Allowed upload kind for DOCS-INPUT."
          },
          "height": {
            "type": "integer",
            "description": "TEXTAREA-INPUT only: fixed height of the text area in pixels (optional)."
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ],
            "description": "DATE-INPUT only: granularity. Omit for a plain day date (DD/MM/YYYY). \"Date & Heure\"=date+time; \"Uniquement les Années\"=year; \"Uniquement les Mois\"=month; \"Uniquement l'heure\"=time."
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ],
            "description": "DATE-INPUT only: restrict selectable dates relative to today (optional)."
          },
          "range": {
            "type": "boolean",
            "description": "DATE-INPUT only: pick a start→end range instead of a single value (optional)."
          },
          "defaultNow": {
            "type": "boolean",
            "description": "DATE-INPUT only: pre-fill with the current date/time (optional)."
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ],
            "description": "Heading level for TITLE."
          },
          "__text": {
            "type": "string",
            "description": "Heading text for TITLE."
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000,
            "description": "Existing effective answer key of this form field, scoped to its global form or product. Preserve it when renaming a question; omit it for a new question. Unknown, foreign, duplicate or unsafe keys are refused. A read editor object can contain additional read-only metadata."
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "FormAdditionalField": {
        "type": "object",
        "description": "A dynamic field added to a form (or to a product). Two scopes: GLOBAL fields (at the form root) appear once per submission; PRODUCT fields (inside a product) repeat per purchased unit. Only collect per-unit info as a product field; everything about the whole order is a global field.",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "CONTACT-INPUT",
              "FREE-AMOUNT-INPUT",
              "CHILD-INPUT",
              "HAZKARA-INPUT",
              "BLOCK-FORM",
              "IDENTITY",
              "CALENDARS",
              "PRODUCTS",
              "NEWSLETTER"
            ],
            "description": "Field kind. TEXT-INPUT=free single-line text; TEXTAREA-INPUT=free multi-line text (optional `height` in px); SELECT-INPUT=dropdown (needs `values`); CHECKBOX-INPUT=yes/no; DOCS-INPUT=file upload (needs `doctype`); DATE-INPUT=date/time picker (optional `picker`/`dateFilter`/`range`/`defaultNow`, defaults to a plain date); TITLE=visual separator (no data; uses `__title_tag`+`__text`); CONTACT-INPUT=secondary CRM contact (name+email+phone); FREE-AMOUNT-INPUT=donor-chosen amount (GLOBAL only, requires withPaiement=true, never inside a product). NEWSLETTER is an optional unchecked opt-in for all contacts in the submission. Use once at the form root only. Set __label to customise the checkbox text, or omit it for the default. No required flag or fieldKey."
          },
          "required": {
            "type": "boolean",
            "description": "Whether the field is mandatory."
          },
          "__label": {
            "type": "string",
            "description": "Visible label of the field."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Options for SELECT-INPUT (required for that type)."
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ],
            "description": "Allowed upload kind for DOCS-INPUT."
          },
          "height": {
            "type": "integer",
            "description": "TEXTAREA-INPUT only: fixed height of the text area in pixels (optional)."
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ],
            "description": "DATE-INPUT only: granularity. Omit for a plain day date (DD/MM/YYYY). \"Date & Heure\"=date+time; \"Uniquement les Années\"=year; \"Uniquement les Mois\"=month; \"Uniquement l'heure\"=time."
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ],
            "description": "DATE-INPUT only: restrict selectable dates relative to today (optional)."
          },
          "range": {
            "type": "boolean",
            "description": "DATE-INPUT only: pick a start→end range instead of a single value (optional)."
          },
          "defaultNow": {
            "type": "boolean",
            "description": "DATE-INPUT only: pre-fill with the current date/time (optional)."
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ],
            "description": "Heading level for TITLE."
          },
          "__text": {
            "type": "string",
            "description": "Heading text for TITLE."
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000,
            "description": "Existing effective answer key of this form field, scoped to its global form or product. Preserve it when renaming a question; omit it for a new question. Unknown, foreign, duplicate or unsafe keys are refused. A read editor object can contain additional read-only metadata."
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/FormAdditionalFieldChild"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        }
      },
      "FormSubmit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "organisation": {
            "type": "string"
          },
          "form": {
            "type": "string",
            "description": "Form id"
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "object",
            "nullable": true
          },
          "total": {
            "type": "number",
            "description": "Expected total in major units, derived from the canonical stored minor-unit total. Invalid or missing amounts remain null; no current-price reconstruction.",
            "nullable": true
          },
          "devise": {
            "type": "string",
            "description": "Currency code.",
            "nullable": true
          },
          "paye": {
            "type": "number",
            "readOnly": true,
            "description": "Sum of admitted recorded COMPLETED payment amounts in major units; null when history is ambiguous. Recorded completion does not prove capture or bank settlement.",
            "nullable": true
          },
          "reste": {
            "type": "number",
            "readOnly": true,
            "description": "Remaining expected amount in major units. Null when the total or admitted payment history is unknown; never a cross-currency subtraction.",
            "nullable": true
          },
          "paiements": {
            "type": "array",
            "readOnly": true,
            "description": "COMPLETED payments of this submission (amounts in MAJOR units). Only on GET /forms-submit/{id}.",
            "items": {
              "type": "object",
              "properties": {
                "amount": {
                  "type": "number"
                },
                "method": {
                  "type": "string",
                  "nullable": true
                },
                "datetime": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                }
              }
            },
            "nullable": true
          },
          "datetime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "money": {
            "type": "object",
            "required": [
              "unit",
              "storedTotalUnit",
              "totalStatus",
              "paidStatus",
              "unavailableReasons"
            ],
            "properties": {
              "unit": {
                "type": "string",
                "enum": [
                  "MAJOR"
                ]
              },
              "storedTotalUnit": {
                "type": "string",
                "enum": [
                  "MINOR"
                ]
              },
              "totalStatus": {
                "type": "string",
                "enum": [
                  "KNOWN",
                  "UNKNOWN"
                ]
              },
              "paidStatus": {
                "type": "string",
                "enum": [
                  "KNOWN",
                  "UNKNOWN"
                ]
              },
              "unavailableReasons": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "dataStatus": {
            "type": "string",
            "enum": [
              "AVAILABLE",
              "UNAVAILABLE"
            ]
          }
        }
      },
      "UnisoftRequest_7077b029aa51d9d5ac33": {
        "type": "object",
        "additionalProperties": true,
        "description": "Dynamic PUBLIC answer values interpreted by the native form owner, including quantities, promotion and payment-method values. This is not internal configuration or administrator access. Active identity/CONTACT matching requires exact admitted CRM candidates. Active CHILD/HAZKARA or family mutations and document attachment are refused when their external binding owner is unqualified; inactive stored answers do not imply those effects. data.extra.editId/manual/manualConfig/accessId are not admitted. Each new external submission is checked against the active JSON Schema and the mandatory per-profile rules returned by get_form_submission_schema before effects. No schema revision is sent. Custom-price references are derived automatically from current native rules; enabled:true and the chosen amount suffice. Acquired receipts remain passive and are read before applying a new definition."
      },
      "PublicSubmissionRecordedSuccess": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "url"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "organisation",
              "form",
              "state",
              "data",
              "dataStatus",
              "datetime",
              "devise",
              "total",
              "paye",
              "reste",
              "money"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "organisation": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              },
              "form": {
                "type": "string",
                "format": "uuid"
              },
              "state": {
                "type": "string",
                "nullable": true,
                "enum": [
                  "SUBMIT",
                  "VALIDE",
                  "INVALIDE",
                  null
                ]
              },
              "data": {
                "type": "object",
                "maxProperties": 10000,
                "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string",
                      "nullable": true,
                      "maxLength": 33554432
                    },
                    {
                      "type": "number",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "object",
                      "maxProperties": 10000,
                      "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "nullable": true,
                            "maxLength": 33554432
                          },
                          {
                            "type": "number",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "object",
                            "maxProperties": 10000,
                            "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "type": "array",
                            "maxItems": 10000,
                            "items": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    },
                    {
                      "type": "array",
                      "maxItems": 10000,
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "nullable": true,
                            "maxLength": 33554432
                          },
                          {
                            "type": "number",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "object",
                            "maxProperties": 10000,
                            "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "type": "array",
                            "maxItems": 10000,
                            "items": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    }
                  ]
                },
                "nullable": true
              },
              "dataStatus": {
                "type": "string",
                "enum": [
                  "AVAILABLE",
                  "UNAVAILABLE"
                ]
              },
              "datetime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "devise": {
                "type": "string",
                "pattern": "^[a-z]{3}$",
                "nullable": true
              },
              "total": {
                "type": "number",
                "nullable": true,
                "minimum": 0,
                "maximum": 90071992547409.9
              },
              "paye": {
                "type": "number",
                "nullable": true,
                "minimum": 0,
                "maximum": 90071992547409.9
              },
              "reste": {
                "type": "number",
                "nullable": true,
                "minimum": 0,
                "maximum": 90071992547409.9
              },
              "money": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "unit",
                  "storedTotalUnit",
                  "totalStatus",
                  "paidStatus",
                  "unavailableReasons"
                ],
                "properties": {
                  "unit": {
                    "type": "string",
                    "enum": [
                      "MAJOR"
                    ]
                  },
                  "storedTotalUnit": {
                    "type": "string",
                    "enum": [
                      "MINOR"
                    ]
                  },
                  "totalStatus": {
                    "type": "string",
                    "enum": [
                      "KNOWN",
                      "UNKNOWN"
                    ]
                  },
                  "paidStatus": {
                    "type": "string",
                    "enum": [
                      "KNOWN",
                      "UNKNOWN"
                    ]
                  },
                  "unavailableReasons": {
                    "type": "array",
                    "uniqueItems": true,
                    "maxItems": 9,
                    "items": {
                      "type": "string",
                      "enum": [
                        "MISSING_OR_INVALID_CURRENCY",
                        "MISSING_OR_INVALID_TOTAL",
                        "PAYMENT_HISTORY_UNAVAILABLE",
                        "INVALID_PAYMENT_HISTORY",
                        "INVALID_PAYMENT_AMOUNT",
                        "MISSING_PAYMENT_CURRENCY",
                        "PAYMENT_CURRENCY_MISMATCH",
                        "NON_MONETARY_PAYMENT",
                        "PAYMENT_AMOUNT_OVERFLOW"
                      ]
                    }
                  }
                }
              }
            }
          },
          "url": {
            "type": "string",
            "nullable": true,
            "maxLength": 4096,
            "pattern": "^(?:https?://|/(?!/))"
          },
          "navigation": {
            "type": "string",
            "enum": [
              "payment",
              "redirect"
            ]
          },
          "ticketsUrl": {
            "type": "string",
            "maxLength": 4096,
            "pattern": "^https?://"
          }
        }
      },
      "PublicSubmissionCommandError": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
          },
          "field": {
            "type": "string",
            "maxLength": 1000
          }
        }
      },
      "FormSubmissionSchemaResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormSubmissionSchemaInspection"
          }
        },
        "required": [
          "success",
          "data"
        ]
      },
      "UnisoftRequest_46adfb34dfcaefb8958c": {
        "type": "object",
        "properties": {
          "products": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "productId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128,
                  "pattern": "^[A-Za-z0-9_-]{1,128}$"
                },
                "quantity": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "productId",
                "quantity"
              ],
              "additionalProperties": false
            }
          },
          "devise": {
            "type": "string",
            "minLength": 3,
            "maxLength": 3,
            "pattern": "^[A-Za-z]{3}$"
          },
          "promoCode": {
            "type": "string",
            "maxLength": 200
          },
          "lang": {
            "type": "string",
            "minLength": 2,
            "maxLength": 35,
            "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
          },
          "device": {
            "type": "string",
            "enum": [
              "DESKTOP",
              "MOBILE"
            ]
          },
          "freeAmounts": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "fieldKey": {
                  "type": "string",
                  "maxLength": 256,
                  "pattern": "^\\[FREE_AMOUNT\\]_"
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 90071992547409.9,
                  "description": "Currency units, at most two decimal places accepted by the native amountCents validator."
                }
              },
              "required": [
                "fieldKey",
                "amount"
              ],
              "additionalProperties": false
            }
          },
          "chosenAmount": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409.9,
            "description": "Currency units, at most two decimal places accepted by the native amountCents validator."
          }
        },
        "required": [
          "products"
        ],
        "additionalProperties": false
      },
      "FormCustomPriceQuoteResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormCustomPriceQuote"
          }
        },
        "required": [
          "success",
          "data"
        ]
      },
      "FormCustomPriceQuote": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "currency": {
            "type": "string",
            "pattern": "^[a-z]{3}$",
            "minLength": 3,
            "maxLength": 3
          },
          "context": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "lang": {
                "type": "string",
                "minLength": 2,
                "maxLength": 35,
                "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
              },
              "device": {
                "type": "string",
                "enum": [
                  "DESKTOP",
                  "MOBILE"
                ]
              }
            },
            "required": [
              "lang",
              "device"
            ]
          },
          "unit": {
            "type": "string",
            "enum": [
              "MINOR"
            ]
          },
          "referenceKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072,
            "description": "Benign native deterministic JSON of product prices, quantities, currency, the supplied promotion code and custom-price rules. Unsigned; grants no permission or reservation and is not required for submission."
          },
          "amounts": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "referenceProducts": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "referenceTotal": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "donationTotal": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "chosenProducts": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "adjustment": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "total": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "reduction": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "eligibleReceipt": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Native calculated receipt-eligible base in integer minor units. Not a guarantee of legal deductibility or document eligibility; no receipt is issued."
              }
            },
            "required": [
              "referenceProducts",
              "referenceTotal",
              "donationTotal",
              "chosenProducts",
              "adjustment",
              "total",
              "reduction",
              "eligibleReceipt"
            ]
          },
          "constraints": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "minimumProducts": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Integer minor units (100 minor units per currency unit), calculated with the native rounding rules."
              },
              "allowZero": {
                "type": "boolean"
              },
              "allowHigher": {
                "type": "boolean"
              }
            },
            "required": [
              "minimumProducts",
              "allowZero",
              "allowHigher"
            ]
          },
          "customized": {
            "type": "boolean"
          },
          "availability": {
            "type": "string",
            "enum": [
              "NOT_RESERVED"
            ]
          },
          "settlement": {
            "type": "string",
            "enum": [
              "NOT_VERIFIED"
            ]
          }
        },
        "required": [
          "formId",
          "currency",
          "context",
          "unit",
          "referenceKey",
          "amounts",
          "constraints",
          "customized",
          "availability",
          "settlement"
        ]
      },
      "FormCustomPriceQuoteError": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string",
            "enum": [
              "INVALID_CUSTOM_PRICE_QUOTE_INPUT",
              "CUSTOM_PRICE_SOURCE_UNAVAILABLE",
              "INVALID_CUSTOM_PRICE_REFERENCE",
              "CUSTOM_PRICE_SOURCE_UNSUPPORTED",
              "CUSTOM_PRICE_SOURCE_CHANGED",
              "CUSTOM_PRICE_SOURCE_LIMIT",
              "CUSTOM_PRICE_PRODUCT_UNAVAILABLE",
              "CUSTOM_PRICE_CURRENCY_UNAVAILABLE",
              "CUSTOM_PRICE_FREE_AMOUNT_UNAVAILABLE",
              "CUSTOM_PRICE_DUPLICATE",
              "CUSTOM_PRICE_PLACEMENT",
              "CUSTOM_PRICE_MONTHLY",
              "CUSTOM_PRICE_MINIMUM",
              "CUSTOM_PRICE_QUANTITY",
              "CUSTOM_PRICE_AMOUNT",
              "CUSTOM_PRICE_NO_PRODUCTS",
              "CUSTOM_PRICE_RECONFIRM",
              "CUSTOM_PRICE_ZERO",
              "CUSTOM_PRICE_TOO_LOW",
              "CUSTOM_PRICE_TOO_HIGH",
              "CUSTOM_PRICE_DISABLED",
              "FORM_FINANCIAL_SOURCE_INVALID",
              "INVALID_FORM_SCHEMA_CONTEXT",
              "FORM_SCHEMA_LANGUAGE_UNAVAILABLE",
              "FORM_SCHEMA_CURRENCY_UNAVAILABLE",
              "FORM_SCHEMA_NATIVE_CURRENCY_MISMATCH",
              "FORM_SCHEMA_ASSOCIATION_UNAVAILABLE",
              "FORM_SCHEMA_NOT_FOUND",
              "FORM_SCHEMA_SOURCE_AMBIGUOUS",
              "FORM_SCHEMA_SOURCE_INVALID",
              "FORM_SCHEMA_SOURCE_UNSAFE",
              "FORM_SCHEMA_SOURCE_LIMIT",
              "FORM_SCHEMA_SOURCE_UNAVAILABLE",
              "FORM_SCHEMA_MASTER_UNSUPPORTED",
              "FORM_SCHEMA_BLOCK_UNAVAILABLE",
              "FORM_SCHEMA_BLOCK_CYCLE",
              "FORM_SCHEMA_TRANSPILER_UNAVAILABLE",
              "FORM_SCHEMA_TRANSPILE_FAILED",
              "FORM_SCHEMA_REFERENCE_INVALID",
              "INVALID_REQUEST",
              "NOT_FOUND",
              "INVALID_UUID",
              "MISSING_API_KEY",
              "INVALID_API_KEY",
              "CATALOG_SYSTEM_KEY_ONLY",
              "INSUFFICIENT_SCOPE",
              "MISSING_ORG_ID",
              "ORG_NOT_FOUND",
              "INVALID_API_KEY_CONFIGURATION",
              "INVALID_AUDIENCE",
              "ORG_DISABLED",
              "INTERNAL_ERROR",
              "CAMPAIGN_RESTRICTED_KEY"
            ]
          },
          "required": {
            "type": "array",
            "maxItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "forms:read"
              ]
            }
          },
          "param": {
            "type": "string",
            "enum": [
              "id"
            ]
          },
          "details": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string",
                "pattern": "^[A-Z][A-Z0-9_]{0,99}$",
                "maxLength": 100
              },
              "location": {
                "type": "string",
                "enum": [
                  "query",
                  "path",
                  "body"
                ]
              }
            },
            "required": [
              "code"
            ]
          }
        },
        "required": [
          "success",
          "error"
        ]
      },
      "ManualSubmissionContext": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "formId",
              "revision",
              "baseCurrency",
              "capacityMode",
              "capacityAcknowledgementRequired",
              "internalConcurrencyProtected",
              "requiredCommonScopes",
              "paymentRecordedByThisCommand",
              "stockOverrideAvailable"
            ],
            "properties": {
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "string",
                "pattern": "^sha256:[a-f0-9]{64}$"
              },
              "baseCurrency": {
                "type": "string",
                "pattern": "^[a-z]{3}$"
              },
              "capacityMode": {
                "type": "string",
                "enum": [
                  "NO_CONFIGURED_CAPACITY",
                  "EXTERNAL_OPTIMISTIC",
                  "ANNUAL_NATIVE_LEASE_AND_EXTERNAL_PREFLIGHT"
                ]
              },
              "capacityAcknowledgementRequired": {
                "type": "boolean"
              },
              "internalConcurrencyProtected": {
                "type": "boolean"
              },
              "requiredCommonScopes": {
                "type": "array",
                "uniqueItems": true,
                "maxItems": 6,
                "items": {
                  "type": "string",
                  "enum": [
                    "forms_submit:manual",
                    "forms:read",
                    "forms_submit:read",
                    "forms_submit:write",
                    "forms_submit:validate",
                    "messages:send"
                  ]
                }
              },
              "paymentRecordedByThisCommand": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "stockOverrideAvailable": {
                "type": "boolean",
                "enum": [
                  false
                ]
              }
            }
          }
        }
      },
      "UnisoftRequest_281f78d6477f2a7f9a95": {
        "type": "object",
        "properties": {
          "idempotencyKey": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "confirmation": {
            "type": "string",
            "enum": [
              "CREATE_VALIDATED_REGISTRATION"
            ]
          },
          "capacityAcknowledgement": {
            "type": "string",
            "enum": [
              "OPTIMISTIC_WITH_INTERNAL_WRITES"
            ]
          },
          "devise": {
            "type": "string",
            "pattern": "^[a-z]{3}$"
          },
          "lang": {
            "type": "string",
            "pattern": "^[a-z]{2}$"
          },
          "manualConfig": {
            "type": "object",
            "properties": {
              "sendConfirmationEmail": {
                "type": "boolean"
              },
              "allowStockOverride": {
                "type": "boolean",
                "enum": [
                  false
                ]
              }
            },
            "required": [
              "sendConfirmationEmail",
              "allowStockOverride"
            ],
            "additionalProperties": false
          },
          "data": {
            "type": "object",
            "maxProperties": 10000,
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 33554432,
                  "nullable": true
                },
                {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "object",
                  "maxProperties": 10000,
                  "additionalProperties": {
                    "$ref": "#/components/schemas/UnisoftRequest_ea287aee5fa5d2db0bca"
                  }
                },
                {
                  "type": "array",
                  "maxItems": 10000,
                  "items": {
                    "$ref": "#/components/schemas/UnisoftRequest_ea287aee5fa5d2db0bca"
                  }
                }
              ]
            }
          }
        },
        "required": [
          "idempotencyKey",
          "expectedRevision",
          "confirmation",
          "devise",
          "manualConfig",
          "data"
        ],
        "additionalProperties": false
      },
      "UnisoftRequest_ea287aee5fa5d2db0bca": {
        "anyOf": [
          {
            "type": "string",
            "maxLength": 33554432,
            "nullable": true
          },
          {
            "type": "number",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          {
            "type": "boolean"
          },
          {
            "type": "object",
            "maxProperties": 10000,
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 33554432,
                  "nullable": true
                },
                {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "object",
                  "maxProperties": 10000,
                  "additionalProperties": {
                    "$ref": "#/components/schemas/UnisoftRequest_8b61b71f49585498de70"
                  }
                },
                {
                  "type": "array",
                  "maxItems": 10000,
                  "items": {
                    "$ref": "#/components/schemas/UnisoftRequest_8b61b71f49585498de70"
                  }
                }
              ]
            }
          },
          {
            "type": "array",
            "maxItems": 10000,
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 33554432,
                  "nullable": true
                },
                {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "object",
                  "maxProperties": 10000,
                  "additionalProperties": {
                    "$ref": "#/components/schemas/UnisoftRequest_8b61b71f49585498de70"
                  }
                },
                {
                  "type": "array",
                  "maxItems": 10000,
                  "items": {
                    "$ref": "#/components/schemas/UnisoftRequest_8b61b71f49585498de70"
                  }
                }
              ]
            }
          }
        ]
      },
      "UnisoftRequest_8b61b71f49585498de70": {
        "anyOf": [
          {
            "type": "string",
            "maxLength": 33554432,
            "nullable": true
          },
          {
            "type": "number",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          {
            "type": "boolean"
          },
          {
            "type": "object",
            "maxProperties": 10000,
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 33554432,
                  "nullable": true
                },
                {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "object",
                  "maxProperties": 10000,
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 33554432,
                        "nullable": true
                      },
                      {
                        "type": "number",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                },
                {
                  "type": "array",
                  "maxItems": 10000,
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 33554432,
                        "nullable": true
                      },
                      {
                        "type": "number",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "type": "array",
            "maxItems": 10000,
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 33554432,
                  "nullable": true
                },
                {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "object",
                  "maxProperties": 10000,
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 33554432,
                        "nullable": true
                      },
                      {
                        "type": "number",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                },
                {
                  "type": "array",
                  "maxItems": 10000,
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 33554432,
                        "nullable": true
                      },
                      {
                        "type": "number",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      "ManualSubmissionReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "commandId",
              "formId",
              "status",
              "submissionId",
              "registrationState",
              "manual",
              "paymentRecordedByThisCommand",
              "financialSettlement",
              "crmEffects",
              "notificationDelivery",
              "ticketIssuance",
              "capacityMode",
              "retryable",
              "protectionReleased",
              "error",
              "requestedAt",
              "completedAt"
            ],
            "properties": {
              "commandId": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "status": {
                "type": "string",
                "enum": [
                  "SUCCEEDED",
                  "REFUSED",
                  "UNKNOWN"
                ]
              },
              "submissionId": {
                "type": "string",
                "format": "uuid",
                "nullable": true
              },
              "registrationState": {
                "type": "string",
                "nullable": true,
                "enum": [
                  "VALIDE",
                  null
                ]
              },
              "manual": {
                "type": "boolean",
                "nullable": true
              },
              "paymentRecordedByThisCommand": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "financialSettlement": {
                "type": "string",
                "enum": [
                  "NOT_VERIFIED"
                ]
              },
              "crmEffects": {
                "type": "string",
                "enum": [
                  "NOT_VERIFIED"
                ]
              },
              "notificationDelivery": {
                "type": "string",
                "enum": [
                  "NOT_VERIFIED"
                ]
              },
              "ticketIssuance": {
                "type": "string",
                "enum": [
                  "NOT_VERIFIED"
                ]
              },
              "capacityMode": {
                "type": "string",
                "enum": [
                  "NO_CONFIGURED_CAPACITY",
                  "EXTERNAL_OPTIMISTIC",
                  "ANNUAL_NATIVE_LEASE_AND_EXTERNAL_PREFLIGHT"
                ]
              },
              "retryable": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "protectionReleased": {
                "type": "boolean"
              },
              "error": {
                "type": "string",
                "nullable": true,
                "pattern": "^[A-Z][A-Z0-9_]{0,99}$"
              },
              "requestedAt": {
                "type": "string",
                "format": "date-time"
              },
              "completedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        }
      },
      "SubmissionRestorationPlan": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "submissionId",
          "formId",
          "revision",
          "state",
          "archived",
          "eligible",
          "reasons",
          "requiredScopes",
          "consumesResourcesAfterRestore",
          "reservationCutoff",
          "capacityMode",
          "capacityAcknowledgement",
          "ticketAccessAcknowledgement",
          "existingTicketsMayRegainAccess",
          "recordedTicketCount",
          "products",
          "globalCapacity",
          "reservedSeatCount",
          "financialRecalculation",
          "notificationRequested",
          "ticketCheckInModified",
          "concurrentInternalChangesPossible"
        ],
        "properties": {
          "submissionId": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "state": {
            "type": "string",
            "enum": [
              "VALIDE",
              "SUBMIT",
              "INVALIDE"
            ]
          },
          "archived": {
            "type": "boolean"
          },
          "eligible": {
            "type": "boolean"
          },
          "reasons": {
            "type": "array",
            "maxItems": 7,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "SUBMISSION_NOT_ARCHIVED",
                "USE_NON_OCCUPYING_RESTORE",
                "RESTORATION_CALENDAR_CAPACITY_UNQUALIFIED",
                "RESTORATION_PRODUCT_FULL",
                "RESTORATION_FORM_FULL",
                "RESTORATION_CATEGORY_FULL",
                "RESTORATION_SEAT_TAKEN"
              ]
            }
          },
          "requiredScopes": {
            "type": "array",
            "minItems": 4,
            "maxItems": 6,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "forms_submit:restore",
                "forms:read",
                "forms_submit:read",
                "forms_submit:archive",
                "events:read",
                "tickets:read"
              ]
            }
          },
          "consumesResourcesAfterRestore": {
            "type": "boolean"
          },
          "reservationCutoff": {
            "type": "string",
            "format": "date-time"
          },
          "capacityMode": {
            "type": "string",
            "enum": [
              "OPTIMISTIC_API_FENCE",
              "NATIVE_ANNUAL_LEASE_AND_API_FENCE",
              "NO_CAPACITY_REACQUISITION"
            ]
          },
          "capacityAcknowledgement": {
            "type": "string",
            "enum": [
              "OPTIMISTIC_WITH_INTERNAL_WRITES"
            ]
          },
          "ticketAccessAcknowledgement": {
            "type": "string",
            "nullable": true,
            "enum": [
              "EXISTING_TICKET_ACCESS_MAY_RESUME",
              null
            ]
          },
          "existingTicketsMayRegainAccess": {
            "type": "boolean"
          },
          "recordedTicketCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000,
            "nullable": true
          },
          "products": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "productId",
                "quantity",
                "occupied",
                "capacity",
                "available"
              ],
              "properties": {
                "productId": {
                  "type": "string",
                  "format": "uuid"
                },
                "quantity": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1000000
                },
                "occupied": {
                  "type": "integer",
                  "minimum": 0
                },
                "capacity": {
                  "type": "integer",
                  "minimum": 0,
                  "nullable": true
                },
                "available": {
                  "type": "integer",
                  "minimum": 0,
                  "nullable": true
                }
              }
            }
          },
          "globalCapacity": {
            "type": "integer",
            "minimum": 0,
            "nullable": true
          },
          "reservedSeatCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5000
          },
          "financialRecalculation": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "notificationRequested": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "ticketCheckInModified": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "concurrentInternalChangesPossible": {
            "type": "boolean",
            "enum": [
              true
            ]
          }
        }
      },
      "SubmissionRestorationReceipt": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "commandId",
              "submissionId",
              "formId",
              "status",
              "reason",
              "revision",
              "archived",
              "restoredState",
              "financialRecalculation",
              "notificationRequested",
              "ticketCheckInModified",
              "existingTicketsMayRegainAccess",
              "concurrentInternalChangesPossible",
              "retryable",
              "cleanupUnconfirmed"
            ],
            "properties": {
              "commandId": {
                "type": "string",
                "format": "uuid"
              },
              "submissionId": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "status": {
                "type": "string",
                "enum": [
                  "APPLIED"
                ]
              },
              "reason": {
                "type": "string",
                "nullable": true
              },
              "revision": {
                "type": "string",
                "pattern": "^sha256:[a-f0-9]{64}$"
              },
              "archived": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "restoredState": {
                "type": "string",
                "enum": [
                  "VALIDE",
                  "SUBMIT"
                ]
              },
              "financialRecalculation": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "notificationRequested": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "ticketCheckInModified": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "existingTicketsMayRegainAccess": {
                "type": "boolean"
              },
              "concurrentInternalChangesPossible": {
                "type": "boolean",
                "enum": [
                  true
                ]
              },
              "retryable": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "cleanupUnconfirmed": {
                "type": "boolean"
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "commandId",
              "submissionId",
              "formId",
              "status",
              "reason",
              "revision",
              "archived",
              "restoredState",
              "financialRecalculation",
              "notificationRequested",
              "ticketCheckInModified",
              "existingTicketsMayRegainAccess",
              "concurrentInternalChangesPossible",
              "retryable",
              "cleanupUnconfirmed"
            ],
            "properties": {
              "commandId": {
                "type": "string",
                "format": "uuid"
              },
              "submissionId": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "status": {
                "type": "string",
                "enum": [
                  "NOT_APPLIED"
                ]
              },
              "reason": {
                "type": "string",
                "nullable": true
              },
              "revision": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "archived": {
                "type": "boolean",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "restoredState": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "financialRecalculation": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "notificationRequested": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "ticketCheckInModified": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "existingTicketsMayRegainAccess": {
                "type": "boolean"
              },
              "concurrentInternalChangesPossible": {
                "type": "boolean",
                "enum": [
                  true
                ]
              },
              "retryable": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "cleanupUnconfirmed": {
                "type": "boolean"
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "commandId",
              "submissionId",
              "formId",
              "status",
              "reason",
              "revision",
              "archived",
              "restoredState",
              "financialRecalculation",
              "notificationRequested",
              "ticketCheckInModified",
              "existingTicketsMayRegainAccess",
              "concurrentInternalChangesPossible",
              "retryable",
              "cleanupUnconfirmed"
            ],
            "properties": {
              "commandId": {
                "type": "string",
                "format": "uuid"
              },
              "submissionId": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "status": {
                "type": "string",
                "enum": [
                  "UNKNOWN"
                ]
              },
              "reason": {
                "type": "string",
                "nullable": true
              },
              "revision": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "archived": {
                "type": "boolean",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "restoredState": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "financialRecalculation": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "notificationRequested": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "ticketCheckInModified": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "existingTicketsMayRegainAccess": {
                "type": "boolean"
              },
              "concurrentInternalChangesPossible": {
                "type": "boolean",
                "enum": [
                  true
                ]
              },
              "retryable": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "cleanupUnconfirmed": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "SubmissionReassignmentCurrentResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionReassignmentCurrent"
          }
        }
      },
      "SubmissionReassignmentCurrent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "submissionId",
          "formId",
          "revision",
          "currency",
          "associationId",
          "totalMinor",
          "unit",
          "products",
          "calendars",
          "sameFormOnly",
          "capacityMode",
          "financialEffects",
          "crmEffects",
          "automaticNotifications",
          "automaticTicketReconciliation"
        ],
        "properties": {
          "submissionId": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "currency": {
            "type": "string",
            "pattern": "^[a-z]{3}$"
          },
          "associationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "totalMinor": {
            "type": "integer",
            "minimum": 0
          },
          "unit": {
            "type": "string",
            "enum": [
              "MINOR"
            ]
          },
          "products": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "productId",
                "quantity"
              ],
              "properties": {
                "productId": {
                  "type": "string",
                  "format": "uuid"
                },
                "quantity": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 10000
                }
              }
            }
          },
          "calendars": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "calendarId",
                "recordedAt"
              ],
              "properties": {
                "calendarId": {
                  "type": "string",
                  "format": "uuid"
                },
                "recordedAt": {
                  "type": "string",
                  "format": "date-time",
                  "nullable": true
                }
              }
            }
          },
          "sameFormOnly": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "capacityMode": {
            "type": "string",
            "enum": [
              "ANNUAL_NATIVE_LEASE_AND_EXTERNAL_PREFLIGHT",
              "EXTERNAL_OPTIMISTIC"
            ]
          },
          "financialEffects": {
            "type": "string",
            "enum": [
              "NONE"
            ]
          },
          "crmEffects": {
            "type": "string",
            "enum": [
              "NONE"
            ]
          },
          "automaticNotifications": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "automaticTicketReconciliation": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        }
      },
      "SubmissionReassignmentPreviewResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionReassignmentPreview"
          }
        }
      },
      "SubmissionReassignmentPreview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "submissionId",
          "formId",
          "expectedRevision",
          "previewHash",
          "moves",
          "calendar",
          "currency",
          "totalMinor",
          "unit",
          "financialEffects",
          "crmEffects",
          "capacityMode",
          "capacityAcknowledgementRequired",
          "ticketReconciliation",
          "reservesCapacity"
        ],
        "properties": {
          "submissionId": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "previewHash": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "moves": {
            "type": "array",
            "maxItems": 50,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "fromProductId",
                "toProductId"
              ],
              "properties": {
                "fromProductId": {
                  "type": "string",
                  "format": "uuid"
                },
                "toProductId": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "calendar": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "calendarId",
              "slotId"
            ],
            "properties": {
              "calendarId": {
                "type": "string",
                "format": "uuid"
              },
              "slotId": {
                "type": "string",
                "format": "uuid"
              }
            },
            "nullable": true
          },
          "currency": {
            "type": "string",
            "pattern": "^[a-z]{3}$"
          },
          "totalMinor": {
            "type": "integer",
            "minimum": 0
          },
          "unit": {
            "type": "string",
            "enum": [
              "MINOR"
            ]
          },
          "financialEffects": {
            "type": "string",
            "enum": [
              "NONE"
            ]
          },
          "crmEffects": {
            "type": "string",
            "enum": [
              "NONE"
            ]
          },
          "capacityMode": {
            "type": "string",
            "enum": [
              "ANNUAL_NATIVE_LEASE_AND_EXTERNAL_PREFLIGHT",
              "EXTERNAL_OPTIMISTIC"
            ]
          },
          "capacityAcknowledgementRequired": {
            "type": "boolean"
          },
          "ticketReconciliation": {
            "type": "string",
            "enum": [
              "REQUIRED",
              "NOT_REQUESTED"
            ]
          },
          "reservesCapacity": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        }
      },
      "SubmissionReassignmentReceiptResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/SubmissionReassignmentReceipt"
          }
        }
      },
      "SubmissionReassignmentReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "commandId",
          "submissionId",
          "formId",
          "state",
          "journalStatus",
          "retryable",
          "protectionReleased",
          "financialEffects",
          "crmEffects",
          "automaticNotifications",
          "ticketReconciliation",
          "error"
        ],
        "properties": {
          "commandId": {
            "type": "string",
            "format": "uuid"
          },
          "submissionId": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "APPLIED",
              "REFUSED",
              "CONFLICT",
              "UNKNOWN"
            ]
          },
          "journalStatus": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "protectionReleased": {
            "type": "boolean"
          },
          "financialEffects": {
            "type": "string",
            "enum": [
              "NONE"
            ]
          },
          "crmEffects": {
            "type": "string",
            "enum": [
              "NONE"
            ]
          },
          "automaticNotifications": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "ticketReconciliation": {
            "type": "string",
            "enum": [
              "REQUIRED",
              "NOT_REQUESTED"
            ]
          },
          "error": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
            "nullable": true
          }
        }
      },
      "UnisoftRequest_3534eb277fd4107c0e30": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "moves": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "type": "object",
              "properties": {
                "fromProductId": {
                  "type": "string",
                  "format": "uuid"
                },
                "toProductId": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "fromProductId",
                "toProductId"
              ],
              "additionalProperties": false
            }
          },
          "calendar": {
            "type": "object",
            "properties": {
              "calendarId": {
                "type": "string",
                "format": "uuid"
              },
              "slotId": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "calendarId",
              "slotId"
            ],
            "additionalProperties": false
          },
          "idempotencyKey": {
            "type": "string",
            "format": "uuid"
          },
          "previewHash": {
            "type": "string",
            "pattern": "^sha256:[a-f0-9]{64}$"
          },
          "confirmation": {
            "type": "string",
            "enum": [
              "REASSIGN_WITHOUT_FINANCIAL_CHANGE"
            ]
          },
          "capacityAcknowledgement": {
            "type": "string",
            "enum": [
              "OPTIMISTIC_WITH_INTERNAL_WRITES"
            ]
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "previewHash",
          "confirmation"
        ],
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "moves"
            ]
          },
          {
            "required": [
              "calendar"
            ]
          }
        ]
      },
      "SubmissionPlacementRead": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "submissionId": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "state": {
            "type": "string",
            "enum": [
              "VALIDE",
              "SUBMIT"
            ]
          },
          "categories": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "requiredSeats": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 5000
                },
                "tables": {
                  "type": "array",
                  "maxItems": 100,
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "label": {
                        "type": "string"
                      },
                      "capacity": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 5000
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "capacity"
                    ]
                  }
                },
                "seats": {
                  "type": "array",
                  "maxItems": 5000,
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "tableId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "seat": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 5000
                      }
                    },
                    "required": [
                      "tableId",
                      "seat"
                    ]
                  }
                }
              },
              "required": [
                "id",
                "requiredSeats",
                "tables",
                "seats"
              ]
            }
          },
          "observationOnly": {
            "type": "boolean",
            "enum": [
              true
            ]
          }
        },
        "required": [
          "submissionId",
          "formId",
          "expectedRevision",
          "state",
          "categories",
          "observationOnly"
        ]
      },
      "SubmissionPlacementPreview": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "submissionId": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "planToken": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "seats": {
            "type": "array",
            "maxItems": 5000,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "tableId": {
                  "type": "string",
                  "format": "uuid"
                },
                "seat": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 5000
                }
              },
              "required": [
                "tableId",
                "seat"
              ]
            }
          },
          "financialRecalculation": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "ticketMutation": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "reservation": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "required": [
          "submissionId",
          "formId",
          "expectedRevision",
          "planToken",
          "categoryId",
          "seats",
          "financialRecalculation",
          "ticketMutation",
          "reservation"
        ]
      },
      "SubmissionPlacementReceipt": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "submissionId": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "RUNNING",
              "SUCCEEDED",
              "CONFLICT",
              "REFUSED",
              "UNKNOWN"
            ]
          },
          "reason": {
            "type": "string",
            "nullable": true,
            "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
          },
          "appliedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "financialRecalculation": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "ticketMutation": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "automaticRetry": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "required": [
          "id",
          "submissionId",
          "formId",
          "state",
          "reason",
          "appliedRevision",
          "createdAt",
          "updatedAt",
          "financialRecalculation",
          "ticketMutation",
          "automaticRetry"
        ]
      },
      "FormRegistrationRulesCurrentResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormRegistrationRulesCurrent"
          }
        },
        "required": [
          "success",
          "data"
        ]
      },
      "FormRegistrationRulesCurrent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "expireAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "globalStock": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000,
            "nullable": true
          },
          "sessionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "openingDateSupported": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "slotModel": {
            "type": "string",
            "enum": [
              "ALLDAY"
            ]
          },
          "categories": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/FormRegistrationRulesCategory"
            }
          },
          "productCategories": {
            "type": "array",
            "maxItems": 500,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "productId": {
                  "type": "string",
                  "format": "uuid"
                },
                "categoryId": {
                  "type": "string",
                  "format": "uuid",
                  "nullable": true
                }
              },
              "required": [
                "productId",
                "categoryId"
              ]
            }
          }
        },
        "required": [
          "formId",
          "expectedRevision",
          "expireAt",
          "globalStock",
          "sessionId",
          "openingDateSupported",
          "slotModel",
          "categories",
          "productCategories"
        ]
      },
      "FormRegistrationRulesCategory": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000,
            "nullable": true
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "stockMode": {
            "type": "string",
            "enum": [
              "NONE",
              "SIMPLE",
              "SEATS"
            ]
          },
          "stock": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000,
            "nullable": true
          },
          "capacity": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000,
            "nullable": true
          },
          "tables": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200,
                  "pattern": ".*\\S.*"
                },
                "capacity": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1000000
                }
              },
              "required": [
                "id",
                "label",
                "capacity"
              ]
            }
          }
        },
        "required": [
          "id",
          "name",
          "position",
          "active",
          "stockMode",
          "stock",
          "capacity",
          "tables"
        ]
      },
      "UnisoftRequest_6e109051d2386f4bf692": {
        "oneOf": [
          {
            "type": "object",
            "minProperties": 2,
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "FORM_LIMITS"
                ]
              },
              "expireAt": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?(?:Z|[+-]\\d{2}:\\d{2})$",
                "format": "date-time",
                "nullable": true
              },
              "globalStock": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000,
                "nullable": true
              }
            },
            "required": [
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "CREATE_CATEGORY"
                ]
              },
              "categoryId": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": ".*\\S.*"
              },
              "position": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "active": {
                "type": "boolean"
              },
              "stockMode": {
                "type": "string",
                "enum": [
                  "NONE",
                  "SIMPLE",
                  "SEATS"
                ]
              },
              "stock": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000,
                "nullable": true
              },
              "tables": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200,
                      "pattern": ".*\\S.*"
                    },
                    "capacity": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 1000000
                    }
                  },
                  "required": [
                    "id",
                    "label",
                    "capacity"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "type",
              "categoryId",
              "name",
              "stockMode"
            ],
            "additionalProperties": false
          },
          {
            "$ref": "#/components/schemas/UnisoftRequest_0bd98c93bc7754b08f2e"
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "DELETE_CATEGORY"
                ]
              },
              "categoryId": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "type",
              "categoryId"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "PRODUCT_CATEGORY"
                ]
              },
              "productId": {
                "type": "string",
                "format": "uuid"
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "nullable": true
              }
            },
            "required": [
              "type",
              "productId",
              "categoryId"
            ],
            "additionalProperties": false
          }
        ]
      },
      "UnisoftRequest_0bd98c93bc7754b08f2e": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "UPDATE_CATEGORY"
            ]
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "changes": {
            "type": "object",
            "minProperties": 1,
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": ".*\\S.*"
              },
              "position": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "active": {
                "type": "boolean"
              },
              "stockMode": {
                "type": "string",
                "enum": [
                  "NONE",
                  "SIMPLE",
                  "SEATS"
                ]
              },
              "stock": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000,
                "nullable": true
              },
              "tables": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200,
                      "pattern": ".*\\S.*"
                    },
                    "capacity": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 1000000
                    }
                  },
                  "required": [
                    "id",
                    "label",
                    "capacity"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "type",
          "categoryId",
          "changes"
        ],
        "additionalProperties": false
      },
      "FormRegistrationRulesPlanResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormRegistrationRulesPlan"
          }
        },
        "required": [
          "success",
          "data"
        ]
      },
      "FormRegistrationRulesPlan": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "planToken": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "operationType": {
            "type": "string",
            "enum": [
              "FORM_LIMITS",
              "CREATE_CATEGORY",
              "UPDATE_CATEGORY",
              "DELETE_CATEGORY",
              "PRODUCT_CATEGORY"
            ]
          },
          "after": {
            "$ref": "#/components/schemas/FormRegistrationRulesCurrent"
          }
        },
        "required": [
          "formId",
          "expectedRevision",
          "planToken",
          "operationType",
          "after"
        ]
      },
      "FormRegistrationRulesCommandResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormRegistrationRulesCommand"
          }
        },
        "required": [
          "success",
          "data"
        ]
      },
      "FormRegistrationRulesCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "STARTED",
              "APPLIED",
              "UNKNOWN",
              "CONFLICT"
            ]
          },
          "appliedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "nullable": true
          },
          "journal": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "formId",
          "state",
          "appliedRevision",
          "journal",
          "createdAt",
          "updatedAt"
        ]
      },
      "FormTemplateListResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "hasMore",
          "nextAfter"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/FormTemplateDefinition"
            }
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextAfter": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        }
      },
      "FormTemplateDefinition": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "groupId",
          "title",
          "revision",
          "configurationSupported",
          "configuration",
          "children"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "configurationSupported": {
            "type": "boolean"
          },
          "configuration": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/FormTemplateConfiguration"
              },
              {
                "type": "object",
                "additionalProperties": false,
                "nullable": true,
                "enum": [
                  null
                ]
              }
            ]
          },
          "children": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "revision"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "revision": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          }
        }
      },
      "FormTemplateConfiguration": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "pattern": ".*\\S.*"
          },
          "description": {
            "type": "string"
          },
          "autoValid": {
            "type": "boolean"
          },
          "withPaiement": {
            "type": "boolean"
          },
          "paiementType": {
            "type": "string",
            "enum": [
              "PAIEMENT",
              "ABONNEMENT",
              "MONTHLY"
            ]
          },
          "onePaiement": {
            "type": "boolean"
          },
          "deposit": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409,
            "multipleOf": 0.01
          },
          "depositPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "abonnementMaxMonth": {
            "type": "integer",
            "minimum": 2
          },
          "aboMonthInfinite": {
            "type": "boolean"
          },
          "aboMonthMin": {
            "type": "integer",
            "minimum": 1
          },
          "aboMonthMax": {
            "type": "integer",
            "minimum": 1
          },
          "paiementMethods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "requirePaiementValidation": {
            "type": "boolean"
          },
          "autoValidOtherPaiementMethod": {
            "type": "boolean"
          },
          "allowZeroAmount": {
            "type": "boolean"
          },
          "identity": {
            "type": "string",
            "enum": [
              "NONE",
              "SIMPLE",
              "FULL"
            ]
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "globalStock": {
            "type": "integer",
            "minimum": 0,
            "nullable": true
          },
          "allowNoProduct": {
            "type": "boolean"
          },
          "products": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/FormTemplateProduct"
            }
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormTemplateField"
            }
          }
        }
      },
      "FormTemplateProduct": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "label",
          "title",
          "montant"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "pattern": ".*\\S.*"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "pattern": ".*\\S.*"
          },
          "description": {
            "type": "string"
          },
          "montant": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409,
            "multipleOf": 0.01
          },
          "cerfa": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "simple_stock": {
            "type": "integer",
            "minimum": 0
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormTemplateFieldProduct"
            }
          }
        }
      },
      "FormTemplateFieldProduct": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "CONTACT-INPUT",
              "FREE-AMOUNT-INPUT",
              "CHILD-INPUT",
              "HAZKARA-INPUT",
              "BLOCK-FORM",
              "IDENTITY",
              "CALENDARS",
              "PRODUCTS"
            ]
          },
          "required": {
            "type": "boolean"
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "__label": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ]
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ]
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ]
          },
          "range": {
            "type": "boolean"
          },
          "defaultNow": {
            "type": "boolean"
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ]
          },
          "__text": {
            "type": "string"
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/FormTemplateFieldChild"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        }
      },
      "FormTemplateFieldChild": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "BLOCK-FORM",
              "CONTACT-DDN",
              "CONTACT-SOCIAL-ID"
            ]
          },
          "required": {
            "type": "boolean"
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "__label": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ]
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ]
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ]
          },
          "range": {
            "type": "boolean"
          },
          "defaultNow": {
            "type": "boolean"
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ]
          },
          "__text": {
            "type": "string"
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "FormTemplateField": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "CONTACT-INPUT",
              "FREE-AMOUNT-INPUT",
              "CHILD-INPUT",
              "HAZKARA-INPUT",
              "BLOCK-FORM",
              "IDENTITY",
              "CALENDARS",
              "PRODUCTS",
              "NEWSLETTER"
            ],
            "description": "NEWSLETTER is an optional unchecked opt-in for all contacts in the submission. Use once at the form root only. Set __label to customise the checkbox text, or omit it for the default. No required flag or fieldKey."
          },
          "required": {
            "type": "boolean"
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "__label": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ]
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ]
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ]
          },
          "range": {
            "type": "boolean"
          },
          "defaultNow": {
            "type": "boolean"
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ]
          },
          "__text": {
            "type": "string"
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/FormTemplateFieldChild"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        }
      },
      "UnisoftRequest_d86121f51f7c6db1e812": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "pattern": ".*\\S.*"
          },
          "description": {
            "type": "string"
          },
          "autoValid": {
            "type": "boolean"
          },
          "withPaiement": {
            "type": "boolean"
          },
          "paiementType": {
            "type": "string",
            "enum": [
              "PAIEMENT",
              "ABONNEMENT",
              "MONTHLY"
            ]
          },
          "onePaiement": {
            "type": "boolean"
          },
          "deposit": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409,
            "multipleOf": 0.01
          },
          "depositPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "abonnementMaxMonth": {
            "type": "integer",
            "minimum": 2
          },
          "aboMonthInfinite": {
            "type": "boolean"
          },
          "aboMonthMin": {
            "type": "integer",
            "minimum": 1
          },
          "aboMonthMax": {
            "type": "integer",
            "minimum": 1
          },
          "paiementMethods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "requirePaiementValidation": {
            "type": "boolean"
          },
          "autoValidOtherPaiementMethod": {
            "type": "boolean"
          },
          "allowZeroAmount": {
            "type": "boolean"
          },
          "identity": {
            "type": "string",
            "enum": [
              "NONE",
              "SIMPLE",
              "FULL"
            ]
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "globalStock": {
            "type": "integer",
            "minimum": 0,
            "nullable": true
          },
          "allowNoProduct": {
            "type": "boolean"
          },
          "products": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "pattern": ".*\\S.*"
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "pattern": ".*\\S.*"
                },
                "description": {
                  "type": "string"
                },
                "montant": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 90071992547409,
                  "multipleOf": 0.01
                },
                "cerfa": {
                  "type": "boolean"
                },
                "active": {
                  "type": "boolean"
                },
                "categories": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "simple_stock": {
                  "type": "integer",
                  "minimum": 0
                },
                "additionalFields": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UnisoftRequest_858ac891fedd9cec3b72"
                  }
                }
              },
              "required": [
                "label",
                "title",
                "montant"
              ],
              "additionalProperties": false
            }
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_661bd958888df6090a14"
            }
          }
        },
        "required": [
          "title"
        ],
        "additionalProperties": false
      },
      "UnisoftRequest_858ac891fedd9cec3b72": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "CONTACT-INPUT",
              "FREE-AMOUNT-INPUT",
              "CHILD-INPUT",
              "HAZKARA-INPUT",
              "BLOCK-FORM",
              "IDENTITY",
              "CALENDARS",
              "PRODUCTS"
            ]
          },
          "required": {
            "type": "boolean"
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "__label": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ]
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ]
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ]
          },
          "range": {
            "type": "boolean"
          },
          "defaultNow": {
            "type": "boolean"
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ]
          },
          "__text": {
            "type": "string"
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_ec697ff68a8801066c1a"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false
      },
      "UnisoftRequest_ec697ff68a8801066c1a": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "BLOCK-FORM",
              "CONTACT-DDN",
              "CONTACT-SOCIAL-ID"
            ]
          },
          "required": {
            "type": "boolean"
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "__label": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ]
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ]
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ]
          },
          "range": {
            "type": "boolean"
          },
          "defaultNow": {
            "type": "boolean"
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ]
          },
          "__text": {
            "type": "string"
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false
      },
      "UnisoftRequest_661bd958888df6090a14": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TEXT-INPUT",
              "TEXTAREA-INPUT",
              "SELECT-INPUT",
              "CHECKBOX-INPUT",
              "DOCS-INPUT",
              "DATE-INPUT",
              "TITLE",
              "CONTACT-INPUT",
              "FREE-AMOUNT-INPUT",
              "CHILD-INPUT",
              "HAZKARA-INPUT",
              "BLOCK-FORM",
              "IDENTITY",
              "CALENDARS",
              "PRODUCTS",
              "NEWSLETTER"
            ],
            "description": "NEWSLETTER is an optional unchecked opt-in for all contacts in the submission. Use once at the form root only. Set __label to customise the checkbox text, or omit it for the default. No required flag or fieldKey."
          },
          "required": {
            "type": "boolean"
          },
          "fieldKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "__label": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "doctype": {
            "type": "string",
            "enum": [
              "IMG",
              "PDF",
              "ZIP"
            ]
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "picker": {
            "type": "string",
            "enum": [
              "Date & Heure",
              "Uniquement les Années",
              "Uniquement les Mois",
              "Uniquement l'heure"
            ]
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "Antérieur à aujourd'hui",
              "Ultérieur à aujourd'hui",
              "Aujourd'hui & antérieur à aujourd'hui",
              "Aujourd'hui & ultérieur à aujourd'hui"
            ]
          },
          "range": {
            "type": "boolean"
          },
          "defaultNow": {
            "type": "boolean"
          },
          "__title_tag": {
            "type": "string",
            "enum": [
              "h1",
              "h2",
              "h3",
              "h4",
              "h5"
            ]
          },
          "__text": {
            "type": "string"
          },
          "blockId": {
            "type": "string",
            "format": "uuid"
          },
          "children": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_ec697ff68a8801066c1a"
            },
            "description": "Compatible fields of IDENTITY, CONTACT-INPUT or CHILD-INPUT only. Answers keep the parent person and product occurrence scope. No person inside person or Hazkara children. When editing a parent with children, send this complete list explicitly, including [] to remove it. For explicit root ordering, include IDENTITY, CALENDARS and PRODUCTS exactly once each; omit all three for the historical order. These protected section markers cannot occur inside a product. Retain existing markers when replacing a structured definition."
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false
      },
      "FormTemplateCommandOutcome": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "resourceId",
          "requestId",
          "state"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "resourceId": {
            "type": "string",
            "format": "uuid"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "STARTED",
              "APPLIED",
              "UNKNOWN",
              "CONFLICT"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "reason": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,99}$"
          },
          "journal": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "invocation": {
            "type": "string",
            "enum": [
              "RETURNED",
              "THREW",
              "NOT_INVOKED"
            ]
          },
          "delivery": {
            "type": "string",
            "enum": [
              "UNKNOWN"
            ]
          }
        }
      },
      "FormTemplateReadResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormTemplateDefinition"
          }
        }
      },
      "UnisoftRequest_175347e6aca3c4908e91": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "pattern": ".*\\S.*"
          },
          "description": {
            "type": "string"
          },
          "autoValid": {
            "type": "boolean"
          },
          "withPaiement": {
            "type": "boolean"
          },
          "paiementType": {
            "type": "string",
            "enum": [
              "PAIEMENT",
              "ABONNEMENT",
              "MONTHLY"
            ]
          },
          "onePaiement": {
            "type": "boolean"
          },
          "deposit": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409,
            "multipleOf": 0.01
          },
          "depositPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "abonnementMaxMonth": {
            "type": "integer",
            "minimum": 2
          },
          "aboMonthInfinite": {
            "type": "boolean"
          },
          "aboMonthMin": {
            "type": "integer",
            "minimum": 1
          },
          "aboMonthMax": {
            "type": "integer",
            "minimum": 1
          },
          "paiementMethods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "requirePaiementValidation": {
            "type": "boolean"
          },
          "autoValidOtherPaiementMethod": {
            "type": "boolean"
          },
          "allowZeroAmount": {
            "type": "boolean"
          },
          "identity": {
            "type": "string",
            "enum": [
              "NONE",
              "SIMPLE",
              "FULL"
            ]
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "globalStock": {
            "type": "integer",
            "minimum": 0,
            "nullable": true
          },
          "allowNoProduct": {
            "type": "boolean"
          },
          "products": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "pattern": ".*\\S.*"
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "pattern": ".*\\S.*"
                },
                "description": {
                  "type": "string"
                },
                "montant": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 90071992547409,
                  "multipleOf": 0.01
                },
                "cerfa": {
                  "type": "boolean"
                },
                "active": {
                  "type": "boolean"
                },
                "categories": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "simple_stock": {
                  "type": "integer",
                  "minimum": 0
                },
                "additionalFields": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UnisoftRequest_858ac891fedd9cec3b72"
                  }
                }
              },
              "required": [
                "label",
                "title",
                "montant"
              ],
              "additionalProperties": false
            }
          },
          "additionalFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnisoftRequest_661bd958888df6090a14"
            }
          }
        },
        "additionalProperties": false
      },
      "FormTemplateChildResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormTemplateChildRelation"
          }
        }
      },
      "FormTemplateChildRelation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "masterId",
          "revision",
          "linked"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "masterId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "linked": {
            "type": "boolean"
          }
        }
      },
      "FormModelSessionPreviewResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormModelSessionPreview"
          }
        }
      },
      "FormModelSessionPreview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "masterId",
          "groupId",
          "modelLabel",
          "revision",
          "availableCount",
          "sessions"
        ],
        "properties": {
          "masterId": {
            "type": "string",
            "format": "uuid"
          },
          "groupId": {
            "type": "string",
            "format": "uuid"
          },
          "modelLabel": {
            "type": "string"
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "availableCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 200
          },
          "sessions": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/FormModelSessionCandidate"
            }
          }
        }
      },
      "FormModelSessionCandidate": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "sessionId",
          "label",
          "localDate",
          "startAt",
          "endAt",
          "state"
        ],
        "properties": {
          "sessionId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "localDate": {
            "type": "string",
            "format": "date"
          },
          "startAt": {
            "type": "string",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "format": "date-time"
          },
          "state": {
            "type": "string",
            "enum": [
              "AVAILABLE",
              "ALREADY_LINKED",
              "HAS_FORM",
              "INACTIVE",
              "NO_LEDGER"
            ]
          }
        }
      },
      "FormModelSessionApplicationResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormModelSessionApplication"
          }
        }
      },
      "FormModelSessionApplication": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "applicationId",
              "masterId",
              "groupId",
              "state",
              "createdCount",
              "forms",
              "replayed"
            ],
            "properties": {
              "applicationId": {
                "type": "string",
                "format": "uuid"
              },
              "masterId": {
                "type": "string",
                "format": "uuid"
              },
              "groupId": {
                "type": "string",
                "format": "uuid"
              },
              "state": {
                "type": "string",
                "enum": [
                  "APPLIED"
                ]
              },
              "createdCount": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "forms": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "sessionId",
                    "formId"
                  ],
                  "properties": {
                    "sessionId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "formId": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              },
              "replayed": {
                "type": "boolean"
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "applicationId",
              "masterId",
              "groupId",
              "state"
            ],
            "properties": {
              "applicationId": {
                "type": "string",
                "format": "uuid"
              },
              "masterId": {
                "type": "string",
                "format": "uuid"
              },
              "groupId": {
                "type": "string",
                "format": "uuid"
              },
              "state": {
                "type": "string",
                "enum": [
                  "RUNNING"
                ]
              }
            }
          }
        ]
      },
      "FormConfirmationPreviewResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "submissionId",
              "formId",
              "recipient",
              "language",
              "previewKind",
              "html",
              "expectedRevision",
              "resendSupported",
              "excluded",
              "delivery"
            ],
            "properties": {
              "submissionId": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "recipient": {
                "type": "string",
                "maxLength": 320
              },
              "language": {
                "type": "string"
              },
              "previewKind": {
                "type": "string",
                "enum": [
                  "CONTENT_ONLY"
                ]
              },
              "html": {
                "type": "string",
                "maxLength": 2000000
              },
              "expectedRevision": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "resendSupported": {
                "type": "boolean"
              },
              "excluded": {
                "type": "array",
                "minItems": 8,
                "maxItems": 8,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "SUBJECT",
                    "PAYMENT_LINK",
                    "TICKETS",
                    "PDF",
                    "WALLET",
                    "ADDITIONAL_TEMPLATE",
                    "TOTALS",
                    "EVENT_NAME_OVERRIDE"
                  ]
                }
              },
              "delivery": {
                "type": "string",
                "enum": [
                  "NOT_INVOKED"
                ]
              }
            }
          }
        }
      },
      "FormConfirmationCommandOutcome": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "resourceId",
          "requestId",
          "state"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "resourceId": {
            "type": "string",
            "format": "uuid"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "STARTED",
              "APPLIED",
              "UNKNOWN",
              "CONFLICT"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "reason": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,99}$"
          },
          "journal": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "invocation": {
            "type": "string",
            "enum": [
              "RETURNED",
              "THREW",
              "NOT_INVOKED"
            ]
          },
          "delivery": {
            "type": "string",
            "enum": [
              "UNKNOWN"
            ]
          }
        }
      },
      "SubmissionDocumentReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "formId",
              "submissionIds",
              "includeFinancial",
              "filename",
              "mimeType",
              "digest",
              "bytes",
              "generatedAt",
              "sourceReadStartedAt",
              "sourceReadCompletedAt",
              "snapshot",
              "state"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "submissionIds": {
                "type": "array",
                "maxItems": 100,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "includeFinancial": {
                "type": "boolean"
              },
              "filename": {
                "type": "string"
              },
              "mimeType": {
                "type": "string",
                "enum": [
                  "application/pdf"
                ]
              },
              "digest": {
                "type": "string",
                "pattern": "^sha256:[a-f0-9]{64}$"
              },
              "bytes": {
                "type": "integer",
                "minimum": 5,
                "maximum": 2097152
              },
              "generatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "sourceReadStartedAt": {
                "type": "string",
                "format": "date-time"
              },
              "sourceReadCompletedAt": {
                "type": "string",
                "format": "date-time"
              },
              "snapshot": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "state": {
                "type": "string",
                "enum": [
                  "AVAILABLE"
                ]
              }
            }
          }
        }
      },
      "SubmissionDocumentContent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "formId",
              "submissionIds",
              "includeFinancial",
              "filename",
              "mimeType",
              "digest",
              "bytes",
              "generatedAt",
              "sourceReadStartedAt",
              "sourceReadCompletedAt",
              "snapshot",
              "state",
              "encoding",
              "contentBase64"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "submissionIds": {
                "type": "array",
                "maxItems": 100,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "includeFinancial": {
                "type": "boolean"
              },
              "filename": {
                "type": "string"
              },
              "mimeType": {
                "type": "string",
                "enum": [
                  "application/pdf"
                ]
              },
              "digest": {
                "type": "string",
                "pattern": "^sha256:[a-f0-9]{64}$"
              },
              "bytes": {
                "type": "integer",
                "minimum": 5,
                "maximum": 2097152
              },
              "generatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "sourceReadStartedAt": {
                "type": "string",
                "format": "date-time"
              },
              "sourceReadCompletedAt": {
                "type": "string",
                "format": "date-time"
              },
              "snapshot": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "state": {
                "type": "string",
                "enum": [
                  "AVAILABLE"
                ]
              },
              "encoding": {
                "type": "string",
                "enum": [
                  "base64"
                ]
              },
              "contentBase64": {
                "type": "string",
                "maxLength": 2796204
              }
            }
          }
        }
      },
      "SubmissionSeatingRead": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "formId",
              "category",
              "tables",
              "totalSeats",
              "occupiedSeats",
              "availableSeats",
              "readAt",
              "pendingHeldSince",
              "snapshot",
              "assignmentAvailable",
              "assignmentUnavailableReason"
            ],
            "properties": {
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "category": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "name",
                  "active"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "name": {
                    "type": "string"
                  },
                  "active": {
                    "type": "boolean"
                  }
                }
              },
              "tables": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "label",
                    "capacity",
                    "seats"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "label": {
                      "type": "string"
                    },
                    "capacity": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 5000
                    },
                    "seats": {
                      "type": "array",
                      "maxItems": 5000,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "seat",
                          "occupant"
                        ],
                        "properties": {
                          "seat": {
                            "type": "integer",
                            "minimum": 1
                          },
                          "occupant": {
                            "type": "object",
                            "nullable": true,
                            "additionalProperties": false,
                            "required": [
                              "submissionId",
                              "state"
                            ],
                            "properties": {
                              "submissionId": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "SUBMIT",
                                  "VALIDE"
                                ]
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "totalSeats": {
                "type": "integer",
                "minimum": 0,
                "maximum": 5000
              },
              "occupiedSeats": {
                "type": "integer",
                "minimum": 0
              },
              "availableSeats": {
                "type": "integer",
                "minimum": 0
              },
              "readAt": {
                "type": "string",
                "format": "date-time"
              },
              "pendingHeldSince": {
                "type": "string",
                "format": "date-time"
              },
              "snapshot": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "assignmentAvailable": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "assignmentUnavailableReason": {
                "type": "string",
                "enum": [
                  "SEATING_ASSIGNMENT_OWNER_UNAVAILABLE"
                ]
              }
            }
          }
        }
      },
      "SubmissionFileExport": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "meta"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "format",
              "filename",
              "mimeType",
              "content",
              "encoding"
            ],
            "properties": {
              "format": {
                "type": "string",
                "enum": [
                  "JSON",
                  "CSV"
                ]
              },
              "filename": {
                "type": "string"
              },
              "mimeType": {
                "type": "string",
                "enum": [
                  "application/json",
                  "text/csv"
                ]
              },
              "content": {
                "type": "string"
              },
              "encoding": {
                "type": "string",
                "enum": [
                  "UTF-8"
                ]
              }
            }
          },
          "meta": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "scope",
              "count",
              "sort",
              "snapshot",
              "moneyUnit",
              "startedAt",
              "completedAt",
              "maxRows",
              "maxBytes"
            ],
            "properties": {
              "scope": {
                "$ref": "#/components/schemas/EventSubmissionReadScope"
              },
              "count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000
              },
              "sort": {
                "type": "string",
                "enum": [
                  "ID_ASC"
                ]
              },
              "snapshot": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "moneyUnit": {
                "type": "string",
                "enum": [
                  "MAJOR"
                ]
              },
              "startedAt": {
                "type": "string",
                "format": "date-time"
              },
              "completedAt": {
                "type": "string",
                "format": "date-time"
              },
              "maxRows": {
                "type": "integer",
                "enum": [
                  1000
                ]
              },
              "maxBytes": {
                "type": "integer",
                "enum": [
                  4194304
                ]
              }
            }
          }
        }
      },
      "EventSubmissionReadScope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "id",
          "formIds",
          "state",
          "archive",
          "calendarId",
          "occurrenceFrom",
          "occurrenceBefore"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "FORM",
              "SESSION"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "formIds": {
            "type": "array",
            "maxItems": 500,
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "state": {
            "type": "string",
            "enum": [
              "SUBMIT",
              "VALIDE",
              "INVALIDE",
              null
            ],
            "nullable": true
          },
          "archive": {
            "type": "string",
            "enum": [
              "EXCLUDE",
              "ONLY",
              "INCLUDE"
            ]
          },
          "calendarId": {
            "type": "string",
            "nullable": true
          },
          "occurrenceFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "occurrenceBefore": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "SubmissionEditContext": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "formId",
              "revision",
              "archived",
              "state",
              "answers",
              "mode",
              "crmSynchronized",
              "financialRecalculation"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "string",
                "pattern": "^sha256:[a-f0-9]{64}$"
              },
              "archived": {
                "type": "boolean"
              },
              "state": {
                "type": "string",
                "enum": [
                  "SUBMIT",
                  "VALIDE",
                  "INVALIDE"
                ]
              },
              "answers": {
                "type": "object",
                "maxProperties": 10000,
                "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string",
                      "nullable": true,
                      "maxLength": 33554432
                    },
                    {
                      "type": "number",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "object",
                      "maxProperties": 10000,
                      "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "nullable": true,
                            "maxLength": 33554432
                          },
                          {
                            "type": "number",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "object",
                            "maxProperties": 10000,
                            "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "type": "array",
                            "maxItems": 10000,
                            "items": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    },
                    {
                      "type": "array",
                      "maxItems": 10000,
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "nullable": true,
                            "maxLength": 33554432
                          },
                          {
                            "type": "number",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "object",
                            "maxProperties": 10000,
                            "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "type": "array",
                            "maxItems": 10000,
                            "items": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "nullable": true,
                                  "maxLength": 33554432
                                },
                                {
                                  "type": "number",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "object",
                                  "maxProperties": 10000,
                                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "array",
                                  "maxItems": 10000,
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "nullable": true,
                                        "maxLength": 33554432
                                      },
                                      {
                                        "type": "number",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "object",
                                        "maxProperties": 10000,
                                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                        "additionalProperties": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "type": "array",
                                        "maxItems": 10000,
                                        "items": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "nullable": true,
                                              "maxLength": 33554432
                                            },
                                            {
                                              "type": "number",
                                              "minimum": -9007199254740991,
                                              "maximum": 9007199254740991
                                            },
                                            {
                                              "type": "boolean"
                                            },
                                            {
                                              "type": "object",
                                              "maxProperties": 10000,
                                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                              "additionalProperties": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "type": "array",
                                              "maxItems": 10000,
                                              "items": {
                                                "anyOf": [
                                                  {
                                                    "type": "string",
                                                    "nullable": true,
                                                    "maxLength": 33554432
                                                  },
                                                  {
                                                    "type": "number",
                                                    "minimum": -9007199254740991,
                                                    "maximum": 9007199254740991
                                                  },
                                                  {
                                                    "type": "boolean"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    }
                  ]
                }
              },
              "mode": {
                "type": "string",
                "enum": [
                  "STORED_ANSWERS_ONLY"
                ]
              },
              "crmSynchronized": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "financialRecalculation": {
                "type": "boolean",
                "enum": [
                  false
                ]
              }
            }
          }
        }
      },
      "UnisoftRequest_45d511f96afeace94d67": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000,
            "description": "Exact existing submitted-answer key. Only nonfinancial field families are editable; no arbitrary JSON path, new key, calendar, seat, quantity, promotion or custom-price input."
          },
          "member": {
            "type": "string",
            "enum": [
              "nom",
              "prenom",
              "prenomHE",
              "email",
              "tel",
              "adresse",
              "ville",
              "cp",
              "pays",
              "profession",
              "ddn",
              "homme"
            ],
            "description": "Optional existing member of identity or a CONTACT/CHILD/HAZKARA answer. IDs and binding metadata are immutable. This changes the stored answer only, not the CRM contact."
          },
          "productId": {
            "type": "string",
            "format": "uuid"
          },
          "participantIndex": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9999
          },
          "value": {
            "anyOf": [
              {
                "oneOf": [
                  {
                    "type": "string",
                    "maxLength": 4000
                  },
                  {
                    "type": "number",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "array",
                    "maxItems": 100,
                    "uniqueItems": true,
                    "items": {
                      "type": "string",
                      "maxLength": 4000
                    }
                  }
                ]
              },
              {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              }
            ]
          }
        },
        "required": [
          "key",
          "value"
        ],
        "additionalProperties": false
      },
      "SubmissionCommandAcknowledgement": {
        "type": "object",
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "formId",
                  "action",
                  "revision",
                  "mode",
                  "crmSynchronized",
                  "financialRecalculation"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "formId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "action": {
                    "type": "string",
                    "enum": [
                      "answers"
                    ]
                  },
                  "revision": {
                    "type": "string",
                    "pattern": "^sha256:[a-f0-9]{64}$"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "STORED_ANSWERS_ONLY"
                    ]
                  },
                  "crmSynchronized": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  },
                  "financialRecalculation": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  }
                }
              },
              {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "formId",
                  "action",
                  "revision",
                  "mode",
                  "crmSynchronized",
                  "financialRecalculation",
                  "archived"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "formId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "action": {
                    "type": "string",
                    "enum": [
                      "archive"
                    ]
                  },
                  "revision": {
                    "type": "string",
                    "pattern": "^sha256:[a-f0-9]{64}$"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "ARCHIVE_FLAG_ONLY"
                    ]
                  },
                  "crmSynchronized": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  },
                  "financialRecalculation": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  },
                  "archived": {
                    "type": "boolean",
                    "enum": [
                      true
                    ]
                  }
                }
              },
              {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "formId",
                  "action",
                  "revision",
                  "mode",
                  "crmSynchronized",
                  "financialRecalculation",
                  "archived"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "formId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "action": {
                    "type": "string",
                    "enum": [
                      "restore"
                    ]
                  },
                  "revision": {
                    "type": "string",
                    "pattern": "^sha256:[a-f0-9]{64}$"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "ARCHIVE_FLAG_ONLY"
                    ]
                  },
                  "crmSynchronized": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  },
                  "financialRecalculation": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  },
                  "archived": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  }
                }
              },
              {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "formId",
                  "action",
                  "revision",
                  "mode",
                  "crmSynchronized",
                  "financialRecalculation",
                  "customStatus"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "formId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "action": {
                    "type": "string",
                    "enum": [
                      "custom_statuses"
                    ]
                  },
                  "revision": {
                    "type": "string",
                    "pattern": "^sha256:[a-f0-9]{64}$"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "CUSTOM_STATUS_ONLY"
                    ]
                  },
                  "crmSynchronized": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  },
                  "financialRecalculation": {
                    "type": "boolean",
                    "enum": [
                      false
                    ]
                  },
                  "customStatus": {
                    "type": "array",
                    "maxItems": 100,
                    "uniqueItems": true,
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    }
                  }
                }
              }
            ]
          }
        }
      },
      "SubmissionCustomStatusesContext": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "formId",
              "revision",
              "catalogRevision",
              "catalog",
              "assigned",
              "unconfiguredAssigned",
              "state",
              "archived"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "string",
                "pattern": "^sha256:[a-f0-9]{64}$"
              },
              "catalogRevision": {
                "type": "string",
                "pattern": "^sha256:[a-f0-9]{64}$"
              },
              "catalog": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "assigned": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "unconfiguredAssigned": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "string"
                }
              },
              "state": {
                "type": "string",
                "enum": [
                  "SUBMIT",
                  "VALIDE",
                  "INVALIDE"
                ]
              },
              "archived": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "FormCalendarListResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "hasMore",
          "nextAfter"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/FormCalendarDefinition"
            }
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextAfter": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        }
      },
      "FormCalendarDefinition": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "formId",
          "label",
          "active",
          "timeZone",
          "revision"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "timeZone": {
            "type": "string"
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          }
        }
      },
      "FormCalendarCommandOutcome": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "resourceId",
          "requestId",
          "state"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "resourceId": {
            "type": "string",
            "format": "uuid"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "STARTED",
              "APPLIED",
              "UNKNOWN",
              "CONFLICT"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "reason": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,99}$"
          },
          "journal": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "invocation": {
            "type": "string",
            "enum": [
              "RETURNED",
              "THREW",
              "NOT_INVOKED"
            ]
          },
          "delivery": {
            "type": "string",
            "enum": [
              "UNKNOWN"
            ]
          }
        }
      },
      "FormCalendarReadResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormCalendarDefinition"
          }
        }
      },
      "FormCalendarSlotListResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "hasMore",
          "nextAfter"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/FormCalendarSlotDefinition"
            }
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextAfter": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        }
      },
      "FormCalendarSlotDefinition": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "calendarId",
          "type",
          "date",
          "localDate",
          "timeZone",
          "active",
          "expireBefore",
          "products",
          "revision"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "calendarId": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "type": "string",
            "enum": [
              "ALLDAY"
            ]
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "localDate": {
            "type": "string",
            "format": "date"
          },
          "timeZone": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "expireBefore": {
            "type": "number",
            "minimum": 0,
            "maximum": 8760,
            "nullable": true
          },
          "products": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "stock"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "stock": {
                  "type": "integer",
                  "minimum": 0,
                  "nullable": true
                }
              }
            }
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          }
        }
      },
      "FormBlockListResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "hasMore",
          "nextAfter"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/FormBlockDefinition"
            }
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextAfter": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        }
      },
      "FormBlockDefinition": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "active",
          "revision",
          "content",
          "contentSupported"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "contentSupported": {
            "type": "boolean"
          }
        }
      },
      "FormBlockCommandOutcome": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "resourceId",
          "requestId",
          "state"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "resourceId": {
            "type": "string",
            "format": "uuid"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "STARTED",
              "APPLIED",
              "UNKNOWN",
              "CONFLICT"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "reason": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,99}$"
          },
          "journal": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "invocation": {
            "type": "string",
            "enum": [
              "RETURNED",
              "THREW",
              "NOT_INVOKED"
            ]
          },
          "delivery": {
            "type": "string",
            "enum": [
              "UNKNOWN"
            ]
          }
        }
      },
      "FormBlockReadResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormBlockDefinition"
          }
        }
      },
      "FormPromotionCatalogue": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "formId",
              "revision",
              "codes",
              "managed"
            ],
            "properties": {
              "formId": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "integer",
                "minimum": 0
              },
              "managed": {
                "type": "boolean"
              },
              "codes": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "$ref": "#/components/schemas/FormPromotionCode"
                }
              }
            }
          }
        }
      },
      "FormPromotionCode": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "promotionalCode",
          "reducedPercent"
        ],
        "properties": {
          "promotionalCode": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "pattern": ".*\\S.*"
          },
          "reducedPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          }
        }
      },
      "FormPromotionCommandOutcome": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "resourceId",
          "requestId",
          "state"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "resourceId": {
            "type": "string",
            "format": "uuid"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "STARTED",
              "APPLIED",
              "UNKNOWN",
              "CONFLICT"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "reason": {
            "type": "string",
            "pattern": "^[A-Z][A-Z0-9_]{0,99}$"
          },
          "journal": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "invocation": {
            "type": "string",
            "enum": [
              "RETURNED",
              "THREW",
              "NOT_INVOKED"
            ]
          },
          "delivery": {
            "type": "string",
            "enum": [
              "UNKNOWN"
            ]
          }
        }
      },
      "EventAvailabilityOverview": {
        "type": "object",
        "properties": {
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "registrationOpen": {
            "type": "boolean"
          },
          "readAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "timeZone": {
            "type": "string"
          },
          "observationOnly": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "globalConfiguredCapacity": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "nullable": true
          },
          "products": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "label": {
                  "type": "string",
                  "nullable": true
                },
                "title": {
                  "type": "string",
                  "nullable": true
                },
                "categoryId": {
                  "type": "string",
                  "format": "uuid",
                  "nullable": true
                },
                "configuredCapacity": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991,
                  "nullable": true
                }
              },
              "required": [
                "id",
                "label",
                "title",
                "categoryId",
                "configuredCapacity"
              ],
              "additionalProperties": false
            }
          },
          "categories": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "stockMode": {
                  "type": "string",
                  "nullable": true,
                  "enum": [
                    "NONE",
                    "SIMPLE",
                    "SEATS",
                    null
                  ]
                },
                "configuredCapacity": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991,
                  "nullable": true
                }
              },
              "required": [
                "id",
                "stockMode",
                "configuredCapacity"
              ],
              "additionalProperties": false
            }
          },
          "calendars": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "label": {
                  "type": "string",
                  "nullable": true
                }
              },
              "required": [
                "id",
                "label"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "formId",
          "registrationOpen",
          "readAt",
          "expiresAt",
          "timeZone",
          "observationOnly",
          "globalConfiguredCapacity",
          "products",
          "categories",
          "calendars"
        ],
        "additionalProperties": false
      },
      "EventAvailabilityProduct": {
        "type": "object",
        "properties": {
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "registrationOpen": {
            "type": "boolean"
          },
          "readAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "timeZone": {
            "type": "string"
          },
          "observationOnly": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "productId": {
            "type": "string",
            "format": "uuid"
          },
          "remaining": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "nullable": true
          },
          "capacityStatus": {
            "type": "string",
            "enum": [
              "LIMITED",
              "NOT_CONFIGURED_FOR_SELECTION",
              "NOT_EVALUATED_CLOSED"
            ]
          },
          "needPropagation": {
            "type": "boolean"
          }
        },
        "required": [
          "formId",
          "registrationOpen",
          "readAt",
          "expiresAt",
          "timeZone",
          "observationOnly",
          "productId",
          "remaining",
          "capacityStatus",
          "needPropagation"
        ],
        "additionalProperties": false
      },
      "EventAvailabilitySeats": {
        "type": "object",
        "properties": {
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "registrationOpen": {
            "type": "boolean"
          },
          "readAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "timeZone": {
            "type": "string"
          },
          "observationOnly": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "evaluated": {
            "type": "boolean"
          },
          "tables": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string",
                  "nullable": true
                },
                "capacity": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 2000
                },
                "takenSeats": {
                  "type": "array",
                  "maxItems": 2000,
                  "uniqueItems": true,
                  "items": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 2000
                  }
                }
              },
              "required": [
                "id",
                "label",
                "capacity",
                "takenSeats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "formId",
          "registrationOpen",
          "readAt",
          "expiresAt",
          "timeZone",
          "observationOnly",
          "categoryId",
          "evaluated",
          "tables"
        ],
        "additionalProperties": false
      },
      "EventAvailabilityCalendar": {
        "type": "object",
        "properties": {
          "formId": {
            "type": "string",
            "format": "uuid"
          },
          "registrationOpen": {
            "type": "boolean"
          },
          "readAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "timeZone": {
            "type": "string"
          },
          "observationOnly": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "calendarId": {
            "type": "string",
            "format": "uuid"
          },
          "evaluated": {
            "type": "boolean"
          },
          "year": {
            "type": "integer",
            "minimum": 2000,
            "maximum": 2099
          },
          "month": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12
          },
          "dates": {
            "type": "array",
            "maxItems": 10000,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "format": "date-time"
            }
          }
        },
        "required": [
          "formId",
          "registrationOpen",
          "readAt",
          "expiresAt",
          "timeZone",
          "observationOnly",
          "calendarId",
          "evaluated",
          "year",
          "month",
          "dates"
        ],
        "additionalProperties": false
      },
      "EventSubmissionReadPage": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "meta"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/EventSubmissionReadItem"
            }
          },
          "meta": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "scope",
              "count",
              "limit",
              "hasMore",
              "nextCursor",
              "sort",
              "readAt",
              "snapshot",
              "maxCandidateSubmissions"
            ],
            "properties": {
              "scope": {
                "$ref": "#/components/schemas/EventSubmissionReadScope"
              },
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200
              },
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "type": "string",
                "nullable": true
              },
              "sort": {
                "type": "string",
                "enum": [
                  "ID_ASC"
                ]
              },
              "readAt": {
                "type": "string",
                "format": "date-time"
              },
              "snapshot": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "maxCandidateSubmissions": {
                "type": "integer",
                "enum": [
                  10000
                ]
              }
            }
          }
        }
      },
      "EventSubmissionReadItem": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "organisation",
          "form",
          "state",
          "data",
          "dataStatus",
          "datetime",
          "devise",
          "total",
          "paye",
          "reste",
          "money",
          "archived"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organisation": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "form": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "SUBMIT",
              "VALIDE",
              "INVALIDE",
              null
            ],
            "nullable": true
          },
          "data": {
            "type": "object",
            "maxProperties": 10000,
            "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "nullable": true,
                  "maxLength": 33554432
                },
                {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "object",
                  "maxProperties": 10000,
                  "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 33554432
                      },
                      {
                        "type": "number",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "object",
                        "maxProperties": 10000,
                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "type": "string",
                              "nullable": true,
                              "maxLength": 33554432
                            },
                            {
                              "type": "number",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "object",
                              "maxProperties": 10000,
                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "type": "array",
                              "maxItems": 10000,
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      },
                      {
                        "type": "array",
                        "maxItems": 10000,
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "nullable": true,
                              "maxLength": 33554432
                            },
                            {
                              "type": "number",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "object",
                              "maxProperties": 10000,
                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "type": "array",
                              "maxItems": 10000,
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "type": "array",
                  "maxItems": 10000,
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 33554432
                      },
                      {
                        "type": "number",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "object",
                        "maxProperties": 10000,
                        "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "type": "string",
                              "nullable": true,
                              "maxLength": 33554432
                            },
                            {
                              "type": "number",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "object",
                              "maxProperties": 10000,
                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "type": "array",
                              "maxItems": 10000,
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      },
                      {
                        "type": "array",
                        "maxItems": 10000,
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "nullable": true,
                              "maxLength": 33554432
                            },
                            {
                              "type": "number",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "object",
                              "maxProperties": 10000,
                              "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "type": "array",
                              "maxItems": 10000,
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "nullable": true,
                                    "maxLength": 33554432
                                  },
                                  {
                                    "type": "number",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "object",
                                    "maxProperties": 10000,
                                    "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                    "additionalProperties": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "type": "array",
                                    "maxItems": 10000,
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "nullable": true,
                                          "maxLength": 33554432
                                        },
                                        {
                                          "type": "number",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "boolean"
                                        },
                                        {
                                          "type": "object",
                                          "maxProperties": 10000,
                                          "x-unisoft-map-key-pattern": "^(?=[\\s\\S]*\\S)(?![\\s\\S]*[$\\u0000])(?!(?:[\\s\\S]*[.\\[\\]])?(?:__proto__|prototype|constructor)(?:[.\\[\\]]|$))[\\s\\S]{1,1000}$",
                                          "additionalProperties": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "type": "array",
                                          "maxItems": 10000,
                                          "items": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "nullable": true,
                                                "maxLength": 33554432
                                              },
                                              {
                                                "type": "number",
                                                "minimum": -9007199254740991,
                                                "maximum": 9007199254740991
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          "dataStatus": {
            "type": "string",
            "enum": [
              "AVAILABLE"
            ]
          },
          "datetime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "devise": {
            "type": "string",
            "pattern": "^[a-z]{3}$",
            "nullable": true
          },
          "total": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409.9,
            "nullable": true
          },
          "paye": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409.9,
            "nullable": true
          },
          "reste": {
            "type": "number",
            "minimum": 0,
            "maximum": 90071992547409.9,
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "money": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "unit",
              "storedTotalUnit",
              "totalStatus",
              "paidStatus",
              "unavailableReasons"
            ],
            "properties": {
              "unit": {
                "type": "string",
                "enum": [
                  "MAJOR"
                ]
              },
              "storedTotalUnit": {
                "type": "string",
                "enum": [
                  "MINOR"
                ]
              },
              "totalStatus": {
                "type": "string",
                "enum": [
                  "KNOWN",
                  "UNKNOWN"
                ]
              },
              "paidStatus": {
                "type": "string",
                "enum": [
                  "KNOWN",
                  "UNKNOWN"
                ]
              },
              "unavailableReasons": {
                "type": "array",
                "maxItems": 9,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "MISSING_OR_INVALID_CURRENCY",
                    "MISSING_OR_INVALID_TOTAL",
                    "PAYMENT_HISTORY_UNAVAILABLE",
                    "INVALID_PAYMENT_HISTORY",
                    "INVALID_PAYMENT_AMOUNT",
                    "MISSING_PAYMENT_CURRENCY",
                    "PAYMENT_CURRENCY_MISMATCH",
                    "NON_MONETARY_PAYMENT",
                    "PAYMENT_AMOUNT_OVERFLOW"
                  ]
                }
              }
            }
          }
        }
      },
      "EventSubmissionReadSummary": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "scope",
              "total",
              "states",
              "unit",
              "readAt",
              "snapshot",
              "maxCandidateSubmissions"
            ],
            "properties": {
              "scope": {
                "$ref": "#/components/schemas/EventSubmissionReadScope"
              },
              "total": {
                "type": "integer",
                "minimum": 0
              },
              "states": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "SUBMIT",
                  "VALIDE",
                  "INVALIDE",
                  "ARCHIVED"
                ],
                "properties": {
                  "SUBMIT": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "VALIDE": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "INVALIDE": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "ARCHIVED": {
                    "type": "integer",
                    "minimum": 0
                  }
                }
              },
              "unit": {
                "type": "string",
                "enum": [
                  "SUBMISSIONS"
                ]
              },
              "readAt": {
                "type": "string",
                "format": "date-time"
              },
              "snapshot": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "maxCandidateSubmissions": {
                "type": "integer",
                "enum": [
                  10000
                ]
              }
            }
          }
        }
      },
      "EventTicketPage": {
        "type": "object",
        "required": [
          "success",
          "data",
          "meta"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventTicketRecorded"
            }
          },
          "meta": {
            "type": "object",
            "required": [
              "count",
              "hasMore",
              "nextCursor",
              "coverage",
              "reconciliation",
              "pagination",
              "readAt"
            ],
            "additionalProperties": false,
            "properties": {
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "type": "string",
                "nullable": true
              },
              "coverage": {
                "type": "string",
                "enum": [
                  "PERSISTED_ONLY"
                ]
              },
              "reconciliation": {
                "type": "string",
                "enum": [
                  "NOT_PERFORMED"
                ]
              },
              "pagination": {
                "type": "string",
                "enum": [
                  "LIVE_OFFSET_NO_SNAPSHOT"
                ]
              },
              "readAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      },
      "EventTicketRecorded": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "reference",
          "revision",
          "formId",
          "submissionId",
          "productId",
          "kind",
          "ordinal",
          "label",
          "recordedState",
          "recordedRole",
          "recordedUsedAt",
          "recordedRevokedAt",
          "recordedCreatedAt",
          "recordedUpdatedAt",
          "submissionState",
          "submissionArchived",
          "consistency",
          "pdf"
        ],
        "properties": {
          "reference": {
            "type": "string",
            "pattern": "^tkt_[a-f0-9]{64}$",
            "description": "Opaque organisation-bound reference, not the native ticket UUID, QR value, URL or order token. Resolve it only within its authorised submission."
          },
          "revision": {
            "type": "string",
            "pattern": "^trev_[a-f0-9]{64}$",
            "description": "Optimistic admission revision of the observed native ticket, siblings and relevant registration/form/product inputs. It is not a reservation or an authentication token; re-read before a new command after a conflict."
          },
          "formId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
          },
          "submissionId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
          },
          "productId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
            "nullable": true
          },
          "kind": {
            "type": "string",
            "enum": [
              "ORDER",
              "UNIT"
            ]
          },
          "ordinal": {
            "type": "integer",
            "minimum": 1
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "recordedState": {
            "type": "string",
            "enum": [
              "VALID",
              "USED",
              "REVOKED"
            ],
            "description": "Persisted ticket state. VALID alone is not present entry authorisation: inspect consistency and the current submission state."
          },
          "recordedRole": {
            "type": "string",
            "enum": [
              "ENTRY",
              "ORDER_SUMMARY"
            ],
            "description": "Role derived by the native pure entry rule from persisted tickets of this submission. A global order ticket becomes a summary while non-revoked unit tickets exist. This is not a scan or reservation."
          },
          "recordedUsedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "recordedRevokedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "recordedCreatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "recordedUpdatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "submissionState": {
            "type": "string",
            "nullable": true
          },
          "submissionArchived": {
            "type": "boolean"
          },
          "consistency": {
            "type": "string",
            "enum": [
              "CURRENT_AT_READ",
              "RECONCILIATION_REQUIRED",
              "UNKNOWN"
            ],
            "description": "Result of the shared pure reconciliation plan, without applying it. CURRENT_AT_READ means no change was planned for the observed records; it is not a transactional snapshot or a guarantee at the door."
          },
          "pdf": {
            "type": "object",
            "required": [
              "status",
              "reason"
            ],
            "additionalProperties": false,
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "UNAVAILABLE"
                ]
              },
              "reason": {
                "type": "string",
                "enum": [
                  "PDF_NOT_PERSISTED"
                ]
              }
            },
            "description": "The native PDF is generated on demand, not stored as an existing document. This read does not generate or fetch it and does not advertise a fake PDF download endpoint."
          }
        }
      },
      "EventTicketAccess": {
        "type": "object",
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "required": [
              "ticket",
              "access"
            ],
            "additionalProperties": false,
            "properties": {
              "ticket": {
                "$ref": "#/components/schemas/EventTicketRecorded"
              },
              "access": {
                "type": "object",
                "required": [
                  "status",
                  "reason",
                  "url",
                  "kind",
                  "bearerLink",
                  "expiresAt",
                  "nativeNavigationMayReconcile"
                ],
                "additionalProperties": false,
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "AVAILABLE",
                      "UNAVAILABLE"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "nullable": true,
                    "enum": [
                      null,
                      "UNKNOWN",
                      "RECONCILIATION_REQUIRED",
                      "SUBMISSION_NOT_ACTIVE",
                      "TICKET_NOT_VALID",
                      "TICKET_CHANGED",
                      "PUBLIC_TICKET_URL_UNAVAILABLE"
                    ]
                  },
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "nullable": true
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "PUBLIC_SINGLE_TICKET_PAGE"
                    ]
                  },
                  "bearerLink": {
                    "type": "boolean",
                    "enum": [
                      true
                    ]
                  },
                  "expiresAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "nativeNavigationMayReconcile": {
                    "type": "boolean",
                    "enum": [
                      true
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "EventTicketCommandResponse": {
        "type": "object",
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "commandId",
              "operation",
              "commandState",
              "outcome",
              "ticketState",
              "recordedUsedAt",
              "createdAt",
              "completedAt",
              "replayed"
            ],
            "properties": {
              "commandId": {
                "type": "string",
                "pattern": "^ticmd_[a-f0-9]{64}$"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "SCAN",
                  "REARM"
                ]
              },
              "commandState": {
                "type": "string",
                "enum": [
                  "PENDING",
                  "SUCCEEDED",
                  "UNCERTAIN"
                ]
              },
              "outcome": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null,
                  "ENTRY_RECORDED",
                  "ALREADY_USED",
                  "NOT_ADMITTED",
                  "ORDER_SUMMARY",
                  "VALID_CONFIRMED"
                ]
              },
              "ticketState": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null,
                  "VALID",
                  "USED",
                  "REVOKED"
                ]
              },
              "recordedUsedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "completedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "replayed": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "EventTicketDelegationPage": {
        "type": "object",
        "required": [
          "success",
          "data",
          "meta"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventTicketDelegation"
            }
          },
          "meta": {
            "type": "object",
            "required": [
              "count",
              "totalStored",
              "hasMore",
              "nextCursor",
              "revision",
              "coverage",
              "readAt"
            ],
            "additionalProperties": false,
            "properties": {
              "count": {
                "type": "integer",
                "minimum": 0
              },
              "totalStored": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000
              },
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "type": "string",
                "nullable": true
              },
              "revision": {
                "type": "string",
                "pattern": "^tdrev_[a-f0-9]{64}$"
              },
              "coverage": {
                "type": "string",
                "enum": [
                  "STORED_LINKS_ONLY"
                ]
              },
              "readAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      },
      "EventTicketDelegation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "formId",
          "label",
          "state",
          "expiresAt",
          "revokedAt",
          "lastUsedAt",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
          },
          "formId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
          },
          "label": {
            "type": "string",
            "nullable": true,
            "maxLength": 60
          },
          "state": {
            "type": "string",
            "enum": [
              "ACTIVE",
              "EXPIRED",
              "REVOKED",
              "UNKNOWN"
            ],
            "description": "Observed temporal lifecycle of the stored delegation. UNKNOWN preserves malformed/missing evidence; it is not inactive or safe to replace. ACTIVE does not prove that a recipient opened the link or that its secret passed capability admission."
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "revokedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastUsedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "EventTicketDelegationCommandResponse": {
        "type": "object",
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "required": [
              "command",
              "link",
              "access"
            ],
            "additionalProperties": false,
            "properties": {
              "command": {
                "$ref": "#/components/schemas/EventTicketDelegationCommand"
              },
              "link": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "formId",
                  "label",
                  "state",
                  "expiresAt",
                  "revokedAt",
                  "lastUsedAt",
                  "createdAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
                  },
                  "formId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
                  },
                  "label": {
                    "type": "string",
                    "nullable": true,
                    "maxLength": 60
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "EXPIRED",
                      "REVOKED",
                      "UNKNOWN"
                    ],
                    "description": "Observed temporal lifecycle of the stored delegation. UNKNOWN preserves malformed/missing evidence; it is not inactive or safe to replace. ACTIVE does not prove that a recipient opened the link or that its secret passed capability admission."
                  },
                  "expiresAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "revokedAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "lastUsedAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "createdAt": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  }
                },
                "nullable": true
              },
              "access": {
                "$ref": "#/components/schemas/EventTicketDelegationAccess"
              }
            }
          }
        }
      },
      "EventTicketDelegationCommand": {
        "type": "object",
        "required": [
          "commandId",
          "operation",
          "commandState",
          "outcome",
          "linkId",
          "createdAt",
          "completedAt",
          "replayed"
        ],
        "additionalProperties": false,
        "properties": {
          "commandId": {
            "type": "string",
            "pattern": "^ticmd_[a-f0-9]{64}$"
          },
          "operation": {
            "type": "string",
            "enum": [
              "CREATE_LINK",
              "REVOKE_LINK"
            ]
          },
          "commandState": {
            "type": "string",
            "enum": [
              "PENDING",
              "SUCCEEDED",
              "UNCERTAIN"
            ]
          },
          "outcome": {
            "type": "string",
            "nullable": true,
            "enum": [
              null,
              "LINK_CREATED",
              "REVOKED_CONFIRMED",
              "LIMIT_REACHED"
            ]
          },
          "linkId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "replayed": {
            "type": "boolean"
          }
        }
      },
      "EventTicketDelegationAccess": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "status",
          "reason",
          "url",
          "bearerLink",
          "role",
          "expiresAt"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "AVAILABLE",
              "UNAVAILABLE"
            ]
          },
          "reason": {
            "type": "string",
            "nullable": true,
            "enum": [
              null,
              "UNKNOWN",
              "REVOKED",
              "EXPIRED",
              "RECORD_UNAVAILABLE",
              "UNQUALIFIED_SECRET",
              "PUBLIC_TICKET_URL_UNAVAILABLE",
              "READBACK_UNAVAILABLE",
              "REVOCATION_COMMAND"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "bearerLink": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "role": {
            "type": "string",
            "enum": [
              "FORM_ENTRY_VOLUNTEER"
            ]
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "UnisoftRequest_21cc9b9594af9d62285c": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^tdrev_[a-f0-9]{64}$",
            "description": "Exact delegation-catalogue revision from the last list_ticket_access_links call for this form; do not use a ticket's trev revision."
          },
          "idempotencyKey": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,128}$",
            "description": "Caller-owned retry key, 8 to 128 ASCII letters/digits/underscore/hyphen, unique within the organisation. Reuse it with the exact same operation, target and revision. Never put personal data, a secret or the QR value in this key."
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 60,
            "description": "Nonempty scanner-team/entrance label. Whitespace is collapsed by the native owner; no recipient contact or internal user is created."
          },
          "hours": {
            "type": "integer",
            "minimum": 1,
            "maximum": 720,
            "description": "Explicit lifetime in whole hours, from 1 to 720. No permanent delegation, implicit default, fractional rounding or automatic extension."
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "label",
          "hours"
        ],
        "additionalProperties": false
      },
      "EventTicketDelegationAccessResponse": {
        "type": "object",
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "required": [
              "link",
              "access"
            ],
            "additionalProperties": false,
            "properties": {
              "link": {
                "$ref": "#/components/schemas/EventTicketDelegation"
              },
              "access": {
                "$ref": "#/components/schemas/EventTicketDelegationAccess"
              }
            }
          }
        }
      },
      "EventTicketDelegationStatusResponse": {
        "type": "object",
        "required": [
          "success",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/EventTicketDelegationCommand"
          }
        }
      },
      "FormResourceDuplicationPreviewResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/FormResourceDuplicationPreview"
          }
        }
      },
      "FormResourceDuplicationPreview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "sourceFormId",
          "supported",
          "reason",
          "expectedRevision",
          "configuration",
          "productCount",
          "excluded"
        ],
        "properties": {
          "sourceFormId": {
            "type": "string",
            "format": "uuid"
          },
          "supported": {
            "type": "boolean"
          },
          "reason": {
            "type": "string",
            "nullable": true,
            "enum": [
              "FORM_DUPLICATION_CONFIGURATION_UNSUPPORTED",
              null
            ]
          },
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "nullable": true
          },
          "configuration": {
            "type": "string",
            "enum": [
              "SUPPORTED_AUTHORING_CONFIGURATION"
            ]
          },
          "productCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 201
          },
          "excluded": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "REGISTRATIONS",
                "PAYMENTS",
                "HISTORY",
                "PRIVATE_LINKS",
                "HEADER_MEDIA_AND_CONTENT",
                "SOURCE_URL"
              ]
            },
            "minItems": 6,
            "maxItems": 6,
            "uniqueItems": true
          }
        }
      },
      "FormResourceDuplicationResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "requestId",
          "sourceFormId",
          "state",
          "replayed"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "sourceFormId": {
            "type": "string",
            "format": "uuid"
          },
          "replayed": {
            "type": "boolean"
          },
          "state": {
            "type": "string",
            "enum": [
              "COMPLETED",
              "PENDING",
              "UNCERTAIN"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "journal": {
            "type": "string",
            "enum": [
              "RECORDED",
              "UNAVAILABLE"
            ]
          },
          "pending": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "reason": {
            "type": "string",
            "enum": [
              "FORM_DUPLICATION_PENDING",
              "FORM_DUPLICATION_UNCERTAIN"
            ]
          },
          "readback": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status"
            ],
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "NOT_REQUESTED"
                ]
              }
            }
          }
        }
      },
      "UnisoftRequest_d05352bda2b3f796dfe6": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "description": "Exact nonnull revision returned by the latest supported duplication preview; this binds the selected admitted snapshot rather than locking internal writers."
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*",
            "description": "Stable caller key for this exact intention within the organisation and current API key. Preserve it after a timeout; do not replace it to force a new form."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": ".*\\S.*",
            "description": "Required title for the new independent form."
          },
          "url": {
            "type": "string",
            "maxLength": 200,
            "pattern": "^(?:[A-Za-z0-9][A-Za-z0-9_-]{0,199})?$",
            "description": "Optional new URL slug. Omit or send empty for no copied source slug. Checked for current use; it is not reserved against concurrent internal writes."
          }
        },
        "required": [
          "expectedRevision",
          "idempotencyKey",
          "title"
        ],
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key",
        "description": "Format: `ke_live_xxx`"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  }
}
```
