{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comp-ai/json-schema/comp-ai-create-people-dto-schema.json",
  "title": "CreatePeopleDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-people-api-openapi.yml#/components/schemas/CreatePeopleDto",
  "type": "object",
  "properties": {
    "userId": {
      "type": "string",
      "description": "User ID to associate with this member"
    },
    "role": {
      "type": "string",
      "description": "Role for the member (built-in role name or custom role ID)"
    },
    "department": {
      "type": "string",
      "description": "Member department. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.",
      "maxLength": 64
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether member is active"
    },
    "fleetDmLabelId": {
      "type": "number",
      "description": "FleetDM label ID for member devices"
    },
    "jobTitle": {
      "type": "string",
      "description": "Job title for the member"
    }
  },
  "required": [
    "userId",
    "role"
  ]
}