{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/notarize/main/json-schema/notarize-user-creation-params-schema.json",
  "title": "user_creation_params",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/notarize-scim-api-specification-openapi.yml#/components/schemas/user_creation_params",
  "type": "object",
  "properties": {
    "userName": {
      "type": "string",
      "maxLength": 5000,
      "description": "Email address as username."
    },
    "name": {
      "type": "object",
      "properties": {
        "givenName": {
          "type": "string",
          "maxLength": 5000,
          "description": "The first name of the user"
        },
        "familyName": {
          "type": "string",
          "maxLength": 5000,
          "description": "The last name of the user"
        }
      }
    },
    "emails": {
      "type": "array",
      "description": "List of user emails, only primary supported",
      "items": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "maxLength": 5000,
            "description": "user primary email"
          }
        }
      }
    },
    "roles": {
      "type": "array",
      "description": "List of user roles, only primary supported. One of “owner”, “admin” or “employee”",
      "items": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "maxLength": 5000,
            "description": "user role"
          }
        }
      }
    },
    "externalId": {
      "type": "string",
      "maxLength": 5000,
      "description": "This identifier is generateda by the SAML provider, and is used as a unique ID by the SAML provider to match against a Proof user"
    },
    "active": {
      "type": "boolean",
      "description": "Used to indicate whether the identity is active (true) or deprovisioned (false)."
    }
  },
  "required": [
    "userName"
  ]
}