agent-ear 0.2.0__py3-none-any.whl

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 (52) hide show
  1. agent_ear-0.2.0.dist-info/METADATA +217 -0
  2. agent_ear-0.2.0.dist-info/RECORD +52 -0
  3. agent_ear-0.2.0.dist-info/WHEEL +5 -0
  4. agent_ear-0.2.0.dist-info/entry_points.txt +2 -0
  5. agent_ear-0.2.0.dist-info/licenses/LICENSE +21 -0
  6. agent_ear-0.2.0.dist-info/top_level.txt +1 -0
  7. ear/__init__.py +3 -0
  8. ear/_data/schema/audio-score.schema.json +978 -0
  9. ear/_data/schema/examples/basic.json +1198 -0
  10. ear/_data/schema/examples/events.json +530 -0
  11. ear/_data/schema/examples/precise.json +3383 -0
  12. ear/_data/skill/SKILL.md +140 -0
  13. ear/_data/skill/references/direct-vs-transcribe.md +100 -0
  14. ear/_data/skill/references/output-schema.md +137 -0
  15. ear/_data/skill/references/request-strategies.md +94 -0
  16. ear/_data/skill/scripts/agent-ear +6 -0
  17. ear/_data/skill/scripts/agent-ear.cmd +8 -0
  18. ear/_data/skill/scripts/agent-ear.ps1 +7 -0
  19. ear/_vendor/pretrainedsed/LICENSE +21 -0
  20. ear/_vendor/pretrainedsed/config.py +28 -0
  21. ear/_vendor/pretrainedsed/data_util/audioset_classes.py +1393 -0
  22. ear/_vendor/pretrainedsed/ear_runner.py +155 -0
  23. ear/_vendor/pretrainedsed/models/beats/BEATs.py +183 -0
  24. ear/_vendor/pretrainedsed/models/beats/BEATs_wrapper.py +56 -0
  25. ear/_vendor/pretrainedsed/models/beats/Tokenizers.py +172 -0
  26. ear/_vendor/pretrainedsed/models/beats/backbone.py +783 -0
  27. ear/_vendor/pretrainedsed/models/beats/modules.py +218 -0
  28. ear/_vendor/pretrainedsed/models/beats/quantizer.py +215 -0
  29. ear/_vendor/pretrainedsed/models/prediction_wrapper.py +213 -0
  30. ear/_vendor/pretrainedsed/models/seq_models.py +40 -0
  31. ear/_vendor/pretrainedsed/models/transformer_wrapper.py +19 -0
  32. ear/aed_psed.py +70 -0
  33. ear/aed_registry.py +64 -0
  34. ear/asr_qwen.py +198 -0
  35. ear/beats.py +105 -0
  36. ear/cli.py +751 -0
  37. ear/config.py +185 -0
  38. ear/context.py +42 -0
  39. ear/doctor.py +73 -0
  40. ear/events_panns.py +167 -0
  41. ear/fuse.py +233 -0
  42. ear/install.py +186 -0
  43. ear/media.py +148 -0
  44. ear/models.py +192 -0
  45. ear/omni.py +329 -0
  46. ear/probe.py +104 -0
  47. ear/render.py +181 -0
  48. ear/requests.py +49 -0
  49. ear/routing.py +45 -0
  50. ear/score.py +250 -0
  51. ear/setup.py +156 -0
  52. ear/text_llm.py +49 -0
@@ -0,0 +1,978 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://raw.githubusercontent.com/HudsonHuang/agent-ear/main/schema/audio-score.schema.json",
4
+ "title": "agent-ear Audio Score",
5
+ "type": "object",
6
+ "required": [
7
+ "schema",
8
+ "source",
9
+ "capabilities",
10
+ "global",
11
+ "speech",
12
+ "music",
13
+ "events",
14
+ "relations",
15
+ "views",
16
+ "timeline"
17
+ ],
18
+ "additionalProperties": false,
19
+ "properties": {
20
+ "schema": {
21
+ "const": "ear.score/1"
22
+ },
23
+ "source": {
24
+ "$ref": "#/$defs/source"
25
+ },
26
+ "capabilities": {
27
+ "$ref": "#/$defs/capabilities"
28
+ },
29
+ "intent": {
30
+ "$ref": "#/$defs/intent"
31
+ },
32
+ "global": {
33
+ "$ref": "#/$defs/global"
34
+ },
35
+ "speech": {
36
+ "$ref": "#/$defs/speech"
37
+ },
38
+ "music": {
39
+ "$ref": "#/$defs/music"
40
+ },
41
+ "events": {
42
+ "type": "array",
43
+ "items": {
44
+ "$ref": "#/$defs/event"
45
+ }
46
+ },
47
+ "relations": {
48
+ "type": "array",
49
+ "items": {
50
+ "$ref": "#/$defs/relation"
51
+ }
52
+ },
53
+ "timeline": {
54
+ "type": "array",
55
+ "items": {
56
+ "$ref": "#/$defs/timeline"
57
+ }
58
+ },
59
+ "views": {
60
+ "$ref": "#/$defs/views"
61
+ },
62
+ "warnings": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "string"
66
+ }
67
+ },
68
+ "provenance": {
69
+ "$ref": "#/$defs/provenance"
70
+ }
71
+ },
72
+ "$defs": {
73
+ "word": {
74
+ "type": "object",
75
+ "required": [
76
+ "t_ms",
77
+ "d_ms",
78
+ "w"
79
+ ],
80
+ "additionalProperties": false,
81
+ "properties": {
82
+ "t_ms": {
83
+ "type": "integer",
84
+ "minimum": 0
85
+ },
86
+ "d_ms": {
87
+ "type": "integer",
88
+ "minimum": 0
89
+ },
90
+ "w": {
91
+ "type": "string"
92
+ },
93
+ "conf": {
94
+ "type": [
95
+ "number",
96
+ "null"
97
+ ]
98
+ }
99
+ }
100
+ },
101
+ "speechSegment": {
102
+ "type": "object",
103
+ "required": [
104
+ "id",
105
+ "start_ms",
106
+ "end_ms",
107
+ "speaker",
108
+ "text"
109
+ ],
110
+ "additionalProperties": false,
111
+ "properties": {
112
+ "id": {
113
+ "type": "string"
114
+ },
115
+ "start_ms": {
116
+ "type": "integer",
117
+ "minimum": 0
118
+ },
119
+ "end_ms": {
120
+ "type": "integer",
121
+ "minimum": 0
122
+ },
123
+ "speaker": {
124
+ "type": "string"
125
+ },
126
+ "lang": {
127
+ "type": "string"
128
+ },
129
+ "text": {
130
+ "type": "string"
131
+ },
132
+ "words": {
133
+ "type": "array",
134
+ "items": {
135
+ "type": "object",
136
+ "required": [
137
+ "t_ms",
138
+ "d_ms",
139
+ "w"
140
+ ],
141
+ "additionalProperties": false,
142
+ "properties": {
143
+ "t_ms": {
144
+ "type": "integer",
145
+ "minimum": 0
146
+ },
147
+ "d_ms": {
148
+ "type": "integer",
149
+ "minimum": 0
150
+ },
151
+ "w": {
152
+ "type": "string"
153
+ },
154
+ "conf": {
155
+ "type": [
156
+ "number",
157
+ "null"
158
+ ]
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "conf": {
164
+ "type": [
165
+ "number",
166
+ "null"
167
+ ]
168
+ },
169
+ "speaker_conf": {
170
+ "type": [
171
+ "number",
172
+ "null"
173
+ ]
174
+ },
175
+ "source": {
176
+ "type": "string"
177
+ }
178
+ }
179
+ },
180
+ "turn": {
181
+ "type": "object",
182
+ "required": [
183
+ "speaker",
184
+ "start_ms",
185
+ "end_ms"
186
+ ],
187
+ "additionalProperties": false,
188
+ "properties": {
189
+ "speaker": {
190
+ "type": "string"
191
+ },
192
+ "start_ms": {
193
+ "type": "integer"
194
+ },
195
+ "end_ms": {
196
+ "type": "integer"
197
+ },
198
+ "text": {
199
+ "type": "string"
200
+ },
201
+ "overlap": {
202
+ "type": "boolean",
203
+ "default": false
204
+ }
205
+ }
206
+ },
207
+ "event": {
208
+ "type": "object",
209
+ "required": [
210
+ "id",
211
+ "start_ms",
212
+ "end_ms",
213
+ "label",
214
+ "conf"
215
+ ],
216
+ "additionalProperties": false,
217
+ "properties": {
218
+ "id": {
219
+ "type": "string"
220
+ },
221
+ "start_ms": {
222
+ "type": "integer",
223
+ "minimum": 0
224
+ },
225
+ "end_ms": {
226
+ "type": "integer",
227
+ "minimum": 0
228
+ },
229
+ "label": {
230
+ "type": "string"
231
+ },
232
+ "label_zh": {
233
+ "type": "string"
234
+ },
235
+ "conf": {
236
+ "type": "number",
237
+ "minimum": 0,
238
+ "maximum": 1
239
+ },
240
+ "salience": {
241
+ "type": [
242
+ "number",
243
+ "null"
244
+ ],
245
+ "minimum": 0,
246
+ "maximum": 1
247
+ },
248
+ "uncertain": {
249
+ "type": "boolean",
250
+ "default": false
251
+ },
252
+ "source": {
253
+ "type": "string"
254
+ },
255
+ "precision": {
256
+ "type": "string"
257
+ },
258
+ "refined_by": {
259
+ "type": "string"
260
+ },
261
+ "omni_start_ms": {
262
+ "type": "integer"
263
+ },
264
+ "omni_end_ms": {
265
+ "type": "integer"
266
+ },
267
+ "omni_label": {
268
+ "type": "string"
269
+ }
270
+ }
271
+ },
272
+ "section": {
273
+ "type": "object",
274
+ "required": [
275
+ "start_ms",
276
+ "end_ms",
277
+ "label"
278
+ ],
279
+ "additionalProperties": false,
280
+ "properties": {
281
+ "start_ms": {
282
+ "type": "integer"
283
+ },
284
+ "end_ms": {
285
+ "type": "integer"
286
+ },
287
+ "label": {
288
+ "type": "string"
289
+ },
290
+ "conf": {
291
+ "type": [
292
+ "number",
293
+ "null"
294
+ ]
295
+ }
296
+ }
297
+ },
298
+ "musicTrack": {
299
+ "type": "object",
300
+ "required": [
301
+ "id",
302
+ "start_ms",
303
+ "end_ms"
304
+ ],
305
+ "additionalProperties": false,
306
+ "properties": {
307
+ "id": {
308
+ "type": "string"
309
+ },
310
+ "start_ms": {
311
+ "type": "integer"
312
+ },
313
+ "end_ms": {
314
+ "type": "integer"
315
+ },
316
+ "bpm": {
317
+ "type": [
318
+ "number",
319
+ "null"
320
+ ]
321
+ },
322
+ "beats_ms": {
323
+ "type": "array",
324
+ "items": {
325
+ "type": "number"
326
+ }
327
+ },
328
+ "downbeats_ms": {
329
+ "type": "array",
330
+ "items": {
331
+ "type": "number"
332
+ }
333
+ },
334
+ "beat_positions": {
335
+ "type": "array",
336
+ "items": {
337
+ "type": "integer",
338
+ "minimum": 1,
339
+ "maximum": 12
340
+ }
341
+ },
342
+ "sections": {
343
+ "type": "array",
344
+ "items": {
345
+ "type": "object",
346
+ "required": [
347
+ "start_ms",
348
+ "end_ms",
349
+ "label"
350
+ ],
351
+ "additionalProperties": false,
352
+ "properties": {
353
+ "start_ms": {
354
+ "type": "integer"
355
+ },
356
+ "end_ms": {
357
+ "type": "integer"
358
+ },
359
+ "label": {
360
+ "type": "string"
361
+ },
362
+ "conf": {
363
+ "type": [
364
+ "number",
365
+ "null"
366
+ ]
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "genre": {
372
+ "type": [
373
+ "string",
374
+ "null"
375
+ ]
376
+ },
377
+ "mood": {
378
+ "type": [
379
+ "string",
380
+ "null"
381
+ ]
382
+ },
383
+ "instruments": {
384
+ "type": "array",
385
+ "items": {
386
+ "type": "string"
387
+ }
388
+ },
389
+ "vocals": {
390
+ "type": [
391
+ "boolean",
392
+ "string",
393
+ "null"
394
+ ]
395
+ },
396
+ "quality": {
397
+ "type": [
398
+ "string",
399
+ "null"
400
+ ],
401
+ "enum": [
402
+ "model",
403
+ "fallback",
404
+ "omni",
405
+ null
406
+ ]
407
+ },
408
+ "description": {
409
+ "type": "string"
410
+ },
411
+ "provider": {
412
+ "type": "string"
413
+ }
414
+ }
415
+ },
416
+ "lyric": {
417
+ "type": "object",
418
+ "required": [
419
+ "start_ms",
420
+ "end_ms",
421
+ "text"
422
+ ],
423
+ "additionalProperties": false,
424
+ "properties": {
425
+ "start_ms": {
426
+ "type": "integer"
427
+ },
428
+ "end_ms": {
429
+ "type": "integer"
430
+ },
431
+ "text": {
432
+ "type": "string"
433
+ },
434
+ "words": {
435
+ "type": "array",
436
+ "items": {
437
+ "type": "object",
438
+ "required": [
439
+ "t_ms",
440
+ "d_ms",
441
+ "w"
442
+ ],
443
+ "additionalProperties": false,
444
+ "properties": {
445
+ "t_ms": {
446
+ "type": "integer",
447
+ "minimum": 0
448
+ },
449
+ "d_ms": {
450
+ "type": "integer",
451
+ "minimum": 0
452
+ },
453
+ "w": {
454
+ "type": "string"
455
+ },
456
+ "conf": {
457
+ "type": [
458
+ "number",
459
+ "null"
460
+ ]
461
+ }
462
+ }
463
+ }
464
+ }
465
+ }
466
+ },
467
+ "relation": {
468
+ "type": "object",
469
+ "required": [
470
+ "type"
471
+ ],
472
+ "additionalProperties": false,
473
+ "properties": {
474
+ "type": {
475
+ "type": "string",
476
+ "enum": [
477
+ "after",
478
+ "before",
479
+ "over",
480
+ "during",
481
+ "causes",
482
+ "at",
483
+ "repeat_of",
484
+ "contrast",
485
+ "cut_candidate"
486
+ ]
487
+ },
488
+ "from": {
489
+ "type": "string"
490
+ },
491
+ "to": {
492
+ "type": "string"
493
+ },
494
+ "at_ms": {
495
+ "type": "integer"
496
+ },
497
+ "gap_ms": {
498
+ "type": "integer"
499
+ },
500
+ "reason": {
501
+ "type": "string"
502
+ },
503
+ "conf": {
504
+ "type": [
505
+ "number",
506
+ "null"
507
+ ]
508
+ }
509
+ }
510
+ },
511
+ "timeline": {
512
+ "type": "object",
513
+ "required": [
514
+ "start_ms",
515
+ "end_ms",
516
+ "kind",
517
+ "text"
518
+ ],
519
+ "additionalProperties": false,
520
+ "properties": {
521
+ "start_ms": {
522
+ "type": "integer",
523
+ "minimum": 0
524
+ },
525
+ "end_ms": {
526
+ "type": "integer",
527
+ "minimum": 0
528
+ },
529
+ "kind": {
530
+ "type": "string",
531
+ "enum": [
532
+ "speech",
533
+ "event",
534
+ "music",
535
+ "silence"
536
+ ]
537
+ },
538
+ "text": {
539
+ "type": "string"
540
+ },
541
+ "refs": {
542
+ "type": "array",
543
+ "items": {
544
+ "type": "string"
545
+ }
546
+ },
547
+ "speaker": {
548
+ "type": "string"
549
+ },
550
+ "events": {
551
+ "type": "array",
552
+ "items": {
553
+ "type": "string"
554
+ }
555
+ },
556
+ "music": {
557
+ "type": "boolean"
558
+ }
559
+ }
560
+ },
561
+ "chapter": {
562
+ "type": "object",
563
+ "required": [
564
+ "start_ms",
565
+ "end_ms",
566
+ "title"
567
+ ],
568
+ "additionalProperties": false,
569
+ "properties": {
570
+ "start_ms": {
571
+ "type": "integer"
572
+ },
573
+ "end_ms": {
574
+ "type": "integer"
575
+ },
576
+ "title": {
577
+ "type": "string"
578
+ },
579
+ "summary": {
580
+ "type": "string"
581
+ }
582
+ }
583
+ },
584
+ "omniTranscript": {
585
+ "type": "object",
586
+ "required": [
587
+ "start_ms",
588
+ "end_ms",
589
+ "text"
590
+ ],
591
+ "additionalProperties": false,
592
+ "properties": {
593
+ "start_ms": {
594
+ "type": "integer"
595
+ },
596
+ "end_ms": {
597
+ "type": "integer"
598
+ },
599
+ "text": {
600
+ "type": "string"
601
+ }
602
+ }
603
+ },
604
+ "provenance": {
605
+ "type": "object",
606
+ "additionalProperties": false,
607
+ "properties": {
608
+ "tool_version": {
609
+ "type": "string"
610
+ },
611
+ "created_at": {
612
+ "type": "string"
613
+ },
614
+ "elapsed_s": {
615
+ "type": "number"
616
+ },
617
+ "params": {
618
+ "type": "object",
619
+ "additionalProperties": true
620
+ },
621
+ "omni": {
622
+ "type": "object",
623
+ "additionalProperties": true
624
+ },
625
+ "probe": {
626
+ "type": "object",
627
+ "additionalProperties": true
628
+ }
629
+ }
630
+ },
631
+ "source": {
632
+ "type": "object",
633
+ "required": [
634
+ "path",
635
+ "sha256",
636
+ "duration_ms"
637
+ ],
638
+ "additionalProperties": false,
639
+ "properties": {
640
+ "path": {
641
+ "type": "string"
642
+ },
643
+ "sha256": {
644
+ "type": "string"
645
+ },
646
+ "duration_ms": {
647
+ "type": "integer",
648
+ "minimum": 0
649
+ },
650
+ "fps": {
651
+ "type": [
652
+ "number",
653
+ "null"
654
+ ]
655
+ },
656
+ "video_duration_ms": {
657
+ "type": [
658
+ "integer",
659
+ "null"
660
+ ]
661
+ },
662
+ "pts_offset_ms": {
663
+ "type": "integer",
664
+ "default": 0
665
+ },
666
+ "trimmed_to_ms": {
667
+ "type": [
668
+ "integer",
669
+ "null"
670
+ ]
671
+ }
672
+ }
673
+ },
674
+ "capabilities": {
675
+ "type": "object",
676
+ "required": [
677
+ "speech",
678
+ "music",
679
+ "events",
680
+ "fusion"
681
+ ],
682
+ "additionalProperties": false,
683
+ "properties": {
684
+ "speech": {
685
+ "type": [
686
+ "string",
687
+ "null"
688
+ ]
689
+ },
690
+ "music": {
691
+ "type": [
692
+ "string",
693
+ "null"
694
+ ]
695
+ },
696
+ "events": {
697
+ "type": [
698
+ "string",
699
+ "null"
700
+ ]
701
+ },
702
+ "structure": {
703
+ "type": [
704
+ "string",
705
+ "null"
706
+ ]
707
+ },
708
+ "semantic": {
709
+ "type": [
710
+ "string",
711
+ "null"
712
+ ]
713
+ },
714
+ "fusion": {
715
+ "type": "string"
716
+ },
717
+ "omni": {
718
+ "type": [
719
+ "string",
720
+ "null"
721
+ ]
722
+ },
723
+ "aed": {
724
+ "type": [
725
+ "string",
726
+ "null"
727
+ ]
728
+ },
729
+ "mode": {
730
+ "type": [
731
+ "string",
732
+ "null"
733
+ ]
734
+ },
735
+ "vad": {
736
+ "type": [
737
+ "string",
738
+ "null"
739
+ ]
740
+ },
741
+ "beat": {
742
+ "type": [
743
+ "string",
744
+ "null"
745
+ ]
746
+ }
747
+ }
748
+ },
749
+ "intent": {
750
+ "type": "object",
751
+ "additionalProperties": false,
752
+ "properties": {
753
+ "request": {
754
+ "type": "string"
755
+ },
756
+ "requested": {
757
+ "type": [
758
+ "array",
759
+ "string",
760
+ "null"
761
+ ]
762
+ },
763
+ "labels": {
764
+ "type": "array",
765
+ "items": {
766
+ "type": "string"
767
+ }
768
+ },
769
+ "skipped": {
770
+ "type": "array",
771
+ "items": {
772
+ "type": "string"
773
+ }
774
+ }
775
+ }
776
+ },
777
+ "global": {
778
+ "type": "object",
779
+ "required": [
780
+ "summary"
781
+ ],
782
+ "additionalProperties": false,
783
+ "properties": {
784
+ "summary": {
785
+ "type": "string"
786
+ },
787
+ "speech_ratio": {
788
+ "type": [
789
+ "number",
790
+ "null"
791
+ ],
792
+ "minimum": 0,
793
+ "maximum": 1
794
+ },
795
+ "music_ratio": {
796
+ "type": [
797
+ "number",
798
+ "null"
799
+ ],
800
+ "minimum": 0,
801
+ "maximum": 1
802
+ },
803
+ "event_ratio": {
804
+ "type": [
805
+ "number",
806
+ "null"
807
+ ],
808
+ "minimum": 0,
809
+ "maximum": 1
810
+ },
811
+ "speakers": {
812
+ "type": [
813
+ "integer",
814
+ "null"
815
+ ],
816
+ "minimum": 0
817
+ },
818
+ "languages": {
819
+ "type": "array",
820
+ "items": {
821
+ "type": "string"
822
+ }
823
+ },
824
+ "scene": {
825
+ "type": [
826
+ "string",
827
+ "null"
828
+ ]
829
+ },
830
+ "mood_curve": {
831
+ "type": "array",
832
+ "items": {
833
+ "type": "object",
834
+ "required": [
835
+ "t_ms",
836
+ "label"
837
+ ],
838
+ "additionalProperties": false,
839
+ "properties": {
840
+ "t_ms": {
841
+ "type": "integer"
842
+ },
843
+ "label": {
844
+ "type": "string"
845
+ }
846
+ }
847
+ }
848
+ },
849
+ "mode": {
850
+ "type": [
851
+ "string",
852
+ "null"
853
+ ]
854
+ },
855
+ "duration_ms": {
856
+ "type": "integer",
857
+ "minimum": 0
858
+ },
859
+ "top_sounds": {
860
+ "type": "array",
861
+ "items": {
862
+ "$ref": "#/$defs/topSound"
863
+ }
864
+ }
865
+ }
866
+ },
867
+ "speech": {
868
+ "type": "object",
869
+ "required": [
870
+ "segments",
871
+ "turns"
872
+ ],
873
+ "additionalProperties": false,
874
+ "properties": {
875
+ "segments": {
876
+ "type": "array",
877
+ "items": {
878
+ "$ref": "#/$defs/speechSegment"
879
+ }
880
+ },
881
+ "turns": {
882
+ "type": "array",
883
+ "items": {
884
+ "$ref": "#/$defs/turn"
885
+ }
886
+ },
887
+ "non_speech_vocal": {
888
+ "type": "array",
889
+ "items": {
890
+ "$ref": "#/$defs/event"
891
+ }
892
+ },
893
+ "omni_transcript": {
894
+ "type": "array",
895
+ "items": {
896
+ "$ref": "#/$defs/omniTranscript"
897
+ }
898
+ }
899
+ }
900
+ },
901
+ "music": {
902
+ "type": "object",
903
+ "required": [
904
+ "tracks"
905
+ ],
906
+ "additionalProperties": false,
907
+ "properties": {
908
+ "tracks": {
909
+ "type": "array",
910
+ "items": {
911
+ "$ref": "#/$defs/musicTrack"
912
+ }
913
+ },
914
+ "lyrics": {
915
+ "type": "array",
916
+ "items": {
917
+ "$ref": "#/$defs/lyric"
918
+ }
919
+ }
920
+ }
921
+ },
922
+ "views": {
923
+ "type": "object",
924
+ "required": [
925
+ "one_line"
926
+ ],
927
+ "additionalProperties": false,
928
+ "properties": {
929
+ "one_line": {
930
+ "type": "string"
931
+ },
932
+ "chapters": {
933
+ "type": "array",
934
+ "items": {
935
+ "$ref": "#/$defs/chapter"
936
+ }
937
+ },
938
+ "timeline_10s": {
939
+ "type": "array",
940
+ "items": {
941
+ "type": "string"
942
+ }
943
+ }
944
+ }
945
+ },
946
+ "topSound": {
947
+ "oneOf": [
948
+ {
949
+ "$ref": "#/$defs/event"
950
+ },
951
+ {
952
+ "type": "object",
953
+ "required": [
954
+ "label"
955
+ ],
956
+ "additionalProperties": false,
957
+ "properties": {
958
+ "label": {
959
+ "type": "string"
960
+ },
961
+ "label_zh": {
962
+ "type": "string"
963
+ },
964
+ "score": {
965
+ "type": [
966
+ "number",
967
+ "null"
968
+ ]
969
+ },
970
+ "source": {
971
+ "type": "string"
972
+ }
973
+ }
974
+ }
975
+ ]
976
+ }
977
+ }
978
+ }