{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/userclouds/json-schema/userclouds-idp-create-user-with-mutator-request-schema.json",
  "title": "IdpCreateUserWithMutatorRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/userclouds-users-api-openapi.yml#/components/schemas/IdpCreateUserWithMutatorRequest",
  "properties": {
    "context": {
      "$ref": "#/$defs/PolicyClientContext"
    },
    "id": {
      "$ref": "#/$defs/UuidUUID"
    },
    "mutator_id": {
      "$ref": "#/$defs/UuidUUID"
    },
    "organization_id": {
      "$ref": "#/$defs/UuidUUID"
    },
    "region": {
      "type": "string"
    },
    "row_data": {
      "additionalProperties": {
        "$ref": "#/$defs/IdpValueAndPurposes"
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "IdpValueAndPurposes": {
      "properties": {
        "purpose_additions": {
          "items": {
            "$ref": "#/$defs/UserstoreResourceID"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "purpose_deletions": {
          "items": {
            "$ref": "#/$defs/UserstoreResourceID"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "value": {},
        "value_additions": {},
        "value_deletions": {}
      },
      "type": "object"
    },
    "PolicyClientContext": {
      "additionalProperties": {},
      "type": "object"
    },
    "UserstoreResourceID": {
      "properties": {
        "id": {
          "$ref": "#/$defs/UuidUUID"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "UuidUUID": {
      "format": "uuid",
      "type": "string"
    }
  }
}