mirror of
https://onedev.site.tesses.net/crosslang/crosslang-website
synced 2026-02-09 01:25:46 +00:00
Update website
This commit is contained in:
128
static/schema/cross-json-schema.json
Normal file
128
static/schema/cross-json-schema.json
Normal file
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"$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"]
|
||||
}
|
||||
Reference in New Issue
Block a user