{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/componecat-ai/json-schema/componecat-ai-add-team-members-request-schema.json",
  "title": "AddTeamMembersRequest",
  "description": "Request body for adding members to a team. `memberIds` names existing catalog users;\n`members` records people who have no account, and may be used together with it.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/componecat-ai-teams-api-openapi.yml#/components/schemas/AddTeamMembersRequest",
  "type": "object",
  "properties": {
    "memberIds": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "members": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "$ref": "#/$defs/NewTeamMember"
      }
    }
  },
  "$defs": {
    "NewTeamMember": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "null",
            "string"
          ]
        },
        "email": {
          "type": [
            "null",
            "string"
          ]
        }
      },
      "description": "A person to add to a team who has no catalog user account. Supplying an email is what\nlets them be linked to a user automatically if one appears later."
    }
  }
}