{
  "title": "mediaInfo image",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Defines an image to be displayed in a popup window.",
  "properties": {
    "caption": {
      "type": "string",
      "description": "A string caption describing the media."
    },
    "refreshInterval": {
      "type": "number",
      "description": "Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. If the property does not exist, it's equivalent to having a value of 0."
    },
    "title": {
      "type": "string",
      "description": "A string title for the media."
    },
    "type": {
      "type": "string",
      "description": "A string defining the type of media.",
      "enum": [
        "image"
      ]
    },
    "value": {
      "$ref": "mediaInfo_image_value_schema.json"
    }
  },
  "required": [
    "type",
    "value"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "mediaInfo",
        "code": {
          "mediaInfo": {
            "type": "image",
            "title": "<div><p style='font-weight:bold;'><span>Image</span></p></div>",
            "caption": "<div><p><span>californiaa flag</span></p><p><span /></p></div>",
            "value": {
              "sourceURL": "http://www.50states.com/flag/image/nunst0006.gif"
            }
          }
        }
      }
    ]
  }
}
