Invalid Out Of Range Vertex Index
Synthetic invalid CityJSON fixture with a boundary that references a vertex index outside the available vertex array. Valid JSON, but must be rejected during geometry validation.
Case
id:invalid_out_of_range_vertex_indexlayer:invalidfamily:invalidartifact_mode:checked-insource_kind:syntheticrepresentation:cityjsonpath:cases/invalid/invalid_out_of_range_vertex_index
Files
source:cases/invalid/invalid_out_of_range_vertex_index/invalid_out_of_range_vertex_index.json
Source JSON
case.json
{
"artifact_mode": "checked-in",
"artifact_paths": {
"source": "cases/invalid/invalid_out_of_range_vertex_index/invalid_out_of_range_vertex_index.json"
},
"assertions": [
"rejects_out_of_range_vertex_index"
],
"cityjson_version": "2.0",
"description": "Synthetic invalid CityJSON fixture with a boundary that references a vertex index outside the available vertex array. Valid JSON, but must be rejected during geometry validation.",
"family": "invalid",
"geometry_kind": "dummy",
"id": "invalid_out_of_range_vertex_index",
"layer": "invalid",
"representation": "cityjson",
"source_kind": "synthetic",
"version": 2
}
invariants.json
{
"checks": [
{
"description": "A boundary that references a missing vertex index is rejected.",
"id": "rejects_out_of_range_vertex_index"
}
],
"expected_result": "reject",
"fixture": "invalid_out_of_range_vertex_index.json",
"id": "invalid_out_of_range_vertex_index",
"kind": "negative",
"version": 1
}