|
595 | 595 | "url": { |
596 | 596 | "type": "string", |
597 | 597 | "title": "Url", |
598 | | - "description": "YLE program ID (not decrypted)" |
| 598 | + "description": "YLE program ID" |
| 599 | + }, |
| 600 | + "typeId": { |
| 601 | + "anyOf": [ |
| 602 | + { |
| 603 | + "type": "string" |
| 604 | + }, |
| 605 | + { |
| 606 | + "type": "null" |
| 607 | + } |
| 608 | + ], |
| 609 | + "title": "Typeid", |
| 610 | + "description": "MIME type" |
| 611 | + }, |
| 612 | + "default": { |
| 613 | + "$ref": "#/components/schemas/MediaState", |
| 614 | + "description": "Default/initial state" |
| 615 | + }, |
| 616 | + "options": { |
| 617 | + "items": {}, |
| 618 | + "type": "array", |
| 619 | + "title": "Options", |
| 620 | + "description": "Empty list for media items" |
| 621 | + }, |
| 622 | + "isRecording": { |
| 623 | + "type": "boolean", |
| 624 | + "title": "Isrecording" |
| 625 | + }, |
| 626 | + "start": { |
| 627 | + "anyOf": [ |
| 628 | + { |
| 629 | + "$ref": "#/components/schemas/MediaState" |
| 630 | + }, |
| 631 | + { |
| 632 | + "type": "null" |
| 633 | + } |
| 634 | + ], |
| 635 | + "description": "State before recording starts" |
| 636 | + }, |
| 637 | + "recording": { |
| 638 | + "anyOf": [ |
| 639 | + { |
| 640 | + "$ref": "#/components/schemas/MediaState" |
| 641 | + }, |
| 642 | + { |
| 643 | + "type": "null" |
| 644 | + } |
| 645 | + ], |
| 646 | + "description": "State during recording" |
| 647 | + }, |
| 648 | + "finish": { |
| 649 | + "anyOf": [ |
| 650 | + { |
| 651 | + "$ref": "#/components/schemas/MediaState" |
| 652 | + }, |
| 653 | + { |
| 654 | + "type": "null" |
| 655 | + } |
| 656 | + ], |
| 657 | + "description": "State after recording finishes" |
| 658 | + }, |
| 659 | + "metaTitle": { |
| 660 | + "anyOf": [ |
| 661 | + { |
| 662 | + "additionalProperties": { |
| 663 | + "type": "string" |
| 664 | + }, |
| 665 | + "type": "object" |
| 666 | + }, |
| 667 | + { |
| 668 | + "type": "null" |
| 669 | + } |
| 670 | + ], |
| 671 | + "title": "Metatitle", |
| 672 | + "description": "Optional meta title" |
599 | 673 | } |
600 | 674 | }, |
601 | 675 | "type": "object", |
602 | 676 | "required": [ |
603 | 677 | "kind", |
604 | 678 | "itemType", |
605 | 679 | "itemId", |
606 | | - "url" |
| 680 | + "url", |
| 681 | + "default", |
| 682 | + "isRecording" |
607 | 683 | ], |
608 | 684 | "title": "FakeYleAudioMediaItem", |
609 | 685 | "description": "Fake YLE audio item returned when YLE credentials are not configured" |
|
628 | 704 | "url": { |
629 | 705 | "type": "string", |
630 | 706 | "title": "Url", |
631 | | - "description": "YLE program ID (not decrypted)" |
| 707 | + "description": "YLE program ID" |
| 708 | + }, |
| 709 | + "typeId": { |
| 710 | + "anyOf": [ |
| 711 | + { |
| 712 | + "type": "string" |
| 713 | + }, |
| 714 | + { |
| 715 | + "type": "null" |
| 716 | + } |
| 717 | + ], |
| 718 | + "title": "Typeid", |
| 719 | + "description": "MIME type" |
| 720 | + }, |
| 721 | + "default": { |
| 722 | + "$ref": "#/components/schemas/MediaState", |
| 723 | + "description": "Default/initial state" |
| 724 | + }, |
| 725 | + "options": { |
| 726 | + "items": {}, |
| 727 | + "type": "array", |
| 728 | + "title": "Options", |
| 729 | + "description": "Empty list for media items" |
| 730 | + }, |
| 731 | + "isRecording": { |
| 732 | + "type": "boolean", |
| 733 | + "title": "Isrecording" |
| 734 | + }, |
| 735 | + "start": { |
| 736 | + "anyOf": [ |
| 737 | + { |
| 738 | + "$ref": "#/components/schemas/MediaState" |
| 739 | + }, |
| 740 | + { |
| 741 | + "type": "null" |
| 742 | + } |
| 743 | + ], |
| 744 | + "description": "State before recording starts" |
| 745 | + }, |
| 746 | + "recording": { |
| 747 | + "anyOf": [ |
| 748 | + { |
| 749 | + "$ref": "#/components/schemas/MediaState" |
| 750 | + }, |
| 751 | + { |
| 752 | + "type": "null" |
| 753 | + } |
| 754 | + ], |
| 755 | + "description": "State during recording" |
| 756 | + }, |
| 757 | + "finish": { |
| 758 | + "anyOf": [ |
| 759 | + { |
| 760 | + "$ref": "#/components/schemas/MediaState" |
| 761 | + }, |
| 762 | + { |
| 763 | + "type": "null" |
| 764 | + } |
| 765 | + ], |
| 766 | + "description": "State after recording finishes" |
| 767 | + }, |
| 768 | + "metaTitle": { |
| 769 | + "anyOf": [ |
| 770 | + { |
| 771 | + "additionalProperties": { |
| 772 | + "type": "string" |
| 773 | + }, |
| 774 | + "type": "object" |
| 775 | + }, |
| 776 | + { |
| 777 | + "type": "null" |
| 778 | + } |
| 779 | + ], |
| 780 | + "title": "Metatitle", |
| 781 | + "description": "Optional meta title" |
632 | 782 | } |
633 | 783 | }, |
634 | 784 | "type": "object", |
635 | 785 | "required": [ |
636 | 786 | "kind", |
637 | 787 | "itemType", |
638 | 788 | "itemId", |
639 | | - "url" |
| 789 | + "url", |
| 790 | + "default", |
| 791 | + "isRecording" |
640 | 792 | ], |
641 | 793 | "title": "FakeYleVideoMediaItem", |
642 | 794 | "description": "Fake YLE video item returned when YLE credentials are not configured" |
|
0 commit comments