From 5a98fd41464b55531fdd107fb8609f97e0d7263b Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Tue, 12 Nov 2024 10:47:36 +0100 Subject: [PATCH] create schemas for the two types of panels we want to have --- .../panel/schema/panel.main.yaml | 8 ++++++++ .../panel/schema/panel.visualize.yaml | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 src/depiction_targeted_preproc/panel/schema/panel.main.yaml create mode 100644 src/depiction_targeted_preproc/panel/schema/panel.visualize.yaml diff --git a/src/depiction_targeted_preproc/panel/schema/panel.main.yaml b/src/depiction_targeted_preproc/panel/schema/panel.main.yaml new file mode 100644 index 0000000..863aa9e --- /dev/null +++ b/src/depiction_targeted_preproc/panel/schema/panel.main.yaml @@ -0,0 +1,8 @@ +fields: + - name: label + type: string + - name: mass + type: number + - name: type + type: string + categories: [target, standard] diff --git a/src/depiction_targeted_preproc/panel/schema/panel.visualize.yaml b/src/depiction_targeted_preproc/panel/schema/panel.visualize.yaml new file mode 100644 index 0000000..da2d912 --- /dev/null +++ b/src/depiction_targeted_preproc/panel/schema/panel.visualize.yaml @@ -0,0 +1,7 @@ +fields: + - name: label + type: string + - name: mass + type: number + - name: tol + type: number