{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orsunpay-com/json-schema/orsunpay-com-cashier-create-session-dto-schema.json",
  "title": "CashierCreateSessionDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orsunpay-com-cashier-sessions-merchant-s2s-api-openapi.yml#/components/schemas/CashierCreateSessionDto",
  "properties": {
    "binding": {
      "$ref": "#/$defs/CashierPlayerBindingDto"
    },
    "country": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "orderId": {
      "type": "string"
    }
  },
  "required": [
    "binding",
    "orderId"
  ],
  "type": "object",
  "$defs": {
    "CashierPlayerBindingDto": {
      "properties": {
        "currency": {
          "type": "string"
        },
        "launchMode": {
          "enum": [
            "embedded",
            "standalone"
          ],
          "type": "string"
        },
        "operatorLoginSessionId": {
          "type": "string"
        },
        "parentOrigin": {
          "type": "string"
        },
        "playerId": {
          "maxLength": 100,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "playerId",
        "operatorLoginSessionId",
        "currency",
        "parentOrigin",
        "launchMode"
      ],
      "type": "object"
    }
  }
}