{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emporix/json-schema/emporix-assignment-create-request-schema.json",
  "title": "AssignmentCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-group-assignments-api-openapi.yml#/components/schemas/AssignmentCreateRequest",
  "type": "object",
  "properties": {
    "userId": {
      "type": "string",
      "description": "User unique identifier generated when the user is created. Might be customer ID or Management Dashboard user ID."
    },
    "userType": {
      "type": "string",
      "enum": [
        "CUSTOMER",
        "EMPLOYEE"
      ],
      "default": "EMPLOYEE",
      "description": "Assignment type, possible values: CUSTOMER, EMPLOYEE"
    }
  },
  "required": [
    "userId"
  ]
}