Semantic Extended
Semantic surface with an 'extended' or custom type that start with a '+', e.g. +MySemantic, including attributes and hierarchy.
Case
id:semantic_extendedlayer:conformancefamily:spec_atomartifact_mode:checked-insource_kind:syntheticrepresentation:cityjsonpath:cases/conformance/v2_0/semantic_extended
Files
source:cases/conformance/v2_0/semantic_extended/semantic_extended.city.json
Source JSON
case.json
{
"artifact_mode": "checked-in",
"artifact_paths": {
"source": "cases/conformance/v2_0/semantic_extended/semantic_extended.city.json"
},
"assertions": [
"semantic_extension_type_preserved",
"semantic_extension_properties_preserved"
],
"cityjson_version": "2.0",
"description": "Semantic surface with an 'extended' or custom type that start with a '+', e.g. +MySemantic, including attributes and hierarchy.",
"family": "spec_atom",
"geometry_kind": "dummy",
"id": "semantic_extended",
"layer": "conformance",
"representation": "cityjson",
"source_kind": "synthetic",
"version": 2
}
invariants.json
{
"checks": [
{
"description": "Extended semantic surface stay stable across roundtrip.",
"id": "semantic_extension_type_preserved"
},
{
"description": "Extended semantic surface members stay stable across roundtrip.",
"id": "semantic_extension_members_preserved"
}
],
"id": "semantic_extended",
"kind": "positive",
"version": 1
}