adiwg-json_schemas 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/additionalDocumentation.json +61 -0
- data/examples/address.json +10 -0
- data/examples/associatedResource.json +119 -0
- data/examples/citation.json +55 -0
- data/examples/contact.json +30 -0
- data/examples/graphicOverview.json +6 -1
- data/lib/adiwg/json_schemas/version.rb +1 -1
- data/test/tc_schemas.rb +75 -29
- metadata +18 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32691150f416a289dbcfc4c51b9a5506e409ca37
|
4
|
+
data.tar.gz: a018cda3e052ec6facf575a922b2b3b2d672c5fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d75912576ee47922f3c2d6f824e595a01e3f2b042b21d4d3e50f275bc83f06676112bccaabd61c6e1691f168d35d69ac08a4f780761144a6fba266112d03917
|
7
|
+
data.tar.gz: 69776b0a964a41946fdce1a2cc8a9128122505d73633b293dc6875d9f10bc50d276d562f9155bf6a0f270c3281fbcbe96162e885c30de4b22f2b8a49b74fdbd2
|
@@ -0,0 +1,61 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"resourceType": "resourceType",
|
4
|
+
"citation": {
|
5
|
+
"title": "title",
|
6
|
+
"date": [
|
7
|
+
{
|
8
|
+
"date": "1111-11-11",
|
9
|
+
"dateType": "dateType"
|
10
|
+
}
|
11
|
+
],
|
12
|
+
"edition": "edition",
|
13
|
+
"responsibleParty": [
|
14
|
+
{
|
15
|
+
"contactId": "contactId",
|
16
|
+
"role": "role"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"presentationForm": ["presentationForm"],
|
20
|
+
"identifier": [
|
21
|
+
{
|
22
|
+
"identifier": "identifier",
|
23
|
+
"type": "type",
|
24
|
+
"authority": {
|
25
|
+
"title": "title",
|
26
|
+
"date": [
|
27
|
+
{
|
28
|
+
"date": "1111-11-11",
|
29
|
+
"dateType": "dateType"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"responsibleParty": [
|
33
|
+
{
|
34
|
+
"contactId": "contactId",
|
35
|
+
"role": "role"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"onlineResource": [
|
39
|
+
{
|
40
|
+
"uri": "http://thisisanexample.com",
|
41
|
+
"protocol": "protocol",
|
42
|
+
"name": "name",
|
43
|
+
"description": "description",
|
44
|
+
"function": "function"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
}
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"onlineResource": [
|
51
|
+
{
|
52
|
+
"uri": "http://thisisanexample.com",
|
53
|
+
"protocol": "protocol",
|
54
|
+
"name": "name",
|
55
|
+
"description": "description",
|
56
|
+
"function": "function"
|
57
|
+
}
|
58
|
+
]
|
59
|
+
}
|
60
|
+
}
|
61
|
+
]
|
@@ -0,0 +1,10 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"deliveryPoint": ["deliveryPoint1", "deliveryPoint2"],
|
4
|
+
"city": "city",
|
5
|
+
"administrativeArea": "administrativeArea",
|
6
|
+
"postalCode": "postalCode",
|
7
|
+
"country": "country",
|
8
|
+
"electronicMailAddress": ["example1@example.com", "example2@example.com"]
|
9
|
+
}
|
10
|
+
]
|
@@ -0,0 +1,119 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"associationType": "associationType",
|
4
|
+
"initiativeType": "initiativeType",
|
5
|
+
"resourceType": "resourceType",
|
6
|
+
"resourceCitation": {
|
7
|
+
"title": "title",
|
8
|
+
"date": [
|
9
|
+
{
|
10
|
+
"date": "1111-11-11",
|
11
|
+
"dateType": "dateType"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"edition": "edition",
|
15
|
+
"responsibleParty": [
|
16
|
+
{
|
17
|
+
"contactId": "contactId",
|
18
|
+
"role": "role"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"presentationForm": ["presentationForm"],
|
22
|
+
"identifier": [
|
23
|
+
{
|
24
|
+
"identifier": "identifier",
|
25
|
+
"type": "type",
|
26
|
+
"authority": {
|
27
|
+
"title": "title",
|
28
|
+
"date": [
|
29
|
+
{
|
30
|
+
"date": "1111-11-11",
|
31
|
+
"dateType": "dateType"
|
32
|
+
}
|
33
|
+
],
|
34
|
+
"responsibleParty": [
|
35
|
+
{
|
36
|
+
"contactId": "contactId",
|
37
|
+
"role": "role"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"onlineResource": [
|
41
|
+
{
|
42
|
+
"uri": "http://thisisanexample.com",
|
43
|
+
"protocol": "protocol",
|
44
|
+
"name": "name",
|
45
|
+
"description": "description",
|
46
|
+
"function": "function"
|
47
|
+
}
|
48
|
+
]
|
49
|
+
}
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"onlineResource": [
|
53
|
+
{
|
54
|
+
"uri": "http://thisisanexample.com",
|
55
|
+
"protocol": "protocol",
|
56
|
+
"name": "name",
|
57
|
+
"description": "description",
|
58
|
+
"function": "function"
|
59
|
+
}
|
60
|
+
]
|
61
|
+
},
|
62
|
+
"metadataCitation": {
|
63
|
+
"title": "title",
|
64
|
+
"date": [
|
65
|
+
{
|
66
|
+
"date": "1111-11-11",
|
67
|
+
"dateType": "dateType"
|
68
|
+
}
|
69
|
+
],
|
70
|
+
"edition": "edition",
|
71
|
+
"responsibleParty": [
|
72
|
+
{
|
73
|
+
"contactId": "contactId",
|
74
|
+
"role": "role"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"presentationForm": ["presentationForm"],
|
78
|
+
"identifier": [
|
79
|
+
{
|
80
|
+
"identifier": "identifier",
|
81
|
+
"type": "type",
|
82
|
+
"authority": {
|
83
|
+
"title": "title",
|
84
|
+
"date": [
|
85
|
+
{
|
86
|
+
"date": "1111-11-11",
|
87
|
+
"dateType": "dateType"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"responsibleParty": [
|
91
|
+
{
|
92
|
+
"contactId": "contactId",
|
93
|
+
"role": "role"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"onlineResource": [
|
97
|
+
{
|
98
|
+
"uri": "http://thisisanexample.com",
|
99
|
+
"protocol": "protocol",
|
100
|
+
"name": "name",
|
101
|
+
"description": "description",
|
102
|
+
"function": "function"
|
103
|
+
}
|
104
|
+
]
|
105
|
+
}
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"onlineResource": [
|
109
|
+
{
|
110
|
+
"uri": "http://thisisanexample.com",
|
111
|
+
"protocol": "protocol",
|
112
|
+
"name": "name",
|
113
|
+
"description": "description",
|
114
|
+
"function": "function"
|
115
|
+
}
|
116
|
+
]
|
117
|
+
}
|
118
|
+
}
|
119
|
+
]
|
data/examples/citation.json
CHANGED
@@ -1,5 +1,60 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
|
+
"title": "title",
|
4
|
+
"date": [
|
5
|
+
{
|
6
|
+
"date": "1111-11-11",
|
7
|
+
"dateType": "dateType"
|
8
|
+
}
|
9
|
+
],
|
10
|
+
"edition": "edition",
|
11
|
+
"responsibleParty": [
|
12
|
+
{
|
13
|
+
"contactId": "contactId",
|
14
|
+
"role": "role"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"presentationForm": ["presentationForm"],
|
18
|
+
"identifier": [
|
19
|
+
{
|
20
|
+
"identifier": "identifier",
|
21
|
+
"type": "type",
|
22
|
+
"authority": {
|
23
|
+
"title": "title",
|
24
|
+
"date": [
|
25
|
+
{
|
26
|
+
"date": "1111-11-11",
|
27
|
+
"dateType": "dateType"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"responsibleParty": [
|
31
|
+
{
|
32
|
+
"contactId": "contactId",
|
33
|
+
"role": "role"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"onlineResource": [
|
37
|
+
{
|
38
|
+
"uri": "http://thisisanexample.com",
|
39
|
+
"protocol": "protocol",
|
40
|
+
"name": "name",
|
41
|
+
"description": "description",
|
42
|
+
"function": "function"
|
43
|
+
}
|
44
|
+
]
|
45
|
+
}
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"onlineResource": [
|
49
|
+
{
|
50
|
+
"uri": "http://thisisanexample.com",
|
51
|
+
"protocol": "protocol",
|
52
|
+
"name": "name",
|
53
|
+
"description": "description",
|
54
|
+
"function": "function"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
}, {
|
3
58
|
"title": "Project Tracking System",
|
4
59
|
"date": [
|
5
60
|
{
|
data/examples/contact.json
CHANGED
@@ -1,5 +1,35 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
|
+
"contactId": "contactId",
|
4
|
+
"individualName": "individualName",
|
5
|
+
"organizationName": "organizationName",
|
6
|
+
"positionName": "positionName",
|
7
|
+
"onlineResource": [
|
8
|
+
{
|
9
|
+
"uri": "http://thisisanexample1.com",
|
10
|
+
"protocol": "protocol1",
|
11
|
+
"name": "name1",
|
12
|
+
"description": "description1",
|
13
|
+
"function": "function1"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"contactInstructions": "contactInstructions",
|
17
|
+
"phoneBook": [
|
18
|
+
{
|
19
|
+
"phoneName": "phoneName1",
|
20
|
+
"phoneNumber": "111-111-1111",
|
21
|
+
"service": ["service11", "service12"]
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"address": {
|
25
|
+
"deliveryPoint": ["deliveryPoint1", "deliveryPoint2"],
|
26
|
+
"city": "city",
|
27
|
+
"administrativeArea": "administrativeArea",
|
28
|
+
"postalCode": "postalCode",
|
29
|
+
"country": "country",
|
30
|
+
"electronicMailAddress": ["example1@example.com", "example2@example.com"]
|
31
|
+
}
|
32
|
+
}, {
|
3
33
|
"contactId": "1",
|
4
34
|
"individualName": "Josh Bradley",
|
5
35
|
"organizationName": "Arctic Landscape Conservation Cooperative",
|
@@ -1,9 +1,14 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
|
+
"fileName": "fileName",
|
4
|
+
"fileDescription": "fileDescription",
|
5
|
+
"fileType": "fileType",
|
6
|
+
"fileUri": "http://thisisanexample.com"
|
7
|
+
}, {
|
3
8
|
"fileName": "allRecs_callCounts_bowhead_2010.jpg",
|
4
9
|
"fileDescription": "This image is a spectraplot visualizing the density of Bowhead whale calls in the Northeast Chukchi Sea, AMAR recorder locations, and industry lease areas.",
|
5
10
|
"fileType": "JPEG",
|
6
|
-
"
|
11
|
+
"fileUri": "http://www.workspace.aoos.org/files/28354/ACOUST_SND_CLIP_2008_11_Ed3.csv"
|
7
12
|
}, {
|
8
13
|
"fileName": "cross_section_perc_sommer_2010.png",
|
9
14
|
"fileDescription": ".",
|
data/test/tc_schemas.rb
CHANGED
@@ -30,142 +30,188 @@ class TestExamples < Minitest::Test
|
|
30
30
|
errors += error
|
31
31
|
end
|
32
32
|
|
33
|
-
assert(errors.empty?, errors.join("
|
33
|
+
assert(errors.empty?, errors.join("
|
34
|
+
"))
|
34
35
|
end
|
35
36
|
|
36
37
|
def test_data_template
|
37
38
|
errors = JSON::Validator.fully_validate(@@schema, @@dir + '../templates/mdJson_template.json', :strict => false)
|
38
|
-
assert(errors.empty?, errors.join("
|
39
|
+
assert(errors.empty?, errors.join("
|
40
|
+
"))
|
39
41
|
end
|
40
42
|
|
41
43
|
def test_full_example
|
42
44
|
errors = JSON::Validator.fully_validate(@@schema , @@ex + 'full_example.json')
|
43
|
-
assert(errors.empty?, errors.join("
|
45
|
+
assert(errors.empty?, errors.join("
|
46
|
+
"))
|
44
47
|
end
|
45
48
|
|
46
49
|
def test_full_example2
|
47
50
|
errors = JSON::Validator.fully_validate(@@schema , @@ex + 'full_example2.json')
|
48
|
-
assert(errors.empty?, errors.join("
|
51
|
+
assert(errors.empty?, errors.join("
|
52
|
+
"))
|
49
53
|
end
|
50
54
|
|
51
55
|
def test_minimum_example
|
52
56
|
errors = JSON::Validator.fully_validate(@@schema , @@ex + 'minimum_example.json')
|
53
|
-
assert(errors.empty?, errors.join("
|
57
|
+
assert(errors.empty?, errors.join("
|
58
|
+
"))
|
54
59
|
end
|
55
60
|
|
56
61
|
def test_lcc_example
|
57
62
|
errors = JSON::Validator.fully_validate(@@schema , @@ex + 'lcc_project_example.json')
|
58
|
-
assert(errors.empty?, errors.join("
|
63
|
+
assert(errors.empty?, errors.join("
|
64
|
+
"))
|
59
65
|
end
|
60
66
|
|
61
67
|
def test_contact
|
62
68
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/contact.json', @@ex + 'contact.json')
|
63
|
-
assert(errors.empty?, errors.join("
|
69
|
+
assert(errors.empty?, errors.join("
|
70
|
+
"))
|
64
71
|
end
|
65
72
|
|
66
73
|
def test_citation
|
67
74
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/citation.json', @@ex + 'citation.json', :list => true)
|
68
|
-
assert(errors.empty?, errors.join("
|
75
|
+
assert(errors.empty?, errors.join("
|
76
|
+
"))
|
69
77
|
end
|
70
78
|
|
71
79
|
def test_dictionary
|
72
80
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/dataDictionary.json', @@ex + 'dataDictionary.json', :list => true)
|
73
|
-
assert(errors.empty?, errors.join("
|
81
|
+
assert(errors.empty?, errors.join("
|
82
|
+
"))
|
74
83
|
end
|
75
84
|
|
76
85
|
def test_taxonomy
|
77
86
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/taxonomy.json', @@ex + 'taxonomy.json', :list => true)
|
78
|
-
assert(errors.empty?, errors.join("
|
87
|
+
assert(errors.empty?, errors.join("
|
88
|
+
"))
|
79
89
|
end
|
80
90
|
|
81
91
|
def test_usage
|
82
92
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/usage.json', @@ex + 'usage.json', :list => true)
|
83
|
-
assert(errors.empty?, errors.join("
|
93
|
+
assert(errors.empty?, errors.join("
|
94
|
+
"))
|
84
95
|
end
|
85
96
|
|
86
97
|
def test_resolution
|
87
98
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/resolution.json', @@ex + 'resolution.json', :list => true)
|
88
|
-
assert(errors.empty?, errors.join("
|
99
|
+
assert(errors.empty?, errors.join("
|
100
|
+
"))
|
89
101
|
end
|
90
102
|
|
91
103
|
def test_graphicOverview
|
92
104
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/graphicOverview.json', @@ex + 'graphicOverview.json', :list => true)
|
93
|
-
assert(errors.empty?, errors.join("
|
105
|
+
assert(errors.empty?, errors.join("
|
106
|
+
"))
|
94
107
|
end
|
95
108
|
|
96
109
|
def test_resourceInfo
|
97
110
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/resourceInfo.json', @@ex + 'resourceInfo.json', :list => true)
|
98
|
-
assert(errors.empty?, errors.join("
|
111
|
+
assert(errors.empty?, errors.join("
|
112
|
+
"))
|
99
113
|
end
|
100
114
|
|
101
115
|
def test_onlineResource
|
102
116
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/onlineResource.json', @@ex + 'onlineResource.json', :list => true)
|
103
|
-
assert(errors.empty?, errors.join("
|
117
|
+
assert(errors.empty?, errors.join("
|
118
|
+
"))
|
104
119
|
end
|
105
120
|
|
106
121
|
def test_resourceConstraint
|
107
122
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/resourceConstraint.json', @@ex + 'resourceConstraints.json', :list => true)
|
108
|
-
assert(errors.empty?, errors.join("
|
123
|
+
assert(errors.empty?, errors.join("
|
124
|
+
"))
|
109
125
|
end
|
110
126
|
|
111
127
|
def test_date
|
112
128
|
errors = JSON::Validator.fully_validate(@@schema, @@ex + 'date.json', :fragment => "#/definitions/date", :list => true)
|
113
|
-
assert(errors.empty?, errors.join("
|
129
|
+
assert(errors.empty?, errors.join("
|
130
|
+
"))
|
114
131
|
end
|
115
132
|
|
116
133
|
def test_spatialRef
|
117
134
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/resourceInfo.json', @@ex + 'spatialRef.json', :fragment => "#/properties/spatialReferenceSystem", :list => false)
|
118
|
-
assert(errors.empty?, errors.join("
|
135
|
+
assert(errors.empty?, errors.join("
|
136
|
+
"))
|
119
137
|
end
|
120
138
|
|
121
139
|
def test_contactRef
|
122
140
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/contact.json', @@ex + 'contactRef.json', :fragment => "#/definitions/contactRef", :list => true)
|
123
|
-
assert(errors.empty?, errors.join("
|
141
|
+
assert(errors.empty?, errors.join("
|
142
|
+
"))
|
124
143
|
end
|
125
144
|
|
126
145
|
def test_keywords
|
127
146
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/keyword.json', @@ex + 'keywords.json', :list => true)
|
128
|
-
assert(errors.empty?, errors.join("
|
147
|
+
assert(errors.empty?, errors.join("
|
148
|
+
"))
|
129
149
|
end
|
130
150
|
|
131
151
|
def test_distributor
|
132
152
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/distributor.json', @@ex + 'distributor.json', :list => true)
|
133
|
-
assert(errors.empty?, errors.join("
|
153
|
+
assert(errors.empty?, errors.join("
|
154
|
+
"))
|
134
155
|
end
|
135
156
|
|
136
157
|
def test_geojson
|
137
158
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/geojson/geojson.json', @@ex + 'geojson.json', :list => true)
|
138
|
-
assert(errors.empty?, errors.join("
|
159
|
+
assert(errors.empty?, errors.join("
|
160
|
+
"))
|
139
161
|
end
|
140
162
|
|
141
163
|
def test_extent_linestring
|
142
164
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/extent.json', @@ex + 'extent_linestring.json', :list => true)
|
143
|
-
assert(errors.empty?, errors.join("
|
165
|
+
assert(errors.empty?, errors.join("
|
166
|
+
"))
|
144
167
|
end
|
145
168
|
|
146
169
|
def test_extent_point
|
147
170
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/extent.json', @@ex + 'extent_point.json', :list => true)
|
148
|
-
assert(errors.empty?, errors.join("
|
171
|
+
assert(errors.empty?, errors.join("
|
172
|
+
"))
|
149
173
|
end
|
150
174
|
|
151
175
|
def test_extent_polygon
|
152
176
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/extent.json', @@ex + 'extent_polygon.json', :list => true)
|
153
|
-
assert(errors.empty?, errors.join("
|
177
|
+
assert(errors.empty?, errors.join("
|
178
|
+
"))
|
154
179
|
end
|
155
180
|
|
156
181
|
def test_maintInfo
|
157
182
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/maintInfo.json', @@ex + 'maintInfo.json', :list => true)
|
158
183
|
errors = errors + JSON::Validator.fully_validate(@@dir + 'schema/maintInfo.json', @@ex + 'resourceMaintenance.json', :list => true)
|
159
|
-
assert(errors.empty?, errors.join("
|
184
|
+
assert(errors.empty?, errors.join("
|
185
|
+
"))
|
160
186
|
end
|
161
187
|
|
162
188
|
def test_dataQuality
|
163
189
|
errors = JSON::Validator.fully_validate(@@dir + 'schema/dataQuality.json', @@ex + 'dataQuality.json', :list => true)
|
164
|
-
assert(errors.empty?, errors.join("
|
190
|
+
assert(errors.empty?, errors.join("
|
191
|
+
"))
|
165
192
|
end
|
166
193
|
|
167
194
|
def test_uri
|
168
195
|
errors = JSON::Validator.fully_validate(@@schema, @@ex + 'uri.json', :fragment => "#/definitions/uri", :list => true)
|
169
|
-
assert(errors.empty?, errors.join("
|
196
|
+
assert(errors.empty?, errors.join("
|
197
|
+
"))
|
170
198
|
end
|
171
|
-
|
199
|
+
|
200
|
+
def test_additionalDocumentation
|
201
|
+
errors = JSON::Validator.fully_validate(@@dir + 'schema/metadata.json', @@ex + 'additionalDocumentation.json', :fragment => "#/properties/additionalDocumentation", :list => false)
|
202
|
+
assert(errors.empty?, errors.join("
|
203
|
+
"))
|
204
|
+
end
|
205
|
+
|
206
|
+
def test_associatedResource
|
207
|
+
errors = JSON::Validator.fully_validate(@@dir + 'schema/metadata.json', @@ex + 'associatedResource.json', :fragment => "#/properties/associatedResource", :list => false)
|
208
|
+
assert(errors.empty?, errors.join("
|
209
|
+
"))
|
210
|
+
end
|
211
|
+
|
212
|
+
def test_address
|
213
|
+
errors = JSON::Validator.fully_validate(@@dir + 'schema/contact.json', @@ex + 'address.json', :fragment => "#/definitions/address", :list => true)
|
214
|
+
assert(errors.empty?, errors.join("
|
215
|
+
"))
|
216
|
+
end
|
217
|
+
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adiwg-json_schemas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Bradley, Stan Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json-schema
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.4.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.4.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '5'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '5'
|
69
69
|
description: JSON schemas for validating according to the the ADIwg project and data
|
@@ -74,14 +74,17 @@ executables: []
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
-
- .gitignore
|
78
|
-
- .travis.yml
|
77
|
+
- ".gitignore"
|
78
|
+
- ".travis.yml"
|
79
79
|
- CREDITS
|
80
80
|
- Gemfile
|
81
81
|
- LICENSE
|
82
82
|
- README.md
|
83
83
|
- Rakefile
|
84
84
|
- adiwg-json_schemas.gemspec
|
85
|
+
- examples/additionalDocumentation.json
|
86
|
+
- examples/address.json
|
87
|
+
- examples/associatedResource.json
|
85
88
|
- examples/citation.json
|
86
89
|
- examples/contact.json
|
87
90
|
- examples/contactRef.json
|
@@ -150,17 +153,17 @@ require_paths:
|
|
150
153
|
- lib
|
151
154
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
155
|
requirements:
|
153
|
-
- -
|
156
|
+
- - ">="
|
154
157
|
- !ruby/object:Gem::Version
|
155
158
|
version: '0'
|
156
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
160
|
requirements:
|
158
|
-
- -
|
161
|
+
- - ">="
|
159
162
|
- !ruby/object:Gem::Version
|
160
163
|
version: '0'
|
161
164
|
requirements: []
|
162
165
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.4.5
|
164
167
|
signing_key:
|
165
168
|
specification_version: 4
|
166
169
|
summary: JSON schemas for the ADIwg metadata standard
|