1
0

chore: 添加 JSON Schema

This commit is contained in:
2024-03-13 13:23:18 +08:00
parent ca7d2130be
commit ed84a5f715
2 changed files with 45 additions and 0 deletions

44
data.schema.json Normal file
View File

@@ -0,0 +1,44 @@
{
"type": "object",
"required": [
"timeline"
],
"properties": {
"timeline": {
"type": "array",
"title": "时间线",
"items": {
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"startTime": {
"type": "string",
"title": "开始时间"
},
"endTime": {
"type": "string",
"title": "结束时间"
},
"content": {
"type": "string",
"title": "直播内容",
"default": ""
}
},
"defaultSnippets": [
{
"label": "基础格式",
"body": {
"startTime": "",
"endTime": "",
"content": ""
}
}
]
}
}
}
}