{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opper/json-schema/opper-image-response-schema.json",
  "title": "ImageResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opper-images-api-openapi.yml#/components/schemas/ImageResponse",
  "properties": {
    "created": {
      "type": "integer"
    },
    "data": {
      "items": {
        "properties": {
          "b64_json": {
            "type": "string"
          },
          "file_id": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "revised_prompt": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "id": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "usage": {
      "properties": {
        "cost": {
          "type": "number"
        },
        "images": {
          "type": "integer"
        }
      },
      "required": [
        "cost",
        "images"
      ],
      "type": "object"
    }
  },
  "required": [
    "id",
    "model",
    "created",
    "data",
    "usage"
  ],
  "type": "object"
}