Roku · JSON Structure

Nabu Cloud Scope Out Structure

ScopeOut schema from Roku Nabu Cloud

Type: object Properties: 3 Required: 3
StreamingTelevisionMediaEntertainmentConnected TVConsumer Electronics

ScopeOut is a JSON Structure definition published by Roku, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name description permissions

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/roku/refs/heads/main/json-structure/nabu-cloud-scope-out-structure.json",
  "name": "ScopeOut",
  "description": "ScopeOut schema from Roku Nabu Cloud",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 3,
      "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      "title": "Name",
      "description": "The name of the scope"
    },
    "description": {
      "type": "string",
      "maxLength": 4096,
      "minLength": 0,
      "title": "Description",
      "description": "Description of what the scope allows"
    },
    "permissions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Permissions",
      "description": "List of permissions granted by this scope"
    }
  },
  "required": [
    "name",
    "description",
    "permissions"
  ]
}