Skip to content

Commit 152c6dd

Browse files
authored
Merge pull request #305 from pvretano/issue-300
Changes to close issues #304, #302, #300, #280, #276, #168.
2 parents 4c7e693 + 8bf5c2a commit 152c6dd

File tree

171 files changed

+2263
-1960
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+2263
-1960
lines changed

core/openapi/schemas/catalog.yaml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
allOf:
3+
$ref: "http://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/\
4+
schemas/collection.yaml"
5+
type: object
6+
required:
7+
- title
8+
- type
9+
- itemType
10+
properties:
11+
type:
12+
type: string
13+
enum:
14+
- catalog
15+
itemType:
16+
description:
17+
The itemType type can be a string with the value of
18+
"record" to indicate that this object is a catalog
19+
(i.e. a collection of records).
20+
If the itemType is an array, this indicates that
21+
this object is a general collection that can point
22+
to other catalogs, records and/or other related
23+
resources.
24+
oneOf:
25+
- type: string
26+
enum:
27+
- record
28+
- type: array
29+
items:
30+
type: string
31+
enum:
32+
- record
33+
- catalog
34+
- collection
35+
- other
36+
conformsTo:
37+
description:
38+
If all records (`itemType=record`) of the catalog
39+
conform to same set of extensions/conformance classes
40+
then this member may be used to advertise this fact
41+
rather than copying this information into each record.
42+
$ref: common/confClasses.yaml#/properties/conformsTo
43+
created:
44+
type: string
45+
description:
46+
Date of creation of this catalog.
47+
format: date-time
48+
updated:
49+
type: string
50+
description:
51+
The most recent date on which this catalog was
52+
changed.
53+
format: date-time
54+
keywords:
55+
type: array
56+
description:
57+
The topic or topics of the catalog. Typically
58+
represented using free-form keywords, tags, key
59+
phrases, or classification codes.
60+
items:
61+
type: string
62+
language:
63+
description:
64+
The language used for textual values for this
65+
catalog object.
66+
$ref: language.yaml
67+
languages:
68+
type: array
69+
description:
70+
This list of other languages in which this
71+
catalog object can be retrieved.
72+
items:
73+
$ref: language.yaml
74+
themes:
75+
type: array
76+
description:
77+
A knowledge organization system used to classify
78+
the resource.
79+
minItems: 1
80+
items:
81+
$ref: theme.yaml
82+
contacts:
83+
type: array
84+
description:
85+
A list of contacts qualified by their role(s).
86+
items:
87+
$ref: contact.yaml
88+
license:
89+
$ref: license.yaml
90+
rights:
91+
type: string
92+
description:
93+
A statement that concerns all rights not addresses
94+
by the license such as a copyright statement.
95+
additionalProperties: true

core/openapi/schemas/catalogue.yaml

Lines changed: 0 additions & 72 deletions
This file was deleted.

core/openapi/schemas/recordGeoJSON.yaml

Lines changed: 45 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,17 @@ properties:
4040
updated:
4141
type: string
4242
description:
43-
The most recent date on which the record was changed.
43+
The most recent date on which the record was
44+
changed.
4445
format: date-time
4546
type:
4647
type: string
4748
description:
48-
The nature or genre of the resource. The value should be a code,
49-
convenient for filtering records. Where available, a link to
50-
the canonical URI of the record type resource will be added to
51-
the 'links' property.
49+
The nature or genre of the resource. The value
50+
should be a code, convenient for filtering
51+
records. Where available, a link to the
52+
canonical URI of the record type resource will
53+
be added to the 'links' property.
5254
maxLength: 64
5355
title:
5456
type: string
@@ -61,84 +63,97 @@ properties:
6163
keywords:
6264
type: array
6365
description:
64-
The topic or topics of the resource. Typically represented using
65-
free-form keywords, tags, key phrases, or classification codes.
66+
The topic or topics of the resource. Typically
67+
represented using free-form keywords, tags,
68+
key phrases, or classification codes.
6669
items:
6770
type: string
6871
language:
6972
description:
70-
The language used for textual values in this record representation.
73+
The language used for textual values in this
74+
record representation.
7175
$ref: language.yaml
7276
languages:
7377
type: array
7478
description:
75-
This list of languages in which this record is available.
79+
This list of languages in which this record
80+
is available.
7681
items:
7782
$ref: language.yaml
7883
resourceLanguages:
7984
type: array
8085
description:
81-
The list of languages in which the resource described by this
82-
record is available.
86+
The list of languages in which the resource
87+
described by this record is available.
8388
items:
8489
$ref: language.yaml
8590
externalIds:
8691
type: array
8792
description:
88-
An identifier for the resource assigned by an external (to the
89-
catalogue) entity.
93+
An identifier for the resource assigned by
94+
an external (to the catalogue) entity.
9095
items:
9196
type: object
9297
properties:
9398
scheme:
9499
type: string
95100
description:
96-
A reference to an authority or identifier for a knowledge
97-
organization system from which the external identifier was
98-
obtained. It is recommended that the identifier be a
101+
A reference to an authority or
102+
identifier for a knowledge
103+
organization system from which
104+
the external identifier was
105+
obtained. It is recommended
106+
that the identifier be a
99107
resolvable URI.
100108
value:
101109
type: string
102-
description: The value of the identifier.
110+
description:
111+
The value of the identifier.
103112
required:
104113
- value
105114
themes:
106115
type: array
107116
description:
108-
A knowledge organization system used to classify the resource.
117+
A knowledge organization system used
118+
to classify the resource.
109119
minItems: 1
110120
items:
111121
$ref: theme.yaml
112122
formats:
113123
type: array
114124
description:
115-
A list of available distributions of the resource.
125+
A list of available distributions of
126+
the resource.
116127
items:
117128
type: string
118129
contacts:
119130
type: array
120131
description:
121-
A list of contacts qualified by their role(s) in association to the
122-
record or the resource described by the record.
132+
A list of contacts qualified by their
133+
role(s) in association to the record
134+
or the resource described by the record.
123135
items:
124136
$ref: contact.yaml
125137
license:
126138
$ref: license.yaml
127139
rights:
128140
type: string
129141
description:
130-
A statement that concerns all rights not addressed by the license
131-
such as a copyright statement.
142+
A statement that concerns all rights
143+
not addressed by the license such as
144+
a copyright statement.
132145
links:
133146
type: array
134147
description:
135-
A list of links for accessing the resource (e.g. download link,
136-
access link) in one of the supported distribution formats and/or
137-
links to other resources associated with this resource.
138-
Also, a list of links for navigating the API (e.g. prev,
139-
next, etc.). Since the specification requires that at least
140-
the self link be present then the min items for this list should
141-
be one.
148+
A list of links for accessing the resource
149+
(e.g. download link, access link) in one of
150+
the supported distribution formats and/or
151+
links to other resources associated with this
152+
resource. Also, a list of links for navigating
153+
the API (e.g. prev, next, etc.). Since the
154+
specification requires that at least the self
155+
link be present then the min items for this
156+
list should be one.
142157
items:
143158
minItems: 1
144159
$ref: common/link.yaml

core/standard/20-004.adoc

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ toc::[]
8383

8484
include::clause_0_front_material.adoc[]
8585

86+
include::clause_10_security.adoc[]
87+
8688
include::clause_1_scope.adoc[]
8789

8890
include::clause_2_conformance.adoc[]
@@ -95,29 +97,11 @@ include::clause_5_conventions.adoc[]
9597

9698
include::clause_6_overview.adoc[]
9799

98-
include::clause_7_record.adoc[]
99-
100-
include::clause_8_collection.adoc[]
101-
102-
include::clause_9_api.adoc[]
103-
104-
include::clause_10_crawlable_catalogue.adoc[]
105-
106-
include::clause_11_searchable_catalogue.adoc[]
107-
108-
include::clause_12_local_resources_catalogue.adoc[]
109-
110-
include::clause_13_sorting.adoc[]
111-
112-
include::clause_14_record-filter.adoc[]
113-
114-
include::clause_15_autodiscovery.adoc[]
115-
116-
include::clause_16_encodings.adoc[]
100+
include::clause_7_building_blocks.adoc[]
117101

118-
include::clause_17_media_types.adoc[]
102+
include::clause_8_deployments.adoc[]
119103

120-
include::clause_18_security.adoc[]
104+
include::clause_9_media_types.adoc[]
121105

122106
include::annex_ats.adoc[]
123107

core/standard/annex_common.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ A successful response to the <<collections-meta-operation,Collections Operation>
183183
In a typical API deployment, the <<collection-meta-operation,collections response>>
184184
will list collections of all offered resource types. The collections where
185185
the value of the `itemType` property (JSONPath: `$.collections[*].itemType`)
186-
is `record` are collections of records (i.e. catalogues).
186+
is `record` are collections of records (i.e. catalogs).
187187

188188
[#collections-schema,reftext='Collections Response Schema']
189189
.Collections Response Schema

0 commit comments

Comments
 (0)