@bbc/sofie-live-status-gateway-api 1.53.0-in-development

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +13 -0
  3. package/api/asyncapi.yaml +51 -0
  4. package/api/components/adLibs/actionType/actionType-example.yaml +2 -0
  5. package/api/components/adLibs/actionType/actionType.yaml +15 -0
  6. package/api/components/adLibs/adLibBase/adLibBase-example.yaml +9 -0
  7. package/api/components/adLibs/adLibBase/adLibBase.yaml +35 -0
  8. package/api/components/adLibs/adLibStatus/adLibStatus-example.yaml +3 -0
  9. package/api/components/adLibs/adLibStatus/adLibStatus.yaml +17 -0
  10. package/api/components/adLibs/adLibsEvent/adLibsEvent-example.yaml +6 -0
  11. package/api/components/adLibs/adLibsEvent/adLibsEvent.yaml +29 -0
  12. package/api/components/adLibs/bucketAdLibStatus/bucketAdLibStatus-example.yaml +2 -0
  13. package/api/components/adLibs/bucketAdLibStatus/bucketAdLibStatus.yaml +14 -0
  14. package/api/components/adLibs/globalAdLibStatus/globalAdLibStatus-example.yaml +1 -0
  15. package/api/components/adLibs/globalAdLibStatus/globalAdLibStatus.yaml +7 -0
  16. package/api/components/adLibs/messages/adLibsMessage.yaml +10 -0
  17. package/api/components/buckets/bucketStatus/bucketStatus-example.yaml +4 -0
  18. package/api/components/buckets/bucketStatus/bucketStatus.yaml +20 -0
  19. package/api/components/buckets/bucketsEvent/bucketsEvent-example.yaml +3 -0
  20. package/api/components/buckets/bucketsEvent/bucketsEvent.yaml +17 -0
  21. package/api/components/buckets/messages/bucketsMessage.yaml +10 -0
  22. package/api/components/connection/heartbeatEvent/heartbeatEvent-example.yaml +1 -0
  23. package/api/components/connection/heartbeatEvent/heartbeatEvent.yaml +12 -0
  24. package/api/components/connection/messages/heartbeatMessage.yaml +11 -0
  25. package/api/components/connection/messages/pingMessage.yaml +12 -0
  26. package/api/components/connection/messages/pongMessage.yaml +12 -0
  27. package/api/components/connection/pingEvent/pingEvent-example.yaml +2 -0
  28. package/api/components/connection/pingEvent/pingEvent.yaml +14 -0
  29. package/api/components/connection/pongEvent/pongEvent-example.yaml +2 -0
  30. package/api/components/connection/pongEvent/pongEvent.yaml +14 -0
  31. package/api/components/connection/reqid/reqid.yaml +4 -0
  32. package/api/components/notifications/events/notificationsEvent/notificationsEvent-example.yaml +3 -0
  33. package/api/components/notifications/events/notificationsEvent/notificationsEvent.yaml +18 -0
  34. package/api/components/notifications/messages/notificationsMessage.yaml +10 -0
  35. package/api/components/notifications/notificationObj/notificationObj-example.yaml +7 -0
  36. package/api/components/notifications/notificationObj/notificationObj.yaml +33 -0
  37. package/api/components/notifications/notificationSeverity.yaml +9 -0
  38. package/api/components/notifications/target/notificationTarget.yaml +16 -0
  39. package/api/components/notifications/target/notificationTargetType.yaml +11 -0
  40. package/api/components/notifications/target/partInstance/notificationTargetPartInstance-example.yaml +4 -0
  41. package/api/components/notifications/target/partInstance/notificationTargetPartInstance.yaml +18 -0
  42. package/api/components/notifications/target/pieceInstance/notificationTargetPieceInstance-example.yaml +5 -0
  43. package/api/components/notifications/target/pieceInstance/notificationTargetPieceInstance.yaml +20 -0
  44. package/api/components/notifications/target/rundown/notificationTargetRundown-example.yaml +3 -0
  45. package/api/components/notifications/target/rundown/notificationTargetRundown.yaml +16 -0
  46. package/api/components/notifications/target/rundownPlaylist/notificationTargetRundownPlaylist-example.yaml +3 -0
  47. package/api/components/notifications/target/rundownPlaylist/notificationTargetRundownPlaylist.yaml +16 -0
  48. package/api/components/notifications/target/unknown/notificationTargetUnknown-example.yaml +1 -0
  49. package/api/components/notifications/target/unknown/notificationTargetUnknown.yaml +12 -0
  50. package/api/components/packages/messages/packagesMessage.yaml +8 -0
  51. package/api/components/packages/packageInfoStatus/packageInfoStatus-example.yaml +8 -0
  52. package/api/components/packages/packageInfoStatus/packageInfoStatus.yaml +32 -0
  53. package/api/components/packages/packageStatus/packageStatus.yaml +23 -0
  54. package/api/components/packages/packagesEvent/packagesEvent-example.yaml +4 -0
  55. package/api/components/packages/packagesEvent/packagesEvent.yaml +20 -0
  56. package/api/components/part/currentPart/currentPartStatus-example.yaml +3 -0
  57. package/api/components/part/currentPart/currentPartStatus.yaml +13 -0
  58. package/api/components/part/currentSegmentPart/currentSegmentPart-example.yaml +3 -0
  59. package/api/components/part/currentSegmentPart/currentSegmentPart.yaml +14 -0
  60. package/api/components/part/partBase/partBase-example.yaml +3 -0
  61. package/api/components/part/partBase/partBase.yaml +18 -0
  62. package/api/components/part/partStatus/partStatus-example.yaml +6 -0
  63. package/api/components/part/partStatus/partStatus.yaml +22 -0
  64. package/api/components/piece/activePiecesEvent/activePiecesEvent-example.yaml +4 -0
  65. package/api/components/piece/activePiecesEvent/activePiecesEvent.yaml +22 -0
  66. package/api/components/piece/messages/activePiecesMessage.yaml +10 -0
  67. package/api/components/piece/pieceStatus/pieceStatus-example.yaml +7 -0
  68. package/api/components/piece/pieceStatus/pieceStatus.yaml +28 -0
  69. package/api/components/playlist/activePlaylistEvent/activePlaylistEvent-example.yaml +17 -0
  70. package/api/components/playlist/activePlaylistEvent/activePlaylistEvent.yaml +50 -0
  71. package/api/components/playlist/messages/activePlaylistMessage.yaml +11 -0
  72. package/api/components/playlist/playlistStatus/playlistStatus-example.yaml +4 -0
  73. package/api/components/playlist/playlistStatus/playlistStatus.yaml +26 -0
  74. package/api/components/quickLoop/activePlaylistQuickLoop/activePlaylistQuickLoop-example.yaml +6 -0
  75. package/api/components/quickLoop/activePlaylistQuickLoop/activePlaylistQuickLoop.yaml +19 -0
  76. package/api/components/quickLoop/quickLoopMarker/quickLoopMarker-example.yaml +2 -0
  77. package/api/components/quickLoop/quickLoopMarker/quickLoopMarker.yaml +20 -0
  78. package/api/components/quickLoop/quickLoopMarkerType.yaml +10 -0
  79. package/api/components/segment/currentSegment/currentSegment-example.yaml +5 -0
  80. package/api/components/segment/currentSegment/currentSegment.yaml +19 -0
  81. package/api/components/segment/messages/segmentsMessage.yaml +10 -0
  82. package/api/components/segment/segment/segment-example.yaml +8 -0
  83. package/api/components/segment/segment/segment.yaml +26 -0
  84. package/api/components/segment/segmentBase/segmentBase-example.yaml +1 -0
  85. package/api/components/segment/segmentBase/segmentBase.yaml +11 -0
  86. package/api/components/segment/segmentsEvent/segmentsEvent-example.yaml +4 -0
  87. package/api/components/segment/segmentsEvent/segmentsEvent.yaml +23 -0
  88. package/api/components/studio/messages/studioUpdate.yaml +11 -0
  89. package/api/components/studio/studioEvent/studioEvent-example.yaml +2 -0
  90. package/api/components/studio/studioEvent/studioEvent.yaml +16 -0
  91. package/api/components/studio/studioStatus/studioStatus-example.yaml +4 -0
  92. package/api/components/studio/studioStatus/studioStatus.yaml +21 -0
  93. package/api/components/subscriptions/events/subscribeEvent/subscribeEvent-example.yaml +4 -0
  94. package/api/components/subscriptions/events/subscribeEvent/subscribeEvent.yaml +15 -0
  95. package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError-example.yaml +2 -0
  96. package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError.yaml +14 -0
  97. package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusEvent-example.yaml +4 -0
  98. package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusEvent.yaml +10 -0
  99. package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess-example.yaml +4 -0
  100. package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess.yaml +16 -0
  101. package/api/components/subscriptions/messages/subscribeMessage.yaml +12 -0
  102. package/api/components/subscriptions/messages/subscriptionStatusErrorMessage.yaml +10 -0
  103. package/api/components/subscriptions/messages/subscriptionStatusSuccessMessage.yaml +10 -0
  104. package/api/components/subscriptions/subscriptionDetails/subscriptionDetails-example.yaml +2 -0
  105. package/api/components/subscriptions/subscriptionDetails/subscriptionDetails.yaml +13 -0
  106. package/api/components/subscriptions/subscriptionEventName.yaml +8 -0
  107. package/api/components/subscriptions/subscriptionName.yaml +14 -0
  108. package/api/components/subscriptions/subscriptionRequestDetails/subscriptionRequestDetails.yaml +11 -0
  109. package/api/components/subscriptions/subscriptionStatusName.yaml +8 -0
  110. package/api/components/timing/activePlaylistTiming/activePlaylistTiming-example.yaml +3 -0
  111. package/api/components/timing/activePlaylistTiming/activePlaylistTiming.yaml +24 -0
  112. package/api/components/timing/activePlaylistTiming/activePlaylistTimingMode.yaml +7 -0
  113. package/api/components/timing/currentPartTiming/currentPartTiming-example.yaml +3 -0
  114. package/api/components/timing/currentPartTiming/currentPartTiming.yaml +20 -0
  115. package/api/components/timing/currentSegmentPartTiming/currentSegmentPartTiming-example.yaml +1 -0
  116. package/api/components/timing/currentSegmentPartTiming/currentSegmentPartTiming.yaml +8 -0
  117. package/api/components/timing/currentSegmentTiming/currentSegmentTiming-example.yaml +2 -0
  118. package/api/components/timing/currentSegmentTiming/currentSegmentTiming.yaml +16 -0
  119. package/api/components/timing/segmentCountdownType.yaml +6 -0
  120. package/api/components/timing/segmentTiming/segmentTiming-example.yaml +3 -0
  121. package/api/components/timing/segmentTiming/segmentTiming.yaml +19 -0
  122. package/api/topics/activePieces/activePiecesTopic.yaml +8 -0
  123. package/api/topics/activePlaylist/activePlaylistTopic.yaml +8 -0
  124. package/api/topics/adLibs/adLibsTopic.yaml +8 -0
  125. package/api/topics/buckets/bucketsTopic.yaml +8 -0
  126. package/api/topics/heartbeat/heartbeatTopic.yaml +7 -0
  127. package/api/topics/notifications/notificationsTopic.yaml +7 -0
  128. package/api/topics/packages/packagesTopic.yaml +7 -0
  129. package/api/topics/ping/pingTopic.yaml +11 -0
  130. package/api/topics/segments/segmentsTopic.yaml +7 -0
  131. package/api/topics/studio/studioTopic.yaml +7 -0
  132. package/api/topics/subscriptions/subscriptionsTopic.yaml +16 -0
  133. package/dist/generated/schema.d.ts +824 -0
  134. package/dist/generated/schema.d.ts.map +1 -0
  135. package/dist/generated/schema.js +118 -0
  136. package/dist/generated/schema.js.map +1 -0
  137. package/dist/index.d.ts +3 -0
  138. package/dist/index.d.ts.map +1 -0
  139. package/dist/index.js +6 -0
  140. package/dist/index.js.map +1 -0
  141. package/package.json +68 -0
@@ -0,0 +1,4 @@
1
+ id: 'B0avqzSM41UJDpbyf3U28'
2
+ name: 'Studio 0'
3
+ playlists:
4
+ - $ref: '../../playlist/playlistStatus/playlistStatus-example.yaml'
@@ -0,0 +1,21 @@
1
+ $defs:
2
+ studioStatus:
3
+ title: StudioStatus
4
+ type: object
5
+ properties:
6
+ id:
7
+ description: Unique id of the studio
8
+ oneOf:
9
+ - type: string
10
+ - type: 'null'
11
+ name:
12
+ description: User-presentable name for the studio installation
13
+ type: string
14
+ playlists:
15
+ description: The playlists that are currently loaded in the studio
16
+ type: array
17
+ items:
18
+ $ref: '../../playlist/playlistStatus/playlistStatus.yaml#/$defs/playlistStatus'
19
+ required: [id, name, playlists]
20
+ examples:
21
+ - ref: './studioStatus-example.yaml'
@@ -0,0 +1,4 @@
1
+ event: subscribe
2
+ reqid: 27
3
+ subscription:
4
+ name: studio
@@ -0,0 +1,15 @@
1
+ $defs:
2
+ subscribeEvent:
3
+ type: object
4
+ title: SubscribeEvent
5
+ properties:
6
+ event:
7
+ $ref: '../../subscriptionEventName.yaml#/$defs/subscriptionEventName'
8
+ reqid:
9
+ $ref: '../../../connection/reqid/reqid.yaml#/$defs/reqid'
10
+ subscription:
11
+ $ref: '../../subscriptionRequestDetails/subscriptionRequestDetails.yaml#/$defs/subscriptionRequestDetails'
12
+ required: [event, reqid, subscription]
13
+ additionalProperties: false
14
+ examples:
15
+ - $ref: './subscribeEvent-example.yaml'
@@ -0,0 +1,2 @@
1
+ errorMessage: 'Subscribe to studio topic failed'
2
+ $ref: '../subscriptionStatusSuccess/subscriptionStatusSuccess-example.yaml'
@@ -0,0 +1,14 @@
1
+ $defs:
2
+ subscriptionStatusError:
3
+ type: object
4
+ title: SubscriptionStatusError
5
+ allOf:
6
+ - type: object
7
+ title: SubscriptionStatusError
8
+ properties:
9
+ errorMessage:
10
+ type: string
11
+ required: [errorMessage]
12
+ - $ref: '../subscriptionStatusSuccess/subscriptionStatusSuccess.yaml#/$defs/subscriptionStatusSuccess'
13
+ examples:
14
+ - $ref: './subscriptionStatusError-example.yaml'
@@ -0,0 +1,4 @@
1
+ title: Subscription Status Event Examples
2
+ examples:
3
+ - $ref: './subscriptionStatusError/subscriptionStatusError-example.yaml'
4
+ - $ref: './subscriptionStatusSuccess/subscriptionStatusSuccess-example.yaml'
@@ -0,0 +1,10 @@
1
+ $defs:
2
+ subscriptionStatusEvent:
3
+ type: object
4
+ title: SubscriptionStatus
5
+ oneOf:
6
+ - $ref: './subscriptionStatusError/subscriptionStatusError.yaml#/$defs/subscriptionStatusError'
7
+ - $ref: './subscriptionStatusSuccess/subscriptionStatusSuccess.yaml#/$defs/subscriptionStatusSuccess'
8
+ examples:
9
+ - $ref: './subscriptionStatusEvent-example.yaml#/examples/0'
10
+ - $ref: './subscriptionStatusEvent-example.yaml#/examples/1'
@@ -0,0 +1,4 @@
1
+ event: subscriptionStatus
2
+ reqid: 27
3
+ subscription:
4
+ $ref: '../../../subscriptionDetails/subscriptionDetails-example.yaml'
@@ -0,0 +1,16 @@
1
+ $defs:
2
+ subscriptionStatusSuccess:
3
+ type: object
4
+ title: SubscriptionStatusSuccess
5
+ properties:
6
+ event:
7
+ type: string
8
+ const: subscriptionStatus
9
+ reqid:
10
+ $ref: '../../../../connection/reqid/reqid.yaml#/$defs/reqid'
11
+ subscription:
12
+ $ref: '../../../subscriptionDetails/subscriptionDetails.yaml#/$defs/subscriptionDetails'
13
+ required: [name, status]
14
+ required: [event, reqid, subscription]
15
+ examples:
16
+ - $ref: './subscriptionStatusSuccess-example.yaml'
@@ -0,0 +1,12 @@
1
+ components:
2
+ messages:
3
+ subscribeMessage:
4
+ name: subscribe
5
+ messageId: subscribe
6
+ title: Subscribe Event Message
7
+ description: Subscribe or unsubscribe to a topic
8
+ payload:
9
+ $ref: '../events/subscribeEvent/subscribeEvent.yaml#/$defs/subscribeEvent'
10
+ examples:
11
+ - payload:
12
+ $ref: '../events/subscribeEvent/subscribeEvent-example.yaml'
@@ -0,0 +1,10 @@
1
+ components:
2
+ messages:
3
+ subscriptionStatusErrorMessage:
4
+ messageId: subscriptionStatusError
5
+ description: Subscription status response to subscribe or unsubscribe
6
+ payload:
7
+ $ref: '../events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError.yaml#/$defs/subscriptionStatusError'
8
+ examples:
9
+ - payload:
10
+ $ref: '../events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError-example.yaml'
@@ -0,0 +1,10 @@
1
+ components:
2
+ messages:
3
+ subscriptionStatusSuccessMessage:
4
+ messageId: subscriptionStatusSuccess
5
+ description: Subscription status response to subscribe or unsubscribe
6
+ payload:
7
+ $ref: '../events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess.yaml#/$defs/subscriptionStatusSuccess'
8
+ examples:
9
+ - payload:
10
+ $ref: '../events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess-example.yaml'
@@ -0,0 +1,2 @@
1
+ name: studio
2
+ status: subscribed
@@ -0,0 +1,13 @@
1
+ $defs:
2
+ subscriptionDetails:
3
+ type: object
4
+ title: SubscriptionDetails
5
+ properties:
6
+ name:
7
+ $ref: '../subscriptionName.yaml#/$defs/subscriptionName'
8
+ status:
9
+ $ref: '../subscriptionStatusName.yaml#/$defs/subscriptionStatusName'
10
+ required: [name, status]
11
+ additionalProperties: false
12
+ examples:
13
+ - $ref: './subscriptionDetails-example.yaml'
@@ -0,0 +1,8 @@
1
+ $defs:
2
+ subscriptionEventName:
3
+ type: string
4
+ title: SubscriptionEventName
5
+ description: Name of the event when subscribing or unsubscribing to topics.
6
+ enum:
7
+ - subscribe
8
+ - unsubscribe
@@ -0,0 +1,14 @@
1
+ $defs:
2
+ subscriptionName:
3
+ type: string
4
+ title: SubscriptionName
5
+ description: The name of the topic related to this status.
6
+ enum:
7
+ - studio
8
+ - activePlaylist
9
+ - activePieces
10
+ - segments
11
+ - adLibs
12
+ - notifications
13
+ - buckets
14
+ - packages
@@ -0,0 +1,11 @@
1
+ $defs:
2
+ subscriptionRequestDetails:
3
+ type: object
4
+ title: SubscriptionRequestDetails
5
+ properties:
6
+ name:
7
+ $ref: '../subscriptionDetails/subscriptionDetails.yaml#/$defs/subscriptionDetails/properties/name'
8
+ required: [name]
9
+ additionalProperties: false
10
+ examples:
11
+ - $ref: '../subscriptionDetails/subscriptionDetails-example.yaml'
@@ -0,0 +1,8 @@
1
+ $defs:
2
+ subscriptionStatusName:
3
+ type: string
4
+ title: SubscriptionStatus
5
+ description: The current status of the subscription
6
+ enum:
7
+ - subscribed
8
+ - unsubscribed
@@ -0,0 +1,3 @@
1
+ timingMode: 'forward-time'
2
+ expectedStart: 1728895750727
3
+ expectedDurationMs: 180000
@@ -0,0 +1,24 @@
1
+ $defs:
2
+ activePlaylistTiming:
3
+ type: object
4
+ title: ActivePlaylistTiming
5
+ description: Timing information about the active playlist
6
+ properties:
7
+ timingMode:
8
+ $ref: './activePlaylistTimingMode.yaml'
9
+ startedPlayback:
10
+ description: Unix timestamp of when the playlist started (milliseconds)
11
+ type: number
12
+ expectedStart:
13
+ description: Unix timestamp of when the playlist is expected to start (milliseconds). Required when the timingMode is set to forward-time.
14
+ type: number
15
+ expectedDurationMs:
16
+ description: Duration of the playlist in ms
17
+ type: number
18
+ expectedEnd:
19
+ description: Unix timestamp of when the playlist is expected to end (milliseconds) Required when the timingMode is set to back-time.
20
+ type: number
21
+ required: [timingMode]
22
+ additionalProperties: false
23
+ examples:
24
+ - $ref: './activePlaylistTiming-example.yaml'
@@ -0,0 +1,7 @@
1
+ type: string
2
+ title: ActivePlaylistTimingMode
3
+ description: Timing mode for the playlist.
4
+ enum:
5
+ - none
6
+ - forward-time
7
+ - back-time
@@ -0,0 +1,3 @@
1
+ $ref: '../currentSegmentPartTiming/currentSegmentPartTiming-example.yaml'
2
+ startTime: 1600000060000
3
+ projectedEndTime: 1600000075000
@@ -0,0 +1,20 @@
1
+ $defs:
2
+ currentPartTiming:
3
+ type: object
4
+ title: CurrentPartTiming
5
+ description: Timing information about the current part
6
+ allOf:
7
+ - $ref: '../currentSegmentPartTiming/currentSegmentPartTiming.yaml#/$defs/currentSegmentPartTiming'
8
+ - type: object
9
+ title: CurrentPartTiming
10
+ description: Timing information about the current part
11
+ properties:
12
+ startTime:
13
+ description: Unix timestamp of when the part started (milliseconds)
14
+ type: number
15
+ projectedEndTime:
16
+ description: Unix timestamp of when the part is projected to end (milliseconds). A sum of `startTime` and `expectedDurationMs`.
17
+ type: number
18
+ required: [startTime, expectedDurationMs, projectedEndTime]
19
+ examples:
20
+ - $ref: './currentPartTiming-example.yaml'
@@ -0,0 +1,8 @@
1
+ $defs:
2
+ currentSegmentPartTiming:
3
+ type: object
4
+ title: CurrentSegmentPartTiming
5
+ properties:
6
+ expectedDurationMs:
7
+ description: Expected duration of the part (milliseconds)
8
+ type: number
@@ -0,0 +1,2 @@
1
+ $ref: '../segmentTiming/segmentTiming-example.yaml'
2
+ projectedEndTime: 1600000075000
@@ -0,0 +1,16 @@
1
+ $defs:
2
+ currentSegmentTiming:
3
+ type: object
4
+ title: CurrentSegmentTiming
5
+ description: Timing information about the current segment
6
+ allOf:
7
+ - $ref: '../segmentTiming/segmentTiming.yaml#/$defs/segmentTiming'
8
+ - type: object
9
+ title: CurrentSegmentTiming
10
+ properties:
11
+ projectedEndTime:
12
+ description: Unix timestamp of when the segment is projected to end (milliseconds). The time this segment started, offset by its budget duration, if the segment has a defined budget duration. Otherwise, the time the current part started, offset by the difference between expected durations of all parts in this segment and the as-played durations of the parts that already stopped.
13
+ type: number
14
+ required: [expectedDurationMs, projectedEndTime]
15
+ examples:
16
+ - $ref: './currentSegmentTiming-example.yaml'
@@ -0,0 +1,6 @@
1
+ type: string
2
+ title: SegmentCountdownType
3
+ description: 'Countdown type within the segment. Default: `part_expected_duration`'
4
+ enum:
5
+ - part_expected_duration
6
+ - segment_budget_duration
@@ -0,0 +1,3 @@
1
+ expectedDurationMs: 15000
2
+ budgetDurationMs: 20000
3
+ countdownType: segment_budget_duration
@@ -0,0 +1,19 @@
1
+ title: Segment Timing
2
+ description: Timing information for a segment
3
+ $defs:
4
+ segmentTiming:
5
+ type: object
6
+ title: SegmentTiming
7
+ properties:
8
+ expectedDurationMs:
9
+ description: Expected duration of the segment (milliseconds)
10
+ type: number
11
+ budgetDurationMs:
12
+ description: Budget duration of the segment (milliseconds)
13
+ type: number
14
+ countdownType:
15
+ description: 'Countdown type within the segment. Default: `part_expected_duration`'
16
+ $ref: '../segmentCountdownType.yaml'
17
+ required: [expectedDurationMs]
18
+ examples:
19
+ - ref: './segmentTiming-example.yaml'
@@ -0,0 +1,8 @@
1
+ description: Topic for active pieces updates
2
+
3
+ subscribe:
4
+ operationId: receiveActivePieces
5
+ description: Server sends active pieces events
6
+ message:
7
+ oneOf:
8
+ - $ref: '../../components/piece/messages/activePiecesMessage.yaml#/components/messages/activePiecesMessage'
@@ -0,0 +1,8 @@
1
+ description: Topic for active playlist updates
2
+
3
+ subscribe:
4
+ operationId: receiveActivePlaylist
5
+ description: Server sends active playlist events
6
+ message:
7
+ oneOf:
8
+ - $ref: '../../components/playlist/messages/activePlaylistMessage.yaml#/components/messages/activePlaylistMessage'
@@ -0,0 +1,8 @@
1
+ description: Topic for AdLibs updates
2
+
3
+ subscribe:
4
+ operationId: receiveAdLibs
5
+ description: Server publishes AdLibs updates
6
+ message:
7
+ oneOf:
8
+ - $ref: '../../components/adLibs/messages/adLibsMessage.yaml#/components/messages/adLibsMessage'
@@ -0,0 +1,8 @@
1
+ description: Buckets schema for websocket subscriptions
2
+
3
+ subscribe:
4
+ operationId: receiveBucketsUpdate
5
+ description: Server publishes Buckets updates
6
+ message:
7
+ oneOf:
8
+ - $ref: '../../components/buckets/messages/bucketsMessage.yaml#/components/messages/bucketsMessage'
@@ -0,0 +1,7 @@
1
+ description: Topic for server heartbeat messages
2
+ subscribe:
3
+ operationId: receiveHeartbeat
4
+ description: Server sends heartbeat messages when no other communication is happening.
5
+ message:
6
+ oneOf:
7
+ - $ref: '../../components/connection/messages/heartbeatMessage.yaml#/components/messages/heartbeatMessage'
@@ -0,0 +1,7 @@
1
+ description: Notifications topic for websocket subscriptions.
2
+ subscribe:
3
+ operationId: receiveNotifications
4
+ description: Server sends notifications updates
5
+ message:
6
+ oneOf:
7
+ - $ref: '../../components/notifications/messages/notificationsMessage.yaml#/components/messages/notificationsMessage'
@@ -0,0 +1,7 @@
1
+ description: Packages topic for websocket subscriptions. Packages are assets that need to be prepared by Sofie Package Manager or third-party systems to make AdLibs and Pieces playable.
2
+ subscribe:
3
+ operationId: receivePackagesUpdate
4
+ description: Server sends packages updates
5
+ message:
6
+ oneOf:
7
+ - $ref: '../../components/packages/messages/packagesMessage.yaml#/components/messages/packagesMessage'
@@ -0,0 +1,11 @@
1
+ description: Topic for ping/pong communication
2
+ publish:
3
+ operationId: sendPing
4
+ message:
5
+ oneOf:
6
+ - $ref: '../../components/connection/messages/pingMessage.yaml#/components/messages/pingMessage'
7
+ subscribe:
8
+ operationId: receivePong
9
+ message:
10
+ oneOf:
11
+ - $ref: '../../components/connection/messages/pongMessage.yaml#/components/messages/pongMessage'
@@ -0,0 +1,7 @@
1
+ description: Topic for Segment updates
2
+
3
+ subscribe:
4
+ operationId: receiveSegments
5
+ description: Server publishes Segment updates
6
+ message:
7
+ $ref: '../../components/segment/messages/segmentsMessage.yaml#/components/messages/segmentsMessage'
@@ -0,0 +1,7 @@
1
+ description: Studio topic for websocket subscriptions
2
+ subscribe:
3
+ operationId: receiveStudioUpdate
4
+ description: Server sends studio status updates
5
+ message:
6
+ oneOf:
7
+ - $ref: '../../components/studio/messages/studioUpdate.yaml#/components/messages/studioUpdate'
@@ -0,0 +1,16 @@
1
+ description: Topic for managing subscription events.
2
+
3
+ subscribe:
4
+ operationId: receiveSubscriptionStatus
5
+ description: Server sends subscription status updates
6
+ message:
7
+ oneOf:
8
+ - $ref: '../../components/subscriptions/messages/subscriptionStatusErrorMessage.yaml#/components/messages/subscriptionStatusErrorMessage'
9
+ - $ref: '../../components/subscriptions/messages/subscriptionStatusSuccessMessage.yaml#/components/messages/subscriptionStatusSuccessMessage'
10
+
11
+ publish:
12
+ operationId: sendSubscriptionRequest
13
+ description: Client publishes subscription requests (subscribe/unsubscribe)
14
+ message:
15
+ oneOf:
16
+ - $ref: '../../components/subscriptions/messages/subscribeMessage.yaml#/components/messages/subscribeMessage'