Skip to content

Commit d431d12

Browse files
committed
Update Findings_from_Code_Sprint_May26.md
Signed-off-by: Johannes Echterhoff <echterhoff@interactive-instruments.de>
1 parent 267ded6 commit d431d12

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Findings_from_Code_Sprint_May26.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ The definition (everything from the Notes field of a model element in Enterprise
3737

3838
The GeoSciML application schemas depend upon a number of other schemas, primarily ISO schemas. The mappings for external types used in the GeoSciML schemas is defined in the ShapeChange configuration file [StandardMapEntries_JSON_for_GeoSciML.xml](https://github.com/opengeospatial/geosciml-json-code-sprint/blob/main/shapechange/config/StandardMapEntries_JSON_for_GeoSciML.xml).
3939

40-
NOTE: For several external types (marked with `TBD` in the configuration file), a direct mapping to a standardized JSON Schema implementation was not found. For the code sprint, mappings were used that tried to suit the intent. However, finding and developing appropriate mappings requires future work. This is a limitation (documented further below).
40+
For several external types (marked with `TBD` in the configuration file), a direct mapping to a standardized JSON Schema implementation was not found. For the code sprint, mappings were used that tried to suit the intent. However, finding and developing appropriate mappings requires future work. This is a limitation (documented further below).
41+
42+
NOTE: ISO 19107 geometry types are mapped to simple feature geometries. JSON-FG supports additional (non-simple) geometry types.
4143

4244

4345
### Object identifier
@@ -122,6 +124,7 @@ By reference encoding uses link objects. That supports the "rel-as-link" profile
122124
* JSON Schema files have been created for all of the GeoSciML application schemas, and added to the [git repository for the GeoSciML JSON code sprint](https://github.com/opengeospatial/geosciml-json-code-sprint). However, note that limitations have been identified.
123125
* ShapeChange configurations for automatically deriving the JSON Schema files are available in the repository.
124126
* A number of examples with JSON encoded GeoSciML features and also feature collections have been created. A python script for validating the examples against the schemas, as well as automated GitHub actions to do so, were created.
127+
* Note that the examples contain the `conformsTo`-member, but without identifiers of JSON-FG conformance classes. That should be rectified in the future.
125128

126129
## Limitations
127130

@@ -163,13 +166,11 @@ This git repository has a validate.py script, with which examples are automatica
163166

164167
For validating a JSON instance yourself, other JSON Schema validators can be used. An example is the online tool at https://www.jsonschemavalidator.net/.
165168

166-
Here is an example of a JSON Schema fragment for validating against the schema definition for feature type BoreholeView from GeoSciMLLite, with the schema file published (for the code sprint) on https://ext.iide.dev:
169+
Here is an example of a JSON Schema fragment for validating against the schema definition for feature type BoreholeView from GeoSciMLLite, with the schema file published (for the code sprint) on `https://ext.iide.dev` (note that interactive instruments will keep the files there at least until July 31, 2026 - they may be removed any time thereafter):
167170

168171
```json
169172
{
170173
"$schema": "https://json-schema.org/draft/2020-12/schema",
171174
"$ref": "https://ext.iide.dev/schemas/geosciml/json/4.1/geoscimlLite.json#/$defs/BoreholeView"
172175
}
173-
```
174-
175-
176+
```

0 commit comments

Comments
 (0)