{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-foundry/json-schema/azure-ai-foundry-grouping-result-schema.json",
  "title": "GroupingResult",
  "description": "Response body for group face operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-ai-foundry-group-api-openapi.yml#/components/schemas/GroupingResult",
  "type": "object",
  "properties": {
    "groups": {
      "type": "array",
      "description": "A partition of the original faces based on face similarity. Groups are ranked by number of faces.",
      "items": {
        "type": "array",
        "items": {
          "$ref": "#/$defs/Azure.Core.uuid"
        }
      }
    },
    "messyGroup": {
      "type": "array",
      "description": "Face ids array of faces that cannot find any similar faces from original faces.",
      "items": {
        "$ref": "#/$defs/Azure.Core.uuid"
      }
    }
  },
  "required": [
    "groups",
    "messyGroup"
  ],
  "$defs": {
    "Azure.Core.uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Universally Unique Identifier"
    }
  }
}