{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/imageResult",
  "title": "imageResult",
  "type": "object",
  "description": "The image url or encoded image if successful, and an error otherwise.",
  "properties": {
    "url": {
      "type": "string",
      "description": "The image url.",
      "example": "https://www.contoso.com"
    },
    "b64_json": {
      "type": "string",
      "description": "The base64 encoded image"
    },
    "content_filter_results": {
      "$ref": "#/components/schemas/dalleContentFilterResults"
    },
    "revised_prompt": {
      "type": "string",
      "description": "The prompt that was used to generate the image, if there was any revision to the prompt."
    },
    "prompt_filter_results": {
      "$ref": "#/components/schemas/dalleFilterResults"
    }
  }
}