{
    "definitions": {
        "properties": {
            "minProperties": 1,
            "patternProperties": {
                "^\\w+$": {
                    "properties": {
                        "column": {
                            "type": "string"
                        },
                        "country": {
                            "type": "string"
                        },
                        "format": {
                            "type": "string"
                        },
                        "literal": {},
                        "nulls": {
                            "type": "array"
                        },
                        "transform": {
                            "type": "string"
                        },
                        "transforms": {
                            "items": {
                                "type": "string"
                            },
                            "type": "array"
                        }
                    },
                    "type": "object"
                }
            },
            "type": "object"
        }
    },
    "properties": {
        "collection": {
            "type": "string"
        },
        "database": {
            "type": "string"
        },
        "edges": {
            "items": {
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "properties": {
                        "$ref": "#/definitions/properties"
                    },
                    "source": {
                        "type": "string"
                    },
                    "target": {
                        "type": "string"
                    }
                },
                "required": [
                    "label",
                    "source",
                    "target"
                ],
                "type": "object"
            },
            "type": "array"
        },
        "nodes": {
            "minProperties": 1,
            "patternProperties": {
                "^\\w+$": {
                    "properties": {
                        "label": {
                            "type": "string"
                        },
                        "properties": {
                            "$ref": "#/definitions/properties"
                        }
                    },
                    "required": [
                        "label",
                        "properties"
                    ],
                    "type": "object"
                }
            },
            "type": "object"
        },
        "query": {
            "type": "string"
        },
        "table": {
            "type": "string"
        }
    },
    "required": [
        "database",
        "collection",
        "nodes"
    ],
    "type": "object"
}