{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autonomous-solutions/json-schema/autonomous-solutions-guest-session-create-schema-schema.json",
  "title": "GuestSessionCreateSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autonomous-solutions-guest-checkout-api-openapi.yml#/components/schemas/GuestSessionCreateSchema",
  "properties": {
    "hub_id": {
      "type": "integer",
      "title": "Hub Id"
    },
    "fcm_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fcm Token"
    },
    "device_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Device Id"
    },
    "device_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/DeviceTypeEnum"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "hub_id"
  ],
  "$defs": {
    "DeviceTypeEnum": {
      "type": "string",
      "enum": [
        "ios",
        "android"
      ],
      "title": "DeviceTypeEnum"
    }
  }
}