{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "odb",
    "type": "object",
    "required": [
        "info"
    ],
    "properties": {
        "info": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string"
                },
                "default-cluster-id": {
                    "type": "number"
                },
                "exporter-version": {
                    "type": "number"
                },
                "engine-version": {
                    "type": "string"
                },
                "engine-build": {
                    "type": "string"
                },
                "storage-config-version": {
                    "type": "number"
                },
                "schema-version": {
                    "type": "number"
                },
                "mvrbtree-version": {
                    "type": "number"
                },
                "schemaRecordId": {
                    "type": "string"
                },
                "indexMgrRecordId": {
                    "type": "string"
                }
            },
            "required": [
                "schema-version"
            ]
        },
        "clusters": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "id": {
                        "type": "number"
                    }
                },
                "required": [
                    "name",
                    "id"
                ]
            }
        },
        "schema": {
            "type": "object",
            "properties": {
                "version": {
                    "type": "number"
                },
                "classes": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "default-cluster-id": {
                                "type": "number"
                            },
                            "cluster-ids": {
                                "type": "array",
                                "items": {
                                    "type": "number"
                                }
                            },
                            "cluster-selection": {
                                "type": "string"
                            },
                            "properties": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "mandatory": {
                                            "type": "boolean"
                                        },
                                        "not-null": {
                                            "type": "boolean"
                                        },
                                        "collate": {
                                            "type": "string"
                                        },
                                        "linked-class": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "name",
                                        "type"
                                    ]
                                }
                            },
                            "abstract": {
                                "type": "boolean"
                            },
                            "super-class": {
                                "type": "string"
                            },
                            "oversize": {
                                "type": "number"
                            }
                        },
                        "required": [
                            "name",
                            "default-cluster-id",
                            "cluster-ids",
                            "cluster-selection"
                        ]
                    }
                }
            }
        },
        "records": {
            "type": "array",
            "items": {
                "type": "object"
            }
        },
        "indexes": {
            "type": "array",
            "items": {
                "type": "object"
            }
        },
        "manualIndexes": {
            "type": "array",
            "items": {
                "type": "object"
            }
        }
    }
}