{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/imagenai/json-schema/imagenai-i2-iedit-project-client-request-schema.json",
  "title": "I2IEditProjectClientRequest",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/imagenai-openapi.yml#/components/schemas/I2IEditProjectClientRequest",
  "properties": {
    "hdr_merge": {
      "type": "boolean",
      "title": "Hdr Merge",
      "default": false
    },
    "hdr_grouping_method": {
      "allOf": [
        {
          "$ref": "#/$defs/I2IHdrGroupingMethod"
        }
      ],
      "default": "auto"
    },
    "sky_replacement": {
      "type": "boolean",
      "title": "Sky Replacement",
      "default": false
    },
    "sky_replacement_template_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sky Replacement Template Id"
    },
    "sky_replacement_photo_type": {
      "allOf": [
        {
          "$ref": "#/$defs/I2ISkyReplacementPhotoType"
        }
      ],
      "default": "all"
    },
    "black_tv": {
      "type": "boolean",
      "title": "Black Tv",
      "default": false
    },
    "perspective_correction": {
      "type": "boolean",
      "title": "Perspective Correction",
      "default": false
    },
    "has_orientations": {
      "type": "boolean",
      "title": "Has Orientations",
      "default": false
    },
    "interior_model_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Interior Model Id"
    },
    "exterior_model_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exterior Model Id"
    },
    "window_pull_refinement_mode": {
      "anyOf": [
        {
          "$ref": "#/$defs/I2IWindowPull"
        },
        {
          "type": "null"
        }
      ]
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url"
    },
    "client_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/I2IClientType"
        },
        {
          "type": "null"
        }
      ]
    },
    "jpg_as_dng_files": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jpg As Dng Files"
    },
    "editor_preset_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 20,
      "title": "Editor Preset Ids"
    },
    "auto_export": {
      "type": "boolean",
      "title": "Auto Export",
      "default": false
    },
    "dropbox_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dropbox Url"
    }
  },
  "type": "object",
  "$defs": {
    "I2IClientType": {
      "type": "string",
      "enum": [
        "claude",
        "chatgpt"
      ],
      "title": "I2IClientType",
      "description": "app-web-server's I2IClientType: the AI app (public MCP) a listing came from."
    },
    "I2IHdrGroupingMethod": {
      "type": "string",
      "enum": [
        "auto",
        "time",
        "count",
        "manual"
      ],
      "title": "I2IHdrGroupingMethod"
    },
    "I2ISkyReplacementPhotoType": {
      "type": "string",
      "enum": [
        "all",
        "exterior",
        "interior"
      ],
      "title": "I2ISkyReplacementPhotoType",
      "description": "app-web-server's SkyReplacementPhotoType: which photos a listing's sky is applied to."
    },
    "I2IWindowPull": {
      "type": "string",
      "enum": [
        "classic",
        "strong"
      ],
      "title": "I2IWindowPull",
      "description": "app-web-server's WindowPull: the Window Pull option picked for a listing."
    }
  }
}