{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/comunix/main/json-schema/comunix-put-api-v2-user-profiles-request-schema.json",
  "title": "PutApiV2UserProfilesRequest",
  "x-generated": "2026-10-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/comunix-openapi-generated.yml#/components/schemas/PutApiV2UserProfilesRequest",
  "type": "object",
  "properties": {
    "profile": {
      "type": "object",
      "description": "Profile object to create"
    },
    "profile.source": {
      "type": "string",
      "description": "Source of the profile (e.g. \"acme\")"
    },
    "profile.type": {
      "type": "string",
      "description": "Type of the profile (e.g. \"customer\")"
    },
    "profile.identifiers": {
      "type": "array",
      "description": "Array of identifier objects"
    },
    "profile.identifiers[].type": {
      "type": "string",
      "description": "Identifier type (e.g. \"email\", \"phone_number\")"
    },
    "profile.identifiers[].value": {
      "type": "string",
      "description": "Identifier value"
    },
    "profile.attributes": {
      "type": "object",
      "description": "Optional custom attributes"
    }
  },
  "required": [
    "profile",
    "profile.source",
    "profile.type",
    "profile.identifiers",
    "profile.identifiers[].type",
    "profile.identifiers[].value"
  ]
}