代码拉取完成,页面将自动刷新
{
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"product-name",
"version",
"hardware",
"software",
"tools"
],
"properties": {
"product-name": {
"title": "Type: String",
"description": "The name of the application.",
"type": "string",
"minLength": 1
},
"version": {
"title": "Type: String",
"description": "The version of the application. Example: 1.0.0",
"type": "string"
},
"hardware": {
"title":"Type: Object",
"description": "The hardware list.",
"type": "object",
"required": ["main-board", "devices"],
"properties": {
"main-board": {
"title":"Type: Object",
"description": "The main-board list.",
"type": "object",
"required": ["board-name", "cpu", "io"],
"properties": {
"board-name": {
"title":"Type: String",
"description": "The name of the board.",
"type": "string",
"enum": ["NUCLEO-F746ZG", "mini2410", "SBC2410", "FS2410", "YLP2410", "HSARM2410", "S3CEB2410"]
},
"cpu": {
"title":"Type: String",
"description": "The name of the cpu.",
"type": "string"
},
"io": {
"title":"Type: Array",
"description": "The list of the io.",
"type": "array"
}
},
"allOf": [
{
"if": {
"properties": {"board-name": {"const": "NUCLEO-F746ZG"}}
},
"then": {
"properties": {"cpu": {"enum": ["Cortex-M7"]}}
}
}
]
},
"devices": {
"title":"Type: Array",
"description": "The devices list.",
"type": "array",
"items": [
{"type": "string"}
],
"additionalItems":false,
"uniqueItems": true
}
}
},
"software": {
"title":"Type: Object",
"description": "The software list.",
"type": "object",
"required":["os", "bsp", "app"],
"properties": {
"os": {
"title":"Type: String",
"description": "The name of the os.",
"type": "string"
},
"bsp": {
"title":"Type: String",
"description": "The name of the bsp.",
"type": "string"
},
"app": {
"title":"Type: Array",
"description": "The app list.",
"type": "array",
"items": [
{"type": "string"}
]
}
}
},
"tools": {
"title":"Type: Object",
"description": "The tools list.",
"type": "object",
"required":["compiler", "debuger", "writer"],
"properties": {
"compiler": {
"title":"Type: String",
"description": "The name of the compiler.",
"type": "string"
},
"debuger": {
"title":"Type: String",
"description": "The name of the debuger.",
"type": "string"
},
"writer": {
"title":"Type: String",
"description": "The name of the writer.",
"type": "string"
}
}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。