Skip to content

Commit 9bee355

Browse files
authored
Merge pull request Sofie-Automation#1216 from nrkno/fix/live-status-gateway-api-example-missing
fix(LSG): Token "examples" does not exist when running `yarn gendocs`
2 parents 2fe0059 + a0ea9b4 commit 9bee355

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/live-status-gateway/api/schemas/adLibs.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $defs:
3030
adLibs:
3131
$ref: '#/$defs/adLib/examples'
3232
globalAdLibs:
33-
$ref: '#/$defs/adLib/examples'
33+
$ref: '#/$defs/adLibBase/examples'
3434
adLib:
3535
allOf:
3636
- $ref: '#/$defs/adLibBase'
@@ -41,6 +41,18 @@ $defs:
4141
partId:
4242
description: Unique id of the part this adLib belongs to
4343
required: [segmentId, partId]
44+
examples:
45+
- id: 'C6K_yIMuGFUk8X_L9A9_jRT6aq4_'
46+
name: Music video clip
47+
sourceLayer: Video Clip
48+
actionType:
49+
- name: pvw
50+
label: Preview
51+
tags: ['music_video']
52+
segmentId: 'n1mOVd5_K5tt4sfk6HYfTuwumGQ_'
53+
partId: 'H5CBGYjThrMSmaYvRaa5FVKJIzk_'
54+
publicData:
55+
fileName: MV000123.mxf
4456
globalAdLib:
4557
$ref: '#/$defs/adLibBase'
4658
adLibBase:

0 commit comments

Comments
 (0)