{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-foundry/json-schema/azure-ai-foundry-person-group-person-schema.json",
  "title": "PersonGroupPerson",
  "description": "The person in a specified person group. To add face to this person, please call \"Add Large Person Group Person Face\".",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ai-foundry-person-groups-api-openapi.yml#/components/schemas/PersonGroupPerson",
  "type": "object",
  "properties": {
    "personId": {
      "$ref": "#/$defs/Azure.Core.uuid",
      "description": "ID of the person.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "User defined name, maximum length is 128.",
      "minLength": 1,
      "maxLength": 128
    },
    "userData": {
      "type": "string",
      "description": "Optional user defined data. Length should not exceed 16K.",
      "maxLength": 16384
    },
    "persistedFaceIds": {
      "type": "array",
      "description": "Face ids of registered faces in the person.",
      "items": {
        "$ref": "#/$defs/Azure.Core.uuid"
      }
    }
  },
  "required": [
    "personId",
    "name"
  ],
  "$defs": {
    "Azure.Core.uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Universally Unique Identifier"
    }
  }
}