adiwg-mdjson_schemas 2.0.0.pre.alpha.13 → 2.0.0.pre.alpha.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/metadata.json +1 -1
- data/schema/metadataInfo.json +15 -1
- data/schema/schema.json +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe11e20d0b072e5c4a7349e61aac5fdd54910add
|
4
|
+
data.tar.gz: 2074c488dc1aeedab7989d2189120d1a1c225ade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6c646dc9d5da865c6e2ed6aa15e50b9c0903afca5bede415585b341e1beeffc9670c668d4f7fc332a69f46f7771706daee7669245af2fa3411241b4c65d059a
|
7
|
+
data.tar.gz: a61db90f7fcd42817f6d688e65d24f2e0525bd8a1d917cfde30bfbdf2f6f0903f05d9e26705a45ee5e6b1be704f3cafbf8415d96c0c087e63a5edc6a543c19d7
|
data/schema/metadata.json
CHANGED
data/schema/metadataInfo.json
CHANGED
@@ -62,7 +62,21 @@
|
|
62
62
|
"minItems": 1,
|
63
63
|
"items": {
|
64
64
|
"$ref": "common.json#/definitions/dateObject"
|
65
|
-
}
|
65
|
+
},
|
66
|
+
"allOf": [{
|
67
|
+
"type": "array",
|
68
|
+
"items": [{
|
69
|
+
"type": "object",
|
70
|
+
"title": "Creation date required.",
|
71
|
+
"description": "A creation date must be the first object in the array.",
|
72
|
+
"properties": {
|
73
|
+
"dateType": {
|
74
|
+
"type": "string",
|
75
|
+
"enum": ["creation"]
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}]
|
79
|
+
}]
|
66
80
|
},
|
67
81
|
"metadataOnlineResource": {
|
68
82
|
"type": "array",
|
data/schema/schema.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"id": "schema.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
-
"version": "2.0.0-alpha.
|
4
|
+
"version": "2.0.0-alpha.14",
|
5
5
|
"description": "schema for ADIwg mdJSON metadata",
|
6
6
|
"example": "../examples/mdJson.json",
|
7
7
|
"type": "object",
|
8
|
-
"required": ["schema", "contact"
|
8
|
+
"required": ["schema", "contact"],
|
9
9
|
"properties": {
|
10
10
|
"schema": {
|
11
11
|
"$ref": "#/definitions/schema"
|