Updating uuid reference
This commit is contained in:
@@ -8,8 +8,20 @@
|
||||
"examples": [
|
||||
{
|
||||
"format_version": 2,
|
||||
"header": { "description": "pack.description", "name": "pack.name", "uuid": "UUID2", "min_engine_version": [1, 20, 10], "version": [1, 0, 0] },
|
||||
"modules": [{ "type": "data", "uuid": "UUID2", "version": [1, 0, 0] }]
|
||||
"header": {
|
||||
"description": "pack.description",
|
||||
"name": "pack.name",
|
||||
"uuid": "UUID2",
|
||||
"min_engine_version": [1, 20, 40],
|
||||
"version": [1, 0, 0]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "data",
|
||||
"uuid": "UUID2",
|
||||
"version": [1, 0, 0]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaultSnippets": [
|
||||
@@ -17,18 +29,46 @@
|
||||
"label": "New Manifest",
|
||||
"body": {
|
||||
"format_version": 2,
|
||||
"header": { "description": "pack.description", "name": "pack.name", "uuid": "$UUID", "min_engine_version": [1, 20, 10], "version": [1, 0, 0] },
|
||||
"modules": [{ "type": "data", "uuid": "$UUID", "version": [1, 0, 0] }]
|
||||
"header": {
|
||||
"description": "pack.description",
|
||||
"name": "pack.name",
|
||||
"uuid": "$UUID",
|
||||
"min_engine_version": [1, 20, 10],
|
||||
"version": [1, 0, 0]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "data",
|
||||
"uuid": "$UUID",
|
||||
"version": [1, 0, 0]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "const": 1, "type": "number", "title": "Format Version" } } },
|
||||
"if": {
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"const": 1,
|
||||
"type": "number",
|
||||
"title": "Format Version"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": { "$ref": "./manifest/manifest.1.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "const": 2, "type": "number", "title": "Format Version" } } },
|
||||
"if": {
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"const": 2,
|
||||
"type": "number",
|
||||
"title": "Format Version"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": { "$ref": "./manifest/manifest.2.json" }
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user