{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roku/json-schema/roku-organisation-region-out-schema.json",
  "title": "OrganisationRegionOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roku-organisations-api-openapi.yml#/components/schemas/OrganisationRegionOut",
  "properties": {
    "region_id": {
      "type": "integer",
      "title": "Region Id"
    },
    "region_name": {
      "type": "string",
      "title": "Region Name"
    },
    "aws_region": {
      "$ref": "#/$defs/AWSRegion"
    },
    "agent_active": {
      "type": "boolean",
      "title": "Agent Active"
    },
    "agent_stream_options": {
      "items": {
        "$ref": "#/$defs/AgentStreamOption"
      },
      "type": "array",
      "title": "Agent Stream Options"
    }
  },
  "type": "object",
  "required": [
    "region_id",
    "region_name",
    "aws_region",
    "agent_active",
    "agent_stream_options"
  ],
  "$defs": {
    "AWSRegion": {
      "type": "string",
      "enum": [
        "us-west-2"
      ],
      "title": "AWSRegion"
    },
    "AgentStreamOption": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "AgentStreamOption"
    }
  }
}