Add GSP project manifest and design layout
This commit is contained in:
62
language/gsp.manifest.schema.json
Normal file
62
language/gsp.manifest.schema.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://gsp.local/schema/gsp.manifest.schema.json",
|
||||
"title": "GSP Manifest",
|
||||
"description": "Game Specification Protocol project manifest schema.",
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"gspVersion": {
|
||||
"type": "string",
|
||||
"description": "GSP language version used by this project."
|
||||
},
|
||||
"toolkitVersion": {
|
||||
"type": "string",
|
||||
"description": "Expected GSP Toolkit version."
|
||||
},
|
||||
"project": {
|
||||
"type": "string",
|
||||
"description": "Project id or name."
|
||||
},
|
||||
"entry": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": "Entry GSP ids."
|
||||
},
|
||||
"scan": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": "Directories or files scanned by the Toolkit. Defaults to design."
|
||||
},
|
||||
"stageRules": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"minResolution": {
|
||||
"type": "string",
|
||||
"enum": ["L0", "L1", "L2", "L3", "L4", "L5"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"types": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "string",
|
||||
"description": "Default Toolkit output directory."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user