adiwg-mdjson_schemas 2.4.5 → 2.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@
40
40
  {
41
41
  "role": "role",
42
42
  "roleExtent": [{
43
- "temporalExtent": [{
43
+ "temporalExtent": [{
44
44
  "timePeriod": {
45
45
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
46
46
  }
@@ -66,6 +66,62 @@
66
66
  }, {
67
67
  "uri": "http://adiwg.org"
68
68
  }],
69
+ "metadataConstraint": [{
70
+ "type": "use",
71
+ "useLimitation": [
72
+ "useLimitation0",
73
+ "useLimitation1"
74
+ ],
75
+ "scope": {
76
+ "scopeCode": "scopeCode"
77
+ },
78
+ "graphic": [{
79
+ "fileName": "fileName0"
80
+ }, {
81
+ "fileName": "fileName1"
82
+ }],
83
+ "reference": [{
84
+ "title": "title0"
85
+ }, {
86
+ "title": "title1"
87
+ }],
88
+ "releasability": {
89
+ "statement": "statement"
90
+ },
91
+ "responsibleParty": [{
92
+ "role": "role0",
93
+ "roleExtent": [{
94
+ "temporalExtent": [{
95
+ "timePeriod": {
96
+ "startDateTime": "2016-10-24T11:10:15.2-10:00"
97
+ }
98
+ }]
99
+ }],
100
+ "party": [{
101
+ "contactId": "individualId0"
102
+ }]
103
+ }],
104
+ "legal": {
105
+ "useConstraint": [
106
+ "useConstraint0",
107
+ "useConstraint1"
108
+ ],
109
+ "accessConstraint": [
110
+ "accessConstraint0",
111
+ "accessConstraint1"
112
+ ],
113
+ "otherConstraint": [
114
+ "otherConstraint0",
115
+ "otherConstraint1"
116
+ ]
117
+ },
118
+ "security": {
119
+ "classification": "classification",
120
+ "classificationSystem": "classificationSystem",
121
+ "userNote": "userNote",
122
+ "handlingDescription": "handlingDescription"
123
+ }
124
+ }],
69
125
  "metadataMaintenance": {
70
126
  "frequency": "frequency"
71
127
  },
@@ -39,7 +39,7 @@
39
39
  }, {
40
40
  "role": "role2",
41
41
  "roleExtent": [{
42
- "temporalExtent": [{
42
+ "temporalExtent": [{
43
43
  "timePeriod": {
44
44
  "startDateTime": "2016-10-24T11:10:15.2-10:00"
45
45
  }
@@ -120,7 +120,7 @@
120
120
  "coverageName": "coverageName1",
121
121
  "coverageDescription": "coverageDescription1"
122
122
  }],
123
- "taxonomy": {
123
+ "taxonomy": [{
124
124
  "taxonomicSystem": [{
125
125
  "citation": {
126
126
  "title": "title"
@@ -146,10 +146,10 @@
146
146
  }],
147
147
  "identificationProcedure": "identificationProcedure",
148
148
  "taxonomicClassification": {
149
- "taxonomicRank": "taxonomicRank",
150
- "latinName": "latinName"
149
+ "taxonomicLevel": "taxonomicLevel",
150
+ "taxonomicName": "taxonomicName"
151
151
  }
152
- },
152
+ }],
153
153
  "graphicOverview": [{
154
154
  "fileName": "fileName0"
155
155
  }, {
@@ -1,25 +1,25 @@
1
1
  [{
2
2
  "taxonomicSystemId": "999999",
3
- "taxonomicRank": "taxonomicRank0",
4
- "latinName": "latinName",
3
+ "taxonomicLevel": "taxonomicLevel0",
4
+ "taxonomicName": "taxonomicName",
5
5
  "commonName": ["commonName0", "commonName1"],
6
6
  "subClassification": [{
7
- "taxonomicRank": "taxonomicRank00",
8
- "latinName": "latinName",
7
+ "taxonomicLevel": "taxonomicLevel00",
8
+ "taxonomicName": "taxonomicName",
9
9
  "commonName": [
10
10
  "commonName0",
11
11
  "commonName1"
12
12
  ],
13
13
  "subClassification": [{
14
- "taxonomicRank": "taxonomicRank000",
15
- "latinName": "latinName",
14
+ "taxonomicLevel": "taxonomicLevel000",
15
+ "taxonomicName": "taxonomicName",
16
16
  "commonName": [
17
17
  "commonName0",
18
18
  "commonName1"
19
19
  ],
20
20
  "subClassification": [{
21
- "taxonomicRank": "taxonomicRank0000.1",
22
- "latinName": "latinName",
21
+ "taxonomicLevel": "taxonomicLevel0000.1",
22
+ "taxonomicName": "taxonomicName",
23
23
  "commonName": [
24
24
  "commonName0",
25
25
  "commonName1"
@@ -27,8 +27,8 @@
27
27
  "subClassification": []
28
28
  },
29
29
  {
30
- "taxonomicRank": "taxonomicRank0000.2",
31
- "latinName": "latinName",
30
+ "taxonomicLevel": "taxonomicLevel0000.2",
31
+ "taxonomicName": "taxonomicName",
32
32
  "commonName": [
33
33
  "commonName0",
34
34
  "commonName1"
@@ -39,15 +39,15 @@
39
39
  }]
40
40
  },
41
41
  {
42
- "taxonomicRank": "taxonomicRank01",
43
- "latinName": "latinName",
42
+ "taxonomicLevel": "taxonomicLevel01",
43
+ "taxonomicName": "taxonomicName",
44
44
  "commonName": [
45
45
  "commonName0",
46
46
  "commonName1"
47
47
  ],
48
48
  "subClassification": [{
49
- "taxonomicRank": "taxonomicRank010",
50
- "latinName": "latinName",
49
+ "taxonomicLevel": "taxonomicLevel010",
50
+ "taxonomicName": "taxonomicName",
51
51
  "commonName": [
52
52
  "commonName0",
53
53
  "commonName1"
@@ -98,7 +98,7 @@
98
98
  "commonName0",
99
99
  "commonName1"
100
100
  ],
101
- "taxonomicRank": "taxonomicRank0",
102
- "latinName": "latinName0"
101
+ "taxonomicLevel": "taxonomicLevel0",
102
+ "taxonomicName": "taxonomicName0"
103
103
  }
104
104
  }]
@@ -7,4 +7,14 @@
7
7
  "objectType": "objectType",
8
8
  "objectCount": 9
9
9
  }]
10
+ }, {
11
+ "topologyLevel": "topologyLevel"
12
+ }, {
13
+ "vectorObject": [{
14
+ "objectType": "objectType",
15
+ "objectCount": 9
16
+ }, {
17
+ "objectType": "objectType",
18
+ "objectCount": 9
19
+ }]
10
20
  }]
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.4.5"
4
+ VERSION = "2.4.7"
5
5
  end
6
6
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdjson-schemas",
3
- "version": "2.4.2",
3
+ "version": "2.4.5",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -39,14 +39,12 @@
39
39
  "dev": true
40
40
  },
41
41
  "buildify": {
42
- "version": "0.4.0",
43
- "resolved": "https://registry.npmjs.org/buildify/-/buildify-0.4.0.tgz",
44
- "integrity": "sha1-IMi94gSIsyWIzpKkGJZyoITToMQ=",
42
+ "version": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
45
43
  "dev": true,
46
44
  "requires": {
47
45
  "clean-css": "0.6.0",
48
46
  "mkdirp": "0.3.2",
49
- "uglify-js": "1.3.4",
47
+ "uglify-es": "3.0.22",
50
48
  "underscore": "1.3.3"
51
49
  },
52
50
  "dependencies": {
@@ -130,7 +128,7 @@
130
128
  "glob": {
131
129
  "version": "7.1.2",
132
130
  "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
133
- "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
131
+ "integrity": "sha1-wZyd+aAocC1nhhI4SmVSQExjbRU=",
134
132
  "dev": true,
135
133
  "requires": {
136
134
  "fs.realpath": "1.0.0",
@@ -264,7 +262,7 @@
264
262
  "minimatch": {
265
263
  "version": "3.0.4",
266
264
  "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
267
- "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
265
+ "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=",
268
266
  "dev": true,
269
267
  "requires": {
270
268
  "brace-expansion": "1.1.8"
@@ -354,12 +352,18 @@
354
352
  "rimraf": {
355
353
  "version": "2.6.2",
356
354
  "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
357
- "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
355
+ "integrity": "sha1-LtgVDSShbqhlHm1u8PR8QVjOejY=",
358
356
  "dev": true,
359
357
  "requires": {
360
358
  "glob": "7.1.2"
361
359
  }
362
360
  },
361
+ "source-map": {
362
+ "version": "0.5.7",
363
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
364
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
365
+ "dev": true
366
+ },
363
367
  "supports-color": {
364
368
  "version": "3.1.2",
365
369
  "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz",
@@ -369,11 +373,15 @@
369
373
  "has-flag": "1.0.0"
370
374
  }
371
375
  },
372
- "uglify-js": {
373
- "version": "1.3.4",
374
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-1.3.4.tgz",
375
- "integrity": "sha1-KCzsQNtWh5jg7G1x0MmJ0yPwY2s=",
376
- "dev": true
376
+ "uglify-es": {
377
+ "version": "3.0.22",
378
+ "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.0.22.tgz",
379
+ "integrity": "sha512-4bvwQuswYIpkeZRJ7v9ZVwsOXKeWnop9EUL5FmGy+KVQHtYBf0GzIKryzvY7j6eBTAw9otf4b9VsrufW9CcDHA==",
380
+ "dev": true,
381
+ "requires": {
382
+ "commander": "2.9.0",
383
+ "source-map": "0.5.7"
384
+ }
377
385
  },
378
386
  "underscore": {
379
387
  "version": "1.3.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdjson-schemas",
3
- "version": "2.4.5",
3
+ "version": "2.4.7",
4
4
  "description": "JSON schemas, examples, and templates for ADIwg metadata standards",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "scripts": {
12
12
  "test": "mocha",
13
- "prepublish": "scripts/prepublish.js",
13
+ "prepublishOnly": "scripts/prepublish.js",
14
14
  "pretest": "scripts/prepublish.js"
15
15
  },
16
16
  "files": [
@@ -40,7 +40,7 @@
40
40
  "homepage": "https://github.com/adiwg/mdJson-schemas#readme",
41
41
  "devDependencies": {
42
42
  "ajv": "^5.2.2",
43
- "buildify": "^0.4.0",
43
+ "buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
44
44
  "glob": "^7.1.2",
45
45
  "mkdirp": "^0.5.1",
46
46
  "mocha": "^3.5.0",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "id": "constraint.json#",
3
3
  "$schema": "http://json-schema.org/draft-04/schema#",
4
- "description": "schema for resource constraint",
5
- "example":"../examples/constraint.json",
4
+ "description": "schema for constraint",
5
+ "example": "../examples/constraint.json",
6
6
  "required": ["type"],
7
7
  "anyOf": [{
8
8
  "type": "object",
@@ -87,7 +87,7 @@
87
87
  "legalConstraint": {
88
88
  "type": "object",
89
89
  "description": "Restrictions and legal prerequisites for accessing and using the resource or metadata.",
90
- "example":"../examples/legalConstraint.json",
90
+ "example": "../examples/legalConstraint.json",
91
91
  "translation": {
92
92
  "ISO 19115-2": ["MD_LegalConstraints"]
93
93
  },
@@ -126,12 +126,22 @@
126
126
  "type": "string"
127
127
  }
128
128
  }
129
- }
129
+ },
130
+ "anyOf": [{
131
+ "title": "accessConstraint is required",
132
+ "required": ["accessConstraint"]
133
+ }, {
134
+ "title": "useConstraint is required",
135
+ "required": ["useConstraint"]
136
+ }, {
137
+ "title": "otherConstraint is required",
138
+ "required": ["otherConstraint"]
139
+ }]
130
140
  },
131
141
  "securityConstraint": {
132
142
  "type": "object",
133
143
  "description": "Handling restrictions imposed on the resource or metadata for national security or similar security concerns.",
134
- "example":"../examples/securityConstraint.json",
144
+ "example": "../examples/securityConstraint.json",
135
145
  "translation": {
136
146
  "ISO 19115-2": ["MD_SecurityConstraints"]
137
147
  },
@@ -22,6 +22,7 @@
22
22
  "translation": {
23
23
  "ISO 19115-2": ["FC_FeatureCatalogue > scope"]
24
24
  },
25
+ "minItems": 1,
25
26
  "items": {
26
27
  "type": "string"
27
28
  }
@@ -4,7 +4,7 @@
4
4
  "type": "object",
5
5
  "title": "distribution",
6
6
  "description": "Information about the distributor of and options for obtaining the resource.",
7
- "example":"../examples/distribution.json",
7
+ "example": "../examples/distribution.json",
8
8
  "translation": {
9
9
  "ISO 19115-2": ["MD_Metadata > distribution > MD_Distribution"],
10
10
  "FGDC CSDGM": ["distinfo"]
@@ -16,6 +16,15 @@
16
16
  "description": "A description of a set of distribution options.",
17
17
  "translation": {}
18
18
  },
19
+ "liabilityStatement": {
20
+ "type": "string",
21
+ "description": "A statement of the liability assumed by the resource owner.",
22
+ "translation": {
23
+ "ISO 19115-2": ["MD_DataIdentification > resourceConstraints > MD_LegalConstraints > otherConstraints"],
24
+ "FGDC CSDGM": ["distinfo > distliab"],
25
+ "sbJSON": ["rights"]
26
+ }
27
+ },
19
28
  "distributor": {
20
29
  "type": "array",
21
30
  "description": "Information about the distributor of and options for obtaining the resource.",
@@ -23,10 +32,18 @@
23
32
  "ISO 19115-2": ["MD_Distribution"],
24
33
  "FGDC CSDGM": ["distinfo"]
25
34
  },
35
+ "minItems": 1,
26
36
  "items": {
27
37
  "$ref": "./distributor.json#",
28
38
  "description": "Information about the distributor of and options for obtaining the resource."
29
39
  }
30
40
  }
31
- }
41
+ },
42
+ "anyOf": [{
43
+ "title": "description is required",
44
+ "required": ["description"]
45
+ }, {
46
+ "title": "distributor is required",
47
+ "required": ["distributor"]
48
+ }]
32
49
  }
@@ -31,6 +31,15 @@
31
31
  "description": "Recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.",
32
32
  "translation": {},
33
33
  "minLength": 1
34
+ },
35
+ "technicalPrerequisite": {
36
+ "type": "string",
37
+ "description": "Description of any technical capabilities that the consumer must have to use the data set in the form(s) provided by the distributor.",
38
+ "translation": {
39
+ "FGDC CSDGM": ["distinfo > techpreq"]
40
+ },
41
+ "minLength": 1
34
42
  }
43
+
35
44
  }
36
45
  }
@@ -59,6 +59,13 @@
59
59
  "type": "string",
60
60
  "description": "The contactId of the entity receiving the allocation."
61
61
  },
62
+ "responsibleParty": {
63
+ "type": "array",
64
+ "description": "Individuals and/or organizations other than source and recipient that serve as contact points or other roles related to the allocation",
65
+ "items": {
66
+ "$ref": "responsibility.json#"
67
+ }
68
+ },
62
69
  "matching": {
63
70
  "type": "boolean",
64
71
  "description": "Indicates whether the funds are to be considered matching funds.",
@@ -51,7 +51,6 @@
51
51
  "ISO 19115-2": ["MI_Metadata > dateStamp"],
52
52
  "FGDC CSDGM": ["metainfo > metrd"]
53
53
  },
54
- "minItems": 1,
55
54
  "items": {
56
55
  "$ref": "common.json#/definitions/dateObject"
57
56
  }
@@ -64,6 +63,17 @@
64
63
  "$ref": "./onlineResource.json#"
65
64
  }
66
65
  },
66
+ "metadataConstraint": {
67
+ "type": "array",
68
+ "description": "Provides information about restrictions on the access and use of metadata.",
69
+ "translation": {
70
+ "ISO 19115-2": ["MI_Metadata > metadataConstraints"],
71
+ "FGDC CSDGM": ["metainfo > metac", "metainfo > metuc"]
72
+ },
73
+ "items": {
74
+ "$ref": "./constraint.json#"
75
+ }
76
+ },
67
77
  "alternateMetadataReference": {
68
78
  "type": "array",
69
79
  "description": "Reference to alternative metadata for the resource.",