{
    "description": "Entity sent when creating a new user",
    "properties": {
        "email": {
            "_format": "email",
            "description": "The email address of the user",
            "type": "string",
            "unique": true
        },
        "password": {
            "description": "A password for identifying the user.",
            "minLength": 6,
            "type": "string"
        },
        "username": {
            "description": "Username used when locally logging in.",
            "maxLength": 30,
            "minLength": 3,
            "type": "string",
            "unique": true
        }
    },
    "required": [
        "username",
        "password",
        "email"
    ],
    "title": "User Registration",
    "type": "object"
}