You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/specs.bs
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,11 @@ A CityJSON object:
71
71
- **may** have one member with the name `"geometry-templates"`, the value is a JSON object containing the templates that can be reused by different City Objects (usually for trees). This is equivalent to the concept of "implicit geometries" in CityGML. See [[#geometry-templates]] for details.
72
72
- **may** have other members, and their value is not prescribed. Because these are not standard in CityJSON, they might be ignored by parsers.
73
73
74
+
75
+
<div class="note">
76
+
**Suggested convention:** A file containing one CityJSON object may have the extension `'.city.json'`
77
+
</div>
78
+
74
79
The minimal valid CityJSON object is thus:
75
80
76
81
```json
@@ -1491,10 +1496,15 @@ Below is an example of a CityJSONFeature stream (or a JSON Lines text file), wit
**Suggested convention:** `"CityJSON"` and `"CityJSONFeature"` objects may be stored in a file with the extension `'.city.jsonl'`
1502
+
</div>
1494
1503
<div class="note">
1495
-
CityJSON does not prescribe the format or standard that should be used to store several JSON objects in a given file, it only defines how `"CityJSON"` and `"CityJSONFeature"` objects should be defined.
1504
+
Observe that CityJSON does not prescribe the format or standard that should be used to store several JSON objects in a given file, it only defines how `"CityJSON"` and `"CityJSONFeature"` objects should be defined.
1496
1505
</div>
1497
1506
1507
+
1498
1508
# Extensions
1499
1509
1500
1510
CityJSON uses [JSON Schemas](http://json-schema.org/) to document and validate its data model, including its Extensions. Schemas offer a way to validate the syntax of a JSON document.
0 commit comments