{
    "id": "http://sport-archive.com/input-schema/client#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Schema for 'client'",
    "type": "object",
    "properties": {
        "name": {
            "description": "Client name",
            "type": "string",
            "minLength": 3,
            "maxLength": 64
        },
        "queues": {
            "type": "object",
            "properties": {
                "input": {
                    "description": "SQS input queue",
                    "type": "string",
                    "pattern": "^https://.+$"
                },
                "output": {
                    "description": "SQS output queue",
                    "type": "string",
                    "pattern": "^https://.+$"
                }
            },
            "required": [
                "input",
                "output"
            ]
        }
    },
    "required": [
        "name",
        "queues"
    ],
    "additionalProperties": false
}