{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "search": {
            "type": "object",
            "required": [
                "resource"
            ],
            "properties": {
                "resource": {
                    "type": "string",
                    "format": "topic",
                    "axRole": "inlet"
                }
            }
        },
        "locations": {
            "type": "object",
            "required": [
                "resource"
            ],
            "properties": {
                "resource": {
                    "type": "string",
                    "format": "topic",
                    "axRole": "outlet"
                },
                "searching": {
                    "type": "string",
                    "format": "topic",
                    "axRole": "outlet",
                    "axPattern": "flag",
                    "description": "Flag, indicating that geocoding using the search term is still in progress."
                }
            }
        }
    }
}