Skip to content

Commit 8e0ba3a

Browse files
committed
Add applicationProfile and protocolRequest to onlineResource
Closes #232.
1 parent 11c9616 commit 8e0ba3a

6 files changed

Lines changed: 75 additions & 18 deletions

File tree

examples/onlineResource.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"protocol": "protocol",
44
"name": "name",
55
"description": "description",
6-
"function": "function"
6+
"applicationProfile": "applicationProfile",
7+
"function": "function",
8+
"protocolRequest": "protocolRequest"
79
}, {
810
"uri": "https://www.amazon.com/Kindle-eBooks",
911
"protocol": "HTTP",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module ADIWG
22
module MdjsonSchemas
33
# Current schema version number
4-
VERSION = "2.6.3"
4+
VERSION = "2.7.0"
55
end
66
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdjson-schemas",
3-
"version": "2.6.3",
3+
"version": "2.7.0",
44
"description": "JSON schemas, examples, and templates for ADIwg metadata standards",
55
"main": "index.js",
66
"directories": {

schema/onlineResource.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"description": "Information about accessing online resources and services.",
6-
"example":"../examples/onlineResource.json",
6+
"example": "../examples/onlineResource.json",
77
"required": ["uri"],
88
"additionalProperties": true,
99
"properties": {
@@ -37,6 +37,20 @@
3737
"translation": {
3838
"ISO 19115-2": ["CI_OnlineResource > function > CI_OnlineFunctionCode [codelist]"]
3939
}
40+
},
41+
"applicationProfile": {
42+
"type": "string",
43+
"description": "Name of an application profile that can be used with the online resource.",
44+
"translation": {
45+
"ISO 19115-2": ["CI_OnlineResource > applicationProfile"]
46+
}
47+
},
48+
"protocolRequest": {
49+
"type": "string",
50+
"description": "Request used to access the resource depending on the protocol, e.g. body of POST(http)_ request.",
51+
"translation": {
52+
"ISO 19115-1": ["CI_OnlineResource > protocolRequest"]
53+
}
4054
}
4155
}
4256
}

schema/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "schema.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
4-
"version": "2.6.3",
4+
"version": "2.7.0",
55
"description": "schema for ADIwg mdJSON metadata",
66
"example": "../examples/mdJson.json",
77
"type": "object",

yarn.lock

Lines changed: 54 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44

55
ajv@^6.5.0:
6-
version "6.5.3"
7-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.3.tgz#71a569d189ecf4f4f321224fecb166f071dd90f9"
6+
version "6.10.2"
7+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52"
8+
integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==
89
dependencies:
910
fast-deep-equal "^2.0.1"
1011
fast-json-stable-stringify "^2.0.0"
@@ -14,17 +15,20 @@ ajv@^6.5.0:
1415
balanced-match@^1.0.0:
1516
version "1.0.0"
1617
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
18+
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
1719

1820
brace-expansion@^1.1.7:
1921
version "1.1.11"
2022
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
23+
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
2124
dependencies:
2225
balanced-match "^1.0.0"
2326
concat-map "0.0.1"
2427

2528
browser-stdout@1.3.1:
2629
version "1.3.1"
2730
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"
31+
integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==
2832

2933
"buildify@github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7":
3034
version "0.4.0"
@@ -38,52 +42,63 @@ browser-stdout@1.3.1:
3842
clean-css@0.6.0:
3943
version "0.6.0"
4044
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-0.6.0.tgz#0ca422fc0ad342856c6b8442194d546e264469ce"
45+
integrity sha1-DKQi/ArTQoVsa4RCGU1UbiZEac4=
4146
dependencies:
4247
optimist "0.3.x"
4348

4449
commander@2.15.1:
4550
version "2.15.1"
4651
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
52+
integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==
4753

4854
commander@~2.9.0:
4955
version "2.9.0"
5056
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
57+
integrity sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=
5158
dependencies:
5259
graceful-readlink ">= 1.0.0"
5360

5461
concat-map@0.0.1:
5562
version "0.0.1"
5663
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
64+
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
5765

5866
debug@3.1.0:
5967
version "3.1.0"
6068
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
69+
integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
6170
dependencies:
6271
ms "2.0.0"
6372

6473
diff@3.5.0:
6574
version "3.5.0"
6675
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
76+
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
6777

6878
escape-string-regexp@1.0.5:
6979
version "1.0.5"
7080
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
81+
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
7182

7283
fast-deep-equal@^2.0.1:
7384
version "2.0.1"
7485
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
86+
integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=
7587

7688
fast-json-stable-stringify@^2.0.0:
7789
version "2.0.0"
7890
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
91+
integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I=
7992

8093
fs.realpath@^1.0.0:
8194
version "1.0.0"
8295
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
96+
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
8397

8498
glob@7.1.2:
8599
version "7.1.2"
86100
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
101+
integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==
87102
dependencies:
88103
fs.realpath "^1.0.0"
89104
inflight "^1.0.4"
@@ -92,9 +107,10 @@ glob@7.1.2:
92107
once "^1.3.0"
93108
path-is-absolute "^1.0.0"
94109

95-
glob@^7.0.5, glob@^7.1.2:
96-
version "7.1.3"
97-
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
110+
glob@^7.1.2, glob@^7.1.3:
111+
version "7.1.4"
112+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
113+
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
98114
dependencies:
99115
fs.realpath "^1.0.0"
100116
inflight "^1.0.4"
@@ -106,57 +122,69 @@ glob@^7.0.5, glob@^7.1.2:
106122
"graceful-readlink@>= 1.0.0":
107123
version "1.0.1"
108124
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
125+
integrity sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=
109126

110127
growl@1.10.5:
111128
version "1.10.5"
112129
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
130+
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
113131

114132
has-flag@^3.0.0:
115133
version "3.0.0"
116134
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
135+
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
117136

118137
he@1.1.1:
119138
version "1.1.1"
120139
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
140+
integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0=
121141

122142
inflight@^1.0.4:
123143
version "1.0.6"
124144
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
145+
integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
125146
dependencies:
126147
once "^1.3.0"
127148
wrappy "1"
128149

129150
inherits@2:
130-
version "2.0.3"
131-
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
151+
version "2.0.4"
152+
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
153+
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
132154

133155
json-schema-traverse@^0.4.1:
134156
version "0.4.1"
135157
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
158+
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
136159

137160
minimatch@3.0.4, minimatch@^3.0.4:
138161
version "3.0.4"
139162
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
163+
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
140164
dependencies:
141165
brace-expansion "^1.1.7"
142166

143167
minimist@0.0.8:
144168
version "0.0.8"
145-
resolved "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
169+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
170+
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
146171

147172
mkdirp@0.3.2:
148173
version "0.3.2"
149-
resolved "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.2.tgz#4bfb891e9c48b93d6b567f2c3cf2dd3f56bcdef8"
174+
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.2.tgz#4bfb891e9c48b93d6b567f2c3cf2dd3f56bcdef8"
175+
integrity sha1-S/uJHpxIuT1rVn8sPPLdP1a83vg=
150176

151177
mkdirp@0.5.1, mkdirp@^0.5.1:
152178
version "0.5.1"
153-
resolved "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
179+
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
180+
integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
154181
dependencies:
155182
minimist "0.0.8"
156183

157184
mocha@^5.2.0:
158185
version "5.2.0"
159186
resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6"
187+
integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==
160188
dependencies:
161189
browser-stdout "1.3.1"
162190
commander "2.15.1"
@@ -173,64 +201,77 @@ mocha@^5.2.0:
173201
ms@2.0.0:
174202
version "2.0.0"
175203
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
204+
integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
176205

177206
once@^1.3.0:
178207
version "1.4.0"
179208
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
209+
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
180210
dependencies:
181211
wrappy "1"
182212

183213
optimist@0.3.x:
184214
version "0.3.7"
185215
resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.3.7.tgz#c90941ad59e4273328923074d2cf2e7cbc6ec0d9"
216+
integrity sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=
186217
dependencies:
187218
wordwrap "~0.0.2"
188219

189220
path-is-absolute@^1.0.0:
190221
version "1.0.1"
191222
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
223+
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
192224

193225
punycode@^2.1.0:
194226
version "2.1.1"
195227
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
228+
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
196229

197230
rimraf@^2.6.1:
198-
version "2.6.2"
199-
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
231+
version "2.7.1"
232+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
233+
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
200234
dependencies:
201-
glob "^7.0.5"
235+
glob "^7.1.3"
202236

203237
source-map@~0.5.1:
204238
version "0.5.7"
205239
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
240+
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
206241

207242
supports-color@5.4.0:
208243
version "5.4.0"
209244
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
245+
integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==
210246
dependencies:
211247
has-flag "^3.0.0"
212248

213249
uglify-es@3.0.22:
214250
version "3.0.22"
215251
resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.0.22.tgz#62a2765e7737e97073f8ae73c7062131652425d8"
252+
integrity sha512-4bvwQuswYIpkeZRJ7v9ZVwsOXKeWnop9EUL5FmGy+KVQHtYBf0GzIKryzvY7j6eBTAw9otf4b9VsrufW9CcDHA==
216253
dependencies:
217254
commander "~2.9.0"
218255
source-map "~0.5.1"
219256

220257
underscore@1.3.3:
221258
version "1.3.3"
222259
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.3.3.tgz#47ac53683daf832bfa952e1774417da47817ae42"
260+
integrity sha1-R6xTaD2vgyv6lS4XdEF9pHgXrkI=
223261

224262
uri-js@^4.2.2:
225263
version "4.2.2"
226264
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0"
265+
integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==
227266
dependencies:
228267
punycode "^2.1.0"
229268

230269
wordwrap@~0.0.2:
231270
version "0.0.3"
232271
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
272+
integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc=
233273

234274
wrappy@1:
235275
version "1.0.2"
236276
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
277+
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=

0 commit comments

Comments
 (0)