Skip to content

Commit b9654ec

Browse files
authored
Merge pull request #104 from opengeospatial/schemas
link to draft of OGC API Features Part 5: Schemas
2 parents 872f396 + 40e0358 commit b9654ec

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

core/clause_3_references.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ The following normative documents contain provisions that, through reference in
55

66
[[rfc7946]] Internet Engineering Task Force (IETF). RFC 7946: **The GeoJSON Format**. Edited by H. Butler, M. Daly, A. Doyle, S. Gillies, S. Hagen, T. Schaub. 2016. Available at https://www.rfc-editor.org/rfc/rfc7946.html
77

8-
[[ogc06_103r4]] Open Geospatial Consortium (OGC). OGC 06-103r4: **OpenGIS® Implementation Standard for Geographic information - Simple feature access - Part 1: Common architecture**. Edited by J. Herring. 2011. Available at http://portal.opengeospatial.org/files/?artifact_id=25355
8+
[[ogc06_103r4]] Open Geospatial Consortium (OGC). OGC 06-103r4: **OpenGIS® Implementation Standard for Geographic information - Simple feature access - Part 1: Common architecture**. Edited by J. Herring. 2011. Available at https://portal.opengeospatial.org/files/?artifact_id=25355
99

10-
[[OAFeat-5]] Open Geospatial Consortium (OGC). **OGC API - Features - Part 5: Schemas 1.0 (DRAFT)**. Edited by C. Portele, P. Vretanos. To be published.
11-
12-
NOTE: The draft should be available in the next days. The document will then be updated. Before publication of JSON-FG, a persistent reference is required. This note has to be removed before publication.
10+
[[OAFeat-5]] Open Geospatial Consortium (OGC). **OGC API - Features - Part 5: Schemas 1.0 (DRAFT)**. Edited by C. Portele, P. Vretanos. Available at https://docs.ogc.org/DRAFTS/23-058.html

core/clause_7_building_blocks.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,17 +454,17 @@ If the JSON document is a feature collection and all features in the feature col
454454

455455
==== Overview
456456

457-
A JSON-FG feature schema is metadata about a feature that clients can use to understand the content of JSON-FG feature objects, such as a textual description of the feature properties or their value range.
457+
A JSON-FG feature schema is metadata about a feature that clients can use to understand the content of JSON-FG feature objects, such as a textual description of the feature properties or their value range.
458458

459-
NOTE: As of September 2023, the OGC Features API Standards Working Group is working on OGC API - Features - Part 5: Schemas. JSON Schema will be used to describe the logical schema of features in an encoding-agnostic way. The https://github.com/opengeospatial/ogcapi-features/issues/740#issuecomment-1501758135[discussion and decisions in this issue] will be used as the starting point. The schema uses additional schema keywords to identify special roles of properties, e.g., the feature identifier, the primary geometry or the primary instant.
459+
JSON-FG follows the approach of <<OAFeat-5,OGC API - Features - Part 5>>, that is, the feature schema is a logical schema. It can not be used to directly validate a JSON-FG document. However, a schema for validation of a JSON-FG feature or feature collection can be derived from the logical schema, if needed. The schemas of the feature properties in the logical schemas can be reused when constructing a JSON Schema for validation.
460460

461-
The JSON-FG Standard provides guidance on how to include information about such feature schemas in a JSON-FG feature or feature collection.
461+
The JSON-FG Standard provides guidance on how to include information about the feature schemas in a JSON-FG feature or feature collection.
462462

463463
==== Description
464464

465465
===== The "featureSchema" member
466466

467-
If all features in a JSON-FG document (either a single feature or a homogeneous feature collection) have the same feature type, the URI of the feature schema can and should be provided in a top-level JSON member "featureSchema" with the feature schema URI as the value.
467+
If all features in a JSON-FG document (either a single feature or a homogeneous feature collection) have the same feature schema, the URI of the feature schema can and should be provided in a top-level JSON member "featureSchema" with the feature schema URI as the value.
468468

469469
[source,json]
470470
----

0 commit comments

Comments
 (0)