Roku · Schema

DeviceCreate

DeviceCreate schema from Roku Nabu Cloud

StreamingTelevisionMediaEntertainmentConnected TVConsumer Electronics

Properties

Name Type Description
device_type object The type of the Device.
name string The name of the Device.
description object Description of the Device.
account_name object Account name of the Device.
properties object Device properties.
qa_hub boolean Whether the device should be auto registered in QA Hub.
View JSON Schema on GitHub

JSON Schema

nabu-cloud-device-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/roku/refs/heads/main/json-schema/nabu-cloud-device-create-schema.json",
  "title": "DeviceCreate",
  "description": "DeviceCreate schema from Roku Nabu Cloud",
  "type": "object",
  "properties": {
    "device_type": {
      "$ref": "#/components/schemas/DeviceType",
      "description": "The type of the Device.",
      "examples": [
        "tv"
      ]
    },
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 3,
      "title": "Name",
      "description": "The name of the Device."
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4096,
          "minLength": 0
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Description of the Device."
    },
    "account_name": {
      "anyOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "null"
        }
      ],
      "title": "Account Name",
      "description": "Account name of the Device.",
      "examples": [
        "[email protected]"
      ]
    },
    "properties": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object",
          "maxProperties": 8192
        },
        {
          "type": "null"
        }
      ],
      "title": "Properties",
      "description": "Device properties.",
      "examples": [
        {},
        {
          "config_service_flags": {
            "fw.swup.channel-sync-enabled": "false"
          }
        }
      ]
    },
    "qa_hub": {
      "type": "boolean",
      "title": "Qa Hub",
      "description": "Whether the device should be auto registered in QA Hub."
    }
  },
  "required": [
    "device_type",
    "name"
  ]
}