{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "required": [
        "tournament_id",
        "motion",
        "number"
    ],
    "properties": {
        "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "faker": "lorem.sentence"
        },
        "tournament_id": {
            "type": "integer",
            "minimum": 1,
            "faker": {
                "random.number": [
                    {
                        "max": 5,
                        "min": 1
                    }
                ]
            }
        },
        "motion_type_id": {
            "type": "integer",
            "minimum": 1,
            "faker": {
                "random.number": [
                    {
                        "max": 5,
                        "min": 1
                    }
                ]
            }
        },
        "number": {
            "type": "integer",
            "faker": {
                "random.number": [
                    {
                        "max": 5,
                        "min": 1
                    }
                ]
            }
        },
        "teams": {
            "type": "integer",
            "faker": {
                "random.number": [
                    {
                        "max": 5,
                        "min": 1
                    }
                ]
            }
        },
        "adjudicators": {
            "type": "integer",
            "faker": {
                "random.number": [
                    {
                        "max": 5,
                        "min": 1
                    }
                ]
            }
        },
        "motion": {
            "type": "string",
            "random": "lorem.sentence"
        },
        "context": {
            "type": "string",
            "faker": "lorem.paragraph"
        }
    }
}