Newer
Older
ServerGenerator / src / ExampleOutput / graph.schema.json
{
    "$schema": "http://json-schema.org/schema#",
    "$id": "https://infinity.synoikos.de/schemata/graph.schema.json",
    "type": "object",
    "required": ["$schema", "nextId", "nodes"],
    "properties": {
        "$schema": {
            "type": "string",
            "format": "uri-reference"
        },
        "nextId": {
            "type": "number"
        },
        "nodes": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "type": "object",
                "required": [
                    "id",
                    "name",
                    "description"
                ],
                "additionalProperties": false,
                "properties": {
                    "id": {
                        "type": "number"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    }
                }
            }
        }
    }
}