{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "ax_auth_create_user_command",
  "description": "Create AxAuth User command schema",
  "additionalProperties": false,
  "required": [
    "tenant_id",
    "environment_id",
    "user_store_id",
    "user"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 36,
      "format": "uuid",
      "description": "A UUID."
    },
    "environment_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 36,
      "format": "uuid",
      "description": "A UUID."
    },
    "user_store_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 36,
      "format": "uuid",
      "description": "A UUID."
    },
    "user": {
      "type": "object",
      "title": "ax_auth_user",
      "description": "AxAuth User",
      "additionalProperties": false,
      "required": [
        "email",
        "first_name",
        "last_name"
      ],
      "properties": {
        "first_name": {
          "type": "string",
          "description": "First name of the AxAuth user"
        },
        "last_name": {
          "type": "string",
          "description": "Last name of the AxAuth user"
        },
        "email": {
          "type": "string",
          "description": "Email of the AxAuth user"
        },
        "password": {
          "type": "string",
          "description": "password"
        }
      }
    }
  }
}