{
    "$id": "https://www.istp-cnr.it/gray/schemas/rzpolygon",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Polygon in the poloidal Rz-plane",
    "type": "object",
    "properties": {
        "r": {
            "description": "Radial coordinate. Units [m]",
            "allOf": [
                {"$ref": "number1d"},
                {"items": {"minimum": 0}}
            ]
        },
        "z": {
            "description": "Vertical coordinate. Units [m]",
            "$ref": "number1d"
        }
    }
}