{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Create a new platform customer account.",
    "type": "object",
    "properties": {
        "identifier": {
            "description": "The identifier that will be used to uniquely identify this account going forward. These must be unique to the platform, but not globally... for instance: ABC123 could exist for PlatformX and PlatformY without conflicting.",
            "type": "string",
            "minLength": 5,
            "maxLength": 96,
            "pattern": "^[\\+\\w-]{5,96}$"
        },
        "email": {
            "description": "The email address for the account.",
            "type": "string",
            "pattern": "^\\S+@\\S+$"
        },
        "customer": {
            "description": "The platform's customer.",
            "type": "string",
            "minLength": 3,
            "maxLength": 96
        }
    },
    "required": [
        "identifier",
        "email",
        "customer"
    ]
}