{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/actionbox-cloud/json-schema/actionbox-cloud-device-create-schema.json",
  "title": "DeviceCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/actionbox-cloud-devices-api-openapi.yml#/components/schemas/DeviceCreate",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Name"
    },
    "platform": {
      "type": "string",
      "maxLength": 40,
      "title": "Platform",
      "default": "MACOS"
    },
    "push_token": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 512
        },
        {
          "type": "null"
        }
      ],
      "title": "Push Token"
    },
    "app_version": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "App Version"
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}