fix: 统一源配置契约字段命名 (#148)

This commit is contained in:
QiuSW
2026-08-31 08:53:22 +08:00
parent 67391acb16
commit 2e61167500
13 changed files with 158 additions and 158 deletions
@@ -1,13 +1,13 @@
{
"schema": "yovision.source-config/v1",
"configId": "school-east-entry-01",
"schema_version": "yovision.source-config/v1",
"config_id": "school-east-entry-01",
"revision": 7,
"publishedAt": "2026-08-31T00:10:00Z",
"effectiveAt": "2026-08-31T00:15:00Z",
"published_at": "2026-08-31T00:10:00Z",
"effective_at": "2026-08-31T00:15:00Z",
"site": {
"id": "site-east"
},
"logicalDevice": {
"logical_device": {
"id": "entry-camera-01"
},
"profile": {
@@ -15,17 +15,17 @@
"width": 1920,
"height": 1080,
"encoding": "H264",
"frameRate": 25
"frame_rate": 25
},
"media": {
"ref": "media:site-east/entry-01/main",
"transport": "rtsp"
},
"ruleSet": {
"rule_set": {
"version": "entry-rules-7",
"state": "active",
"profileBinding": {
"profileId": "main-stream",
"profile_binding": {
"profile_id": "main-stream",
"width": 1920,
"height": 1080
},
@@ -43,7 +43,7 @@
]
}
],
"directionalLines": [
"directional_lines": [
{
"id": "entry-line",
"version": 2,
@@ -51,12 +51,12 @@
"enabled": true,
"start": {"x": 0.2, "y": 0.5},
"end": {"x": 0.8, "y": 0.5},
"triggerDirection": "left_to_right"
"trigger_direction": "left_to_right"
}
]
},
"integrity": {
"algorithm": "sha256",
"value": "b35a4f345162b059d6912cca6340a6714826b7921662f4f28a91ef29c5476cb8"
"value": "3336fe595bf1401b1024ac0c95c31e1655228485465a4527900fcea2c713acfe"
}
}