{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/idphoto-ai/json-schema/idphoto-ai-id-photo-in-schema.json",
  "title": "IdPhotoIn",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/idphoto-ai-openapi.json#/components/schemas/IdPhotoIn",
  "properties": {
    "apiKey": {
      "type": "string",
      "title": "Apikey"
    },
    "apiSecret": {
      "type": "string",
      "title": "Apisecret"
    },
    "imageBase64": {
      "type": "string",
      "title": "Imagebase64"
    },
    "specCode": {
      "type": "string",
      "title": "Speccode"
    },
    "photoTypeList": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Phototypelist",
      "default": []
    },
    "outputFormat": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Outputformat"
    },
    "disableTileFix": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Disabletilefix",
      "default": false
    },
    "autoFixShoulder": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Autofixshoulder",
      "default": false
    },
    "issueSensitivityOverride": {
      "anyOf": [
        {
          "$ref": "#/$defs/IssueSensitivityOverride"
        },
        {
          "type": "null"
        }
      ]
    },
    "backgroundRemovalModel": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Backgroundremovalmodel"
    },
    "photoSheet": {
      "anyOf": [
        {
          "$ref": "#/$defs/IdPhotoInPhotoSheet"
        },
        {
          "type": "null"
        }
      ]
    },
    "watermarkText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Watermarktext"
    },
    "internalSiteName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Internalsitename"
    },
    "internalPlatform": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Internalplatform"
    },
    "internalGitVersion": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Internalgitversion"
    }
  },
  "type": "object",
  "required": [
    "apiKey",
    "apiSecret",
    "imageBase64",
    "specCode"
  ],
  "$defs": {
    "IdPhotoInPhotoSheet": {
      "properties": {
        "sheetSizes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Sheetsizes",
          "default": []
        }
      },
      "type": "object",
      "title": "IdPhotoInPhotoSheet"
    },
    "IssueSensitivityLevel": {
      "type": "string",
      "enum": [
        "VERY_LOW",
        "LOW",
        "MEDIUM",
        "HIGH",
        "VERY_HIGH"
      ],
      "title": "IssueSensitivityLevel"
    },
    "IssueSensitivityOverride": {
      "properties": {
        "ISSUE_FACE_LIGHT_NOT_BALANCE": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_FACE_BRIGHTNESS_BAD": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_PHOTO_SHARPNESS_BAD": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_HEAD_YAW_OVER_THRESHOLD": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_HEAD_PITCH_OVER_THRESHOLD": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_EYEGLASSES_NOT_ALLOWED": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_EYEGLASSES_REFLECTION": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_SUNGLASSES_NOT_ALLOWED": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_HAT_NOT_ALLOWED": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_BOTTOM_NOT_FULL": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_LEFT_NOT_FULL": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        },
        "ISSUE_RIGHT_NOT_FULL": {
          "anyOf": [
            {
              "$ref": "#/$defs/IssueSensitivityLevel"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "type": "object",
      "title": "IssueSensitivityOverride"
    }
  }
}