{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "user permissions",
  "description": "available only when extended",
  "nullable": true,
  "type": "object",
  "properties": {
    "organizations": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/user_permission"
      }
    },
    "agencies": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/user_permission"
      }
    },
    "advertisers": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/user_permission"
      }
    }
  }
}