garden.lexicon.exultant-zebra.masl
Schema Diff
+3 -7
1
1
{
2
2
"id": "garden.lexicon.exultant-zebra.masl",
3
3
"defs": {
4
4
"main": {
5
5
"type": "object",
6
6
"required": [
7
7
"resources"
8
8
],
9
9
"properties": {
10
10
"name": {
11
11
"type": "string",
12
12
"description": "Optional name for the bundle."
13
13
},
14
14
"resources": {
15
15
"type": "array",
16
16
"items": {
17
17
"ref": "garden.lexicon.exultant-zebra.masl#resource",
18
18
"type": "ref"
19
19
},
20
20
"description": "The resources in this bundle."
21
21
}
22
22
},
23
23
"description": "A bundle of resources."
24
24
},
25
25
"resource": {
26
26
"type": "object",
27
27
"required": [
28
28
"src"
29
29
],
30
30
"properties": {
31
31
"src": {
32
-
"type": "cid-link",
32
+
"type": "blob",
33
33
"description": "The content identifier for this resource."
34
34
},
35
35
"path": {
36
36
"type": "string",
37
37
"description": "Optional path for this resource (e.g. '/index.html')."
38
38
},
39
-
"srcHints": {
40
-
"type": "array",
41
-
"items": {
42
-
"type": "string"
43
-
},
44
-
"description": "Optional hints associated with this resource."
39
+
"contentType": {
40
+
"type": "string"
45
41
}
46
42
},
47
43
"description": "A single resource identified by a CID."
48
44
}
49
45
},
50
46
"lexicon": 1,
51
47
"description": "MASL types for DASL, notably for Web Tiles. This variant uses a typed resources array."
52
48
}