71 lines
2.5 KiB
JSON
71 lines
2.5 KiB
JSON
{
|
|
"$id": "https://shmyga.ru/public/haxetool.schema.json",
|
|
"title": "Haxe tool",
|
|
"description": "Haxe tool presets",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "object",
|
|
"properties": {
|
|
"buildSystem": { "enum": ["haxe", "openfl"] },
|
|
"platforms": {
|
|
"type": "array",
|
|
"items": { "enum": ["flash", "html5", "linux", "windows", "android", "neko", "cpp"] }
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": { "type": "string" },
|
|
"main": { "type": "string" },
|
|
"preloader": { "type": "string" },
|
|
"sources": { "type": "array", "items": { "type": "string" } },
|
|
"assets": { "type": "array", "items": { "type": "string" } },
|
|
"libs": { "type": "object", "patternProperties": { ".*": { "type": "string" } } },
|
|
"macros": { "type": "array", "items": { "type": "string" } },
|
|
"flags": { "type": "array", "items": { "type": "string" } },
|
|
"meta": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": { "type": "string" },
|
|
"filename": { "type": "string" },
|
|
"icon": { "type": "string" },
|
|
"version": { "type": "string" },
|
|
"pack": { "type": "string" },
|
|
"author": { "type": "string" },
|
|
"company": { "type": "string" },
|
|
"width": { "type": "number" },
|
|
"height": { "type": "number" },
|
|
"mobileWidth": { "type": "number" },
|
|
"mobileHeight": { "type": "number" },
|
|
"fps": { "type": "number" }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"key": {
|
|
"type": "object",
|
|
"properties": {
|
|
"store": { "type": "string" },
|
|
"pass": { "type": "string" }
|
|
},
|
|
"required": ["store", "pass"]
|
|
},
|
|
"android": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": { "type": "string" },
|
|
"extensions": { "type": "array", "items": { "type": "string" } }
|
|
}
|
|
}
|
|
},
|
|
"haxe": { "type": "string" }
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|