{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/connections-icu/json-schema/connections-icu-hosted-event-image-schema.json",
  "title": "HostedEventImage",
  "description": "One content image on the event, with its AI description (storage.connections describe seam) when one exists. The MCP/AI-legibility projection: an agent knows what images are on the event and what they show, without fetching or describing pixels itself.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/connections-icu-events-openapi.yml#/components/schemas/HostedEventImage",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The image's public CDN URL."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "AI description of what the image shows (SEO alt text). Null when none has been generated yet."
    },
    "role": {
      "type": "string",
      "enum": [
        "hero",
        "body"
      ],
      "description": "'hero' = the event's one cover photo; 'body' = an image embedded in the rich-text description."
    }
  }
}