{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quickbase/json-schema/quickbase-trustee-list-schema.json",
  "title": "trusteeList",
  "description": "A list of trustees. Each trustee is represented by an object containing the trustee's ID, type, and role ID.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quickbase-trustees-api-openapi.yml#/components/schemas/trusteeList",
  "type": "array",
  "items": {
    "$ref": "#/$defs/trusteeInput"
  },
  "minItems": 1,
  "maxItems": 1000,
  "$defs": {
    "trusteeInput": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the user, group, or email domain group to be added as a trustee. For users and groups, this is the user's or group's ID in Quickbase. For email domain groups, this is the email domain."
        },
        "type": {
          "type": "string",
          "description": "The type of trustee being added. This can be a user, group, or email domain group.",
          "enum": [
            "user",
            "group",
            "dom-group"
          ]
        },
        "roleId": {
          "type": "integer",
          "description": "The ID of the role to be assigned or currently assigned to the trustee."
        }
      },
      "required": [
        "id",
        "type",
        "roleId"
      ],
      "description": "Object used for operations to read, create, or update trustees in an app."
    }
  }
}