{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AssociateOrganizationClientGrantResponseContent",
  "title": "AssociateOrganizationClientGrantResponseContent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the client grant."
    },
    "client_id": {
      "type": "string",
      "description": "ID of the client."
    },
    "audience": {
      "type": "string",
      "description": "The audience (API identifier) of this client grant",
      "minLength": 1
    },
    "scope": {
      "type": "array",
      "description": "Scopes allowed for this client grant.",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "organization_usage": {
      "$ref": "#/components/schemas/OrganizationUsageEnum"
    },
    "allow_any_organization": {
      "type": "boolean",
      "description": "If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations."
    }
  }
}