Files
crosslang-website/static/schema/cross-json-schema.json
2025-10-18 22:23:51 -05:00

128 lines
3.9 KiB
JSON

{
"$schema": "https://json-schema.org/draft-07/schema",
"$id": "https://crosslang.tesseslanguage.com/schema/cross-json-schema.json",
"title": "CrossLang Project File",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"icon": {
"type": "string"
},
"info": {
"type": "object",
"properties": {
"type": {
"type": "string",
"examples": ["console","lib","webapp","template","compile_tool","tool"]
},
"plugin_host": {
"type": "string"
},
"maintainer": {
"type": "string"
},
"repo": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"description": {
"type": "string"
},
"executable_name": {
"type": "string"
},
"executable_can_be_renamed": {
"type": "string"
},
"executable_runtime": {
"type": "string"
},
"template_ignored_files": {
"type": "array",
"items": {
"type": "string"
}
},
"template_info": {
"type": "object",
"properties": {
"type": {
"type": "string",
"examples": ["console","lib","webapp","template","compile_tool","tool"]
},
"plugin_host": {
"type": "string"
},
"maintainer": {
"type": "string"
},
"repo": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"description": {
"type": "string"
},
"executable_name": {
"type": "string"
},
"executable_can_be_renamed": {
"type": "string"
},
"executable_runtime": {
"type": "string"
}
},
"required": ["type"]
}
},
"required": ["type"]
},
"resource_directory": {
"type": "string"
},
"source_directory": {
"type": "string"
},
"bin_directory": {
"type": "string"
},
"obj_directory": {
"type": "string"
},
"project_dependencies": {
"type": "array",
"items": {"type":"string"}
},
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": ["name","version"]
}
}
},
"required": ["name","version","info"]
}