{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "required": [
        "name"
    ],
    "properties": {
        "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "faker": "name.findName"
        },
        "tournament_id": {
            "type": "integer",
            "minimum": 1,
            "faker": {
                "random.number": [
                    {
                        "max": 5,
                        "min": 1
                    }
                ]
            }
        },
        "institution_id": {
            "type": "integer",
            "minimum": 1,
            "faker": {
                "random.number": [
                    {
                        "max": 5,
                        "min": 1
                    }
                ]
            }
        },
        "position": {
            "type": "array",
            "items": {
                "type": "number"
            }
        },
        "swing": {
            "type": "boolean"
        },
        "active": {
            "type": "boolean"
        }
    }
}