From 288b5706828065da390ac79b164d3635d5a27b12 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Wed, 28 Feb 2024 13:13:12 -0800 Subject: [PATCH] Add data_model_labels, annotation_keys, and table_column_names to schema (#151) --- schemas/dca_config.schema.json | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/schemas/dca_config.schema.json b/schemas/dca_config.schema.json index dad48dc..0e19f09 100644 --- a/schemas/dca_config.schema.json +++ b/schemas/dca_config.schema.json @@ -102,6 +102,18 @@ ], "additionalProperties": false, "properties": { + "global": { + "description": "Parameters common to many schematic commands", + "type": "object", + "required": [ "data_model_labels" ], + "properties": { + "data_model_labels" { + "description": "Source for labels of the data model", + "type": "string", + "enum": [ "class_label", "display_label" ] + } + } + }, "manifest_generate": { "description": "Parameters to pass to Schematic manifest generate", "type": "object", @@ -135,16 +147,23 @@ "description": "Parameters to pass Schematic model submit", "type": "object", "required": [ - "use_schema_labels", "table_manipulation", "manifest_record_type", - "hide_blanks" + "hide_blanks", + "annotation_keys", + "table_column_names" ], "additionalProperties": false, "properties": { - "use_schema_labels": { + "annotation_keys": { "description": "Schematic model submit option", - "type": "boolean" + "type": "string", + "enum": [ "class_label", "display_label" ] + }, + "table_column_names": { + "description": "Schematic model submit option", + "type": "string", + "enum": [ "class_label", "display_label", "display_name" ] }, "table_manipulation": { "description": "Schematic model submit option",