{
  "$id": "https://curveballjs.org/schemas/a12nserver/user-new-form.json",
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "additionalProperties": false,
  "description": "This is the request body used by the HTML form submission for creating new users",
  "properties": {
    "active": {
      "description": "Immediately activate the user. Should be a javascript truthy string for true.",
      "type": "string"
    },
    "identity": {
      "description": "Unique identity of the user. Usually a mailto: address",
      "format": "uri",
      "type": "string"
    },
    "nickname": {
      "minLength": 3,
      "type": "string"
    }
  },
  "required": [
    "nickname",
    "identity"
  ],
  "type": "object"
}