[
  {
    "name": "src",
    "type": "string",
    "required": true,
    "description": "The URL of the image."
  },
  {
    "name": "alt",
    "type": "string",
    "required": true,
    "description": "Alternative text for the image."
  },
  {
    "name": "width",
    "type": "number",
    "required": true,
    "description": "The width of the image in pixels."
  },
  {
    "name": "height",
    "type": "number",
    "required": true,
    "description": "The height of the image in pixels."
  },
  {
    "name": "sources",
    "type": "array",
    "required": false,
    "description": "Alternative sources of the image.",
    "params": [
      {
        "name": "src",
        "type": "string",
        "required": true,
        "description": "The URL of the image."
      },
      {
        "name": "type",
        "type": "string",
        "required": true,
        "description": "The MIME type of the image."
      },
      {
        "name": "media",
        "type": "string",
        "required": false,
        "description": "A conditional media rule for the image."
      },
      {
        "name": "width",
        "type": "number",
        "required": false,
        "description": "The width of the image in pixels."
      },
      {
        "name": "height",
        "type": "number",
        "required": false,
        "description": "The height of the image in pixels."
      }
    ]
  },
  {
    "name": "caption",
    "type": "string",
    "required": false,
    "description": "An optional caption for the picture."
  },
  {
    "name": "informationLabelOpen",
    "type": "string",
    "required": false,
    "description": "An optional label for the button which shows information about the picture.",
    "default": "Open transcript"
  },
  {
    "name": "informationLabelClose",
    "type": "string",
    "required": false,
    "description": "An optional label for the button which hides information about the picture.",
    "default": "Close transcript"
  },
  {
    "name": "informationItemHeadingLevel",
    "type": "number",
    "required": false,
    "description": "The heading level which represents an element from `<h1>` through to `<h6>` for each of the information items. Required if `information` is set."
  },
  {
    "name": "information",
    "type": "array",
    "required": false,
    "description": "A list of information tabs related to the picture.",
    "params": [
      {
        "name": "id",
        "type": "string",
        "required": true,
        "description": "A unique ID for the picture information item."
      },
      {
        "name": "title",
        "type": "string",
        "required": true,
        "description": "The title of the picture information item."
      },
      {
        "name": "body",
        "type": "string",
        "required": true,
        "description": "The body text of the picture information item."
      }
    ]
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the picture."
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the picture."
  }
]
