onestop-id-registry-validator 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e9e455fe397bd23b0085381acedb4e71ff54afe
|
4
|
+
data.tar.gz: 1e945f347aa17169a0634d191d2dbf5bec161006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fa53b61bee91d1eb92972c9ec75e24e3f07027826496d5657b3893f3f5b45a2aa77b9b8aa64c83ea26e533a9f1224de09dbbbb9d4f49feaa4a50989b0c127ee
|
7
|
+
data.tar.gz: 44971c21d7b22b12c655d1eac99384ee9a8fd2d2c6c4bc7cf8d19326bdab97f6416e0b08d53da12e2c3b1a39113975df1cb39fa5bd9b29cc359cc253734c7129
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "Transitland Onestop-Registry Feed",
|
4
|
+
"type": "object",
|
5
|
+
"required": ["onestopId", "url", "feedFormat", "operatorsInFeed"],
|
6
|
+
"properties": {
|
7
|
+
"onestopId": {
|
8
|
+
"type": "string",
|
9
|
+
"format": "feedOnestopId"
|
10
|
+
},
|
11
|
+
"url": {
|
12
|
+
"type": "string",
|
13
|
+
"format": "uri"
|
14
|
+
},
|
15
|
+
"feedFormat": { "type": "string" },
|
16
|
+
"tags": { "type": "object" },
|
17
|
+
"operatorsInFeed": {
|
18
|
+
"type": "array",
|
19
|
+
"uniqueItems": true,
|
20
|
+
"minItems": 1,
|
21
|
+
"items": {
|
22
|
+
"type": "object",
|
23
|
+
"required": ["onestopId", "gtfsAgencyId"],
|
24
|
+
"properties": {
|
25
|
+
"gtfsAgencyId": { "type": "string" },
|
26
|
+
"onestopId": {
|
27
|
+
"type": "string",
|
28
|
+
"format": "operatorOnestopId"
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "Transitland Onestop-Registry Operator",
|
4
|
+
"type": "object",
|
5
|
+
"required": ["name", "onestopId", "geometry"],
|
6
|
+
"properties": {
|
7
|
+
"onestopId": {
|
8
|
+
"type": "string",
|
9
|
+
"format": "operatorOnestopId"
|
10
|
+
},
|
11
|
+
"name": { "type": "string" },
|
12
|
+
"tags": { "type": "object" },
|
13
|
+
"geometry": { "type": "object" },
|
14
|
+
"identifiers": {
|
15
|
+
"type": "array",
|
16
|
+
"uniqueItems": true,
|
17
|
+
"minItems": 1,
|
18
|
+
"items": {
|
19
|
+
"type": "object",
|
20
|
+
"required": ["identifier"],
|
21
|
+
"properties": {
|
22
|
+
"identifier": { "type": "string" }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onestop-id-registry-validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Dara-Abrams
|
@@ -135,6 +135,8 @@ files:
|
|
135
135
|
- bin/onestop_id_registry_validator
|
136
136
|
- lib/onestop_id_registry_validator.rb
|
137
137
|
- lib/onestop_id_registry_validator/internal_validation.rb
|
138
|
+
- lib/onestop_id_registry_validator/schemas/feeds.json
|
139
|
+
- lib/onestop_id_registry_validator/schemas/operators.json
|
138
140
|
- lib/onestop_id_registry_validator/version.rb
|
139
141
|
homepage: https://github.com/transitland/onestop-id-registry-validator
|
140
142
|
licenses:
|