{
  "type": "image",
  "description": "Display an image from a URL or base64 data URL.",
  "hasChildren": false,
  "propsSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "src": {
        "type": "string",
        "description": "Image URL or base64 data URL"
      },
      "alt": {
        "description": "Accessible description of the image",
        "type": "string"
      },
      "objectFit": {
        "default": "contain",
        "description": "How the image fits its container",
        "type": "string",
        "enum": [
          "contain",
          "cover",
          "fill",
          "none",
          "scale-down"
        ]
      },
      "style": {
        "description": "Inline CSS styles as a plain CSS string (e.g., \"opacity: 0.8; border-radius: 8px\")",
        "type": "string"
      }
    },
    "required": [
      "src"
    ],
    "description": "Displays an image from a URL or base64 data URL. Useful for showing pasted images, charts, or any visual asset."
  }
}
