feat: 冻结源配置契约 v1 (#148)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schema": "yovision.source-config/v1",
|
||||
"configId": "school-east-entry-01",
|
||||
"revision": 7,
|
||||
"publishedAt": "2026-08-31T00:10:00Z",
|
||||
"effectiveAt": "2026-08-31T00:15:00Z",
|
||||
"site": {"id": "site-east"},
|
||||
"logicalDevice": {"id": "entry-camera-01"},
|
||||
"profile": {"id": "main-stream", "width": 1920, "height": 1080, "encoding": "H264", "frameRate": 25},
|
||||
"media": {"ref": "media:site-east/entry-01/main", "transport": "rtsp"},
|
||||
"ruleSet": {"version": "entry-rules-7", "state": "active", "profileBinding": {"profileId": "main-stream", "width": 1920, "height": 1080}, "areas": [{"id": "bad-area", "version": 1, "kind": "danger_area", "enabled": true, "points": [{"x": 0, "y": 0}, {"x": 1.2, "y": 0}, {"x": 0, "y": 1}]}], "directionalLines": []},
|
||||
"integrity": {"algorithm": "sha256", "value": "0000000000000000000000000000000000000000000000000000000000000000"}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schema": "yovision.source-config/v1",
|
||||
"configId": "school-east-entry-01",
|
||||
"revision": 7,
|
||||
"publishedAt": "2026-08-31T00:10:00Z",
|
||||
"effectiveAt": "2026-08-31T00:15:00Z",
|
||||
"site": {"id": "site-east"},
|
||||
"logicalDevice": {"id": "entry-camera-01"},
|
||||
"profile": {"id": "main-stream", "width": 1920, "height": 1080, "encoding": "H264", "frameRate": 25},
|
||||
"media": {"ref": "media:site-east/entry-01/main", "transport": "rtsp", "password": null},
|
||||
"ruleSet": {"version": "entry-rules-7", "state": "active", "profileBinding": {"profileId": "main-stream", "width": 1920, "height": 1080}, "areas": [], "directionalLines": []},
|
||||
"integrity": {"algorithm": "sha256", "value": "0000000000000000000000000000000000000000000000000000000000000000"}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"coordinate-out-of-range.json": "schema",
|
||||
"credential-field.json": "secret",
|
||||
"internal-path.json": "internal path",
|
||||
"profile-binding-mismatch.json": "profile binding",
|
||||
"query-token.json": "secret",
|
||||
"unknown-major-version.json": "unknown schema"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schema": "yovision.source-config/v1",
|
||||
"configId": "school-east-entry-01",
|
||||
"revision": 7,
|
||||
"publishedAt": "2026-08-31T00:10:00Z",
|
||||
"effectiveAt": "2026-08-31T00:15:00Z",
|
||||
"site": {"id": "site-east"},
|
||||
"logicalDevice": {"id": "entry-camera-01"},
|
||||
"profile": {"id": "main-stream", "width": 1920, "height": 1080, "encoding": "H264", "frameRate": 25},
|
||||
"media": {"ref": "C:\\customers\\school-east\\camera-01", "transport": "rtsp"},
|
||||
"ruleSet": {"version": "entry-rules-7", "state": "active", "profileBinding": {"profileId": "main-stream", "width": 1920, "height": 1080}, "areas": [], "directionalLines": []},
|
||||
"integrity": {"algorithm": "sha256", "value": "0000000000000000000000000000000000000000000000000000000000000000"}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schema": "yovision.source-config/v1",
|
||||
"configId": "school-east-entry-01",
|
||||
"revision": 7,
|
||||
"publishedAt": "2026-08-31T00:10:00Z",
|
||||
"effectiveAt": "2026-08-31T00:15:00Z",
|
||||
"site": {"id": "site-east"},
|
||||
"logicalDevice": {"id": "entry-camera-01"},
|
||||
"profile": {"id": "main-stream", "width": 1920, "height": 1080, "encoding": "H264", "frameRate": 25},
|
||||
"media": {"ref": "media:site-east/entry-01/main", "transport": "rtsp"},
|
||||
"ruleSet": {"version": "entry-rules-7", "state": "active", "profileBinding": {"profileId": "main-stream", "width": 1280, "height": 720}, "areas": [], "directionalLines": []},
|
||||
"integrity": {"algorithm": "sha256", "value": "0000000000000000000000000000000000000000000000000000000000000000"}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schema": "yovision.source-config/v1",
|
||||
"configId": "school-east-entry-01",
|
||||
"revision": 7,
|
||||
"publishedAt": "2026-08-31T00:10:00Z",
|
||||
"effectiveAt": "2026-08-31T00:15:00Z",
|
||||
"site": {"id": "site-east"},
|
||||
"logicalDevice": {"id": "entry-camera-01"},
|
||||
"profile": {"id": "main-stream", "width": 1920, "height": 1080, "encoding": "H264", "frameRate": 25},
|
||||
"media": {"ref": "media:site-east/entry-01/main?token=", "transport": "rtsp"},
|
||||
"ruleSet": {"version": "entry-rules-7", "state": "active", "profileBinding": {"profileId": "main-stream", "width": 1920, "height": 1080}, "areas": [], "directionalLines": []},
|
||||
"integrity": {"algorithm": "sha256", "value": "0000000000000000000000000000000000000000000000000000000000000000"}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schema": "yovision.source-config/v2",
|
||||
"configId": "school-east-entry-01",
|
||||
"revision": 7,
|
||||
"publishedAt": "2026-08-31T00:10:00Z",
|
||||
"effectiveAt": "2026-08-31T00:15:00Z",
|
||||
"site": {"id": "site-east"},
|
||||
"logicalDevice": {"id": "entry-camera-01"},
|
||||
"profile": {"id": "main-stream", "width": 1920, "height": 1080, "encoding": "H264", "frameRate": 25},
|
||||
"media": {"ref": "media:site-east/entry-01/main", "transport": "rtsp"},
|
||||
"ruleSet": {"version": "entry-rules-7", "state": "active", "profileBinding": {"profileId": "main-stream", "width": 1920, "height": 1080}, "areas": [], "directionalLines": []},
|
||||
"integrity": {"algorithm": "sha256", "value": "0000000000000000000000000000000000000000000000000000000000000000"}
|
||||
}
|
||||
Reference in New Issue
Block a user