Skip to content

Commit 10ebc23

Browse files
committed
schema fixes
1 parent 2220e35 commit 10ebc23

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Links to a [ArcGIS FeatureServer](https://developers.arcgis.com/rest/services-re
143143

144144
| Field Name | Type | Description |
145145
| --------------- | -------------------- | ----------- |
146-
| rel | string | **REQUIRED**. Must be set to `featureserver`. |
146+
| rel | string | **REQUIRED**. Must be set to `arcgis-featureserver`. |
147147
| href | string | **REQUIRED**. Link to a FeatureServer service. Usually has the following form `https://<root>/<serviceName>/FeatureServer` |
148148
| type | string | Recommended to be set to `application/json` |
149149
| featureserver:layers | Map<string, string> | The layers included in the service. The key should be used as the `LayerId` when querying the service. For example: `https://<root>/<serviceName>/FeatureServer/<layerId>/query` |

examples/collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
},
9999
{
100100
"href": "https://service.arcgis.com/arcgis/rest/datast/FeatureServer",
101-
"rel": "featureserver",
101+
"rel": "arcgis-featureserver",
102102
"title": "ArcGIS FeatureServer",
103103
"type": "application/json",
104104
"featureserver:layers": {

json-schema/schema.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,21 +171,17 @@
171171
"if": {
172172
"properties": {
173173
"rel": {
174-
"const": "featureserver"
174+
"const": "arcgis-featureserver"
175175
}
176176
}
177177
},
178178
"then": {
179179
"properties": {
180-
"pmtiles:layers": {
180+
"featureserver:layers": {
181181
"type": "object",
182-
"items": {
182+
"additionalProperties": {
183183
"type": "string",
184-
"minItems": 1,
185-
"items": {
186-
"type": "string",
187-
"minLength": 1
188-
}
184+
"minLength": 1
189185
}
190186
}
191187
}

0 commit comments

Comments
 (0)