mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-07 00:02:53 +08:00
316 lines
9.8 KiB
JSON
316 lines
9.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"additionalProperties": false,
|
|
"definitions": {
|
|
"BaseItem": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"category": {
|
|
"type": "string"
|
|
},
|
|
"default": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"description": {
|
|
"description": "Description.",
|
|
"type": "string"
|
|
},
|
|
"flags": {
|
|
"$ref": "#/definitions/Record<string,FlagBaseItem>"
|
|
},
|
|
"label": {
|
|
"description": "Display text.",
|
|
"type": "string"
|
|
},
|
|
"native": {
|
|
"type": "string"
|
|
},
|
|
"required": {
|
|
"type": "boolean"
|
|
},
|
|
"wechatPlugin": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CategoryInfo": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"label": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Features": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"2d": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"3d": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"animation": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"audio": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"base": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"dragon-bones": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"gfx-webgl": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"gfx-webgl2": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"graphcis": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"intersection-2d": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"marionette": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"particle": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"particle-2d": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics-2d": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics-2d-box2d": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics-2d-builtin": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics-ammo": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics-builtin": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics-cannon": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"physics-physx": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"primitive": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"profiler": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"skeletal-animation": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"spine": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"terrain": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"tiled-map": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"tween": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"ui": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"video": {
|
|
"$ref": "#/definitions/Item"
|
|
},
|
|
"webview": {
|
|
"$ref": "#/definitions/Item"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Item": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"category": {
|
|
"type": "string"
|
|
},
|
|
"default": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"description": {
|
|
"description": "Description.",
|
|
"type": "string"
|
|
},
|
|
"flags": {
|
|
"$ref": "#/definitions/Record<string,FlagBaseItem>"
|
|
},
|
|
"label": {
|
|
"description": "Display text.",
|
|
"type": "string"
|
|
},
|
|
"multi": {
|
|
"description": "Whether if the feature of options allow multiple selection.",
|
|
"type": "boolean"
|
|
},
|
|
"native": {
|
|
"type": "string"
|
|
},
|
|
"options": {
|
|
"$ref": "#/definitions/Record<EngineFeature,BaseItem>"
|
|
},
|
|
"required": {
|
|
"type": "boolean"
|
|
},
|
|
"wechatPlugin": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Record<EngineFeature,BaseItem>": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"2d": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"3d": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"animation": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"audio": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"base": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"dragon-bones": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"gfx-webgl": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"gfx-webgl2": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"graphcis": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"intersection-2d": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"marionette": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"particle": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"particle-2d": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics-2d": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics-2d-box2d": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics-2d-builtin": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics-ammo": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics-builtin": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics-cannon": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"physics-physx": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"primitive": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"profiler": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"skeletal-animation": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"spine": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"terrain": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"tiled-map": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"tween": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"ui": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"video": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
},
|
|
"webview": {
|
|
"$ref": "#/definitions/BaseItem"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Record<string,FlagBaseItem>": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"$schema": {
|
|
"type": "string"
|
|
},
|
|
"categories": {
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/CategoryInfo"
|
|
},
|
|
"description": "The categories info",
|
|
"type": "object"
|
|
},
|
|
"features": {
|
|
"$ref": "#/definitions/Features",
|
|
"description": "The modules info"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
|