{
  "openapi": "3.1.1",
  "info": {
    "title": "PadniSi integration API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://padnisi.com"
    }
  ],
  "paths": {
    "/api/v1/me": {
      "get": {
        "tags": [
          "Integration"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationProfile"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationProfile"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationProfile"
                }
              }
            }
          },
          "400": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "415": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/catalog/categories": {
      "get": {
        "tags": [
          "Integration"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntegrationCategory"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntegrationCategory"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntegrationCategory"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "415": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/catalog/cities": {
      "get": {
        "tags": [
          "Integration"
        ],
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationCityPage"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationCityPage"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationCityPage"
                }
              }
            }
          },
          "400": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "415": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/catalog/listing-options": {
      "get": {
        "tags": [
          "Integration"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationListingOptions"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationListingOptions"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationListingOptions"
                }
              }
            }
          },
          "400": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "415": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/uploads/images": {
      "post": {
        "tags": [
          "Integration"
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "file"
                ],
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImageUploadReceipt"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageUploadReceipt"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageUploadReceipt"
                }
              }
            }
          },
          "400": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "415": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/items/bulk": {
      "post": {
        "tags": [
          "Integration"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "items"
                ],
                "type": "object",
                "properties": {
                  "items": {
                    "maxItems": 100,
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "required": [
                        "externalId",
                        "title",
                        "description",
                        "originalPrice",
                        "currency",
                        "categoryId",
                        "cityId",
                        "dealType",
                        "delivery",
                        "tier"
                      ],
                      "type": "object",
                      "properties": {
                        "externalId": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        },
                        "title": {
                          "maxLength": 150,
                          "minLength": 1,
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        },
                        "originalPrice": {
                          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                          "type": [
                            "number",
                            "string"
                          ],
                          "format": "decimal"
                        },
                        "currency": {
                          "enum": [
                            "EUR"
                          ],
                          "type": "string"
                        },
                        "categoryId": {
                          "pattern": "^-?(?:0|[1-9]\\d*)$",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "format": "int32"
                        },
                        "cityId": {
                          "pattern": "^-?(?:0|[1-9]\\d*)$",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "format": "int32"
                        },
                        "dealType": {
                          "enum": [
                            "sell",
                            "buy",
                            "rent",
                            "seekRent",
                            "giveaway"
                          ],
                          "type": "string"
                        },
                        "delivery": {
                          "maxItems": 4,
                          "uniqueItems": true,
                          "type": "array",
                          "items": {
                            "enum": [
                              "shippingPaidBySeller",
                              "shippingPaidByBuyer",
                              "personalPickup",
                              "econtOffice"
                            ],
                            "type": "string"
                          }
                        },
                        "tier": {
                          "enum": [
                            "free",
                            "autoPaid"
                          ],
                          "type": "string"
                        },
                        "decay": {
                          "type": "object",
                          "properties": {
                            "mode": {
                              "enum": [
                                "none",
                                "standard",
                                "fast",
                                "medium",
                                "slow",
                                "custom"
                              ],
                              "type": "string",
                              "default": "none"
                            },
                            "intervalMinutes": {
                              "pattern": "^-?(?:0|[1-9]\\d*)$",
                              "type": [
                                "integer",
                                "string"
                              ],
                              "format": "int32",
                              "default": 0
                            },
                            "ratePercent": {
                              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                              "type": [
                                "number",
                                "string"
                              ],
                              "format": "decimal",
                              "default": 0
                            },
                            "startAfterDays": {
                              "pattern": "^-?(?:0|[1-9]\\d*)$",
                              "type": [
                                "integer",
                                "string"
                              ],
                              "format": "int32",
                              "default": 0
                            },
                            "minPrice": {
                              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                              "type": [
                                "null",
                                "number",
                                "string"
                              ],
                              "format": "double"
                            }
                          },
                          "additionalProperties": false
                        },
                        "properties": {
                          "maxItems": 100,
                          "type": "array",
                          "items": {
                            "required": [
                              "key",
                              "value"
                            ],
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              },
                              "unit": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "imageUploadIds": {
                          "maxItems": 100,
                          "uniqueItems": true,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        },
                        "serviceConsent": {
                          "type": "object",
                          "properties": {
                            "startImmediately": {
                              "type": "boolean"
                            },
                            "acknowledgeWithdrawal": {
                              "type": "boolean"
                            },
                            "version": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImportReceipt"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportReceipt"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportReceipt"
                }
              }
            }
          },
          "400": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "415": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/imports/{importId}": {
      "get": {
        "tags": [
          "Integration"
        ],
        "parameters": [
          {
            "name": "importId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImportStatus"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportStatus"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportStatus"
                }
              }
            }
          },
          "400": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "415": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Problem Details with code and traceId",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "type": [
                        "null",
                        "integer",
                        "string"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "DecayTierPolicy": {
        "type": "object",
        "properties": {
          "minPriceRequiredBelowMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "intervalMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "intervalHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ratePercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "decimal"
          },
          "maxStartDelayDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "defaultStartDelayDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxFloorPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "allowedIntervalMinutes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          "minIntervalHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxIntervalHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "intervalStepHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "minRatePercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "decimal"
          },
          "presets": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/PriceDecayPreset"
            }
          }
        }
      },
      "ImageUploadReceipt": {
        "required": [
          "uploadId",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string",
            "format": "uuid"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ImportReceipt": {
        "required": [
          "importId",
          "state",
          "submittedAt",
          "itemCount",
          "statusUrl"
        ],
        "type": "object",
        "properties": {
          "importId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string"
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          },
          "itemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "statusUrl": {
            "type": "string"
          }
        }
      },
      "ImportResult": {
        "required": [
          "index",
          "externalId",
          "state",
          "itemId",
          "listingStatus",
          "code",
          "fieldErrors"
        ],
        "type": "object",
        "properties": {
          "index": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "externalId": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "itemId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "listingStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "code": {
            "type": [
              "null",
              "string"
            ]
          },
          "fieldErrors": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "ImportStatus": {
        "required": [
          "importId",
          "state",
          "submittedAt",
          "itemCount",
          "results"
        ],
        "type": "object",
        "properties": {
          "importId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string"
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          },
          "itemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportResult"
            }
          }
        }
      },
      "IntegrationCategory": {
        "required": [
          "id",
          "parentId",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "parentId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "IntegrationCity": {
        "required": [
          "id",
          "name",
          "region"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "region": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IntegrationCityPage": {
        "required": [
          "items",
          "nextAfter"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegrationCity"
            }
          },
          "nextAfter": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "IntegrationConsentNotice": {
        "required": [
          "version",
          "startText",
          "acknowledgeText",
          "notice"
        ],
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "startText": {
            "type": "string"
          },
          "acknowledgeText": {
            "type": "string"
          },
          "notice": {
            "type": "string"
          }
        }
      },
      "IntegrationLimits": {
        "required": [
          "maxBatchItems",
          "maxBodyBytes",
          "maxImageBytes",
          "submissionsPerMinute",
          "uploadsPerMinute",
          "readsPerMinute"
        ],
        "type": "object",
        "properties": {
          "maxBatchItems": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxBodyBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxImageBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "submissionsPerMinute": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "uploadsPerMinute": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "readsPerMinute": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "IntegrationListingOptions": {
        "required": [
          "currencies",
          "tiers",
          "dealTypes",
          "delivery",
          "decayModes",
          "limits",
          "serviceConsent"
        ],
        "type": "object",
        "properties": {
          "currencies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tiers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dealTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "delivery": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "decayModes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limits": {
            "$ref": "#/components/schemas/ListingPolicy"
          },
          "serviceConsent": {
            "$ref": "#/components/schemas/IntegrationConsentNotice"
          }
        }
      },
      "IntegrationProfile": {
        "required": [
          "userId",
          "culture",
          "scopes",
          "limits"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "culture": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limits": {
            "$ref": "#/components/schemas/IntegrationLimits"
          }
        }
      },
      "ListingPolicy": {
        "type": "object",
        "properties": {
          "listingDurationDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "lockedItemRetentionDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "expiredItemRetentionDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pausedItemRetentionDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "freeDescriptionMaxLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "paidDescriptionMaxLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "freeImageLimit": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "paidImageLimit": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "freeDecay": {
            "$ref": "#/components/schemas/DecayTierPolicy"
          },
          "paidDecay": {
            "$ref": "#/components/schemas/DecayTierPolicy"
          }
        }
      },
      "PriceDecayPreset": {
        "type": "object",
        "properties": {
          "intervalMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "intervalHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ratePercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "decimal"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "pds_live_<publicId>.<secret>"
      }
    }
  },
  "tags": [
    {
      "name": "Integration"
    }
  ]
}