{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Team registration",
    "description": "Team registration, non-intramural leagues only",
    "type": "object",
    "properties": {
        "name": {
            "type": "string"
        },
        "age": {
            "type": "integer",
            "minimum": 10,
            "maximum": 14
        },
        "league": {
            "type": "string",
            "not": {
                "enum": [
                    "intramural"
                ]
            }
        }
    }
}