From 7960ae2a0c3fd9936a7173f9b14f24dd77a1c127 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Thu, 24 Aug 2023 15:26:13 -0400 Subject: [PATCH] chore(schemas)!: remove outdated bento ingest schema --- bento_lib/schemas/bento.py | 4 ---- bento_lib/schemas/bento_ingest.schema.json | 18 ------------------ 2 files changed, 22 deletions(-) delete mode 100644 bento_lib/schemas/bento_ingest.schema.json diff --git a/bento_lib/schemas/bento.py b/bento_lib/schemas/bento.py index fb19155f..fe03a630 100644 --- a/bento_lib/schemas/bento.py +++ b/bento_lib/schemas/bento.py @@ -2,12 +2,8 @@ __all__ = [ - "BENTO_INGEST_SCHEMA", "BENTO_DATA_USE_SCHEMA", ] -# TODO: Refactor this schema and semi-combine with workflow schema -BENTO_INGEST_SCHEMA = load_json_schema("bento_ingest.schema.json") - BENTO_DATA_USE_SCHEMA = load_json_schema("bento_data_use.schema.json") diff --git a/bento_lib/schemas/bento_ingest.schema.json b/bento_lib/schemas/bento_ingest.schema.json deleted file mode 100644 index 4c98b226..00000000 --- a/bento_lib/schemas/bento_ingest.schema.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$id": "https://raw.githubusercontent.com/bento-platform/bento_lib/master/bento_lib/schemas/bento_ingest.schema.json", - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Bento Ingestion Endpoint", - "type": "object", - "required": [ - "table_id", - "workflow_id", - "workflow_outputs", - "workflow_params" - ], - "properties": { - "table_id": {"type": "string"}, - "workflow_id": {"type": "string"}, - "workflow_outputs": {"type": "object"}, - "workflow_params": {"type": "object"} - } -}