{
  "openapi": "3.0.1",
  "info": {
    "title": "DREM_API",
    "version": "v1"
  },
  "paths": {
    "/BufferTransfer/Create": {
      "post": {
        "tags": [
          "BufferTransfer"
        ],
        "summary": "Create BufferTransfer",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BufferTransfer"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BufferTransfer"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BufferTransfer"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/BufferTransfer/Update/{bufferTransferId}": {
      "put": {
        "tags": [
          "BufferTransfer"
        ],
        "summary": "Update Buffer Transfer",
        "parameters": [
          {
            "name": "bufferTransferId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BufferTransferBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BufferTransfer"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BufferTransfer"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BufferTransfer"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/BufferTransfer/Delete/{bufferTransferId}": {
      "delete": {
        "tags": [
          "BufferTransfer"
        ],
        "summary": "Delete BufferTransfer",
        "parameters": [
          {
            "name": "bufferTransferId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/BufferTransfer/ListAllForProject/{projectId}": {
      "get": {
        "tags": [
          "BufferTransfer"
        ],
        "summary": "List all projects for administration purposes",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BufferTransfer"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BufferTransfer"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BufferTransfer"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/DailyPayout/Create": {
      "post": {
        "tags": [
          "DailyPayout"
        ],
        "summary": "Create DailyPayout",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DailyPayout"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DailyPayout"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DailyPayout"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/DailyPayout/Update/{dailyPayoutId}": {
      "put": {
        "tags": [
          "DailyPayout"
        ],
        "summary": "Create DailyPayout",
        "parameters": [
          {
            "name": "dailyPayoutId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DailyPayoutBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DailyPayout"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DailyPayout"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DailyPayout"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/DailyPayout/Delete/{dailyPayoutId}": {
      "delete": {
        "tags": [
          "DailyPayout"
        ],
        "summary": "Delete DailyPayout",
        "parameters": [
          {
            "name": "dailyPayoutId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/DailyPayout/ListAllForProject/{projectId}": {
      "get": {
        "tags": [
          "DailyPayout"
        ],
        "summary": "List all projects for administration purposes",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DailyPayout"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DailyPayout"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DailyPayout"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ImageMeta/Create": {
      "post": {
        "tags": [
          "ImageMeta"
        ],
        "summary": "Create ImageMeta",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImageMeta"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageMeta"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageMeta"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ImageMeta/Update/{imageId}": {
      "put": {
        "tags": [
          "ImageMeta"
        ],
        "summary": "Create ImageMeta",
        "parameters": [
          {
            "name": "imageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaWithId"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaWithId"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaWithId"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ImageMetaWithId"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImageMeta"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageMeta"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageMeta"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ImageMeta/Delete/{imageId}": {
      "delete": {
        "tags": [
          "ImageMeta"
        ],
        "summary": "Delete ImageMeta",
        "parameters": [
          {
            "name": "imageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ImageMeta/ListAllForProject/{projectId}": {
      "get": {
        "tags": [
          "ImageMeta"
        ],
        "summary": "List all projects for administration purposes",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageMeta"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageMeta"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImageMeta"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Order/Create": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Create Order",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Order/Update/{orderId}": {
      "put": {
        "tags": [
          "Order"
        ],
        "summary": "Create Order",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Order/Delete/{orderId}": {
      "delete": {
        "tags": [
          "Order"
        ],
        "summary": "Delete Order",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Order/ListAllBidsForProject/{asaId}": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "List all asa bids",
        "parameters": [
          {
            "name": "asaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Order/ListAllOffersForProject/{asaId}": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "List all asa bids",
        "parameters": [
          {
            "name": "asaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Project/Create": {
      "post": {
        "tags": [
          "Project"
        ],
        "summary": "Create project",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Project/Update": {
      "post": {
        "tags": [
          "Project"
        ],
        "summary": "Update project",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectWithId"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectWithId"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectWithId"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectWithId"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Project/Update/{projectId}": {
      "put": {
        "tags": [
          "Project"
        ],
        "summary": "Update project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Project/IssueNFT/{projectId}": {
      "put": {
        "tags": [
          "Project"
        ],
        "summary": "Issues NFT - The project that have all required info submitted and does not have its own ASA yet, can create NFT",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Project/Delete/{id}": {
      "post": {
        "tags": [
          "Project"
        ],
        "summary": "Delete project",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Project/ListAll": {
      "get": {
        "tags": [
          "Project"
        ],
        "summary": "List all projects for administration purposes",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Project"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Project"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Project"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Project/List": {
      "get": {
        "tags": [
          "Project"
        ],
        "summary": "List all publicly visible projects",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectWithValueSets"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectWithValueSets"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectWithValueSets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Project/GetDetail/{urlId}": {
      "get": {
        "tags": [
          "Project"
        ],
        "summary": "List all publicly visible projects",
        "parameters": [
          {
            "name": "urlId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDetail"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/REC/Register": {
      "post": {
        "tags": [
          "REC"
        ],
        "summary": "Register real estate company",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/REC"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/REC"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/REC"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/REC"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/REC"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/REC"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/REC"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/REC/CreateOpportunity": {
      "post": {
        "tags": [
          "REC"
        ],
        "summary": "Register real estate company",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/REC/ListAllOpportunities": {
      "get": {
        "tags": [
          "REC"
        ],
        "summary": "List All Opportunities registered from rec",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/REC/GetAll": {
      "get": {
        "tags": [
          "REC"
        ],
        "summary": "Lists all registered RECs",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/REC"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/REC"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/REC"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/REC/GetAllAuth": {
      "get": {
        "tags": [
          "REC"
        ],
        "summary": "Lists all registered RECs",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/REC"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/REC"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/REC"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Shareholder/Create": {
      "post": {
        "tags": [
          "Shareholder"
        ],
        "summary": "Create Shareholder",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Shareholder"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Shareholder"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Shareholder"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Shareholder/Update/{shareholderId}": {
      "put": {
        "tags": [
          "Shareholder"
        ],
        "summary": "Create Shareholder",
        "parameters": [
          {
            "name": "shareholderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShareholderBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Shareholder"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Shareholder"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Shareholder"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Shareholder/Delete/{shareholderId}": {
      "delete": {
        "tags": [
          "Shareholder"
        ],
        "summary": "Delete Shareholder",
        "parameters": [
          {
            "name": "shareholderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Shareholder/ListAllForAsset/{asaId}": {
      "get": {
        "tags": [
          "Shareholder"
        ],
        "summary": "List all projects for administration purposes",
        "parameters": [
          {
            "name": "asaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Shareholder"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Shareholder"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Shareholder"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Transfer/Create": {
      "post": {
        "tags": [
          "Transfer"
        ],
        "summary": "Create Transfer",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Transfer/Update/{transferId}": {
      "put": {
        "tags": [
          "Transfer"
        ],
        "summary": "Create Transfer",
        "parameters": [
          {
            "name": "transferId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Transfer/Delete/{transferId}": {
      "delete": {
        "tags": [
          "Transfer"
        ],
        "summary": "Delete Transfer",
        "parameters": [
          {
            "name": "transferId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Transfer/ListAllForAsset/{asaId}": {
      "get": {
        "tags": [
          "Transfer"
        ],
        "summary": "List all projects for administration purposes",
        "parameters": [
          {
            "name": "asaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Transfer"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Transfer"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Transfer"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/User/Me": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Returns authenticated user account",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfo"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfo"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ValueSet/Set": {
      "post": {
        "tags": [
          "ValueSet"
        ],
        "summary": "Register real estate company",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ValueSetBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValueSetBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValueSetBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValueSetBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValueSet"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValueSet"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValueSet"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ValueSet/DeleteSet/{valueSetCode}": {
      "post": {
        "tags": [
          "ValueSet"
        ],
        "summary": "Removes value set",
        "parameters": [
          {
            "name": "valueSetCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ValueSet/DeleteItem/{valueSetCode}/{itemCode}": {
      "post": {
        "tags": [
          "ValueSet"
        ],
        "summary": "Removes value set item",
        "parameters": [
          {
            "name": "valueSetCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/ValueSet/Get/{valueSetCode}": {
      "get": {
        "tags": [
          "ValueSet"
        ],
        "summary": "Get specific value set in dictionary form key->Text",
        "parameters": [
          {
            "name": "valueSetCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/ValueSet/List": {
      "get": {
        "tags": [
          "ValueSet"
        ],
        "summary": "Get specific value set in dictionary form key->Text",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Version": {
      "get": {
        "tags": [
          "Version"
        ],
        "summary": "Returns version of the current api\r\n\r\nFor development purposes it returns version of assembly, for production purposes it returns string build by pipeline which contains project information, pipeline build version, assembly version, and build date",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Version"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Version"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Version"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Voting/CreateVotingQuestion": {
      "post": {
        "tags": [
          "Voting"
        ],
        "summary": "Create Voting Question",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VotingQuestion"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingQuestion"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingQuestion"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Voting/CreateVotingResult": {
      "post": {
        "tags": [
          "Voting"
        ],
        "summary": "Create Voting Result",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VotingResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Voting/UpdateVotingQuestion/{votingQuestionId}": {
      "put": {
        "tags": [
          "Voting"
        ],
        "summary": "Update VotingQuestion",
        "parameters": [
          {
            "name": "votingQuestionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionWithId"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionWithId"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionWithId"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingQuestionWithId"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VotingQuestion"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingQuestion"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingQuestion"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Voting/UpdateVotingResult/{votingResultId}": {
      "put": {
        "tags": [
          "Voting"
        ],
        "summary": "Update VotingQuestion",
        "parameters": [
          {
            "name": "votingResultId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultWithId"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultWithId"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultWithId"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VotingResultWithId"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VotingResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VotingResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Voting/DeleteVotingQuestion/{votingQuestionId}": {
      "delete": {
        "tags": [
          "Voting"
        ],
        "summary": "Delete Voting Question",
        "parameters": [
          {
            "name": "votingQuestionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Voting/DeleteVotingResult/{votingResultId}": {
      "delete": {
        "tags": [
          "Voting"
        ],
        "summary": "Delete Voting Result",
        "parameters": [
          {
            "name": "votingResultId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    },
    "/Voting/ListAllForAsset/{projectId}": {
      "get": {
        "tags": [
          "Voting"
        ],
        "summary": "List all projects for administration purposes",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VotingBase"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VotingBase"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VotingBase"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "oauth2": [ ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "BufferTransfer": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Project.Id",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Transfer reason",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Tx amount",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "Tx currency",
            "nullable": true
          },
          "time": {
            "type": "string",
            "description": "Time",
            "format": "date-time"
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Transfer to or from the project money buffer"
      },
      "BufferTransferBase": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Project.Id",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Transfer reason",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Tx amount",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "Tx currency",
            "nullable": true
          },
          "time": {
            "type": "string",
            "description": "Time",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Buffer transfer transaction s"
      },
      "DailyPayout": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Project.Id",
            "nullable": true
          },
          "txId": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Published in the blockchain under tx ids",
            "nullable": true
          },
          "aggregatedAmount": {
            "type": "number",
            "description": "Amout",
            "format": "double"
          },
          "asset": {
            "type": "integer",
            "description": "Asset id, eg usdc mainnet algo asset",
            "format": "int64"
          },
          "receiverParty": {
            "type": "string",
            "description": "Investors / REC / DREM / Liquidity providers",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Pyout item"
      },
      "DailyPayoutBase": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Project.Id",
            "nullable": true
          },
          "txId": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Published in the blockchain under tx ids",
            "nullable": true
          },
          "aggregatedAmount": {
            "type": "number",
            "description": "Amout",
            "format": "double"
          },
          "asset": {
            "type": "integer",
            "description": "Asset id, eg usdc mainnet algo asset",
            "format": "int64"
          },
          "receiverParty": {
            "type": "string",
            "description": "Investors / REC / DREM / Liquidity providers",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "List of daily payouts"
      },
      "ImageMeta": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Project.Id",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the picture",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the picture",
            "nullable": true
          },
          "dateOfPicture": {
            "type": "string",
            "description": "Time when picture has been taken",
            "format": "date-time"
          },
          "src": {
            "type": "string",
            "description": "Full picture resolution",
            "nullable": true
          },
          "thumbnail": {
            "type": "string",
            "description": "Small picture",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Image meta information db model"
      },
      "ImageMetaBase": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Project.Id",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the picture",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the picture",
            "nullable": true
          },
          "dateOfPicture": {
            "type": "string",
            "description": "Time when picture has been taken",
            "format": "date-time"
          },
          "src": {
            "type": "string",
            "description": "Full picture resolution",
            "nullable": true
          },
          "thumbnail": {
            "type": "string",
            "description": "Small picture",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Picture metadata for specific project"
      },
      "ImageMetaWithId": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Project.Id",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the picture",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the picture",
            "nullable": true
          },
          "dateOfPicture": {
            "type": "string",
            "description": "Time when picture has been taken",
            "format": "date-time"
          },
          "src": {
            "type": "string",
            "description": "Full picture resolution",
            "nullable": true
          },
          "thumbnail": {
            "type": "string",
            "description": "Small picture",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Image meta"
      },
      "Opportunity": {
        "type": "object",
        "properties": {
          "recName": {
            "type": "string",
            "nullable": true
          },
          "recID": {
            "type": "string",
            "nullable": true
          },
          "assetType": {
            "type": "string",
            "nullable": true
          },
          "bedRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "bathRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "livingAreaSqft": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "nonLivingAreaSqft": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "landSqft": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "yearBuilt": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "asaId": {
            "type": "integer",
            "format": "int64"
          },
          "assetValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "assetValueCurrency": {
            "type": "string",
            "nullable": true
          },
          "estimatedIRR": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "ownerFirstName": {
            "type": "string",
            "nullable": true
          },
          "ownerLastName": {
            "type": "string",
            "nullable": true
          },
          "ownerMiddleName": {
            "type": "string",
            "nullable": true
          },
          "ownerPhoneNumber": {
            "type": "string",
            "nullable": true
          },
          "ownerEmail": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "DB model for opportunity"
      },
      "OpportunityBase": {
        "type": "object",
        "properties": {
          "recName": {
            "type": "string",
            "nullable": true
          },
          "recID": {
            "type": "string",
            "nullable": true
          },
          "assetType": {
            "type": "string",
            "nullable": true
          },
          "bedRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "bathRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "livingAreaSqft": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "nonLivingAreaSqft": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "landSqft": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "yearBuilt": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "asaId": {
            "type": "integer",
            "format": "int64"
          },
          "assetValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "assetValueCurrency": {
            "type": "string",
            "nullable": true
          },
          "estimatedIRR": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "ownerFirstName": {
            "type": "string",
            "nullable": true
          },
          "ownerLastName": {
            "type": "string",
            "nullable": true
          },
          "ownerMiddleName": {
            "type": "string",
            "nullable": true
          },
          "ownerPhoneNumber": {
            "type": "string",
            "nullable": true
          },
          "ownerEmail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Opportunty from REC to DREM"
      },
      "Order": {
        "type": "object",
        "properties": {
          "price": {
            "type": "number",
            "description": "Calculated price between the first asa and second asa with respect for assets decimals",
            "format": "double"
          },
          "assetReceiveAmount": {
            "type": "integer",
            "description": "Amount of asset to be recieved",
            "format": "int64"
          },
          "assetPayAmount": {
            "type": "integer",
            "description": "Amount of asset to be paid",
            "format": "int64"
          },
          "assetToReceiveId": {
            "type": "integer",
            "description": "Asset id to be received. If algo, than null",
            "format": "int64",
            "nullable": true
          },
          "assetToPayId": {
            "type": "integer",
            "description": "Asset id to be paid. If algo, than null",
            "format": "int64",
            "nullable": true
          },
          "assetReceiveDecimals": {
            "type": "integer",
            "description": "Receive asset decimals",
            "format": "int32"
          },
          "assetPayDecimals": {
            "type": "integer",
            "description": "Pay asset decimals",
            "format": "int32"
          },
          "escrowAddress": {
            "type": "string",
            "description": "Address of the escrow account",
            "nullable": true
          },
          "ownerAddress": {
            "type": "string",
            "description": "Address of the market maker account",
            "nullable": true
          },
          "round": {
            "type": "integer",
            "description": "Round when the order has been placed",
            "format": "int64"
          },
          "time": {
            "type": "string",
            "description": "Time when order has been placed",
            "format": "date-time"
          },
          "appId": {
            "type": "integer",
            "description": "App id",
            "format": "int64"
          },
          "version": {
            "type": "string",
            "description": "Version of the approval application",
            "nullable": true
          },
          "side": {
            "$ref": "#/components/schemas/Side"
          },
          "id": {
            "type": "string",
            "description": "Unique id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Odred db model"
      },
      "OrderBase": {
        "type": "object",
        "properties": {
          "price": {
            "type": "number",
            "description": "Calculated price between the first asa and second asa with respect for assets decimals",
            "format": "double"
          },
          "assetReceiveAmount": {
            "type": "integer",
            "description": "Amount of asset to be recieved",
            "format": "int64"
          },
          "assetPayAmount": {
            "type": "integer",
            "description": "Amount of asset to be paid",
            "format": "int64"
          },
          "assetToReceiveId": {
            "type": "integer",
            "description": "Asset id to be received. If algo, than null",
            "format": "int64",
            "nullable": true
          },
          "assetToPayId": {
            "type": "integer",
            "description": "Asset id to be paid. If algo, than null",
            "format": "int64",
            "nullable": true
          },
          "assetReceiveDecimals": {
            "type": "integer",
            "description": "Receive asset decimals",
            "format": "int32"
          },
          "assetPayDecimals": {
            "type": "integer",
            "description": "Pay asset decimals",
            "format": "int32"
          },
          "escrowAddress": {
            "type": "string",
            "description": "Address of the escrow account",
            "nullable": true
          },
          "ownerAddress": {
            "type": "string",
            "description": "Address of the market maker account",
            "nullable": true
          },
          "round": {
            "type": "integer",
            "description": "Round when the order has been placed",
            "format": "int64"
          },
          "time": {
            "type": "string",
            "description": "Time when order has been placed",
            "format": "date-time"
          },
          "appId": {
            "type": "integer",
            "description": "App id",
            "format": "int64"
          },
          "version": {
            "type": "string",
            "description": "Version of the approval application",
            "nullable": true
          },
          "side": {
            "$ref": "#/components/schemas/Side"
          }
        },
        "additionalProperties": false,
        "description": "Hittable Bid or Offer in the escrow account"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "Project": {
        "type": "object",
        "properties": {
          "urlId": {
            "type": "string",
            "description": "url friendly name",
            "nullable": true
          },
          "asa": {
            "type": "integer",
            "description": "Underlying algorand standard asset",
            "format": "int64",
            "nullable": true
          },
          "top": {
            "type": "boolean",
            "description": "is top offer"
          },
          "lat": {
            "type": "number",
            "description": "Lattitude",
            "format": "double",
            "nullable": true
          },
          "lng": {
            "type": "number",
            "description": "Longtitude",
            "format": "double",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Project name",
            "nullable": true
          },
          "irr": {
            "type": "number",
            "description": "Interest rate return",
            "format": "double",
            "nullable": true
          },
          "image": {
            "type": "string",
            "description": "Image",
            "nullable": true
          },
          "valuation": {
            "type": "number",
            "description": "Current valuation",
            "format": "double"
          },
          "collected": {
            "type": "number",
            "description": "Collected",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "Currency",
            "nullable": true
          },
          "propertyType": {
            "type": "string",
            "description": "property type value set",
            "nullable": true
          },
          "investmentType": {
            "type": "string",
            "description": "investment type value set",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "region value set",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "country value set code",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "city value set code",
            "nullable": true
          },
          "countdown": {
            "type": "string",
            "description": "When project hit this time, it should get canceled",
            "format": "date-time",
            "nullable": true
          },
          "showToPublic": {
            "type": "boolean",
            "description": "The project is publicly visible"
          },
          "issuerAccount": {
            "type": "string",
            "description": "The account of the issuer is allowed to ask questions and set its results",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Unique id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "db model for project"
      },
      "ProjectBase": {
        "type": "object",
        "properties": {
          "urlId": {
            "type": "string",
            "description": "url friendly name",
            "nullable": true
          },
          "asa": {
            "type": "integer",
            "description": "Underlying algorand standard asset",
            "format": "int64",
            "nullable": true
          },
          "top": {
            "type": "boolean",
            "description": "is top offer"
          },
          "lat": {
            "type": "number",
            "description": "Lattitude",
            "format": "double",
            "nullable": true
          },
          "lng": {
            "type": "number",
            "description": "Longtitude",
            "format": "double",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Project name",
            "nullable": true
          },
          "irr": {
            "type": "number",
            "description": "Interest rate return",
            "format": "double",
            "nullable": true
          },
          "image": {
            "type": "string",
            "description": "Image",
            "nullable": true
          },
          "valuation": {
            "type": "number",
            "description": "Current valuation",
            "format": "double"
          },
          "collected": {
            "type": "number",
            "description": "Collected",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "Currency",
            "nullable": true
          },
          "propertyType": {
            "type": "string",
            "description": "property type value set",
            "nullable": true
          },
          "investmentType": {
            "type": "string",
            "description": "investment type value set",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "region value set",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "country value set code",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "city value set code",
            "nullable": true
          },
          "countdown": {
            "type": "string",
            "description": "When project hit this time, it should get canceled",
            "format": "date-time",
            "nullable": true
          },
          "showToPublic": {
            "type": "boolean",
            "description": "The project is publicly visible"
          },
          "issuerAccount": {
            "type": "string",
            "description": "The account of the issuer is allowed to ask questions and set its results",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Project to show on the main screen"
      },
      "ProjectDetail": {
        "type": "object",
        "properties": {
          "project": {
            "$ref": "#/components/schemas/ProjectWithValueSets"
          },
          "dailyPayouts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DailyPayoutBase"
            },
            "description": "List of daily payments to owners of asa",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImageMetaBase"
            },
            "description": "List of images of the estate",
            "nullable": true
          },
          "bufferTxs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BufferTransferBase"
            },
            "description": "List of images of the estate",
            "nullable": true
          },
          "shareholders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShareholderBase"
            },
            "description": "List of all shareholders",
            "nullable": true
          },
          "transfers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransferBase"
            },
            "description": "List of all asset transfers. If the trading in place through known escrow smart contracts, than it shows also underlying price",
            "nullable": true
          },
          "bids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Order"
            },
            "description": "List of all current bids on the escrow accounts",
            "nullable": true
          },
          "offers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderBase"
            },
            "description": "List of all current offers on the escrow accounts",
            "nullable": true
          },
          "votings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VotingBase"
            },
            "description": "Votings - List of questions with public auditable results",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Project details"
      },
      "ProjectWithId": {
        "type": "object",
        "properties": {
          "urlId": {
            "type": "string",
            "description": "url friendly name",
            "nullable": true
          },
          "asa": {
            "type": "integer",
            "description": "Underlying algorand standard asset",
            "format": "int64",
            "nullable": true
          },
          "top": {
            "type": "boolean",
            "description": "is top offer"
          },
          "lat": {
            "type": "number",
            "description": "Lattitude",
            "format": "double",
            "nullable": true
          },
          "lng": {
            "type": "number",
            "description": "Longtitude",
            "format": "double",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Project name",
            "nullable": true
          },
          "irr": {
            "type": "number",
            "description": "Interest rate return",
            "format": "double",
            "nullable": true
          },
          "image": {
            "type": "string",
            "description": "Image",
            "nullable": true
          },
          "valuation": {
            "type": "number",
            "description": "Current valuation",
            "format": "double"
          },
          "collected": {
            "type": "number",
            "description": "Collected",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "Currency",
            "nullable": true
          },
          "propertyType": {
            "type": "string",
            "description": "property type value set",
            "nullable": true
          },
          "investmentType": {
            "type": "string",
            "description": "investment type value set",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "region value set",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "country value set code",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "city value set code",
            "nullable": true
          },
          "countdown": {
            "type": "string",
            "description": "When project hit this time, it should get canceled",
            "format": "date-time",
            "nullable": true
          },
          "showToPublic": {
            "type": "boolean",
            "description": "The project is publicly visible"
          },
          "issuerAccount": {
            "type": "string",
            "description": "The account of the issuer is allowed to ask questions and set its results",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Unique id",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Project with id"
      },
      "ProjectWithValueSets": {
        "type": "object",
        "properties": {
          "urlId": {
            "type": "string",
            "description": "url friendly name",
            "nullable": true
          },
          "asa": {
            "type": "integer",
            "description": "Underlying algorand standard asset",
            "format": "int64",
            "nullable": true
          },
          "top": {
            "type": "boolean",
            "description": "is top offer"
          },
          "lat": {
            "type": "number",
            "description": "Lattitude",
            "format": "double",
            "nullable": true
          },
          "lng": {
            "type": "number",
            "description": "Longtitude",
            "format": "double",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Project name",
            "nullable": true
          },
          "irr": {
            "type": "number",
            "description": "Interest rate return",
            "format": "double",
            "nullable": true
          },
          "image": {
            "type": "string",
            "description": "Image",
            "nullable": true
          },
          "valuation": {
            "type": "number",
            "description": "Current valuation",
            "format": "double"
          },
          "collected": {
            "type": "number",
            "description": "Collected",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "description": "Currency",
            "nullable": true
          },
          "propertyType": {
            "type": "string",
            "description": "property type value set",
            "nullable": true
          },
          "investmentType": {
            "type": "string",
            "description": "investment type value set",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "region value set",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "country value set code",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "city value set code",
            "nullable": true
          },
          "countdown": {
            "type": "string",
            "description": "When project hit this time, it should get canceled",
            "format": "date-time",
            "nullable": true
          },
          "showToPublic": {
            "type": "boolean",
            "description": "The project is publicly visible"
          },
          "issuerAccount": {
            "type": "string",
            "description": "The account of the issuer is allowed to ask questions and set its results",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Unique id",
            "nullable": true
          },
          "currencyName": {
            "type": "string",
            "description": "Currency",
            "nullable": true
          },
          "propertyTypeName": {
            "type": "string",
            "description": "Property type",
            "nullable": true
          },
          "investmentTypeName": {
            "type": "string",
            "description": "investment type",
            "nullable": true
          },
          "regionName": {
            "type": "string",
            "description": "region name",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "description": "country name",
            "nullable": true
          },
          "cityName": {
            "type": "string",
            "description": "city name",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Project with filled in value set names in specific language"
      },
      "REC": {
        "type": "object",
        "properties": {
          "orgName": {
            "type": "string",
            "description": "Org name",
            "nullable": true
          },
          "orgTaxID": {
            "type": "string",
            "description": "Tax id",
            "nullable": true
          },
          "orgPhoneNumber": {
            "type": "string",
            "description": "phone",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "description": "address",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "description": "Address line 2",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "city",
            "nullable": true
          },
          "state": {
            "type": "string",
            "description": "State",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "country",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "postal code",
            "nullable": true
          },
          "contactFirstName": {
            "type": "string",
            "description": "contact first name",
            "nullable": true
          },
          "contactLastName": {
            "type": "string",
            "description": "contact last name",
            "nullable": true
          },
          "contactMiddleName": {
            "type": "string",
            "description": "middle name",
            "nullable": true
          },
          "contactPhoneNumber": {
            "type": "string",
            "description": "phone",
            "nullable": true
          },
          "contactEmail": {
            "type": "string",
            "description": "email",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time updated",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Real estate company db model"
      },
      "Shareholder": {
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "description": "Account address",
            "nullable": true
          },
          "share": {
            "type": "number",
            "description": "Share",
            "format": "double"
          },
          "projectAsset": {
            "type": "integer",
            "description": "Project asa id",
            "format": "int64"
          },
          "id": {
            "type": "string",
            "description": "Unique id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time updated",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Shareholder db model"
      },
      "ShareholderBase": {
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "description": "Account address",
            "nullable": true
          },
          "share": {
            "type": "number",
            "description": "Share",
            "format": "double"
          },
          "projectAsset": {
            "type": "integer",
            "description": "Project asa id",
            "format": "int64"
          }
        },
        "additionalProperties": false,
        "description": "Shareholder"
      },
      "Side": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "Order side - buy|sell",
        "format": "int32"
      },
      "Transfer": {
        "type": "object",
        "properties": {
          "fromAccount": {
            "type": "string",
            "description": "From account",
            "nullable": true
          },
          "toAccount": {
            "type": "string",
            "description": "To account",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount",
            "format": "double"
          },
          "price": {
            "type": "number",
            "description": "Price if can be detected from the escrow smart contract",
            "format": "double",
            "nullable": true
          },
          "priceAsset": {
            "type": "integer",
            "description": "If price uknown always null\r\nIf price known and underlying trading asset is algo, asset is null and price filled in, if stable coin then ASA id",
            "format": "int64"
          },
          "projectAsset": {
            "type": "integer",
            "description": "Project asa id",
            "format": "int64"
          },
          "id": {
            "type": "string",
            "description": "Unique id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Transfer from or to the project money buffer"
      },
      "TransferBase": {
        "type": "object",
        "properties": {
          "fromAccount": {
            "type": "string",
            "description": "From account",
            "nullable": true
          },
          "toAccount": {
            "type": "string",
            "description": "To account",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "Amount",
            "format": "double"
          },
          "price": {
            "type": "number",
            "description": "Price if can be detected from the escrow smart contract",
            "format": "double",
            "nullable": true
          },
          "priceAsset": {
            "type": "integer",
            "description": "If price uknown always null\r\nIf price known and underlying trading asset is algo, asset is null and price filled in, if stable coin then ASA id",
            "format": "int64"
          },
          "projectAsset": {
            "type": "integer",
            "description": "Project asa id",
            "format": "int64"
          }
        },
        "additionalProperties": false,
        "description": "List of all asa transfers, except of transfers to know escrow accounts meant for trading"
      },
      "UserInfo": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Crypto address",
            "nullable": true
          },
          "isAdmin": {
            "type": "boolean",
            "description": "Is admin"
          },
          "kycVerified": {
            "type": "boolean",
            "description": "is KYC verified"
          }
        },
        "additionalProperties": false,
        "description": "Show user information"
      },
      "ValueSet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "id",
            "nullable": true
          },
          "valueSetCode": {
            "type": "string",
            "description": "value set code",
            "nullable": true
          },
          "itemCode": {
            "type": "string",
            "description": "value set item code",
            "nullable": true
          },
          "itemValue": {
            "type": "string",
            "description": "localization text in specific language",
            "nullable": true
          },
          "language": {
            "type": "string",
            "description": "language",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "value set db model"
      },
      "ValueSetBase": {
        "type": "object",
        "properties": {
          "valueSetCode": {
            "type": "string",
            "description": "value set code",
            "nullable": true
          },
          "itemCode": {
            "type": "string",
            "description": "item code",
            "nullable": true
          },
          "itemValue": {
            "type": "string",
            "description": "item value",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "value set"
      },
      "Version": {
        "type": "object",
        "properties": {
          "instanceIdentifier": {
            "type": "string",
            "description": "Instance identifier. Every application runtime has its own guid. If 3 pods are launched in kubernetes, it is possible to identify instance by this identifier",
            "nullable": true
          },
          "instanceStartedAt": {
            "type": "string",
            "description": "Last time when instance has been reset",
            "nullable": true
          },
          "applicationName": {
            "type": "string",
            "description": "Application name",
            "nullable": true
          },
          "dockerImageVersion": {
            "type": "string",
            "description": "Docker image version",
            "nullable": true
          },
          "buildNumber": {
            "type": "string",
            "description": "Build number from devops or github actions",
            "nullable": true
          },
          "dllVersion": {
            "type": "string",
            "description": "Application dll version",
            "nullable": true
          },
          "buildTime": {
            "type": "string",
            "description": "Dll build time",
            "nullable": true
          },
          "culture": {
            "type": "string",
            "description": "Culture info",
            "nullable": true
          },
          "emailConfigured": {
            "type": "boolean",
            "description": "Shows info weather email service is configured"
          },
          "redisConfigured": {
            "type": "boolean",
            "description": "Shows info weather persistant redis service is configured"
          },
          "smsConfigured": {
            "type": "boolean",
            "description": "Shows info weather SMS service is configured"
          },
          "storageTest": {
            "type": "string",
            "description": "Storage test",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Version model"
      },
      "VotingBase": {
        "type": "object",
        "properties": {
          "question": {
            "$ref": "#/components/schemas/VotingQuestionBase"
          },
          "result": {
            "$ref": "#/components/schemas/VotingResultBase"
          }
        },
        "additionalProperties": false,
        "description": "Public voting"
      },
      "VotingQuestion": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string",
            "description": "Tx Id with the question",
            "nullable": true
          },
          "questionerAccount": {
            "type": "string",
            "description": "The questioner",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title",
            "nullable": true
          },
          "question": {
            "type": "string",
            "description": "Question",
            "nullable": true
          },
          "duration": {
            "type": "integer",
            "description": "Duration",
            "format": "int32"
          },
          "category": {
            "type": "string",
            "description": "Category",
            "nullable": true
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Options",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Voting question base"
      },
      "VotingQuestionBase": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string",
            "description": "Tx Id with the question",
            "nullable": true
          },
          "questionerAccount": {
            "type": "string",
            "description": "The questioner",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title",
            "nullable": true
          },
          "question": {
            "type": "string",
            "description": "Question",
            "nullable": true
          },
          "duration": {
            "type": "integer",
            "description": "Duration",
            "format": "int32"
          },
          "category": {
            "type": "string",
            "description": "Category",
            "nullable": true
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Options",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Vote Coin AMS0001 https://scholtz.github.io/AMS/AMS-0001/AMS-0001.html specs"
      },
      "VotingQuestionWithId": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string",
            "description": "Tx Id with the question",
            "nullable": true
          },
          "questionerAccount": {
            "type": "string",
            "description": "The questioner",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title",
            "nullable": true
          },
          "question": {
            "type": "string",
            "description": "Question",
            "nullable": true
          },
          "duration": {
            "type": "integer",
            "description": "Duration",
            "format": "int32"
          },
          "category": {
            "type": "string",
            "description": "Category",
            "nullable": true
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Options",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "question in voting"
      },
      "VotingResult": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string",
            "description": "Tx Id with the results",
            "nullable": true
          },
          "questionTxId": {
            "type": "string",
            "description": "Identifier of the question asked",
            "nullable": true
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double"
            },
            "description": "Results calculated with rule 1 share = 1 vote",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          },
          "created": {
            "type": "string",
            "description": "time created",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "description": "time of last update",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Result of the voting"
      },
      "VotingResultBase": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string",
            "description": "Tx Id with the results",
            "nullable": true
          },
          "questionTxId": {
            "type": "string",
            "description": "Identifier of the question asked",
            "nullable": true
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double"
            },
            "description": "Results calculated with rule 1 share = 1 vote",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Result"
      },
      "VotingResultWithId": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string",
            "description": "Tx Id with the results",
            "nullable": true
          },
          "questionTxId": {
            "type": "string",
            "description": "Identifier of the question asked",
            "nullable": true
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double"
            },
            "description": "Results calculated with rule 1 share = 1 vote",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Id",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "voting result"
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "apiKey",
        "description": "Algo signed auth tx",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}