{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
        },
        "description": {
            "type": "string",
            "maxLength": 32767
        },
        "planId": {
            "type": "string",
            "maxLength": 1024
        },
        "billingEmail": {
            "type": "string",
            "format": "email",
            "maxLength": 1024
        },
        "cardToken": {
            "type": "string",
            "maxLength": 1024
        },
        "iconColor": {
            "type": "string",
            "maxLength": 64
        },
        "whitelistedEmailDomains": {
            "type": "array",
            "maxItems": 25,
            "items": {
                "type": "string",
                "maxLength": 1024,
                "minLength": 3
            }
        }
    },
    "additionalProperties": false
}