{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "HTTP Server",
    "description": "HTTP server definition and URL list",
    "type": "object",
    "properties": {
        "server": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "port": {
                    "type": "integer"
                }
            },
            "additionalProperties": false,
            "required": [
                "address",
                "port"
            ]
        },
        "pages": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string"
                    },
                    "page": {
                        "type": "string"
                    }
                },
                "additionalProperties": false,
                "required": [
                    "url",
                    "page"
                ]
            }
        }
    }
}