Roku · Schema

ScopeOut

ScopeOut schema from Roku Nabu Cloud

StreamingTelevisionMediaEntertainmentConnected TVConsumer Electronics

Properties

Name Type Description
name string The name of the scope
description string Description of what the scope allows
permissions array List of permissions granted by this scope
View JSON Schema on GitHub

JSON Schema

nabu-cloud-scope-out-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-scope-out-schema.json",
  "title": "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"
  ]
}