{
  "id": "wicked-video",
  "title": "Video",
  "version": "0.13.0",
  "protocol": [
    1,
    2
  ],
  "kinds": [
    "demo-video",
    "walkthrough"
  ],
  "entry": "index.html",
  "sizes": [
    "inline",
    "pane",
    "full"
  ],
  "permissions": [
    {
      "id": "artifact.read",
      "why": "to show the cut and read its chapters"
    },
    {
      "id": "artifact.write",
      "why": "to reorder, rename or trim a chapter, each as one new cut with Undo"
    },
    {
      "id": "media.read",
      "why": "to play the video and its chapters"
    },
    {
      "id": "selection.chip",
      "why": "to make the chapter you select the subject of your next message"
    },
    {
      "id": "artifact.theme",
      "why": "to change the captions and the title and end cards"
    },
    {
      "id": "artifact.export",
      "why": "to export the video"
    },
    {
      "id": "ui.fullscreen",
      "why": "to show the video full screen"
    }
  ],
  "surfaces": {
    "card": {
      "interactive": true,
      "aspect": "16:9",
      "actions": [
        {
          "id": "prev",
          "label": "Previous chapter",
          "verb": "plugin"
        },
        {
          "id": "next",
          "label": "Next chapter",
          "verb": "plugin",
          "primary": true
        },
        {
          "id": "ask",
          "label": "Ask about this",
          "verb": "host:ask"
        },
        {
          "id": "export",
          "label": "Export",
          "verb": "host:export"
        }
      ]
    },
    "options": {
      "tabs": [
        {
          "id": "chapters",
          "label": "Chapters",
          "render": "plugin"
        },
        {
          "id": "captions",
          "label": "Captions",
          "render": "controls",
          "controls": [
            {
              "id": "on",
              "label": "Captions",
              "type": "toggle"
            },
            {
              "id": "burn",
              "label": "Burn into video",
              "type": "toggle"
            },
            {
              "id": "position",
              "label": "Position",
              "type": "segmented",
              "options": [
                {
                  "id": "bottom",
                  "label": "Bottom"
                },
                {
                  "id": "top",
                  "label": "Top"
                }
              ]
            },
            {
              "id": "size",
              "label": "Text size",
              "type": "range",
              "min": 18,
              "max": 72,
              "step": 2
            },
            {
              "id": "lines",
              "label": "Max lines",
              "type": "range",
              "min": 1,
              "max": 3,
              "step": 1
            },
            {
              "id": "wrap",
              "label": "Line length",
              "type": "range",
              "min": 20,
              "max": 80,
              "step": 1
            },
            {
              "id": "look",
              "label": "Look",
              "type": "segmented",
              "options": [
                {
                  "id": "bar",
                  "label": "Bar"
                },
                {
                  "id": "outline",
                  "label": "Outline"
                },
                {
                  "id": "plain",
                  "label": "Plain"
                }
              ]
            }
          ]
        },
        {
          "id": "theme",
          "label": "Theme",
          "render": "controls",
          "controls": [
            {
              "id": "palette",
              "label": "Colours",
              "type": "select",
              "options": [
                {
                  "id": "studio",
                  "label": "Studio skin · default"
                },
                {
                  "id": "corporate",
                  "label": "Corporate Light"
                },
                {
                  "id": "midnight",
                  "label": "Midnight Purple"
                },
                {
                  "id": "warm",
                  "label": "Warm Dark"
                },
                {
                  "id": "custom",
                  "label": "Custom"
                }
              ]
            },
            {
              "id": "title",
              "label": "Title card",
              "type": "toggle"
            },
            {
              "id": "titletext",
              "label": "Title",
              "type": "text",
              "maxChars": 80
            },
            {
              "id": "end",
              "label": "End card",
              "type": "toggle"
            },
            {
              "id": "endtext",
              "label": "End card text",
              "type": "text",
              "maxChars": 80
            },
            {
              "id": "background",
              "label": "Background",
              "type": "color"
            },
            {
              "id": "foreground",
              "label": "Text colour",
              "type": "color"
            },
            {
              "id": "accent",
              "label": "Accent",
              "type": "color"
            },
            {
              "id": "font",
              "label": "Font",
              "type": "select",
              "options": [
                {
                  "id": "inter",
                  "label": "Inter"
                },
                {
                  "id": "roboto",
                  "label": "Roboto"
                },
                {
                  "id": "source-sans",
                  "label": "Source Sans 3"
                },
                {
                  "id": "plex",
                  "label": "IBM Plex Sans"
                },
                {
                  "id": "system",
                  "label": "System"
                },
                {
                  "id": "archivo",
                  "label": "Archivo"
                }
              ]
            }
          ]
        }
      ]
    },
    "full": {
      "modes": [
        "simple",
        "advanced"
      ],
      "default": "simple"
    }
  }
}
