{
  "id": "image.json",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "Image",
  "description": "An HTML image element which can have a cover image with annotated measurements data",
  "type": [
    "object"
  ],
  "properties": {
    "type": {
      "description": "Block type",
      "example": "image",
      "type": "string",
      "enum": [
        "image",
        "interactive"
      ]
    },
    "html": {
      "description": "HTML content of the block",
      "example": "<img src=\"http://blog.interfacevision.com/assets/img/posts/example_visual_language_minecraft_01.png\">",
      "type": "string",
      "minLength": 7
    },
    "cover": {
      "$ref": "media.json#/definitions/cover"
    },
    "title": {
      "type": "string"
    },
    "caption": {
      "type": "string"
    }
  },
  "required": [
    "type",
    "html"
  ]
}