Skip to content

EdgeViewSegment

Field Type Required Description and constraints
objectId string Yes pattern ^[0-9a-f]{64}$
objectName string Yes pattern ^segment-[0-9]{10}\.mp4$
startUs integer (int64) Yes minimum 0. maximum 9007199254740991
endUs integer (int64) Yes minimum 1. maximum 9007199254740991
sizeBytes integer (int64) Yes minimum 1. maximum 536870912
sha256 string Yes pattern ^[0-9a-f]{64}$

Additional properties are rejected by this schema.

{
"additionalProperties": false,
"properties": {
"objectId": {
"pattern": "^[0-9a-f]{64}$",
"title": "Objectid",
"type": "string"
},
"objectName": {
"pattern": "^segment-[0-9]{10}\\.mp4$",
"title": "Objectname",
"type": "string"
},
"startUs": {
"format": "int64",
"maximum": 9007199254740991,
"minimum": 0,
"title": "Startus",
"type": "integer"
},
"endUs": {
"format": "int64",
"maximum": 9007199254740991,
"minimum": 1,
"title": "Endus",
"type": "integer"
},
"sizeBytes": {
"format": "int64",
"maximum": 536870912,
"minimum": 1,
"title": "Sizebytes",
"type": "integer"
},
"sha256": {
"pattern": "^[0-9a-f]{64}$",
"title": "Sha256",
"type": "string"
}
},
"required": [
"objectId",
"objectName",
"startUs",
"endUs",
"sizeBytes",
"sha256"
],
"title": "EdgeViewSegment",
"type": "object"
}
Image preview