{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiwatercolorgenerator-com/json-schema/aiwatercolorgenerator-com-image-task-schema.json",
  "title": "ImageTask",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiwatercolorgenerator-com-openapi.json#/components/schemas/ImageTask",
  "type": "object",
  "required": [
    "id",
    "object",
    "status",
    "operation",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "const": "image_task"
    },
    "status": {
      "enum": [
        "queued",
        "processing",
        "succeeded",
        "failed",
        "canceled"
      ]
    },
    "operation": {
      "enum": [
        "generation",
        "edit"
      ]
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "resolution": {
      "type": [
        "string",
        "null"
      ]
    },
    "aspect_ratio": {
      "type": [
        "string",
        "null"
      ]
    },
    "prompt": {
      "type": "string"
    },
    "output": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "content_type": {
            "type": "string"
          }
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "completed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}