diff --git a/app/routes/definitions/generate.py b/app/routes/definitions/generate.py
index fc200c6ad9d82cf15e24e418256ea4f2aa74ae64..df7e83e2b737147adbb0217c1571027b1472e833 100644
--- a/app/routes/definitions/generate.py
+++ b/app/routes/definitions/generate.py
@@ -1,15 +1,12 @@
 from mitm_tooling.transformation.superset.asset_bundles import SupersetMitMDatasetBundle
-from mitm_tooling.transformation.superset.definitions import SupersetMitMDatasetImport, \
-    MetadataType
+from mitm_tooling.transformation.superset.definitions import SupersetMitMDatasetImport
 
 from app.db.models import TrackedMitMDataset
-from app.dependencies.db import ORMSession
 from app.logic.definitions import mk_mitm_dataset_bundle, SupersetAssetType
-from .requests import  \
-    GenerateDefinitionsForIndependentMitMDatasetRequest,  \
-    UntrackVisualizationsRequest, GenerateImportableDefinitionsRequest, GenerateDefinitionsRequest, \
+from .requests import \
+    GenerateDefinitionsForIndependentMitMDatasetRequest, \
+    GenerateImportableDefinitionsRequest, GenerateDefinitionsRequest, \
     GenerateImportableDefinitionsForIndependentMitMDatasetRequest, GenerateImportableMixin
-from ...logic.visualizations import  drop_visualizations
 
 
 def mk_importable(bundle: SupersetMitMDatasetBundle, request: GenerateImportableMixin) -> SupersetMitMDatasetImport:
@@ -61,4 +58,3 @@ def gen_importable(tracked_dataset: TrackedMitMDataset,
                    request: GenerateImportableDefinitionsRequest) -> SupersetMitMDatasetImport:
     mitm_dataset_bundle = gen_defs(tracked_dataset, request)
     return mk_importable(mitm_dataset_bundle, request)
-
diff --git a/app/routes/mitm_dataset/mapped/router.py b/app/routes/mitm_dataset/mapped/router.py
index 9f16c5b60311ae2862c707668fe2c51e9e5f594e..de470735a24fc34ff24ff098b85b04509d0c4a0e 100644
--- a/app/routes/mitm_dataset/mapped/router.py
+++ b/app/routes/mitm_dataset/mapped/router.py
@@ -12,13 +12,13 @@ from app.dependencies.db import ORMSessionDependency, ORMSession
 from app.dependencies.orm import get_mitm_datasets, MappedMitMDatasetDependency, \
     MappedDBSourceDependency
 from .requests import RegisterMappedMitMDatasetRequest, PatchMappedMitMDatasetRequest
-from .responses import RegisterMappedMitMResult
+from .responses import RegisterMappedMitMResult, RegisterMappedMitMResponse
 
 router = APIRouter(prefix='/mapped', tags=['mapped'])
 logger = logging.getLogger(__name__)
 
 
-@router.post('/register')
+@router.post('/register', response_model=RegisterMappedMitMResponse)
 async def register_mapped_mitm_dataset(session: ORMSessionDependency,
                                        request: RegisterMappedMitMDatasetRequest) -> RegisterMappedMitMResult:
     from app.logic.register import register_mapped_mitm_dataset
diff --git a/app/routes/viz/requests.py b/app/routes/viz/requests.py
index 4568ff82cb4bf597f34e9c4ea25bcc3db356ffa2..132811dcc60e8d379d5ff8d33ed6813e2acd2d44 100644
--- a/app/routes/viz/requests.py
+++ b/app/routes/viz/requests.py
@@ -10,6 +10,6 @@ class DropVisualizationsRequest(TrackVisualizationsRequest):
     pass
 
 
-class RefreshTrackVisualizationsRequest(TrackVisualizationsRequest):
+class RefreshTrackedVisualizationsRequest(TrackVisualizationsRequest):
     drop_chart_identifiers: bool = True
     drop_dashboard_identifiers: bool = False
diff --git a/app/routes/viz/responses.py b/app/routes/viz/responses.py
index 9026180d3ee858eba3a91c207f5a39b1169334b3..6a56122a6cf46640332937da9370ea03ea374074 100644
--- a/app/routes/viz/responses.py
+++ b/app/routes/viz/responses.py
@@ -1,11 +1,12 @@
 from pydantic import BaseModel
 
-from app.db.models import GetTrackedMitMDataset, ListTrackedVisualization, TrackedMitMDataset, TrackedVisualization
+from app.db.models import GetTrackedMitMDataset, ListTrackedVisualization, TrackedMitMDataset, TrackedVisualization, \
+    GetTrackedVisualization
 
 
 class TrackVisualizationsResponse(BaseModel):
     tracked_mitm_dataset: GetTrackedMitMDataset
-    tracked_visualizations: list[ListTrackedVisualization]
+    tracked_visualizations: list[GetTrackedVisualization]
 
 
 class TrackVisualizationsResult(TrackVisualizationsResponse):
diff --git a/app/routes/viz/router.py b/app/routes/viz/router.py
index cf1aec20ff15cf6cfbe4a981d1e86cc65fa93133..c506d3da3943be9184b794201ace502808545c97 100644
--- a/app/routes/viz/router.py
+++ b/app/routes/viz/router.py
@@ -7,7 +7,7 @@ from app.dependencies.db import ORMSessionDependency
 from app.dependencies.orm import TrackedMitMDatasetDependency
 from app.logic.visualizations import drop_visualizations
 from app.routes.viz.requests import TrackVisualizationsRequest, DropVisualizationsRequest, \
-    RefreshTrackVisualizationsRequest
+    RefreshTrackedVisualizationsRequest
 from app.routes.viz.responses import TrackVisualizationsResponse, TrackVisualizationsResult
 
 router = APIRouter(prefix='/viz', tags=['viz'])
@@ -48,7 +48,7 @@ def get_invalidated_visualizations(session: ORMSessionDependency,
 @router.post('/{uuid}/refresh', response_model=TrackVisualizationsResponse)
 def refresh_tracked_visualizations(session: ORMSessionDependency,
                                    tracked_dataset: TrackedMitMDatasetDependency,
-                                   request: RefreshTrackVisualizationsRequest) -> TrackVisualizationsResult:
+                                   request: RefreshTrackedVisualizationsRequest) -> TrackVisualizationsResult:
     from app.logic.visualizations import refresh_visualizations
     tvs = refresh_visualizations(session,
                                  tracked_dataset,
diff --git a/schema/gen_open_api_schema.py b/schema/gen_open_api_schema.py
index f4ee3ff872d1609da03727dffcbda8c4bb7065f1..4dbb8a165752193d009bda16b78c3a548f78f51f 100644
--- a/schema/gen_open_api_schema.py
+++ b/schema/gen_open_api_schema.py
@@ -14,11 +14,11 @@ if __name__ == "__main__":
             description=app.description,
             routes=app.routes
         ), f)
-    with open('openapi.json', 'w') as f:
-        json.dump(get_openapi(
-            title=app.title,
-            version=app.version,
-            openapi_version=app.openapi_version,
-            description=app.description,
-            routes=app.routes
-        ), f)
+    #with open('openapi.json', 'w') as f:
+    #    json.dump(get_openapi(
+    #        title=app.title,
+    #        version=app.version,
+    #        openapi_version=app.openapi_version,
+    #        description=app.description,
+    #        routes=app.routes
+    #    ), f)
diff --git a/schema/openapi.json b/schema/openapi.json
deleted file mode 100644
index ede91c2150bed9fcd5d40160e927958cc8cf1ec5..0000000000000000000000000000000000000000
--- a/schema/openapi.json
+++ /dev/null
@@ -1 +0,0 @@
-{"openapi": "3.1.0", "info": {"title": "SupersetMitMService", "version": "0.1.0"}, "paths": {"/mitm_dataset/local/{uuid}": {"patch": {"tags": ["mitm_dataset", "local"], "summary": "Patch Local Mitm Dataset", "operationId": "patch_local_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchLocalMitMDatasetRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetLocalMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "get": {"tags": ["mitm_dataset", "local"], "summary": "Get Local Mitm Dataset", "operationId": "get_local_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetLocalMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/local/": {"get": {"tags": ["mitm_dataset", "local"], "summary": "Get Local Mitm Datasets", "operationId": "get_local_mitm_datasets", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ListLocalMitMDataset"}, "type": "array", "title": "Response Get Local Mitm Datasets Mitm Dataset Local  Get"}}}}}}}, "/mitm_dataset/external/register": {"post": {"tags": ["mitm_dataset", "external"], "summary": "Register External Mitm Dataset", "operationId": "register_external_mitm_dataset", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/RegisterExternalMitMDatasetRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RegisterExternalMitMResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/external/{uuid}": {"patch": {"tags": ["mitm_dataset", "external"], "summary": "Patch External Mitm Dataset", "operationId": "patch_external_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchExternalMitMDatasetRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetExternalMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "get": {"tags": ["mitm_dataset", "external"], "summary": "Get External Mitm Dataset", "operationId": "get_external_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetExternalMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/external/": {"get": {"tags": ["mitm_dataset", "external"], "summary": "Get External Mitm Datasets", "operationId": "get_external_mitm_datasets", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ListTrackedMitMDataset"}, "type": "array", "title": "Response Get External Mitm Datasets Mitm Dataset External  Get"}}}}}}}, "/mitm_dataset/mapped/register": {"post": {"tags": ["mitm_dataset", "mapped"], "summary": "Register Mapped Mitm Dataset", "operationId": "register_mapped_mitm_dataset", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/RegisterMappedMitMDatasetRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RegisterMappedMitMResult"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/mapped/{uuid}": {"patch": {"tags": ["mitm_dataset", "mapped"], "summary": "Patch Mapped Mitm Dataset", "operationId": "patch_mapped_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchMappedMitMDatasetRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetMappedMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "get": {"tags": ["mitm_dataset", "mapped"], "summary": "Get Mapped Mitm Dataset", "operationId": "get_mapped_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetMappedMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/mapped/": {"get": {"tags": ["mitm_dataset", "mapped"], "summary": "Get Mapped Mitm Datasets", "operationId": "get_mapped_mitm_datasets", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ListMappedMitMDataset"}, "type": "array", "title": "Response Get Mapped Mitm Datasets Mitm Dataset Mapped  Get"}}}}}}}, "/mitm_dataset/mapped/pull/{uuid}": {"post": {"tags": ["mitm_dataset", "mapped"], "summary": "Pull Mapped Mitm Dataset", "operationId": "pull_mapped_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetMappedDBPull"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/mapped/pull/async/{uuid}": {"post": {"tags": ["mitm_dataset", "mapped"], "summary": "Pull Mapped Mitm Dataset Async", "operationId": "pull_mapped_mitm_dataset_async", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/mapped/decouple/{uuid}": {"post": {"tags": ["mitm_dataset", "mapped"], "summary": "Decouple Mapped Mitm Dataset", "operationId": "decouple_mapped_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetTrackedMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/mapped/db_source/": {"get": {"tags": ["mitm_dataset", "mapped"], "summary": "Get Mapped Db Sources", "operationId": "get_mapped_db_sources", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ListMappedDBSource"}, "type": "array", "title": "Response Get Mapped Db Sources Mitm Dataset Mapped Db Source  Get"}}}}}}}, "/mitm_dataset/mapped/db_source/{id}": {"get": {"tags": ["mitm_dataset", "mapped"], "summary": "Get Mapped Db Source", "operationId": "get_mapped_db_source", "parameters": [{"name": "id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetMappedDBSource"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "delete": {"tags": ["mitm_dataset", "mapped"], "summary": "Delete Mapped Db Source", "operationId": "delete_mapped_db_source", "parameters": [{"name": "id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/upload": {"post": {"tags": ["mitm_dataset"], "summary": "Upload Mitm Dataset", "operationId": "upload_mitm_dataset", "parameters": [{"name": "dataset_name", "in": "query", "required": true, "schema": {"type": "string", "title": "Dataset Name"}}, {"name": "mitm", "in": "query", "required": false, "schema": {"$ref": "#/components/schemas/MITM", "default": "MAED"}}], "requestBody": {"required": true, "content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_upload_mitm_dataset_mitm_dataset_upload_post"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UploadMitMResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/": {"get": {"tags": ["mitm_dataset"], "summary": "Get Mitm Datasets", "operationId": "get_mitm_datasets", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ListTrackedMitMDataset"}, "type": "array", "title": "Response Get Mitm Datasets Mitm Dataset  Get"}}}}}}, "post": {"tags": ["mitm_dataset"], "summary": "Post Mitm Dataset", "operationId": "post_mitm_dataset", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PostTrackedMitMDatasetRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetTrackedMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/{uuid}": {"patch": {"tags": ["mitm_dataset"], "summary": "Patch Mitm Dataset", "operationId": "patch_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchTrackedMitMDatasetRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetTrackedMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "get": {"tags": ["mitm_dataset"], "summary": "Get Mitm Dataset", "operationId": "get_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetTrackedMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "delete": {"tags": ["mitm_dataset"], "summary": "Delete Mitm Dataset", "operationId": "delete_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/export/{uuid}": {"post": {"tags": ["mitm_dataset"], "summary": "Export Mitm Dataset", "operationId": "export_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "application/zip": {}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/export/stream/{uuid}": {"post": {"tags": ["mitm_dataset"], "summary": "Export Mitm Dataset Streaming", "operationId": "export_mitm_dataset_streaming", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "application/zip": {}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/mitm_dataset/refresh/{uuid}": {"post": {"tags": ["mitm_dataset"], "summary": "Refresh Mitm Dataset", "operationId": "refresh_mitm_dataset", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}, {"name": "drop_datasource_identifiers", "in": "query", "required": false, "schema": {"type": "boolean", "default": true, "title": "Drop Datasource Identifiers"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GetTrackedMitMDataset"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/definitions/mitm_dataset": {"post": {"tags": ["definitions"], "summary": "Generate Mitm Dataset Bundle", "operationId": "generate_mitm_dataset_bundle", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateDefinitionsForIndependentMitMDatasetRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/MitMDatasetBundleResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/definitions/mitm_dataset/import": {"post": {"tags": ["definitions"], "summary": "Generate Mitm Dataset Import", "operationId": "generate_mitm_dataset_import", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateImportableDefinitionsForIndependentMitMDatasetRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/MitMDatasetImportResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/definitions/mitm_dataset/import/zip": {"post": {"tags": ["definitions"], "summary": "Generate Mitm Dataset Import Zip", "operationId": "generate_mitm_dataset_import_zip", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateImportableDefinitionsForIndependentMitMDatasetRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/zip": {}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/definitions/mitm_dataset/{uuid}": {"post": {"tags": ["definitions"], "summary": "Generate Tracked Mitm Dataset Bundle", "operationId": "generate_tracked_mitm_dataset_bundle", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateDefinitionsRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/MitMDatasetBundleResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/definitions/mitm_dataset/{uuid}/import": {"post": {"tags": ["definitions"], "summary": "Generate Tracked Mitm Dataset Import", "operationId": "generate_tracked_mitm_dataset_import", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateImportableDefinitionsRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SupersetMitMDatasetImport"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/definitions/mitm_dataset/{uuid}/import/zip": {"post": {"tags": ["definitions"], "summary": "Generate Tracked Mitm Dataset Import Zip", "operationId": "generate_tracked_mitm_dataset_import_zip", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateImportableDefinitionsRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/zip": {}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/viz/{uuid}": {"post": {"tags": ["viz"], "summary": "Track Visualizations", "operationId": "track_visualizations", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TrackVisualizationsRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TrackVisualizationsResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "get": {"tags": ["viz"], "summary": "Get Tracked Visualizations", "operationId": "get_tracked_visualizations", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/GetTrackedVisualization"}, "title": "Response Get Tracked Visualizations Viz  Uuid  Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "delete": {"tags": ["viz"], "summary": "Drop Tracked Visualizations", "operationId": "drop_tracked_visualizations", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DropVisualizationsRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/viz/{uuid}/invalidated": {"get": {"tags": ["viz"], "summary": "Get Invalidated Visualizations", "operationId": "get_invalidated_visualizations", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/GetTrackedVisualization"}, "title": "Response Get Invalidated Visualizations Viz  Uuid  Invalidated Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/viz/{uuid}/refresh": {"post": {"tags": ["viz"], "summary": "Refresh Tracked Visualizations", "operationId": "refresh_tracked_visualizations", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RefreshTrackVisualizationsRequest"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TrackVisualizationsResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/data/db-meta/{uuid}": {"get": {"tags": ["data"], "summary": "Get Db Meta", "operationId": "get_db_meta", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DBMetaResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/data/db-probe/{uuid}": {"get": {"tags": ["data"], "summary": "Get Db Probe", "operationId": "get_db_probe", "parameters": [{"name": "uuid", "in": "path", "required": true, "schema": {"type": "string", "format": "uuid", "title": "Uuid"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DBProbeResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/admin/drop-mitm-datasets": {"post": {"tags": ["admin"], "summary": "Drop Mitm Datasets", "operationId": "drop_mitm_datasets", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DropMitMDatasetsResponse"}}}}}}}, "/admin/drop-db": {"post": {"tags": ["admin"], "summary": "Drop Db", "operationId": "drop_db", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DropSchemasResponse"}}}}}}}, "/meta/schema/standalone-db-mapping": {"get": {"tags": ["meta"], "summary": "Get Standalone Db Mapping Schema", "operationId": "get_standalone_db_mapping_schema", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"additionalProperties": true, "type": "object", "title": "Response Get Standalone Db Mapping Schema Meta Schema Standalone Db Mapping Get"}}}}}}}, "/meta/mitm-defs": {"get": {"tags": ["meta"], "summary": "Get Mitm Defs", "operationId": "get_mitm_defs", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"additionalProperties": {"$ref": "#/components/schemas/MITMDefinition"}, "propertyNames": {"$ref": "#/components/schemas/MITM"}, "type": "object", "title": "Response Get Mitm Defs Meta Mitm Defs Get"}}}}}}}, "/": {"get": {"summary": "Root", "operationId": "root", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/health": {"get": {"summary": "Health", "operationId": "health", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}}, "components": {"schemas": {"AddColumn-Input": {"properties": {"operation": {"type": "string", "const": "add_column", "title": "Operation", "default": "add_column"}, "col_name": {"type": "string", "title": "Col Name"}, "value": {"title": "Value"}, "target_type": {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}], "title": "Target Type"}}, "type": "object", "required": ["col_name", "value", "target_type"], "title": "AddColumn"}, "AddColumn-Output": {"properties": {"operation": {"type": "string", "const": "add_column", "title": "Operation", "default": "add_column"}, "col_name": {"type": "string", "title": "Col Name"}, "value": {"title": "Value"}, "target_type": {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}], "title": "Target Type"}}, "type": "object", "required": ["col_name", "value", "target_type"], "title": "AddColumn"}, "Body_upload_mitm_dataset_mitm_dataset_upload_post": {"properties": {"mitm_zip": {"type": "string", "format": "binary", "title": "Mitm Zip"}}, "type": "object", "required": ["mitm_zip"], "title": "Body_upload_mitm_dataset_mitm_dataset_upload_post"}, "CastColumn-Input": {"properties": {"operation": {"type": "string", "const": "cast_column", "title": "Operation", "default": "cast_column"}, "target_type": {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}], "title": "Target Type"}}, "type": "object", "required": ["target_type"], "title": "CastColumn"}, "CastColumn-Output": {"properties": {"operation": {"type": "string", "const": "cast_column", "title": "Operation", "default": "cast_column"}, "target_type": {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}], "title": "Target Type"}}, "type": "object", "required": ["target_type"], "title": "CastColumn"}, "CategoricalSummaryStatistics": {"properties": {"count": {"type": "integer", "minimum": 0.0, "title": "Count"}, "unique": {"type": "integer", "minimum": 0.0, "title": "Unique"}, "top": {"type": "string", "title": "Top"}, "freq": {"type": "integer", "minimum": 0.0, "title": "Freq"}}, "type": "object", "required": ["count", "unique", "top", "freq"], "title": "CategoricalSummaryStatistics"}, "ChartIdentifier": {"properties": {"id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "slice_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Slice Name"}}, "type": "object", "title": "ChartIdentifier"}, "ChartParams": {"properties": {"datasource": {"anyOf": [{"type": "string"}, {"$ref": "#/components/schemas/DatasetIdentifier"}], "title": "Datasource"}, "viz_type": {"$ref": "#/components/schemas/SupersetVizType"}, "groupby": {"items": {"type": "string"}, "type": "array", "title": "Groupby"}, "adhoc_filters": {"items": {"$ref": "#/components/schemas/SupersetAdhocFilter"}, "type": "array", "title": "Adhoc Filters"}, "row_limit": {"type": "integer", "title": "Row Limit", "default": 10000}, "sort_by_metric": {"type": "boolean", "title": "Sort By Metric", "default": true}, "color_scheme": {"type": "string", "enum": ["blueToGreen", "supersetColors"], "title": "Color Scheme", "default": "supersetColors"}, "show_legend": {"type": "boolean", "title": "Show Legend", "default": true}, "legendType": {"type": "string", "title": "Legendtype", "default": "scroll"}, "legendOrientation": {"type": "string", "title": "Legendorientation", "default": "top"}, "extra_form_data": {"additionalProperties": true, "type": "object", "title": "Extra Form Data"}, "slice_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Slice Id"}, "dashboards": {"items": {"type": "integer"}, "type": "array", "title": "Dashboards"}}, "type": "object", "required": ["datasource", "viz_type"], "title": "ChartParams"}, "ColName": {"properties": {"name": {"type": "string", "title": "Name"}}, "type": "object", "required": ["name"], "title": "ColName"}, "ColumnOfDataset": {"properties": {"datasetUuid": {"type": "string", "format": "uuid", "title": "Datasetuuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "column": {"$ref": "#/components/schemas/ColName"}}, "type": "object", "required": ["datasetUuid", "column"], "title": "ColumnOfDataset"}, "ColumnProperties": {"properties": {"nullable": {"type": "boolean", "title": "Nullable"}, "unique": {"type": "boolean", "title": "Unique"}, "part_of_pk": {"type": "boolean", "title": "Part Of Pk"}, "part_of_fk": {"type": "boolean", "title": "Part Of Fk"}, "part_of_index": {"type": "boolean", "title": "Part Of Index"}, "mitm_data_type": {"$ref": "#/components/schemas/MITMDataType"}}, "type": "object", "required": ["nullable", "unique", "part_of_pk", "part_of_fk", "part_of_index", "mitm_data_type"], "title": "ColumnProperties"}, "ComponentMeta": {"properties": {}, "type": "object", "title": "ComponentMeta"}, "ConceptKind": {"type": "string", "enum": ["concrete", "abstract"], "title": "ConceptKind"}, "ConceptLevel": {"type": "string", "enum": ["main", "sub", "weak"], "title": "ConceptLevel"}, "ConceptMapping-Input": {"properties": {"mitm": {"$ref": "#/components/schemas/MITM"}, "concept": {"type": "string", "title": "Concept"}, "base_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Base Table"}, "kind_col": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Kind Col"}, "type_col": {"type": "string", "title": "Type Col"}, "identity_columns": {"anyOf": [{"additionalProperties": {"type": "string"}, "type": "object"}, {"items": {"type": "string"}, "type": "array"}], "title": "Identity Columns"}, "inline_relations": {"anyOf": [{"additionalProperties": {"type": "string"}, "type": "object"}, {"items": {"type": "string"}, "type": "array"}], "title": "Inline Relations"}, "foreign_relations": {"additionalProperties": {"$ref": "#/components/schemas/ForeignRelation-Input"}, "type": "object", "title": "Foreign Relations"}, "attributes": {"items": {"type": "string"}, "type": "array", "title": "Attributes"}, "attribute_dtypes": {"items": {"$ref": "#/components/schemas/MITMDataType"}, "type": "array", "title": "Attribute Dtypes"}}, "type": "object", "required": ["mitm", "concept", "base_table", "type_col"], "title": "ConceptMapping"}, "ConceptMapping-Output": {"properties": {"mitm": {"$ref": "#/components/schemas/MITM"}, "concept": {"type": "string", "title": "Concept"}, "base_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Base Table"}, "kind_col": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Kind Col"}, "type_col": {"type": "string", "title": "Type Col"}, "identity_columns": {"anyOf": [{"additionalProperties": {"type": "string"}, "type": "object"}, {"items": {"type": "string"}, "type": "array"}], "title": "Identity Columns"}, "inline_relations": {"anyOf": [{"additionalProperties": {"type": "string"}, "type": "object"}, {"items": {"type": "string"}, "type": "array"}], "title": "Inline Relations"}, "foreign_relations": {"additionalProperties": {"$ref": "#/components/schemas/ForeignRelation-Output"}, "type": "object", "title": "Foreign Relations"}, "attributes": {"items": {"type": "string"}, "type": "array", "title": "Attributes"}, "attribute_dtypes": {"items": {"$ref": "#/components/schemas/MITMDataType"}, "type": "array", "title": "Attribute Dtypes"}}, "type": "object", "required": ["mitm", "concept", "base_table", "type_col"], "title": "ConceptMapping"}, "ConceptProperties": {"properties": {"nature": {"prefixItems": [{"$ref": "#/components/schemas/ConceptLevel"}, {"$ref": "#/components/schemas/ConceptKind"}], "type": "array", "maxItems": 2, "minItems": 2, "title": "Nature"}, "key": {"type": "string", "title": "Key"}, "plural": {"type": "string", "title": "Plural"}, "typing_concept": {"type": "string", "title": "Typing Concept", "default": "type"}, "column_group_ordering": {"items": {"type": "string", "enum": ["kind", "type", "identity-relations", "inline-relations", "foreign-relations", "attributes"]}, "type": "array", "title": "Column Group Ordering", "default": ["kind", "type", "identity-relations", "inline-relations", "foreign-relations", "attributes"]}, "permit_attributes": {"type": "boolean", "title": "Permit Attributes", "default": true}}, "type": "object", "required": ["nature", "key", "plural"], "title": "ConceptProperties"}, "ControlValues": {"properties": {"enableEmptyFilter": {"type": "boolean", "title": "Enableemptyfilter", "default": false}, "defaultToFirstItem": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Defaulttofirstitem"}, "multiSelect": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Multiselect"}, "searchAllOptions": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Searchalloptions"}, "inverseSelection": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Inverseselection"}}, "type": "object", "title": "ControlValues"}, "DBConnectionInfo": {"properties": {"sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri", "description": "Better annotation for AnyUrl. Parses from string format, serializes to string format."}, "explicit_db_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Explicit Db Name"}, "schema_name": {"type": "string", "title": "Schema Name", "default": "main"}, "catalog": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Catalog"}}, "type": "object", "required": ["sql_alchemy_uri"], "title": "DBConnectionInfo"}, "DBMetaInfoBase": {"properties": {"db_structure": {"additionalProperties": {"additionalProperties": {"$ref": "#/components/schemas/TableMetaInfoBase"}, "type": "object"}, "type": "object", "title": "Db Structure"}}, "type": "object", "required": ["db_structure"], "title": "DBMetaInfoBase"}, "DBMetaResponse": {"properties": {"db_meta": {"anyOf": [{"$ref": "#/components/schemas/DBMetaInfoBase"}, {"type": "null"}]}}, "type": "object", "title": "DBMetaResponse"}, "DBProbeMinimal": {"properties": {"db_table_probes": {"additionalProperties": {"additionalProperties": {"$ref": "#/components/schemas/TableProbeMinimal"}, "type": "object"}, "type": "object", "title": "Db Table Probes"}}, "type": "object", "title": "DBProbeMinimal"}, "DBProbeResponse": {"properties": {"db_probe": {"anyOf": [{"$ref": "#/components/schemas/DBProbeMinimal"}, {"type": "null"}]}}, "type": "object", "title": "DBProbeResponse"}, "DashboardComponent": {"properties": {"id": {"type": "string", "title": "Id"}, "type": {"$ref": "#/components/schemas/DashboardComponentType"}, "meta": {"anyOf": [{"$ref": "#/components/schemas/ComponentMeta"}, {"type": "null"}]}, "children": {"items": {"type": "string"}, "type": "array", "title": "Children"}}, "type": "object", "required": ["id", "type"], "title": "DashboardComponent"}, "DashboardComponentType": {"type": "string", "enum": ["CHART", "HEADER", "GRID", "ROOT", "ROW", "COLUMN", "TAB", "TABS", "MARKDOWN", "DIVIDER"], "title": "DashboardComponentType"}, "DashboardIdentifier": {"properties": {"id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "dashboard_title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Dashboard Title"}}, "type": "object", "title": "DashboardIdentifier"}, "DashboardMetadata": {"properties": {"color_scheme": {"type": "string", "title": "Color Scheme", "default": "blueToGreen"}, "cross_filters_enabled": {"type": "boolean", "title": "Cross Filters Enabled", "default": true}, "native_filter_configuration": {"items": {"$ref": "#/components/schemas/NativeFilterConfig"}, "type": "array", "title": "Native Filter Configuration"}, "chart_configuration": {"additionalProperties": true, "type": "object", "title": "Chart Configuration"}, "global_chart_configuration": {"additionalProperties": true, "type": "object", "title": "Global Chart Configuration"}, "default_filters": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Default Filters"}, "filter_scopes": {"additionalProperties": true, "type": "object", "title": "Filter Scopes"}, "expanded_slices": {"additionalProperties": true, "type": "object", "title": "Expanded Slices"}}, "type": "object", "title": "DashboardMetadata"}, "DatabaseIdentifier": {"properties": {"id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "database_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Database Name"}}, "type": "object", "title": "DatabaseIdentifier"}, "DatasetIdentifier": {"properties": {"id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "table_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Table Name"}}, "type": "object", "title": "DatasetIdentifier"}, "DatasetReference": {"properties": {"datasetUuid": {"type": "string", "format": "uuid", "title": "Datasetuuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}}, "type": "object", "required": ["datasetUuid"], "title": "DatasetReference"}, "DatetimeSummaryStatistics": {"properties": {"count": {"type": "integer", "title": "Count"}, "mean": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Mean"}, "min": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Min"}, "max": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Max"}, "percentile_25": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Percentile 25"}, "percentile_50": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Percentile 50"}, "percentile_75": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Percentile 75"}}, "type": "object", "required": ["count"], "title": "DatetimeSummaryStatistics"}, "DropMitMDatasetsResponse": {"properties": {"dropped_schemas": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Dropped Schemas"}, "dropped_mitm_datasets": {"anyOf": [{"items": {"$ref": "#/components/schemas/ListTrackedMitMDataset"}, "type": "array"}, {"type": "null"}], "title": "Dropped Mitm Datasets"}}, "type": "object", "title": "DropMitMDatasetsResponse"}, "DropSchemasResponse": {"properties": {"dropped_schemas": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Dropped Schemas"}}, "type": "object", "title": "DropSchemasResponse"}, "DropVisualizationsRequest": {"properties": {"visualization_types": {"items": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "type": "array", "title": "Visualization Types"}}, "type": "object", "required": ["visualization_types"], "title": "DropVisualizationsRequest"}, "EditColumns-Input": {"properties": {"operation": {"type": "string", "const": "edit_columns", "title": "Operation", "default": "edit_columns"}, "transforms": {"additionalProperties": {"oneOf": [{"$ref": "#/components/schemas/CastColumn-Input"}], "discriminator": {"propertyName": "operation", "mapping": {"cast_column": "#/components/schemas/CastColumn-Input"}}}, "type": "object", "title": "Transforms"}, "renames": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Renames"}, "drops": {"items": {"type": "string"}, "type": "array", "uniqueItems": true, "title": "Drops"}, "additions": {"additionalProperties": {"items": {"oneOf": [{"$ref": "#/components/schemas/AddColumn-Input"}, {"$ref": "#/components/schemas/ExtractJson"}], "discriminator": {"propertyName": "operation", "mapping": {"add_column": "#/components/schemas/AddColumn-Input", "extract_json": "#/components/schemas/ExtractJson"}}}, "type": "array"}, "type": "object", "title": "Additions"}}, "type": "object", "title": "EditColumns"}, "EditColumns-Output": {"properties": {"operation": {"type": "string", "const": "edit_columns", "title": "Operation", "default": "edit_columns"}, "transforms": {"additionalProperties": {"oneOf": [{"$ref": "#/components/schemas/CastColumn-Output"}], "discriminator": {"propertyName": "operation", "mapping": {"cast_column": "#/components/schemas/CastColumn-Output"}}}, "type": "object", "title": "Transforms"}, "renames": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Renames"}, "drops": {"items": {"type": "string"}, "type": "array", "uniqueItems": true, "title": "Drops"}, "additions": {"additionalProperties": {"items": {"oneOf": [{"$ref": "#/components/schemas/AddColumn-Output"}, {"$ref": "#/components/schemas/ExtractJson"}], "discriminator": {"propertyName": "operation", "mapping": {"add_column": "#/components/schemas/AddColumn-Output", "extract_json": "#/components/schemas/ExtractJson"}}}, "type": "array"}, "type": "object", "title": "Additions"}}, "type": "object", "title": "EditColumns"}, "ExistingTable-Input": {"properties": {"operation": {"type": "string", "const": "existing", "title": "Operation", "default": "existing"}, "base_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Base Table"}}, "type": "object", "required": ["base_table"], "title": "ExistingTable"}, "ExistingTable-Output": {"properties": {"operation": {"type": "string", "const": "existing", "title": "Operation", "default": "existing"}, "base_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Base Table"}}, "type": "object", "required": ["base_table"], "title": "ExistingTable"}, "ExpressionType": {"type": "string", "enum": ["SIMPLE", "SQL"], "title": "ExpressionType"}, "ExtractJson": {"properties": {"operation": {"type": "string", "const": "extract_json", "title": "Operation", "default": "extract_json"}, "json_col": {"type": "string", "title": "Json Col"}, "attributes": {"additionalProperties": {"items": {"type": "string"}, "type": "array"}, "type": "object", "title": "Attributes"}}, "type": "object", "required": ["json_col", "attributes"], "title": "ExtractJson"}, "FilterOperator": {"type": "string", "enum": ["==", "!=", ">", "<", ">=", "<=", "LIKE", "NOT LIKE", "ILIKE", "IS NULL", "IS NOT NULL", "IN", "NOT IN", "IS TRUE", "IS FALSE", "TEMPORAL_RANGE"], "title": "FilterOperator"}, "FilterStringOperators": {"type": "string", "enum": ["EQUALS", "NOT_EQUALS", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL", "IN", "NOT_IN", "ILIKE", "LIKE", "IS_NOT_NULL", "IS_NULL", "LATEST_PARTITION", "IS_TRUE", "IS_FALSE"], "title": "FilterStringOperators"}, "FilterType": {"type": "string", "enum": ["filter_select", "filter_timegrain", "filter_time"], "title": "FilterType"}, "ForeignKeyConstraintBase": {"properties": {"name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Name"}, "table": {"anyOf": [{"$ref": "#/components/schemas/LocalTableIdentifier"}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Table"}, "columns": {"items": {"type": "string"}, "type": "array", "title": "Columns"}, "target_table": {"anyOf": [{"$ref": "#/components/schemas/LocalTableIdentifier"}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Target Table"}, "target_columns": {"items": {"type": "string"}, "type": "array", "title": "Target Columns"}}, "type": "object", "required": ["table", "columns", "target_table", "target_columns"], "title": "ForeignKeyConstraintBase"}, "ForeignRelation-Input": {"properties": {"fk_columns": {"anyOf": [{"additionalProperties": {"type": "string"}, "type": "object"}, {"items": {"type": "string"}, "type": "array"}], "title": "Fk Columns"}, "referred_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Referred Table"}}, "type": "object", "required": ["fk_columns", "referred_table"], "title": "ForeignRelation"}, "ForeignRelation-Output": {"properties": {"fk_columns": {"anyOf": [{"additionalProperties": {"type": "string"}, "type": "object"}, {"items": {"type": "string"}, "type": "array"}], "title": "Fk Columns"}, "referred_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Referred Table"}}, "type": "object", "required": ["fk_columns", "referred_table"], "title": "ForeignRelation"}, "ForeignRelationInfo": {"properties": {"target_concept": {"type": "string", "title": "Target Concept"}, "fk_relations": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Fk Relations"}}, "type": "object", "required": ["target_concept", "fk_relations"], "title": "ForeignRelationInfo"}, "GenerateDefinitionsForIndependentMitMDatasetRequest": {"properties": {"include_default_visualizations": {"type": "boolean", "title": "Include Default Visualizations", "default": false}, "visualization_types": {"items": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "type": "array", "title": "Visualization Types"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm_header": {"$ref": "#/components/schemas/Header-Input"}, "db_conn_info": {"$ref": "#/components/schemas/DBConnectionInfo"}, "identifiers": {"anyOf": [{"$ref": "#/components/schemas/MitMDatasetIdentifierBundle"}, {"type": "null"}]}}, "type": "object", "required": ["dataset_name", "mitm_header", "db_conn_info"], "title": "GenerateDefinitionsForIndependentMitMDatasetRequest"}, "GenerateDefinitionsRequest": {"properties": {"include_default_visualizations": {"type": "boolean", "title": "Include Default Visualizations", "default": false}, "visualization_types": {"items": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "type": "array", "title": "Visualization Types"}, "use_existing_identifiers": {"type": "boolean", "title": "Use Existing Identifiers", "default": true}}, "type": "object", "title": "GenerateDefinitionsRequest"}, "GenerateImportableDefinitionsForIndependentMitMDatasetRequest": {"properties": {"include_default_visualizations": {"type": "boolean", "title": "Include Default Visualizations", "default": false}, "visualization_types": {"items": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "type": "array", "title": "Visualization Types"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm_header": {"$ref": "#/components/schemas/Header-Input"}, "db_conn_info": {"$ref": "#/components/schemas/DBConnectionInfo"}, "identifiers": {"anyOf": [{"$ref": "#/components/schemas/MitMDatasetIdentifierBundle"}, {"type": "null"}]}, "override_metadata_type": {"anyOf": [{"$ref": "#/components/schemas/MetadataType"}, {"type": "null"}]}, "included_asset_types": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetAssetType"}, "type": "array"}, {"type": "null"}], "title": "Included Asset Types"}}, "type": "object", "required": ["dataset_name", "mitm_header", "db_conn_info"], "title": "GenerateImportableDefinitionsForIndependentMitMDatasetRequest"}, "GenerateImportableDefinitionsRequest": {"properties": {"include_default_visualizations": {"type": "boolean", "title": "Include Default Visualizations", "default": false}, "visualization_types": {"items": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "type": "array", "title": "Visualization Types"}, "use_existing_identifiers": {"type": "boolean", "title": "Use Existing Identifiers", "default": true}, "override_metadata_type": {"anyOf": [{"$ref": "#/components/schemas/MetadataType"}, {"type": "null"}]}, "included_asset_types": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetAssetType"}, "type": "array"}, {"type": "null"}], "title": "Included Asset Types"}}, "type": "object", "title": "GenerateImportableDefinitionsRequest"}, "GetExternalMitMDataset": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}, "schema_name": {"type": "string", "title": "Schema Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}, "header_desynced": {"type": "boolean", "title": "Header Desynced"}, "superset_identifier_bundle": {"$ref": "#/components/schemas/MitMDatasetIdentifierBundle"}, "tracked_visualizations": {"items": {"$ref": "#/components/schemas/ListTrackedVisualization"}, "type": "array", "title": "Tracked Visualizations"}}, "type": "object", "required": ["id", "uuid", "dataset_name", "mitm", "type", "lives_on_mitm_db", "can_control_data", "can_control_header", "header_changed", "data_changed", "schema_name", "sql_alchemy_uri", "mitm_header", "header_desynced", "superset_identifier_bundle", "tracked_visualizations"], "title": "GetExternalMitMDataset"}, "GetLocalMitMDataset": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}, "schema_name": {"type": "string", "title": "Schema Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}, "header_desynced": {"type": "boolean", "title": "Header Desynced"}, "superset_identifier_bundle": {"$ref": "#/components/schemas/MitMDatasetIdentifierBundle"}, "tracked_visualizations": {"items": {"$ref": "#/components/schemas/ListTrackedVisualization"}, "type": "array", "title": "Tracked Visualizations"}}, "type": "object", "required": ["id", "uuid", "dataset_name", "mitm", "type", "lives_on_mitm_db", "can_control_data", "can_control_header", "header_changed", "data_changed", "schema_name", "sql_alchemy_uri", "mitm_header", "header_desynced", "superset_identifier_bundle", "tracked_visualizations"], "title": "GetLocalMitMDataset"}, "GetMappedDBPull": {"properties": {"id": {"type": "integer", "title": "Id"}, "mapped_mitm_dataset": {"$ref": "#/components/schemas/ListTrackedMitMDataset"}, "mapped_db_source": {"$ref": "#/components/schemas/ListMappedDBSource"}, "time_start": {"type": "string", "format": "date-time", "title": "Time Start"}, "time_complete": {"type": "string", "format": "date-time", "title": "Time Complete"}, "insertion_result": {"$ref": "#/components/schemas/SQLRepInsertionResult"}}, "type": "object", "required": ["id", "mapped_mitm_dataset", "mapped_db_source", "time_start", "time_complete", "insertion_result"], "title": "GetMappedDBPull"}, "GetMappedDBSource": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "db_mapping": {"$ref": "#/components/schemas/StandaloneDBMapping-Output"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}, "mapped_mitm_datasets": {"items": {"$ref": "#/components/schemas/ListTrackedMitMDataset"}, "type": "array", "title": "Mapped Mitm Datasets"}, "pulls": {"items": {"$ref": "#/components/schemas/ListMappedDBPull"}, "type": "array", "title": "Pulls"}, "last_pulled": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Last Pulled"}}, "type": "object", "required": ["id", "uuid", "sql_alchemy_uri", "db_mapping", "mitm_header", "mapped_mitm_datasets", "pulls", "last_pulled"], "title": "GetMappedDBSource"}, "GetMappedMitMDataset": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}, "schema_name": {"type": "string", "title": "Schema Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}, "header_desynced": {"type": "boolean", "title": "Header Desynced"}, "superset_identifier_bundle": {"$ref": "#/components/schemas/MitMDatasetIdentifierBundle"}, "tracked_visualizations": {"items": {"$ref": "#/components/schemas/ListTrackedVisualization"}, "type": "array", "title": "Tracked Visualizations"}, "mapped_db_source": {"anyOf": [{"$ref": "#/components/schemas/ListMappedDBSource"}, {"type": "null"}]}, "pulls": {"items": {"$ref": "#/components/schemas/ListMappedDBPull"}, "type": "array", "title": "Pulls"}, "last_pulled": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Last Pulled"}}, "type": "object", "required": ["id", "uuid", "dataset_name", "mitm", "type", "lives_on_mitm_db", "can_control_data", "can_control_header", "header_changed", "data_changed", "schema_name", "sql_alchemy_uri", "mitm_header", "header_desynced", "superset_identifier_bundle", "tracked_visualizations", "mapped_db_source", "pulls", "last_pulled"], "title": "GetMappedMitMDataset"}, "GetTrackedMitMDataset": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}, "schema_name": {"type": "string", "title": "Schema Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}, "header_desynced": {"type": "boolean", "title": "Header Desynced"}, "superset_identifier_bundle": {"$ref": "#/components/schemas/MitMDatasetIdentifierBundle"}, "tracked_visualizations": {"items": {"$ref": "#/components/schemas/ListTrackedVisualization"}, "type": "array", "title": "Tracked Visualizations"}}, "type": "object", "required": ["id", "uuid", "dataset_name", "mitm", "type", "lives_on_mitm_db", "can_control_data", "can_control_header", "header_changed", "data_changed", "schema_name", "sql_alchemy_uri", "mitm_header", "header_desynced", "superset_identifier_bundle", "tracked_visualizations"], "title": "GetTrackedMitMDataset"}, "GetTrackedVisualization": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "tracked_mitm_dataset_id": {"type": "integer", "title": "Tracked Mitm Dataset Id"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "viz_type": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "viz_changed": {"type": "string", "format": "date-time", "title": "Viz Changed"}, "identifier_bundle": {"$ref": "#/components/schemas/VisualizationsIdentifierBundle"}}, "type": "object", "required": ["id", "uuid", "tracked_mitm_dataset_id", "mitm", "viz_type", "viz_changed", "identifier_bundle"], "title": "GetTrackedVisualization"}, "HTTPValidationError": {"properties": {"detail": {"items": {"$ref": "#/components/schemas/ValidationError"}, "type": "array", "title": "Detail"}}, "type": "object", "title": "HTTPValidationError"}, "Header-Input": {"properties": {"mitm": {"$ref": "#/components/schemas/MITM"}, "header_entries": {"items": {"$ref": "#/components/schemas/HeaderEntry"}, "type": "array", "uniqueItems": true, "title": "Header Entries"}}, "type": "object", "required": ["mitm"], "title": "Header"}, "Header-Output": {"properties": {"mitm": {"$ref": "#/components/schemas/MITM"}, "header_entries": {"items": {"$ref": "#/components/schemas/HeaderEntry"}, "type": "array", "uniqueItems": true, "title": "Header Entries"}}, "type": "object", "required": ["mitm"], "title": "Header"}, "HeaderEntry": {"properties": {"concept": {"type": "string", "title": "Concept"}, "kind": {"type": "string", "title": "Kind"}, "type_name": {"type": "string", "title": "Type Name"}, "attributes": {"items": {"type": "string"}, "type": "array", "title": "Attributes"}, "attribute_dtypes": {"items": {"$ref": "#/components/schemas/MITMDataType"}, "type": "array", "title": "Attribute Dtypes"}}, "type": "object", "required": ["concept", "kind", "type_name", "attributes", "attribute_dtypes"], "title": "HeaderEntry"}, "Limit": {"properties": {"operation": {"type": "string", "const": "limit", "title": "Operation", "default": "limit"}, "limit": {"type": "integer", "title": "Limit"}}, "type": "object", "required": ["limit"], "title": "Limit"}, "ListLocalMitMDataset": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}}, "type": "object", "required": ["id", "uuid", "dataset_name", "mitm", "type", "lives_on_mitm_db", "can_control_data", "can_control_header", "header_changed", "data_changed"], "title": "ListLocalMitMDataset"}, "ListMappedDBPull": {"properties": {"id": {"type": "integer", "title": "Id"}, "mapped_mitm_dataset_id": {"type": "integer", "title": "Mapped Mitm Dataset Id"}, "mapped_db_source_id": {"type": "integer", "title": "Mapped Db Source Id"}, "time_start": {"type": "string", "format": "date-time", "title": "Time Start"}, "time_complete": {"type": "string", "format": "date-time", "title": "Time Complete"}, "insertion_result": {"$ref": "#/components/schemas/SQLRepInsertionResult"}}, "type": "object", "required": ["id", "mapped_mitm_dataset_id", "mapped_db_source_id", "time_start", "time_complete", "insertion_result"], "title": "ListMappedDBPull"}, "ListMappedDBSource": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "db_mapping": {"$ref": "#/components/schemas/StandaloneDBMapping-Output"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}, "last_pulled": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Last Pulled"}}, "type": "object", "required": ["id", "uuid", "sql_alchemy_uri", "db_mapping", "mitm_header", "last_pulled"], "title": "ListMappedDBSource"}, "ListMappedMitMDataset": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}, "mapped_db_source_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Mapped Db Source Id"}, "last_pulled": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Last Pulled"}}, "type": "object", "required": ["id", "uuid", "dataset_name", "mitm", "type", "lives_on_mitm_db", "can_control_data", "can_control_header", "header_changed", "data_changed", "mapped_db_source_id", "last_pulled"], "title": "ListMappedMitMDataset"}, "ListTrackedMitMDataset": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}}, "type": "object", "required": ["id", "uuid", "dataset_name", "mitm", "type", "lives_on_mitm_db", "can_control_data", "can_control_header", "header_changed", "data_changed"], "title": "ListTrackedMitMDataset"}, "ListTrackedVisualization": {"properties": {"id": {"type": "integer", "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "tracked_mitm_dataset_id": {"type": "integer", "title": "Tracked Mitm Dataset Id"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "viz_type": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "viz_changed": {"type": "string", "format": "date-time", "title": "Viz Changed"}}, "type": "object", "required": ["id", "uuid", "tracked_mitm_dataset_id", "mitm", "viz_type", "viz_changed"], "title": "ListTrackedVisualization"}, "LocalTableIdentifier": {"properties": {"name": {"type": "string", "title": "Name"}, "schema": {"type": "string", "title": "Schema", "default": "main"}}, "type": "object", "required": ["name"], "title": "LocalTableIdentifier"}, "MAEDVisualizationType": {"type": "string", "enum": ["baseline", "experimental", "custom-chart"], "title": "MAEDVisualizationType"}, "MITM": {"type": "string", "enum": ["MAED", "OCEL2"], "title": "MITM"}, "MITMDataType": {"type": "string", "enum": ["text", "json", "integer", "numeric", "boolean", "datetime", "unknown", "infer"], "title": "MITMDataType"}, "MITMDefinition": {"properties": {"main_concepts": {"items": {"type": "string"}, "type": "array", "uniqueItems": true, "title": "Main Concepts"}, "weak_concepts": {"additionalProperties": {"$ref": "#/components/schemas/MITMDataType"}, "type": "object", "title": "Weak Concepts"}, "sub_concept_map": {"additionalProperties": {"items": {"type": "string"}, "type": "array", "uniqueItems": true}, "type": "object", "title": "Sub Concept Map"}, "concept_relations": {"additionalProperties": {"$ref": "#/components/schemas/OwnedRelations"}, "type": "object", "title": "Concept Relations"}, "concept_properties": {"additionalProperties": {"$ref": "#/components/schemas/ConceptProperties"}, "type": "object", "title": "Concept Properties"}, "leaf_concepts": {"items": {"type": "string"}, "type": "array", "uniqueItems": true, "title": "Leaf Concepts", "readOnly": true}, "abstract_concepts": {"items": {"type": "string"}, "type": "array", "uniqueItems": true, "title": "Abstract Concepts", "readOnly": true}, "parent_concept_map": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Parent Concept Map", "readOnly": true}}, "type": "object", "required": ["main_concepts", "weak_concepts", "sub_concept_map", "concept_relations", "concept_properties", "leaf_concepts", "abstract_concepts", "parent_concept_map"], "title": "MITMDefinition"}, "MappedDBSource": {"properties": {"uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "db_mapping": {"$ref": "#/components/schemas/StandaloneDBMapping-Output"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}}, "type": "object", "required": ["sql_alchemy_uri", "db_mapping", "mitm_header"], "title": "MappedDBSource"}, "MetadataType": {"type": "string", "enum": ["Database", "SqlaTable", "Slice", "Chart", "Dashboard", "Asset", "MitMDataset"], "title": "MetadataType"}, "MitMDatasetBundleResponse": {"properties": {"mitm_dataset": {"$ref": "#/components/schemas/SupersetMitMDatasetDef"}, "datasource_bundle": {"$ref": "#/components/schemas/SupersetDatasourceBundle"}, "visualization_bundle": {"$ref": "#/components/schemas/SupersetVisualizationBundle"}}, "type": "object", "required": ["mitm_dataset", "datasource_bundle", "visualization_bundle"], "title": "MitMDatasetBundleResponse"}, "MitMDatasetIdentifier": {"properties": {"id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "dataset_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Dataset Name"}}, "type": "object", "title": "MitMDatasetIdentifier"}, "MitMDatasetIdentifierBundle": {"properties": {"ch_id_map": {"additionalProperties": {"$ref": "#/components/schemas/ChartIdentifier"}, "type": "object", "title": "Ch Id Map"}, "viz_id_map": {"additionalProperties": {"additionalProperties": {"$ref": "#/components/schemas/DashboardIdentifier"}, "type": "object"}, "type": "object", "title": "Viz Id Map"}, "database": {"anyOf": [{"$ref": "#/components/schemas/DatabaseIdentifier"}, {"type": "null"}]}, "ds_id_map": {"additionalProperties": {"$ref": "#/components/schemas/DatasetIdentifier"}, "type": "object", "title": "Ds Id Map"}, "mitm_dataset": {"anyOf": [{"$ref": "#/components/schemas/MitMDatasetIdentifier"}, {"type": "null"}]}}, "type": "object", "title": "MitMDatasetIdentifierBundle"}, "MitMDatasetImportResponse": {"properties": {"mitm_datasets": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetMitMDatasetDef"}, "type": "array"}, {"type": "null"}], "title": "Mitm Datasets"}, "base_assets": {"anyOf": [{"$ref": "#/components/schemas/SupersetAssetsImport"}, {"type": "null"}]}, "metadata": {"$ref": "#/components/schemas/SupersetMetadataDef"}}, "type": "object", "required": ["mitm_datasets", "base_assets"], "title": "MitMDatasetImportResponse"}, "NativeFilterConfig": {"properties": {"id": {"type": "string", "title": "Id"}, "name": {"type": "string", "title": "Name"}, "targets": {"items": {"anyOf": [{"$ref": "#/components/schemas/DatasetReference"}, {"$ref": "#/components/schemas/ColumnOfDataset"}]}, "type": "array", "title": "Targets"}, "controlValues": {"$ref": "#/components/schemas/ControlValues"}, "filterType": {"$ref": "#/components/schemas/FilterType", "default": "filter_select"}, "type": {"type": "string", "title": "Type", "default": "NATIVE_FILTER"}, "scope": {"$ref": "#/components/schemas/NativeFilterScope"}}, "type": "object", "required": ["id", "name"], "title": "NativeFilterConfig"}, "NativeFilterScope": {"properties": {"rootPath": {"items": {"type": "string"}, "type": "array", "title": "Rootpath"}, "excluded": {"items": {"type": "string"}, "type": "array", "title": "Excluded"}}, "type": "object", "title": "NativeFilterScope"}, "NumericSummaryStatistics": {"properties": {"count": {"type": "integer", "title": "Count"}, "mean": {"type": "number", "title": "Mean"}, "min": {"type": "number", "title": "Min"}, "max": {"type": "number", "title": "Max"}, "std": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Std"}, "percentile_25": {"type": "number", "title": "Percentile 25"}, "percentile_50": {"type": "number", "title": "Percentile 50"}, "percentile_75": {"type": "number", "title": "Percentile 75"}}, "type": "object", "required": ["count", "mean", "min", "max", "percentile_25", "percentile_50", "percentile_75"], "title": "NumericSummaryStatistics"}, "OwnedRelations": {"properties": {"identity": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Identity"}, "inline": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Inline"}, "foreign": {"additionalProperties": {"$ref": "#/components/schemas/ForeignRelationInfo"}, "type": "object", "title": "Foreign"}}, "type": "object", "required": ["identity", "inline", "foreign"], "title": "OwnedRelations"}, "PatchExternalMitMDatasetRequest": {"properties": {"dataset_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Dataset Name"}, "schema_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Schema Name"}, "sql_alchemy_uri": {"anyOf": [{"type": "string", "minLength": 1, "format": "uri"}, {"type": "null"}], "title": "Sql Alchemy Uri"}}, "type": "object", "title": "PatchExternalMitMDatasetRequest"}, "PatchLocalMitMDatasetRequest": {"properties": {"dataset_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Dataset Name"}}, "type": "object", "title": "PatchLocalMitMDatasetRequest"}, "PatchMappedMitMDatasetRequest": {"properties": {"dataset_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Dataset Name"}, "mapped_db_source_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Mapped Db Source Id"}}, "type": "object", "title": "PatchMappedMitMDatasetRequest"}, "PatchTrackedMitMDatasetRequest": {"properties": {"dataset_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Dataset Name"}, "type": {"anyOf": [{"type": "string", "enum": ["local", "external", "mapped"]}, {"type": "null"}], "title": "Type"}, "lives_on_mitm_db": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Lives On Mitm Db"}, "can_control_data": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Can Control Data"}, "can_control_header": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Can Control Header"}, "schema_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Schema Name"}, "sql_alchemy_uri": {"anyOf": [{"type": "string", "minLength": 1, "format": "uri"}, {"type": "null"}], "title": "Sql Alchemy Uri"}, "mitm_header": {"anyOf": [{"$ref": "#/components/schemas/Header-Input"}, {"type": "null"}]}}, "type": "object", "title": "PatchTrackedMitMDatasetRequest"}, "PostTrackedMitMDatasetRequest": {"properties": {"uuid": {"anyOf": [{"type": "string", "format": "uuid"}, {"type": "null"}], "title": "Uuid"}, "type": {"type": "string", "enum": ["local", "external", "mapped"], "title": "Type"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db"}, "can_control_data": {"type": "boolean", "title": "Can Control Data"}, "can_control_header": {"type": "boolean", "title": "Can Control Header"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "schema_name": {"type": "string", "title": "Schema Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "mitm_header": {"$ref": "#/components/schemas/Header-Input"}, "mapped_db_source_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Mapped Db Source Id"}}, "type": "object", "required": ["type", "lives_on_mitm_db", "can_control_data", "can_control_header", "dataset_name", "schema_name", "sql_alchemy_uri", "mitm_header"], "title": "PostTrackedMitMDatasetRequest"}, "RawCompiled-Input": {"properties": {"operation": {"type": "string", "const": "compiled", "title": "Operation", "default": "compiled"}, "typed_query": {"$ref": "#/components/schemas/TypedRawQuery-Input"}}, "type": "object", "required": ["typed_query"], "title": "RawCompiled"}, "RawCompiled-Output": {"properties": {"operation": {"type": "string", "const": "compiled", "title": "Operation", "default": "compiled"}, "typed_query": {"$ref": "#/components/schemas/TypedRawQuery-Output"}}, "type": "object", "required": ["typed_query"], "title": "RawCompiled"}, "RefreshTrackVisualizationsRequest": {"properties": {"visualization_types": {"items": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "type": "array", "title": "Visualization Types"}, "drop_chart_identifiers": {"type": "boolean", "title": "Drop Chart Identifiers", "default": true}, "drop_dashboard_identifiers": {"type": "boolean", "title": "Drop Dashboard Identifiers", "default": false}}, "type": "object", "required": ["visualization_types"], "title": "RefreshTrackVisualizationsRequest"}, "RegisterExternalMitMDatasetRequest": {"properties": {"uuid": {"anyOf": [{"type": "string", "format": "uuid"}, {"type": "null"}], "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "schema_name": {"type": "string", "title": "Schema Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}}, "type": "object", "required": ["dataset_name", "schema_name", "sql_alchemy_uri"], "title": "RegisterExternalMitMDatasetRequest"}, "RegisterExternalMitMResponse": {"properties": {"status": {"type": "string", "enum": ["success", "failure"], "title": "Status", "default": "failure"}, "tracked_mitm_dataset": {"anyOf": [{"$ref": "#/components/schemas/GetTrackedMitMDataset"}, {"type": "null"}]}, "msg": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Msg"}}, "type": "object", "title": "RegisterExternalMitMResponse"}, "RegisterMappedMitMDatasetRequest": {"properties": {"uuid": {"anyOf": [{"type": "string", "format": "uuid"}, {"type": "null"}], "title": "Uuid"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "db_mapping": {"$ref": "#/components/schemas/StandaloneDBMapping-Input"}}, "type": "object", "required": ["dataset_name", "sql_alchemy_uri", "db_mapping"], "title": "RegisterMappedMitMDatasetRequest"}, "RegisterMappedMitMResult": {"properties": {"status": {"type": "string", "enum": ["success", "failure"], "title": "Status", "default": "failure"}, "tracked_mitm_dataset": {"anyOf": [{"$ref": "#/components/schemas/TrackedMitMDataset"}, {"type": "null"}]}, "msg": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Msg"}, "mapped_db_source": {"anyOf": [{"$ref": "#/components/schemas/MappedDBSource"}, {"type": "null"}]}}, "type": "object", "title": "RegisterMappedMitMResult"}, "ReselectColumns": {"properties": {"operation": {"type": "string", "const": "reselect_columns", "title": "Operation", "default": "reselect_columns"}, "selection": {"items": {"type": "string"}, "type": "array", "title": "Selection"}}, "type": "object", "required": ["selection"], "title": "ReselectColumns"}, "SQLRepInsertionResult": {"properties": {"inserted_types": {"items": {"$ref": "#/components/schemas/HeaderEntry"}, "type": "array", "title": "Inserted Types"}, "inserted_instances": {"type": "integer", "title": "Inserted Instances"}, "inserted_rows": {"type": "integer", "title": "Inserted Rows"}}, "type": "object", "required": ["inserted_types", "inserted_instances", "inserted_rows"], "title": "SQLRepInsertionResult"}, "SampleSummary": {"properties": {"sample_size": {"anyOf": [{"type": "integer", "minimum": 0.0}, {"type": "null"}], "title": "Sample Size"}, "na_fraction": {"anyOf": [{"type": "number", "maximum": 1.0, "minimum": 0.0}, {"type": "null"}], "title": "Na Fraction"}, "unique_fraction": {"anyOf": [{"type": "number", "maximum": 1.0, "minimum": 0.0}, {"type": "null"}], "title": "Unique Fraction"}, "value_counts": {"anyOf": [{"additionalProperties": {"type": "integer"}, "type": "object"}, {"type": "null"}], "title": "Value Counts"}, "summary_statistics": {"anyOf": [{"$ref": "#/components/schemas/NumericSummaryStatistics"}, {"$ref": "#/components/schemas/CategoricalSummaryStatistics"}, {"$ref": "#/components/schemas/DatetimeSummaryStatistics"}, {"type": "null"}], "title": "Summary Statistics"}, "json_schema": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Json Schema"}}, "type": "object", "title": "SampleSummary"}, "SimpleJoin-Input": {"properties": {"operation": {"type": "string", "const": "join", "title": "Operation", "default": "join"}, "left_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Left Table"}, "right_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Right Table"}, "on_cols_left": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "On Cols Left"}, "on_cols_right": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "On Cols Right"}, "is_outer": {"type": "boolean", "title": "Is Outer", "default": false}, "full": {"type": "boolean", "title": "Full", "default": false}, "selected_cols_left": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Selected Cols Left"}, "selected_cols_right": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Selected Cols Right"}, "left_alias": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Left Alias"}, "right_alias": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Right Alias"}}, "type": "object", "required": ["left_table", "right_table"], "title": "SimpleJoin"}, "SimpleJoin-Output": {"properties": {"operation": {"type": "string", "const": "join", "title": "Operation", "default": "join"}, "left_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Left Table"}, "right_table": {"anyOf": [{"$ref": "#/components/schemas/TableIdentifier"}, {"prefixItems": [{"$ref": "#/components/schemas/SourceDBType"}, {"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 3, "minItems": 3}, {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Right Table"}, "on_cols_left": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "On Cols Left"}, "on_cols_right": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "On Cols Right"}, "is_outer": {"type": "boolean", "title": "Is Outer", "default": false}, "full": {"type": "boolean", "title": "Full", "default": false}, "selected_cols_left": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Selected Cols Left"}, "selected_cols_right": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Selected Cols Right"}, "left_alias": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Left Alias"}, "right_alias": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Right Alias"}}, "type": "object", "required": ["left_table", "right_table"], "title": "SimpleJoin"}, "SimpleSQLOperator": {"type": "string", "enum": ["ilike", "like", "eq", "ge", "gt", "le", "lt", "in", "notin"], "title": "SimpleSQLOperator"}, "SimpleWhere-Input": {"properties": {"lhs": {"type": "string", "title": "Lhs"}, "operator": {"$ref": "#/components/schemas/SimpleSQLOperator"}, "rhs": {"anyOf": [{"type": "string"}, {"prefixItems": [{}, {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}]}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Rhs"}}, "type": "object", "required": ["lhs", "operator", "rhs"], "title": "SimpleWhere"}, "SimpleWhere-Output": {"properties": {"lhs": {"type": "string", "title": "Lhs"}, "operator": {"$ref": "#/components/schemas/SimpleSQLOperator"}, "rhs": {"anyOf": [{"type": "string"}, {"prefixItems": [{}, {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}]}], "type": "array", "maxItems": 2, "minItems": 2}], "title": "Rhs"}, "rhs_is_literal": {"type": "boolean", "title": "Rhs Is Literal", "readOnly": true}}, "type": "object", "required": ["lhs", "operator", "rhs", "rhs_is_literal"], "title": "SimpleWhere"}, "SourceDBType": {"type": "string", "enum": ["original", "working", "virtual"], "title": "SourceDBType"}, "StandaloneDBMapping-Input": {"properties": {"mitm": {"$ref": "#/components/schemas/MITM"}, "concept_mappings": {"items": {"$ref": "#/components/schemas/ConceptMapping-Input"}, "type": "array", "title": "Concept Mappings"}, "virtual_db_creation": {"$ref": "#/components/schemas/VirtualDBCreation-Input"}}, "type": "object", "required": ["mitm", "concept_mappings", "virtual_db_creation"], "title": "StandaloneDBMapping"}, "StandaloneDBMapping-Output": {"properties": {"mitm": {"$ref": "#/components/schemas/MITM"}, "concept_mappings": {"items": {"$ref": "#/components/schemas/ConceptMapping-Output"}, "type": "array", "title": "Concept Mappings"}, "virtual_db_creation": {"$ref": "#/components/schemas/VirtualDBCreation-Output"}}, "type": "object", "required": ["mitm", "concept_mappings", "virtual_db_creation"], "title": "StandaloneDBMapping"}, "SupersetAdhocFilter": {"properties": {"clause": {"type": "string", "title": "Clause", "default": "WHERE"}, "subject": {"type": "string", "title": "Subject"}, "operator": {"$ref": "#/components/schemas/FilterOperator"}, "operatorId": {"anyOf": [{"$ref": "#/components/schemas/FilterStringOperators"}, {"type": "null"}]}, "comparator": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Comparator", "default": "No filter"}, "expressionType": {"$ref": "#/components/schemas/ExpressionType", "default": "SIMPLE"}, "isExtra": {"type": "boolean", "title": "Isextra", "default": false}, "isNew": {"type": "boolean", "title": "Isnew", "default": true}, "sqlExpression": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Sqlexpression"}}, "type": "object", "required": ["subject", "operator"], "title": "SupersetAdhocFilter"}, "SupersetAssetType": {"type": "string", "enum": ["database", "dataset", "chart", "dashboard", "mitm_dataset"], "title": "SupersetAssetType"}, "SupersetAssetsImport": {"properties": {"databases": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetDatabaseDef"}, "type": "array"}, {"type": "null"}], "title": "Databases"}, "datasets": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetDatasetDef"}, "type": "array"}, {"type": "null"}], "title": "Datasets"}, "charts": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetChartDef"}, "type": "array"}, {"type": "null"}], "title": "Charts"}, "dashboards": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetDashboardDef"}, "type": "array"}, {"type": "null"}], "title": "Dashboards"}, "metadata": {"$ref": "#/components/schemas/SupersetMetadataDef"}}, "type": "object", "title": "SupersetAssetsImport"}, "SupersetChartDef": {"properties": {"uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "slice_name": {"type": "string", "title": "Slice Name"}, "viz_type": {"$ref": "#/components/schemas/SupersetVizType"}, "dataset_uuid": {"type": "string", "format": "uuid", "title": "Dataset Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description"}, "certified_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Certified By"}, "certification_details": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Certification Details"}, "params": {"anyOf": [{"$ref": "#/components/schemas/ChartParams"}, {"type": "null"}]}, "query_context": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query Context"}, "cache_timeout": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Cache Timeout"}, "version": {"type": "string", "title": "Version", "default": "1.0.0"}, "is_managed_externally": {"type": "boolean", "title": "Is Managed Externally", "default": false}, "external_url": {"anyOf": [{"type": "string", "minLength": 1, "format": "uri", "description": "Better annotation for AnyUrl. Parses from string format, serializes to string format."}, {"type": "null"}], "title": "External Url"}}, "type": "object", "required": ["uuid", "slice_name", "viz_type", "dataset_uuid"], "title": "SupersetChartDef"}, "SupersetColumn": {"properties": {"column_name": {"type": "string", "title": "Column Name"}, "verbose_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Verbose Name"}, "id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "is_dttm": {"type": "boolean", "title": "Is Dttm", "default": false}, "is_active": {"type": "boolean", "title": "Is Active", "default": true}, "type": {"type": "string", "title": "Type", "default": "VARCHAR"}, "advanced_data_type": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Advanced Data Type"}, "groupby": {"type": "boolean", "title": "Groupby", "default": true}, "filterable": {"type": "boolean", "title": "Filterable", "default": true}, "expression": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Expression"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description"}, "python_date_format": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Python Date Format"}, "extra": {"additionalProperties": true, "type": "object", "title": "Extra"}}, "type": "object", "required": ["column_name"], "title": "SupersetColumn"}, "SupersetDashboardDef": {"properties": {"uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "dashboard_title": {"type": "string", "title": "Dashboard Title"}, "position": {"additionalProperties": {"anyOf": [{"type": "string"}, {"$ref": "#/components/schemas/DashboardComponent"}]}, "type": "object", "title": "Position"}, "metadata": {"$ref": "#/components/schemas/DashboardMetadata"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description"}, "css": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Css"}, "slug": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Slug"}, "is_managed_externally": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Is Managed Externally", "default": false}, "external_url": {"anyOf": [{"type": "string", "minLength": 1, "format": "uri", "description": "Better annotation for AnyUrl. Parses from string format, serializes to string format."}, {"type": "null"}], "title": "External Url"}, "certified_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Certified By"}, "certification_details": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Certification Details"}, "published": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Published", "default": false}, "version": {"type": "string", "title": "Version", "default": "1.0.0"}}, "type": "object", "required": ["uuid", "dashboard_title", "position", "metadata"], "title": "SupersetDashboardDef"}, "SupersetDatabaseDef": {"properties": {"database_name": {"type": "string", "title": "Database Name"}, "sqlalchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sqlalchemy Uri", "description": "Better annotation for AnyUrl. Parses from string format, serializes to string format."}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "cache_timeout": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cache Timeout"}, "expose_in_sqllab": {"type": "boolean", "title": "Expose In Sqllab", "default": true}, "allow_run_async": {"type": "boolean", "title": "Allow Run Async", "default": true}, "allow_ctas": {"type": "boolean", "title": "Allow Ctas", "default": false}, "allow_cvas": {"type": "boolean", "title": "Allow Cvas", "default": false}, "allow_dml": {"type": "boolean", "title": "Allow Dml", "default": false}, "allow_file_upload": {"type": "boolean", "title": "Allow File Upload", "default": false}, "extra": {"additionalProperties": true, "type": "object", "title": "Extra"}, "impersonate_user": {"type": "boolean", "title": "Impersonate User", "default": false}, "version": {"type": "string", "title": "Version", "default": "1.0.0"}, "ssh_tunnel": {"type": "null", "title": "Ssh Tunnel"}}, "type": "object", "required": ["database_name", "sqlalchemy_uri", "uuid"], "title": "SupersetDatabaseDef"}, "SupersetDatasetDef": {"properties": {"table_name": {"type": "string", "title": "Table Name"}, "schema": {"type": "string", "title": "Schema"}, "uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "database_uuid": {"type": "string", "format": "uuid", "title": "Database Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "main_dttm_col": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Main Dttm Col"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description"}, "default_endpoint": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Default Endpoint"}, "offset": {"type": "integer", "title": "Offset", "default": 0}, "cache_timeout": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cache Timeout"}, "catalog": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Catalog"}, "sql": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Sql"}, "params": {"title": "Params"}, "template_params": {"title": "Template Params"}, "is_managed_externally": {"type": "boolean", "title": "Is Managed Externally", "default": true}, "external_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "External Url"}, "filter_select_enabled": {"type": "boolean", "title": "Filter Select Enabled", "default": true}, "fetch_values_predicate": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Fetch Values Predicate"}, "extra": {"additionalProperties": true, "type": "object", "title": "Extra"}, "normalize_columns": {"type": "boolean", "title": "Normalize Columns", "default": false}, "always_filter_main_dttm": {"type": "boolean", "title": "Always Filter Main Dttm", "default": false}, "metrics": {"items": {"$ref": "#/components/schemas/SupersetMetric"}, "type": "array", "title": "Metrics"}, "columns": {"items": {"$ref": "#/components/schemas/SupersetColumn"}, "type": "array", "title": "Columns"}, "version": {"type": "string", "title": "Version", "default": "1.0.0"}}, "type": "object", "required": ["table_name", "schema", "uuid", "database_uuid"], "title": "SupersetDatasetDef"}, "SupersetDatasourceBundle": {"properties": {"database": {"$ref": "#/components/schemas/SupersetDatabaseDef"}, "datasets": {"items": {"$ref": "#/components/schemas/SupersetDatasetDef"}, "type": "array", "title": "Datasets"}}, "type": "object", "required": ["database"], "title": "SupersetDatasourceBundle"}, "SupersetMetadataDef": {"properties": {"type": {"$ref": "#/components/schemas/MetadataType"}, "version": {"type": "string", "title": "Version", "default": "1.0.0"}, "timestamp": {"type": "string", "format": "date-time", "title": "Timestamp", "description": "Better annotation for datetime. Parses from string format, serializes to string format."}}, "type": "object", "required": ["type"], "title": "SupersetMetadataDef"}, "SupersetMetric": {"properties": {"metric_name": {"type": "string", "title": "Metric Name"}, "verbose_name": {"type": "string", "title": "Verbose Name"}, "expression": {"type": "string", "title": "Expression"}, "metric_type": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Metric Type"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description"}, "d3format": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "D3Format"}, "currency": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Currency"}, "extra": {"additionalProperties": true, "type": "object", "title": "Extra"}, "warning_text": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Warning Text"}}, "type": "object", "required": ["metric_name", "verbose_name", "expression"], "title": "SupersetMetric"}, "SupersetMitMDatasetDef": {"properties": {"uuid": {"type": "string", "format": "uuid", "title": "Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "mitm": {"$ref": "#/components/schemas/MITM"}, "mitm_header": {"anyOf": [{"$ref": "#/components/schemas/Header-Output"}, {"type": "null"}]}, "database_uuid": {"type": "string", "format": "uuid", "title": "Database Uuid", "description": "Better annotation for UUID. Parses from string format, serializes to string format."}, "tables": {"anyOf": [{"items": {"$ref": "#/components/schemas/DatasetIdentifier"}, "type": "array"}, {"type": "null"}], "title": "Tables"}, "slices": {"anyOf": [{"items": {"$ref": "#/components/schemas/ChartIdentifier"}, "type": "array"}, {"type": "null"}], "title": "Slices"}, "dashboards": {"anyOf": [{"items": {"$ref": "#/components/schemas/DashboardIdentifier"}, "type": "array"}, {"type": "null"}], "title": "Dashboards"}, "version": {"type": "string", "title": "Version", "default": "1.0.0"}}, "type": "object", "required": ["uuid", "dataset_name", "mitm", "database_uuid"], "title": "SupersetMitMDatasetDef"}, "SupersetMitMDatasetImport": {"properties": {"mitm_datasets": {"anyOf": [{"items": {"$ref": "#/components/schemas/SupersetMitMDatasetDef"}, "type": "array"}, {"type": "null"}], "title": "Mitm Datasets"}, "base_assets": {"anyOf": [{"$ref": "#/components/schemas/SupersetAssetsImport"}, {"type": "null"}]}, "metadata": {"$ref": "#/components/schemas/SupersetMetadataDef"}}, "type": "object", "required": ["mitm_datasets", "base_assets"], "title": "SupersetMitMDatasetImport"}, "SupersetVisualizationBundle": {"properties": {"charts": {"items": {"$ref": "#/components/schemas/SupersetChartDef"}, "type": "array", "title": "Charts"}, "dashboards": {"items": {"$ref": "#/components/schemas/SupersetDashboardDef"}, "type": "array", "title": "Dashboards"}, "named_charts": {"anyOf": [{"additionalProperties": {"$ref": "#/components/schemas/ChartIdentifier"}, "type": "object"}, {"type": "null"}], "title": "Named Charts"}, "viz_collections": {"anyOf": [{"additionalProperties": {"additionalProperties": {"$ref": "#/components/schemas/DashboardIdentifier"}, "type": "object"}, "type": "object"}, {"type": "null"}], "title": "Viz Collections"}}, "type": "object", "title": "SupersetVisualizationBundle"}, "SupersetVizType": {"type": "string", "enum": ["pie", "big_number", "big_number_total", "echarts_timeseries_bar", "echarts_timeseries_line", "maed_custom"], "title": "SupersetVizType"}, "TableFilter-Input": {"properties": {"operation": {"type": "string", "const": "table_filter", "title": "Operation", "default": "table_filter"}, "wheres": {"items": {"$ref": "#/components/schemas/SimpleWhere-Input"}, "type": "array", "title": "Wheres"}, "limit": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Limit"}}, "type": "object", "required": ["wheres"], "title": "TableFilter"}, "TableFilter-Output": {"properties": {"operation": {"type": "string", "const": "table_filter", "title": "Operation", "default": "table_filter"}, "wheres": {"items": {"$ref": "#/components/schemas/SimpleWhere-Output"}, "type": "array", "title": "Wheres"}, "limit": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Limit"}}, "type": "object", "required": ["wheres"], "title": "TableFilter"}, "TableIdentifier": {"properties": {"source": {"$ref": "#/components/schemas/SourceDBType", "default": "original"}, "schema": {"type": "string", "title": "Schema", "default": "main"}, "name": {"type": "string", "title": "Name"}}, "type": "object", "required": ["name"], "title": "TableIdentifier"}, "TableMetaInfoBase": {"properties": {"schema_name": {"type": "string", "title": "Schema Name", "default": "main"}, "name": {"type": "string", "title": "Name"}, "columns": {"items": {"type": "string"}, "type": "array", "title": "Columns"}, "sql_column_types": {"items": {"type": "string"}, "type": "array", "title": "Sql Column Types"}, "primary_key": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Primary Key"}, "indexes": {"anyOf": [{"items": {"items": {"type": "string"}, "type": "array"}, "type": "array"}, {"type": "null"}], "title": "Indexes"}, "foreign_key_constraints": {"items": {"$ref": "#/components/schemas/ForeignKeyConstraintBase"}, "type": "array", "title": "Foreign Key Constraints"}, "column_properties": {"additionalProperties": {"$ref": "#/components/schemas/ColumnProperties"}, "type": "object", "title": "Column Properties"}}, "type": "object", "required": ["name", "columns", "sql_column_types"], "title": "TableMetaInfoBase"}, "TableProbeMinimal": {"properties": {"row_count": {"type": "integer", "minimum": 0.0, "title": "Row Count"}, "inferred_types": {"additionalProperties": {"$ref": "#/components/schemas/MITMDataType"}, "type": "object", "title": "Inferred Types"}, "sample_summaries": {"additionalProperties": {"$ref": "#/components/schemas/SampleSummary"}, "type": "object", "title": "Sample Summaries"}}, "type": "object", "required": ["row_count", "inferred_types", "sample_summaries"], "title": "TableProbeMinimal"}, "TrackVisualizationsRequest": {"properties": {"visualization_types": {"items": {"$ref": "#/components/schemas/MAEDVisualizationType"}, "type": "array", "title": "Visualization Types"}}, "type": "object", "required": ["visualization_types"], "title": "TrackVisualizationsRequest"}, "TrackVisualizationsResponse": {"properties": {"tracked_mitm_dataset": {"$ref": "#/components/schemas/GetTrackedMitMDataset"}, "tracked_visualizations": {"items": {"$ref": "#/components/schemas/ListTrackedVisualization"}, "type": "array", "title": "Tracked Visualizations"}}, "type": "object", "required": ["tracked_mitm_dataset", "tracked_visualizations"], "title": "TrackVisualizationsResponse"}, "TrackedMitMDataset": {"properties": {"uuid": {"type": "string", "format": "uuid", "title": "Uuid"}, "id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Id"}, "dataset_name": {"type": "string", "title": "Dataset Name"}, "schema_name": {"type": "string", "title": "Schema Name"}, "sql_alchemy_uri": {"type": "string", "minLength": 1, "format": "uri", "title": "Sql Alchemy Uri"}, "type": {"type": "string", "title": "Type", "default": "local"}, "lives_on_mitm_db": {"type": "boolean", "title": "Lives On Mitm Db", "default": true}, "can_control_data": {"type": "boolean", "title": "Can Control Data", "default": true}, "can_control_header": {"type": "boolean", "title": "Can Control Header", "default": true}, "header_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Header Changed"}, "data_changed": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}], "title": "Data Changed"}, "mitm_header": {"$ref": "#/components/schemas/Header-Output"}, "base_superset_identifier_bundle": {"$ref": "#/components/schemas/MitMDatasetIdentifierBundle"}, "mapped_db_source_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Mapped Db Source Id"}}, "type": "object", "required": ["dataset_name", "schema_name", "sql_alchemy_uri", "mitm_header", "base_superset_identifier_bundle"], "title": "TrackedMitMDataset"}, "TypedRawQuery-Input": {"properties": {"dialect": {"type": "string", "title": "Dialect"}, "compiled_sql": {"type": "string", "title": "Compiled Sql"}, "columns": {"items": {"type": "string"}, "type": "array", "title": "Columns"}, "column_dtypes": {"items": {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}]}, "type": "array", "title": "Column Dtypes"}}, "type": "object", "required": ["dialect", "compiled_sql", "columns", "column_dtypes"], "title": "TypedRawQuery"}, "TypedRawQuery-Output": {"properties": {"dialect": {"type": "string", "title": "Dialect"}, "compiled_sql": {"type": "string", "title": "Compiled Sql"}, "columns": {"items": {"type": "string"}, "type": "array", "title": "Columns"}, "column_dtypes": {"items": {"anyOf": [{"$ref": "#/components/schemas/WrappedMITMDataType"}, {"type": "string"}]}, "type": "array", "title": "Column Dtypes"}}, "type": "object", "required": ["dialect", "compiled_sql", "columns", "column_dtypes"], "title": "TypedRawQuery"}, "UploadMitMResponse": {"properties": {"status": {"type": "string", "enum": ["success", "failure"], "title": "Status", "default": "failure"}, "tracked_mitm_dataset": {"anyOf": [{"$ref": "#/components/schemas/GetTrackedMitMDataset"}, {"type": "null"}]}, "msg": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Msg"}}, "type": "object", "title": "UploadMitMResponse"}, "ValidationError": {"properties": {"loc": {"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]}, "type": "array", "title": "Location"}, "msg": {"type": "string", "title": "Message"}, "type": {"type": "string", "title": "Error Type"}}, "type": "object", "required": ["loc", "msg", "type"], "title": "ValidationError"}, "VirtualDBCreation-Input": {"properties": {"virtual_view_creations": {"items": {"$ref": "#/components/schemas/VirtualViewCreation-Input"}, "type": "array", "title": "Virtual View Creations"}}, "type": "object", "title": "VirtualDBCreation"}, "VirtualDBCreation-Output": {"properties": {"virtual_view_creations": {"items": {"$ref": "#/components/schemas/VirtualViewCreation-Output"}, "type": "array", "title": "Virtual View Creations"}}, "type": "object", "title": "VirtualDBCreation"}, "VirtualViewCreation-Input": {"properties": {"name": {"type": "string", "title": "Name"}, "schema": {"type": "string", "title": "Schema", "default": "virtual"}, "table_creation": {"oneOf": [{"$ref": "#/components/schemas/SimpleJoin-Input"}, {"$ref": "#/components/schemas/ExistingTable-Input"}, {"$ref": "#/components/schemas/RawCompiled-Input"}], "title": "Table Creation", "discriminator": {"propertyName": "operation", "mapping": {"compiled": "#/components/schemas/RawCompiled-Input", "existing": "#/components/schemas/ExistingTable-Input", "join": "#/components/schemas/SimpleJoin-Input"}}}, "transforms": {"anyOf": [{"items": {"oneOf": [{"$ref": "#/components/schemas/EditColumns-Input"}, {"$ref": "#/components/schemas/ReselectColumns"}, {"$ref": "#/components/schemas/TableFilter-Input"}, {"$ref": "#/components/schemas/Limit"}], "discriminator": {"propertyName": "operation", "mapping": {"edit_columns": "#/components/schemas/EditColumns-Input", "limit": "#/components/schemas/Limit", "reselect_columns": "#/components/schemas/ReselectColumns", "table_filter": "#/components/schemas/TableFilter-Input"}}}, "type": "array"}, {"type": "null"}], "title": "Transforms"}}, "type": "object", "required": ["name", "table_creation"], "title": "VirtualViewCreation"}, "VirtualViewCreation-Output": {"properties": {"name": {"type": "string", "title": "Name"}, "schema": {"type": "string", "title": "Schema", "default": "virtual"}, "table_creation": {"oneOf": [{"$ref": "#/components/schemas/SimpleJoin-Output"}, {"$ref": "#/components/schemas/ExistingTable-Output"}, {"$ref": "#/components/schemas/RawCompiled-Output"}], "title": "Table Creation", "discriminator": {"propertyName": "operation", "mapping": {"compiled": "#/components/schemas/RawCompiled-Output", "existing": "#/components/schemas/ExistingTable-Output", "join": "#/components/schemas/SimpleJoin-Output"}}}, "transforms": {"anyOf": [{"items": {"oneOf": [{"$ref": "#/components/schemas/EditColumns-Output"}, {"$ref": "#/components/schemas/ReselectColumns"}, {"$ref": "#/components/schemas/TableFilter-Output"}, {"$ref": "#/components/schemas/Limit"}], "discriminator": {"propertyName": "operation", "mapping": {"edit_columns": "#/components/schemas/EditColumns-Output", "limit": "#/components/schemas/Limit", "reselect_columns": "#/components/schemas/ReselectColumns", "table_filter": "#/components/schemas/TableFilter-Output"}}}, "type": "array"}, {"type": "null"}], "title": "Transforms"}}, "type": "object", "required": ["name", "table_creation"], "title": "VirtualViewCreation"}, "VisualizationsIdentifierBundle": {"properties": {"ch_id_map": {"additionalProperties": {"$ref": "#/components/schemas/ChartIdentifier"}, "type": "object", "title": "Ch Id Map"}, "viz_id_map": {"additionalProperties": {"additionalProperties": {"$ref": "#/components/schemas/DashboardIdentifier"}, "type": "object"}, "type": "object", "title": "Viz Id Map"}}, "type": "object", "title": "VisualizationsIdentifierBundle"}, "WrappedMITMDataType": {"properties": {"mitm": {"$ref": "#/components/schemas/MITMDataType"}}, "type": "object", "required": ["mitm"], "title": "WrappedMITMDataType"}}}}
\ No newline at end of file
diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index 2090ac5e73654059b0641d53d56dec8576df368c..1c03fb6e3a681ceb4ca84b72bf8248f45499cd4e 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -2136,32 +2136,6 @@ components:
       - parent_concept_map
       title: MITMDefinition
       type: object
-    MappedDBSource:
-      properties:
-        db_mapping:
-          $ref: '#/components/schemas/StandaloneDBMapping-Output'
-        id:
-          anyOf:
-          - type: integer
-          - type: 'null'
-          title: Id
-        mitm_header:
-          $ref: '#/components/schemas/Header-Output'
-        sql_alchemy_uri:
-          format: uri
-          minLength: 1
-          title: Sql Alchemy Uri
-          type: string
-        uuid:
-          format: uuid
-          title: Uuid
-          type: string
-      required:
-      - sql_alchemy_uri
-      - db_mapping
-      - mitm_header
-      title: MappedDBSource
-      type: object
     MetadataType:
       enum:
       - Database
@@ -2534,7 +2508,7 @@ components:
       - typed_query
       title: RawCompiled
       type: object
-    RefreshTrackVisualizationsRequest:
+    RefreshTrackedVisualizationsRequest:
       properties:
         drop_chart_identifiers:
           default: true
@@ -2551,7 +2525,7 @@ components:
           type: array
       required:
       - visualization_types
-      title: RefreshTrackVisualizationsRequest
+      title: RefreshTrackedVisualizationsRequest
       type: object
     RegisterExternalMitMDatasetRequest:
       properties:
@@ -2622,11 +2596,11 @@ components:
       - db_mapping
       title: RegisterMappedMitMDatasetRequest
       type: object
-    RegisterMappedMitMResult:
+    RegisterMappedMitMResponse:
       properties:
         mapped_db_source:
           anyOf:
-          - $ref: '#/components/schemas/MappedDBSource'
+          - $ref: '#/components/schemas/ListMappedDBSource'
           - type: 'null'
         msg:
           anyOf:
@@ -2642,9 +2616,9 @@ components:
           type: string
         tracked_mitm_dataset:
           anyOf:
-          - $ref: '#/components/schemas/TrackedMitMDataset'
+          - $ref: '#/components/schemas/GetTrackedMitMDataset'
           - type: 'null'
-      title: RegisterMappedMitMResult
+      title: RegisterMappedMitMResponse
       type: object
     ReselectColumns:
       properties:
@@ -3832,7 +3806,7 @@ components:
           $ref: '#/components/schemas/GetTrackedMitMDataset'
         tracked_visualizations:
           items:
-            $ref: '#/components/schemas/ListTrackedVisualization'
+            $ref: '#/components/schemas/GetTrackedVisualization'
           title: Tracked Visualizations
           type: array
       required:
@@ -3840,73 +3814,6 @@ components:
       - tracked_visualizations
       title: TrackVisualizationsResponse
       type: object
-    TrackedMitMDataset:
-      properties:
-        base_superset_identifier_bundle:
-          $ref: '#/components/schemas/MitMDatasetIdentifierBundle'
-        can_control_data:
-          default: true
-          title: Can Control Data
-          type: boolean
-        can_control_header:
-          default: true
-          title: Can Control Header
-          type: boolean
-        data_changed:
-          anyOf:
-          - format: date-time
-            type: string
-          - type: 'null'
-          title: Data Changed
-        dataset_name:
-          title: Dataset Name
-          type: string
-        header_changed:
-          anyOf:
-          - format: date-time
-            type: string
-          - type: 'null'
-          title: Header Changed
-        id:
-          anyOf:
-          - type: integer
-          - type: 'null'
-          title: Id
-        lives_on_mitm_db:
-          default: true
-          title: Lives On Mitm Db
-          type: boolean
-        mapped_db_source_id:
-          anyOf:
-          - type: integer
-          - type: 'null'
-          title: Mapped Db Source Id
-        mitm_header:
-          $ref: '#/components/schemas/Header-Output'
-        schema_name:
-          title: Schema Name
-          type: string
-        sql_alchemy_uri:
-          format: uri
-          minLength: 1
-          title: Sql Alchemy Uri
-          type: string
-        type:
-          default: local
-          title: Type
-          type: string
-        uuid:
-          format: uuid
-          title: Uuid
-          type: string
-      required:
-      - dataset_name
-      - schema_name
-      - sql_alchemy_uri
-      - mitm_header
-      - base_superset_identifier_bundle
-      title: TrackedMitMDataset
-      type: object
     TypedRawQuery-Input:
       properties:
         column_dtypes:
@@ -4900,7 +4807,7 @@ paths:
           content:
             application/json:
               schema:
-                $ref: '#/components/schemas/RegisterMappedMitMResult'
+                $ref: '#/components/schemas/RegisterMappedMitMResponse'
           description: Successful Response
         '422':
           content:
@@ -5268,7 +5175,7 @@ paths:
         content:
           application/json:
             schema:
-              $ref: '#/components/schemas/RefreshTrackVisualizationsRequest'
+              $ref: '#/components/schemas/RefreshTrackedVisualizationsRequest'
         required: true
       responses:
         '200':
diff --git a/test/upload.http b/test/upload.http
index f25fcf0764f244f0f981d7a49fae74a36fe913de..76e50c9d8d81998b3be03878d571fea25b3f49fe 100644
--- a/test/upload.http
+++ b/test/upload.http
@@ -43,4 +43,8 @@ GET http://localhost:{{port}}/data/db-probe/{{uuid}}
 
 GET http://localhost:{{port}}/mitm_dataset/local/{{uuid}}
 
+###
+
+DELETE http://localhost:{{port}}/mitm_dataset/{{uuid}}
+
 ###
\ No newline at end of file