**API versions** · **V2 (Latest)** · [V1](/integrations/v1/docs?lang=en)

# Terminals

OpenAPI 3.0.3 · API 2.0.0

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

## Operations

## GET /kiosks

List stored organisation kiosk configuration and static diagnostics

`list_kiosks`

Required scope: `kiosks:read`, explicitly granted and never part of default read scopes. Reads only stored kiosk configuration for the authenticated organisation. Campaign-restricted keys are refused, including an empty restriction. The kiosk id is an opaque exact business identifier, not necessarily a UUID and never the device slug, payment UUID, reader identifier or visitor session. associationId is returned only after independently resolving the exact association in this organisation; unavailable references remain null. model reports catalogue capabilities, never detected hardware health. configuration.readerMode reports a configured path TAP_TO_PAY or WEB_READER; paymentSetup CONFIGURED means only a stored association payment setting exists, not a provider verification. fingerprintEnabled is the model capability after the stored per-kiosk disable switch, not biometric enrollment or sensor readiness. Invalid/missing historical booleans, names, generation, model and reader configuration remain null or UNKNOWN; no legacy model is invented. observation.status is always NOT_REPORTED and lastSeenAt/appVersion/readerReady are null because the audited owner has no persisted heartbeat or version observation. No online/offline, freshness, working hardware, successful payment or bank settlement can be concluded. diagnostics.issues are static recorded-configuration issues, not live failures. An empty issues list proves no device readiness. Reads make no provider call, ping, reservation, payment, reset, reboot, session creation, biometrics operation or configuration change. No device slug/key, provider/customer/reader/location credential, fingerprint template, donor identity, log, URL or raw private snapshot is exposed. Use the existing payment UUID with the separate payment-status tool and paiements:read for a donation result; a kiosk id cannot identify an active payment. Unknown query parameters and non-empty GET bodies are rejected. Shared authentication may record API-key usage. Returns id-ascending pagination, limit 1–200 (default 50); reuse nextCursor unchanged for the same organisation. At most 1000 stored kiosks may be inspected; 409 KIOSK_INVENTORY_TOO_LARGE returns no partial inventory. Malformed or duplicate historical identities return 409 INVALID_KIOSK_HISTORY. Correct the source records through the authorised owner before reading again. Concurrent changes do not form a snapshot. No form, campaign, pot or Louah object is expanded.

### Authentication

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

### Required permissions

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

### Parameters

```json
{
  "name": "limit",
  "in": "query",
  "description": "Page size, integer 1–200, default 50.",
  "schema": {
    "type": "integer",
    "minimum": 1,
    "maximum": 200,
    "default": 50
  }
}
```

```json
{
  "name": "cursor",
  "in": "query",
  "description": "Opaque nextCursor returned by this organisation kiosk list; reuse unchanged.",
  "schema": {
    "type": "string",
    "minLength": 1,
    "maxLength": 1024
  }
}
```

### Responses

#### HTTP 200

```json
{
  "description": "Stored inventory page with explicit absence of live observations.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadListResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_KIOSK_ID, INVALID_LIMIT, INVALID_CURSOR, UNEXPECTED_QUERY_PARAMETERS or UNEXPECTED_REQUEST_BODY.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 401

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

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE, disabled organisation or CAMPAIGN_RESTRICTED_KEY. Do not bypass the access boundary.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "INVALID_KIOSK_HISTORY or KIOSK_INVENTORY_TOO_LARGE. No incomplete inventory is returned.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "INTERNAL_ERROR. No device or payment operation was attempted.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

### OpenAPI

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

## GET /kiosks/{id}

Read one stored kiosk configuration and static diagnostics

`get_kiosk`

Required scope: `kiosks:read`, explicitly granted and never part of default read scopes. Reads only stored kiosk configuration for the authenticated organisation. Campaign-restricted keys are refused, including an empty restriction. The kiosk id is an opaque exact business identifier, not necessarily a UUID and never the device slug, payment UUID, reader identifier or visitor session. associationId is returned only after independently resolving the exact association in this organisation; unavailable references remain null. model reports catalogue capabilities, never detected hardware health. configuration.readerMode reports a configured path TAP_TO_PAY or WEB_READER; paymentSetup CONFIGURED means only a stored association payment setting exists, not a provider verification. fingerprintEnabled is the model capability after the stored per-kiosk disable switch, not biometric enrollment or sensor readiness. Invalid/missing historical booleans, names, generation, model and reader configuration remain null or UNKNOWN; no legacy model is invented. observation.status is always NOT_REPORTED and lastSeenAt/appVersion/readerReady are null because the audited owner has no persisted heartbeat or version observation. No online/offline, freshness, working hardware, successful payment or bank settlement can be concluded. diagnostics.issues are static recorded-configuration issues, not live failures. An empty issues list proves no device readiness. Reads make no provider call, ping, reservation, payment, reset, reboot, session creation, biometrics operation or configuration change. No device slug/key, provider/customer/reader/location credential, fingerprint template, donor identity, log, URL or raw private snapshot is exposed. Use the existing payment UUID with the separate payment-status tool and paiements:read for a donation result; a kiosk id cannot identify an active payment. Unknown query parameters and non-empty GET bodies are rejected. Shared authentication may record API-key usage. Use the exact id returned by list_kiosks. Missing, deleted, malformed persisted identities and foreign-organisation objects return the same 404. This read cannot resolve an active visitor/payment session. A 404 is not proof that a donation did not occur. Configuration editing and device control are not performed by this read.

### Authentication

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

### Required permissions

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

### Parameters

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "description": "Exact kiosk business id returned by list_kiosks; never a device slug or payment id.",
  "schema": {
    "type": "string",
    "minLength": 1,
    "maxLength": 128,
    "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
  }
}
```

### Responses

#### HTTP 200

```json
{
  "description": "Stored kiosk record with static configuration diagnostics.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_KIOSK_ID, INVALID_LIMIT, INVALID_CURSOR, UNEXPECTED_QUERY_PARAMETERS or UNEXPECTED_REQUEST_BODY.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 401

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

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE, disabled organisation or CAMPAIGN_RESTRICTED_KEY. Do not bypass the access boundary.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND: missing, deleted, invalid stored identity or foreign organisation. This is not a payment result.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "INTERNAL_ERROR. No device or payment operation was attempted.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

### OpenAPI

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

## GET /kiosks/{id}/config

Read editable kiosk business settings and their snapshot revision

`get_kiosk_config`

Business configuration only, not firmware, device administration, reader routing, payment credentials or biometrics. Organisation/campaign boundaries are the same as the inventory. caisses:read is additionally required; writes also require kiosks:read and explicitly granted kiosks:write. First call get_kiosk_config and pass its exact revision as expectedRevision. Only supplied patch fields change; arrays replace their complete ordered set. defaultPresetButtons uses montant in MAJOR units, with at most two decimals: 12.34 means 12.34 currency units, not 1234. There are at most 12 presets, each 1–1000000; [] restores consumer fallback (pot presets take precedence over kiosk presets). currency is the stored organisation currency used by the native classic donation path; unknown currency blocks preset changes. manualCaisses has at most 50 unique UUIDs/null; null means general donation. Each pot is independently admitted in the source and derived view, this organisation and the kiosk's exact association, and must be visible/active and not goal-exhausted according to the recorded owner rules. No payment total is recalculated. MANUAL with [] can still display general donation through the native consumer fallback; it does not disable donations. AUTO restores automatic selection without erasing a stored manual list. Only same-organisation hosted media files already admitted by the media owner are accepted, never arbitrary URLs, paths or a remote download. backgroundVideo, footerText, shabbatWallpaper and shabbatPosterOnly require recorded v2:true; shabbatScreen 1–8 and emergencyType NONE/SHABBAT/ALL require recorded v2:false. Other/unknown generation refuses these fields. A poster-only display without an image follows the native fallback, not a blank display. ledConfig uses the native model-aware lighting validator; null resets to native defaults. Read lighting for supported modes, speeds, seconds and intensity 0–100; sequence needs 2–12 steps of 0.5–3600 seconds. Unsupported models return LED_NOT_SUPPORTED; no hardware command is sent. Association, form, product, Louah binding, model, reader and fingerprint fields cannot be changed. Unknown fields and non-empty query parameters are rejected. An exact snapshot revision and single-record compare-and-set protect the write against intervening kiosk changes; this is not a transaction lock on associations, pots, media or internal application flows. Saved configuration is RECORDED with applicationStatus NOT_OBSERVED; no device application, refresh, presence or readiness is guaranteed. Never retry blindly after an uncertain write: reread get_kiosk_config and compare the requested fields and revision. No payment/session, charge, reservation, biometrics operation, reset or reboot is performed. Read only: returns the recorded settings, revision and unavailableFields. Invalid or inaccessible historical setting values are null and named in unavailableFields; absent/reset settings can also be null without that marker. No consumer fallback is fabricated into the saved values. Media availability and pot eligibility are admission-time reads. No device or provider call occurs.

### Authentication

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

### Required permissions

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

### Parameters

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "description": "Exact kiosk business id returned by list_kiosks; never a device slug or payment id.",
  "schema": {
    "type": "string",
    "minLength": 1,
    "maxLength": 128,
    "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
  }
}
```

### Responses

#### HTTP 200

```json
{
  "description": "Editable recorded settings, unknown fields and an optimistic revision.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskConfigResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_KIOSK_ID, INVALID_LIMIT, INVALID_CURSOR, UNEXPECTED_QUERY_PARAMETERS or UNEXPECTED_REQUEST_BODY.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 401

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

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE, disabled organisation or CAMPAIGN_RESTRICTED_KEY. Do not bypass the access boundary.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND: kiosk missing, deleted or inaccessible.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "KIOSK_REVISION_CONFLICT, INVALID_KIOSK_HISTORY, KIOSK_ASSOCIATION_UNAVAILABLE, KIOSK_CURRENCY_UNKNOWN, KIOSK_CAISSE_UNAVAILABLE, KIOSK_MEDIA_UNAVAILABLE, KIOSK_GENERATION_UNSUPPORTED or LED_NOT_SUPPORTED. Reread and resolve the supported owner prerequisite; do not bypass it.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "INTERNAL_ERROR. No device or payment operation was attempted.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

### OpenAPI

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

## PATCH /kiosks/{id}/config

Save selected kiosk business settings with an exact revision

`update_kiosk_config`

Business configuration only, not firmware, device administration, reader routing, payment credentials or biometrics. Organisation/campaign boundaries are the same as the inventory. caisses:read is additionally required; writes also require kiosks:read and explicitly granted kiosks:write. First call get_kiosk_config and pass its exact revision as expectedRevision. Only supplied patch fields change; arrays replace their complete ordered set. defaultPresetButtons uses montant in MAJOR units, with at most two decimals: 12.34 means 12.34 currency units, not 1234. There are at most 12 presets, each 1–1000000; [] restores consumer fallback (pot presets take precedence over kiosk presets). currency is the stored organisation currency used by the native classic donation path; unknown currency blocks preset changes. manualCaisses has at most 50 unique UUIDs/null; null means general donation. Each pot is independently admitted in the source and derived view, this organisation and the kiosk's exact association, and must be visible/active and not goal-exhausted according to the recorded owner rules. No payment total is recalculated. MANUAL with [] can still display general donation through the native consumer fallback; it does not disable donations. AUTO restores automatic selection without erasing a stored manual list. Only same-organisation hosted media files already admitted by the media owner are accepted, never arbitrary URLs, paths or a remote download. backgroundVideo, footerText, shabbatWallpaper and shabbatPosterOnly require recorded v2:true; shabbatScreen 1–8 and emergencyType NONE/SHABBAT/ALL require recorded v2:false. Other/unknown generation refuses these fields. A poster-only display without an image follows the native fallback, not a blank display. ledConfig uses the native model-aware lighting validator; null resets to native defaults. Read lighting for supported modes, speeds, seconds and intensity 0–100; sequence needs 2–12 steps of 0.5–3600 seconds. Unsupported models return LED_NOT_SUPPORTED; no hardware command is sent. Association, form, product, Louah binding, model, reader and fingerprint fields cannot be changed. Unknown fields and non-empty query parameters are rejected. An exact snapshot revision and single-record compare-and-set protect the write against intervening kiosk changes; this is not a transaction lock on associations, pots, media or internal application flows. Saved configuration is RECORDED with applicationStatus NOT_OBSERVED; no device application, refresh, presence or readiness is guaranteed. Never retry blindly after an uncertain write: reread get_kiosk_config and compare the requested fields and revision. No payment/session, charge, reservation, biometrics operation, reset or reboot is performed. Writes the native bornes owner's exact allowlisted $set only after all supplied fields and references are admitted. No upsert or new kiosk is created. ledConfig is normalised by its existing owner. A lost/unacknowledged persistence result returns 503 KIOSK_UPDATE_UNCERTAIN; success is acknowledged directly without an accessory reread that could turn an acquired save into a generic failure. Read current configuration before deciding any retry.

### Authentication

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

### Required permissions

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

### Parameters

```json
{
  "name": "id",
  "in": "path",
  "required": true,
  "description": "Exact kiosk business id returned by list_kiosks; never a device slug or payment id.",
  "schema": {
    "type": "string",
    "minLength": 1,
    "maxLength": 128,
    "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
  }
}
```

### Request body

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

### Responses

#### HTTP 200

```json
{
  "description": "Acknowledged stored configuration only; device application remains NOT_OBSERVED.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskConfigWriteResponse"
      }
    }
  }
}
```

#### HTTP 400

```json
{
  "description": "INVALID_KIOSK_CONFIG, INVALID_LED_CONFIG, INVALID_KIOSK_ID or UNEXPECTED_QUERY_PARAMETERS. No setting was saved.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 401

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

#### HTTP 403

```json
{
  "description": "INSUFFICIENT_SCOPE, disabled organisation or CAMPAIGN_RESTRICTED_KEY. Do not bypass the access boundary.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 404

```json
{
  "description": "NOT_FOUND: kiosk missing, deleted or inaccessible.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 409

```json
{
  "description": "KIOSK_REVISION_CONFLICT, INVALID_KIOSK_HISTORY, KIOSK_ASSOCIATION_UNAVAILABLE, KIOSK_CURRENCY_UNKNOWN, KIOSK_CAISSE_UNAVAILABLE, KIOSK_MEDIA_UNAVAILABLE, KIOSK_GENERATION_UNSUPPORTED or LED_NOT_SUPPORTED. Reread and resolve the supported owner prerequisite; do not bypass it.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 500

```json
{
  "description": "INTERNAL_ERROR. No device or payment operation was attempted.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

#### HTTP 503

```json
{
  "description": "KIOSK_UPDATE_UNCERTAIN: the save may have succeeded. Read current settings before any retry; never issue a device or payment action to compensate.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/KioskReadError"
      }
    }
  }
}
```

### OpenAPI

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

## Schemas

```json
{
  "components": {
    "schemas": {
      "KioskReadListResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "meta",
          "coverage"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KioskReadRecord"
            },
            "maxItems": 200
          },
          "meta": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "count",
              "hasMore",
              "nextCursor"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 200
              },
              "hasMore": {
                "type": "boolean"
              },
              "nextCursor": {
                "type": "string",
                "nullable": true,
                "maxLength": 1024
              }
            }
          },
          "coverage": {
            "$ref": "#/components/schemas/KioskReadCoverage"
          }
        }
      },
      "KioskReadRecord": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "label",
          "active",
          "generation",
          "associationId",
          "model",
          "configuration",
          "observation",
          "diagnostics"
        ],
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
            "maxLength": 128
          },
          "label": {
            "type": "string",
            "nullable": true,
            "maxLength": 100
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "generation": {
            "type": "string",
            "enum": [
              "V2",
              "LEGACY",
              null
            ],
            "nullable": true
          },
          "associationId": {
            "type": "string",
            "nullable": true,
            "maxLength": 128
          },
          "model": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "fingerprintSupported",
              "lightingSupported"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "fingerprintSupported": {
                "type": "boolean"
              },
              "lightingSupported": {
                "type": "boolean"
              }
            },
            "nullable": true
          },
          "configuration": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "readerMode",
              "fingerprintEnabled",
              "paymentSetup"
            ],
            "properties": {
              "readerMode": {
                "type": "string",
                "enum": [
                  "TAP_TO_PAY",
                  "WEB_READER",
                  null
                ],
                "nullable": true
              },
              "fingerprintEnabled": {
                "type": "boolean",
                "nullable": true
              },
              "paymentSetup": {
                "type": "string",
                "enum": [
                  "CONFIGURED",
                  "MISSING",
                  "UNKNOWN"
                ]
              }
            }
          },
          "observation": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status",
              "lastSeenAt",
              "appVersion",
              "readerReady"
            ],
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "NOT_REPORTED"
                ]
              },
              "lastSeenAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "appVersion": {
                "type": "string",
                "nullable": true,
                "enum": [
                  null
                ]
              },
              "readerReady": {
                "type": "boolean",
                "nullable": true,
                "enum": [
                  null
                ]
              }
            }
          },
          "diagnostics": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "basis",
              "issues"
            ],
            "properties": {
              "basis": {
                "type": "string",
                "enum": [
                  "STORED_CONFIGURATION"
                ]
              },
              "issues": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ASSOCIATION_UNRESOLVED",
                    "MODEL_UNKNOWN",
                    "READER_ROUTE_UNRESOLVED",
                    "PAYMENT_SETUP_MISSING",
                    "PAYMENT_SETUP_UNKNOWN",
                    "KIOSK_DISABLED"
                  ]
                },
                "uniqueItems": true
              }
            }
          }
        }
      },
      "KioskReadCoverage": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "source",
          "liveChecked",
          "limitations"
        ],
        "properties": {
          "source": {
            "type": "string",
            "enum": [
              "STORED_CONFIGURATION"
            ]
          },
          "liveChecked": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "limitations": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "NO_HEARTBEAT_OWNER",
                "NO_LIVE_READER_CHECK",
                "NO_DEVICE_LOGS",
                "NO_PAYMENT_SESSION"
              ]
            },
            "uniqueItems": true
          }
        }
      },
      "KioskReadError": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "error"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "error": {
            "type": "string"
          }
        }
      },
      "KioskReadResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data",
          "coverage"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/KioskReadRecord"
          },
          "coverage": {
            "$ref": "#/components/schemas/KioskReadCoverage"
          }
        }
      },
      "KioskConfigResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "$ref": "#/components/schemas/KioskConfigRecord"
          }
        }
      },
      "KioskConfigRecord": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "revision",
          "currency",
          "settings",
          "unavailableFields",
          "applicationStatus",
          "lighting"
        ],
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "currency": {
            "type": "string",
            "pattern": "^[a-z]{3}$",
            "nullable": true
          },
          "settings": {
            "$ref": "#/components/schemas/KioskBusinessSettings"
          },
          "unavailableFields": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "label",
                "customWallpaper",
                "backgroundVideo",
                "footerText",
                "defaultPresetButtons",
                "caisseSystem",
                "manualCaisses",
                "autoShabbat",
                "shabbatWallpaper",
                "shabbatPosterOnly",
                "shabbatScreen",
                "emergencyType",
                "ledConfig"
              ]
            }
          },
          "applicationStatus": {
            "type": "string",
            "enum": [
              "NOT_OBSERVED"
            ]
          },
          "lighting": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "supported",
              "modes",
              "speeds",
              "limits",
              "defaults"
            ],
            "properties": {
              "supported": {
                "type": "boolean"
              },
              "modes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "off",
                    "solid",
                    "blinkSlow",
                    "blinkFast",
                    "sequence",
                    "breathing",
                    "chasing",
                    "rainbow"
                  ]
                }
              },
              "speeds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "slow",
                    "normal",
                    "fast"
                  ]
                }
              },
              "limits": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "minSteps",
                  "maxSteps",
                  "minDurationSeconds",
                  "maxDurationSeconds"
                ],
                "properties": {
                  "minSteps": {
                    "type": "integer"
                  },
                  "maxSteps": {
                    "type": "integer"
                  },
                  "minDurationSeconds": {
                    "type": "number"
                  },
                  "maxDurationSeconds": {
                    "type": "number"
                  }
                },
                "nullable": true
              },
              "defaults": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "version",
                  "states"
                ],
                "properties": {
                  "version": {
                    "type": "integer",
                    "enum": [
                      1
                    ]
                  },
                  "states": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "standby": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "mode",
                          "color",
                          "intensity"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "off",
                              "solid",
                              "blinkSlow",
                              "blinkFast",
                              "sequence",
                              "breathing",
                              "chasing",
                              "rainbow"
                            ]
                          },
                          "color": {
                            "type": "string",
                            "pattern": "^#[0-9A-Fa-f]{6}$"
                          },
                          "intensity": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100
                          },
                          "steps": {
                            "type": "array",
                            "maxItems": 12,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "color",
                                "durationSeconds"
                              ],
                              "properties": {
                                "color": {
                                  "type": "string",
                                  "pattern": "^#[0-9A-Fa-f]{6}$"
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0.5,
                                  "maximum": 3600
                                }
                              }
                            }
                          },
                          "speed": {
                            "type": "string",
                            "enum": [
                              "slow",
                              "normal",
                              "fast"
                            ]
                          }
                        }
                      },
                      "preparing": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "mode",
                          "color",
                          "intensity"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "off",
                              "solid",
                              "blinkSlow",
                              "blinkFast",
                              "sequence",
                              "breathing",
                              "chasing",
                              "rainbow"
                            ]
                          },
                          "color": {
                            "type": "string",
                            "pattern": "^#[0-9A-Fa-f]{6}$"
                          },
                          "intensity": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100
                          },
                          "steps": {
                            "type": "array",
                            "maxItems": 12,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "color",
                                "durationSeconds"
                              ],
                              "properties": {
                                "color": {
                                  "type": "string",
                                  "pattern": "^#[0-9A-Fa-f]{6}$"
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0.5,
                                  "maximum": 3600
                                }
                              }
                            }
                          },
                          "speed": {
                            "type": "string",
                            "enum": [
                              "slow",
                              "normal",
                              "fast"
                            ]
                          }
                        }
                      },
                      "waitingCard": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "mode",
                          "color",
                          "intensity"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "off",
                              "solid",
                              "blinkSlow",
                              "blinkFast",
                              "sequence",
                              "breathing",
                              "chasing",
                              "rainbow"
                            ]
                          },
                          "color": {
                            "type": "string",
                            "pattern": "^#[0-9A-Fa-f]{6}$"
                          },
                          "intensity": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100
                          },
                          "steps": {
                            "type": "array",
                            "maxItems": 12,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "color",
                                "durationSeconds"
                              ],
                              "properties": {
                                "color": {
                                  "type": "string",
                                  "pattern": "^#[0-9A-Fa-f]{6}$"
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0.5,
                                  "maximum": 3600
                                }
                              }
                            }
                          },
                          "speed": {
                            "type": "string",
                            "enum": [
                              "slow",
                              "normal",
                              "fast"
                            ]
                          }
                        }
                      },
                      "success": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "mode",
                          "color",
                          "intensity"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "off",
                              "solid",
                              "blinkSlow",
                              "blinkFast",
                              "sequence",
                              "breathing",
                              "chasing",
                              "rainbow"
                            ]
                          },
                          "color": {
                            "type": "string",
                            "pattern": "^#[0-9A-Fa-f]{6}$"
                          },
                          "intensity": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100
                          },
                          "steps": {
                            "type": "array",
                            "maxItems": 12,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "color",
                                "durationSeconds"
                              ],
                              "properties": {
                                "color": {
                                  "type": "string",
                                  "pattern": "^#[0-9A-Fa-f]{6}$"
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0.5,
                                  "maximum": 3600
                                }
                              }
                            }
                          },
                          "speed": {
                            "type": "string",
                            "enum": [
                              "slow",
                              "normal",
                              "fast"
                            ]
                          }
                        }
                      },
                      "error": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "mode",
                          "color",
                          "intensity"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "off",
                              "solid",
                              "blinkSlow",
                              "blinkFast",
                              "sequence",
                              "breathing",
                              "chasing",
                              "rainbow"
                            ]
                          },
                          "color": {
                            "type": "string",
                            "pattern": "^#[0-9A-Fa-f]{6}$"
                          },
                          "intensity": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100
                          },
                          "steps": {
                            "type": "array",
                            "maxItems": 12,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "color",
                                "durationSeconds"
                              ],
                              "properties": {
                                "color": {
                                  "type": "string",
                                  "pattern": "^#[0-9A-Fa-f]{6}$"
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0.5,
                                  "maximum": 3600
                                }
                              }
                            }
                          },
                          "speed": {
                            "type": "string",
                            "enum": [
                              "slow",
                              "normal",
                              "fast"
                            ]
                          }
                        }
                      },
                      "shabbat": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "mode",
                          "color",
                          "intensity"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "off",
                              "solid",
                              "blinkSlow",
                              "blinkFast",
                              "sequence",
                              "breathing",
                              "chasing",
                              "rainbow"
                            ]
                          },
                          "color": {
                            "type": "string",
                            "pattern": "^#[0-9A-Fa-f]{6}$"
                          },
                          "intensity": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100
                          },
                          "steps": {
                            "type": "array",
                            "maxItems": 12,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "color",
                                "durationSeconds"
                              ],
                              "properties": {
                                "color": {
                                  "type": "string",
                                  "pattern": "^#[0-9A-Fa-f]{6}$"
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0.5,
                                  "maximum": 3600
                                }
                              }
                            }
                          },
                          "speed": {
                            "type": "string",
                            "enum": [
                              "slow",
                              "normal",
                              "fast"
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                "nullable": true
              }
            }
          }
        }
      },
      "KioskBusinessSettings": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "label",
          "customWallpaper",
          "backgroundVideo",
          "shabbatWallpaper",
          "footerText",
          "defaultPresetButtons",
          "caisseSystem",
          "manualCaisses",
          "autoShabbat",
          "shabbatPosterOnly",
          "shabbatScreen",
          "emergencyType",
          "ledConfig"
        ],
        "properties": {
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "nullable": true
          },
          "customWallpaper": {
            "type": "string",
            "nullable": true,
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!.*\\.\\.)[A-Za-z0-9][A-Za-z0-9._-]*\\.[A-Za-z0-9]+$"
          },
          "backgroundVideo": {
            "type": "string",
            "nullable": true,
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!.*\\.\\.)[A-Za-z0-9][A-Za-z0-9._-]*\\.[A-Za-z0-9]+$"
          },
          "shabbatWallpaper": {
            "type": "string",
            "nullable": true,
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!.*\\.\\.)[A-Za-z0-9][A-Za-z0-9._-]*\\.[A-Za-z0-9]+$"
          },
          "footerText": {
            "type": "string",
            "nullable": true,
            "maxLength": 200
          },
          "defaultPresetButtons": {
            "type": "array",
            "maxItems": 12,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "montant"
              ],
              "properties": {
                "montant": {
                  "type": "number",
                  "minimum": 1,
                  "maximum": 1000000,
                  "multipleOf": 0.01
                },
                "text": {
                  "type": "string",
                  "maxLength": 100
                }
              }
            },
            "nullable": true
          },
          "caisseSystem": {
            "type": "string",
            "enum": [
              "AUTO",
              "MANUAL",
              null
            ],
            "nullable": true
          },
          "manualCaisses": {
            "type": "array",
            "maxItems": 50,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "format": "uuid",
              "nullable": true
            },
            "nullable": true
          },
          "autoShabbat": {
            "type": "boolean",
            "nullable": true
          },
          "shabbatPosterOnly": {
            "type": "boolean",
            "nullable": true
          },
          "shabbatScreen": {
            "type": "integer",
            "minimum": 1,
            "maximum": 8,
            "nullable": true
          },
          "emergencyType": {
            "type": "string",
            "enum": [
              "NONE",
              "SHABBAT",
              "ALL",
              null
            ],
            "nullable": true
          },
          "ledConfig": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "version",
              "states"
            ],
            "properties": {
              "version": {
                "type": "integer",
                "enum": [
                  1
                ]
              },
              "states": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "standby": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode",
                      "color",
                      "intensity"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "off",
                          "solid",
                          "blinkSlow",
                          "blinkFast",
                          "sequence",
                          "breathing",
                          "chasing",
                          "rainbow"
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}$"
                      },
                      "intensity": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "steps": {
                        "type": "array",
                        "maxItems": 12,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "color",
                            "durationSeconds"
                          ],
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9A-Fa-f]{6}$"
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0.5,
                              "maximum": 3600
                            }
                          }
                        }
                      },
                      "speed": {
                        "type": "string",
                        "enum": [
                          "slow",
                          "normal",
                          "fast"
                        ]
                      }
                    }
                  },
                  "preparing": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode",
                      "color",
                      "intensity"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "off",
                          "solid",
                          "blinkSlow",
                          "blinkFast",
                          "sequence",
                          "breathing",
                          "chasing",
                          "rainbow"
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}$"
                      },
                      "intensity": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "steps": {
                        "type": "array",
                        "maxItems": 12,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "color",
                            "durationSeconds"
                          ],
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9A-Fa-f]{6}$"
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0.5,
                              "maximum": 3600
                            }
                          }
                        }
                      },
                      "speed": {
                        "type": "string",
                        "enum": [
                          "slow",
                          "normal",
                          "fast"
                        ]
                      }
                    }
                  },
                  "waitingCard": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode",
                      "color",
                      "intensity"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "off",
                          "solid",
                          "blinkSlow",
                          "blinkFast",
                          "sequence",
                          "breathing",
                          "chasing",
                          "rainbow"
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}$"
                      },
                      "intensity": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "steps": {
                        "type": "array",
                        "maxItems": 12,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "color",
                            "durationSeconds"
                          ],
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9A-Fa-f]{6}$"
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0.5,
                              "maximum": 3600
                            }
                          }
                        }
                      },
                      "speed": {
                        "type": "string",
                        "enum": [
                          "slow",
                          "normal",
                          "fast"
                        ]
                      }
                    }
                  },
                  "success": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode",
                      "color",
                      "intensity"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "off",
                          "solid",
                          "blinkSlow",
                          "blinkFast",
                          "sequence",
                          "breathing",
                          "chasing",
                          "rainbow"
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}$"
                      },
                      "intensity": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "steps": {
                        "type": "array",
                        "maxItems": 12,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "color",
                            "durationSeconds"
                          ],
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9A-Fa-f]{6}$"
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0.5,
                              "maximum": 3600
                            }
                          }
                        }
                      },
                      "speed": {
                        "type": "string",
                        "enum": [
                          "slow",
                          "normal",
                          "fast"
                        ]
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode",
                      "color",
                      "intensity"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "off",
                          "solid",
                          "blinkSlow",
                          "blinkFast",
                          "sequence",
                          "breathing",
                          "chasing",
                          "rainbow"
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}$"
                      },
                      "intensity": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "steps": {
                        "type": "array",
                        "maxItems": 12,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "color",
                            "durationSeconds"
                          ],
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9A-Fa-f]{6}$"
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0.5,
                              "maximum": 3600
                            }
                          }
                        }
                      },
                      "speed": {
                        "type": "string",
                        "enum": [
                          "slow",
                          "normal",
                          "fast"
                        ]
                      }
                    }
                  },
                  "shabbat": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode",
                      "color",
                      "intensity"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "off",
                          "solid",
                          "blinkSlow",
                          "blinkFast",
                          "sequence",
                          "breathing",
                          "chasing",
                          "rainbow"
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}$"
                      },
                      "intensity": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "steps": {
                        "type": "array",
                        "maxItems": 12,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "color",
                            "durationSeconds"
                          ],
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9A-Fa-f]{6}$"
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0.5,
                              "maximum": 3600
                            }
                          }
                        }
                      },
                      "speed": {
                        "type": "string",
                        "enum": [
                          "slow",
                          "normal",
                          "fast"
                        ]
                      }
                    }
                  }
                }
              }
            },
            "nullable": true
          }
        }
      },
      "UnisoftRequest_7e96619eb715ceb59d37": {
        "type": "object",
        "minProperties": 1,
        "properties": {
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "customWallpaper": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!.*\\.\\.)[A-Za-z0-9][A-Za-z0-9._-]*\\.[A-Za-z0-9]+$",
            "nullable": true
          },
          "backgroundVideo": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!.*\\.\\.)[A-Za-z0-9][A-Za-z0-9._-]*\\.[A-Za-z0-9]+$",
            "nullable": true
          },
          "shabbatWallpaper": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!.*\\.\\.)[A-Za-z0-9][A-Za-z0-9._-]*\\.[A-Za-z0-9]+$",
            "nullable": true
          },
          "footerText": {
            "type": "string",
            "maxLength": 200,
            "nullable": true
          },
          "defaultPresetButtons": {
            "type": "array",
            "maxItems": 12,
            "items": {
              "type": "object",
              "properties": {
                "montant": {
                  "type": "number",
                  "minimum": 1,
                  "maximum": 1000000,
                  "multipleOf": 0.01
                },
                "text": {
                  "type": "string",
                  "maxLength": 100
                }
              },
              "required": [
                "montant"
              ],
              "additionalProperties": false
            }
          },
          "caisseSystem": {
            "type": "string",
            "enum": [
              "AUTO",
              "MANUAL"
            ]
          },
          "manualCaisses": {
            "type": "array",
            "maxItems": 50,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "format": "uuid",
              "nullable": true
            }
          },
          "autoShabbat": {
            "type": "boolean"
          },
          "shabbatPosterOnly": {
            "type": "boolean"
          },
          "shabbatScreen": {
            "type": "integer",
            "minimum": 1,
            "maximum": 8
          },
          "emergencyType": {
            "type": "string",
            "enum": [
              "NONE",
              "SHABBAT",
              "ALL"
            ]
          },
          "ledConfig": {
            "type": "object",
            "properties": {
              "version": {
                "type": "integer",
                "enum": [
                  1
                ]
              },
              "states": {
                "$ref": "#/components/schemas/UnisoftRequest_a7fd87b24b68e68ce878"
              }
            },
            "required": [
              "version",
              "states"
            ],
            "additionalProperties": false,
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UnisoftRequest_a7fd87b24b68e68ce878": {
        "type": "object",
        "properties": {
          "standby": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "off",
                  "solid",
                  "blinkSlow",
                  "blinkFast",
                  "sequence",
                  "breathing",
                  "chasing",
                  "rainbow"
                ]
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$"
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "steps": {
                "type": "array",
                "maxItems": 12,
                "items": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9A-Fa-f]{6}$"
                    },
                    "durationSeconds": {
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 3600
                    }
                  },
                  "required": [
                    "color",
                    "durationSeconds"
                  ],
                  "additionalProperties": false
                }
              },
              "speed": {
                "type": "string",
                "enum": [
                  "slow",
                  "normal",
                  "fast"
                ]
              }
            },
            "required": [
              "mode",
              "color",
              "intensity"
            ],
            "additionalProperties": false
          },
          "preparing": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "off",
                  "solid",
                  "blinkSlow",
                  "blinkFast",
                  "sequence",
                  "breathing",
                  "chasing",
                  "rainbow"
                ]
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$"
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "steps": {
                "type": "array",
                "maxItems": 12,
                "items": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9A-Fa-f]{6}$"
                    },
                    "durationSeconds": {
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 3600
                    }
                  },
                  "required": [
                    "color",
                    "durationSeconds"
                  ],
                  "additionalProperties": false
                }
              },
              "speed": {
                "type": "string",
                "enum": [
                  "slow",
                  "normal",
                  "fast"
                ]
              }
            },
            "required": [
              "mode",
              "color",
              "intensity"
            ],
            "additionalProperties": false
          },
          "waitingCard": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "off",
                  "solid",
                  "blinkSlow",
                  "blinkFast",
                  "sequence",
                  "breathing",
                  "chasing",
                  "rainbow"
                ]
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$"
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "steps": {
                "type": "array",
                "maxItems": 12,
                "items": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9A-Fa-f]{6}$"
                    },
                    "durationSeconds": {
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 3600
                    }
                  },
                  "required": [
                    "color",
                    "durationSeconds"
                  ],
                  "additionalProperties": false
                }
              },
              "speed": {
                "type": "string",
                "enum": [
                  "slow",
                  "normal",
                  "fast"
                ]
              }
            },
            "required": [
              "mode",
              "color",
              "intensity"
            ],
            "additionalProperties": false
          },
          "success": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "off",
                  "solid",
                  "blinkSlow",
                  "blinkFast",
                  "sequence",
                  "breathing",
                  "chasing",
                  "rainbow"
                ]
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$"
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "steps": {
                "type": "array",
                "maxItems": 12,
                "items": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9A-Fa-f]{6}$"
                    },
                    "durationSeconds": {
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 3600
                    }
                  },
                  "required": [
                    "color",
                    "durationSeconds"
                  ],
                  "additionalProperties": false
                }
              },
              "speed": {
                "type": "string",
                "enum": [
                  "slow",
                  "normal",
                  "fast"
                ]
              }
            },
            "required": [
              "mode",
              "color",
              "intensity"
            ],
            "additionalProperties": false
          },
          "error": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "off",
                  "solid",
                  "blinkSlow",
                  "blinkFast",
                  "sequence",
                  "breathing",
                  "chasing",
                  "rainbow"
                ]
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$"
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "steps": {
                "type": "array",
                "maxItems": 12,
                "items": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9A-Fa-f]{6}$"
                    },
                    "durationSeconds": {
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 3600
                    }
                  },
                  "required": [
                    "color",
                    "durationSeconds"
                  ],
                  "additionalProperties": false
                }
              },
              "speed": {
                "type": "string",
                "enum": [
                  "slow",
                  "normal",
                  "fast"
                ]
              }
            },
            "required": [
              "mode",
              "color",
              "intensity"
            ],
            "additionalProperties": false
          },
          "shabbat": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "off",
                  "solid",
                  "blinkSlow",
                  "blinkFast",
                  "sequence",
                  "breathing",
                  "chasing",
                  "rainbow"
                ]
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$"
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "steps": {
                "type": "array",
                "maxItems": 12,
                "items": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9A-Fa-f]{6}$"
                    },
                    "durationSeconds": {
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 3600
                    }
                  },
                  "required": [
                    "color",
                    "durationSeconds"
                  ],
                  "additionalProperties": false
                }
              },
              "speed": {
                "type": "string",
                "enum": [
                  "slow",
                  "normal",
                  "fast"
                ]
              }
            },
            "required": [
              "mode",
              "color",
              "intensity"
            ],
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "KioskConfigWriteResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "data"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "revision",
              "state",
              "applicationStatus",
              "changedFields"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
              },
              "revision": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "state": {
                "type": "string",
                "enum": [
                  "RECORDED"
                ]
              },
              "applicationStatus": {
                "type": "string",
                "enum": [
                  "NOT_OBSERVED"
                ]
              },
              "changedFields": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "maxItems": 13,
                "items": {
                  "type": "string",
                  "enum": [
                    "label",
                    "customWallpaper",
                    "backgroundVideo",
                    "footerText",
                    "defaultPresetButtons",
                    "caisseSystem",
                    "manualCaisses",
                    "autoShabbat",
                    "shabbatWallpaper",
                    "shabbatPosterOnly",
                    "shabbatScreen",
                    "emergencyType",
                    "ledConfig"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key",
        "description": "Format: `ke_live_xxx`"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  }
}
```
