[
  {
    "name": "id",
    "type": "string",
    "required": false,
    "description": "The ID of the image.",
    "released": "10.0.0"
  },
  {
    "name": "src",
    "type": "string",
    "required": true,
    "description": "The source location of the image.",
    "released": "1.0.0"
  },
  {
    "name": "alt",
    "type": "string",
    "required": true,
    "description": "The alt text of the image.",
    "released": "1.0.0"
  },
  {
    "name": "caption",
    "type": "object",
    "required": false,
    "description": "Optional caption for the image.",
    "released": "1.0.0",
    "params": [
      {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "Text to add within the caption. If `html` is provided, the `text` option will be ignored.",
        "released": "10.3.0"
      },
      {
        "name": "html",
        "type": "string",
        "required": true,
        "description": "HTML to add within the caption. If `html` is provided, the `text` option will be ignored.",
        "released": "10.3.0"
      },
      {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the figcaption element.",
        "released": "10.3.0"
      }
    ]
  },
  {
    "name": "sizes",
    "type": "string",
    "required": false,
    "description": "A list of screen sizes for the browser to load the correct image from the srcset images.",
    "released": "3.0.0"
  },
  {
    "name": "srcset",
    "type": "string",
    "required": false,
    "description": "A list of image source URLs and their respective sizes. Separate each image with a comma.",
    "released": "3.0.0"
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the image container.",
    "released": "1.0.0"
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the image container.",
    "released": "1.0.0"
  }
]
