Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for closer STAC harmonization.
- Loading branch information
Showing
18 changed files
with
183 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
type: string | ||
description: | ||
A legal document under which the resource is made available. | ||
If the resource is being made available under a common license | ||
then use an SPDX license id (https://spdx.org/licenses/). | ||
If the resource is being made available under multiple common | ||
licenses then use an SPDX license expression v2.3 string | ||
(https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/) | ||
If the resource is being made available under one or more licenses | ||
that haven't been assigned an SPDX identifier or one or more custom | ||
licenses then use a string value of 'other' and include one or more | ||
links (rel="license") in the `link` section of the record to the | ||
file(s) that contains the text of the license(s). | ||
There is also the case of a resource that is private or unpublished | ||
and is thus unlicensed; in this case do not register such a resource | ||
in the catalogue in the first place since there is no point in making | ||
such a resource discoverable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
type: array | ||
description: | ||
A knowledge organization system used to classify the resource. | ||
items: | ||
type: object | ||
properties: | ||
concepts: | ||
type: array | ||
description: | ||
One or more entity/concept identifers from this knowledge | ||
system. it is recommended that a resolvable URI be used | ||
for each entity/concept identifier. | ||
items: | ||
type: object | ||
required: | ||
- id | ||
properties: | ||
id: | ||
type: string | ||
description: An identifier for the concept. | ||
title: | ||
type: string | ||
description: A human readable title for the concept. | ||
description: | ||
type: string | ||
description: A human readable description for the concept. | ||
url: | ||
type: string | ||
format: uri | ||
description: A URI providing further description of the concept. | ||
scheme: | ||
type: string | ||
description: | ||
An identifier for the knowledge organization system used | ||
to classify the resource. It is recommended that the | ||
identifier be a resolvable URI. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
oneOf: | ||
- type: 'null' | ||
- type: object | ||
properties: | ||
date: | ||
type: string | ||
pattern: "^\\d{4}-\\d{2}-\\d{2}$" | ||
timestamp: | ||
type: string | ||
pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" | ||
interval: | ||
type: array | ||
minItems: 2 | ||
maxItems: 2 | ||
items: | ||
oneOf: | ||
- type: string | ||
pattern: "^\\d{4}-\\d{2}-\\d{2}$" | ||
- type: string | ||
pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$" | ||
- type: string | ||
enum: | ||
- ".." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
core/standard/recommendations/crawlable-catalogue/PER_common-mark.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[per_crawlable-catalogue_common-mark]] | ||
[width="90%",cols="2,6a"] | ||
|=== | ||
^|*Recommendation {counter:rec-id}* |*/per/crawlable-catalogue/common-mark* | ||
|
||
For any `description` member in a _collections object_, https://spec.commonmark.org/current/(CommonMark) MAY be used for a rich text representation. | ||
|=== |
7 changes: 7 additions & 0 deletions
7
core/standard/recommendations/local-resources-catalogue/PER_common-mark.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[per_collections_common-mark]] | ||
[width="90%",cols="2,6a"] | ||
|=== | ||
^|*Recommendation {counter:rec-id}* |*/per/collections/common-mark* | ||
|
||
For any `description` member in a local resources object, https://spec.commonmark.org/current/(CommonMark) MAY be used for a rich text representation. | ||
|=== |
7 changes: 7 additions & 0 deletions
7
core/standard/recommendations/record-collection/PER_common-mark.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[per_record-collection_common-mark]] | ||
[width="90%",cols="2,6a"] | ||
|=== | ||
^|*Recommendation {counter:rec-id}* |*/per/record-collection/common-mark* | ||
|
||
For any `description` member in a record collection, https://spec.commonmark.org/current/(CommonMark) MAY be used for a rich text representation. | ||
|=== |
7 changes: 7 additions & 0 deletions
7
core/standard/recommendations/record-core/PER_common-mark.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[per_common-mark]] | ||
[width="90%",cols="2,6a"] | ||
|=== | ||
^|*Recommendation {counter:rec-id}* |*/per/core/common-mark* | ||
|
||
For any `description` member in a record, https://spec.commonmark.org/current/(CommonMark) MAY be used for a rich text representation. | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
core/standard/recommendations/record-core/REC_record-links_license.adoc
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
core/standard/requirements/record-core/REQ_time-instant-interval.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[[req_record-core_time-instant-interval]] | ||
[width="90%",cols="2,7a"] | ||
|=== | ||
^|*Requirement {counter:req-num}* |*/req/core/time-instant-interval* | ||
^|A |If the `time` object in a record includes both a `date` and a `timestamp` member, the `full-date` parts SHALL be identical. | ||
^|B |If the `time` object in a record includes both a `timestamp` and an `interval` member with start/end dates, the interval SHALL contain the date of the timestamp. | ||
^|C |If the `time` object in a record includes both a `timestamp` and an `interval` member with start/end timestamps, the interval SHALL contain the timestamp. | ||
^|D |If the `time` object in a record includes both a `date` and an `interval` member with with start/end dates, the interval SHALL contain the date. | ||
^|E |If the `time` object in a record includes both a `date` and an `interval` member with with start/end timestamps, the interval SHALL include timestamps on the date. | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[req_record-core_time-instant]] | ||
[width="90%",cols="2,7a"] | ||
|=== | ||
^|*Requirement {counter:req-num}* |*/req/core/time-instant* | ||
^|A |If the `time` object in a record includes a `date` member, the value SHALL conform to <<rfc3339,RFC 3339 (Date and Time on the Internet: Timestamps)>> and match the production rule `full-date`. | ||
^|B |If the `time` object in a record includes a `timestamp` member, the value SHALL conform to <<rfc3339,RFC 3339 (Date and Time on the Internet: Timestamps)>> and match the production rule `date-time`. | ||
|=== |
8 changes: 8 additions & 0 deletions
8
core/standard/requirements/record-core/REQ_time-interval.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[[req_record-core_time-interval]] | ||
[width="90%",cols="2,7a"] | ||
|=== | ||
^|*Requirement {counter:req-num}* |*/req/core/interval* | ||
^|A |If the `time` object in a record includes an `interval` member, each array item SHALL be a string that is a double-dot ("..") or conforms to <<rfc3339,RFC 3339 (Date and Time on the Internet: Timestamps)>> and match one of the following production rules: `full-date` (a date) or `date-time` (a timestamp). | ||
^|B |If the start is a date, the end SHALL be a date, too, or "..". | ||
^|C |If the start is a timestamp, the end SHALL be a timestamp, too, or "..". | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[[req_record-core_time-zone]] | ||
[width="90%",cols="2,7a"] | ||
|=== | ||
^|*Requirement {counter:req-num}* |*/req/core/time-zone* | ||
^|A |Timestamps in the `time` member in a record SHALL use UTC ("Z") as the time zone. | ||
|=== |