From ab0e6a9f8d5b6078ea6f597535bcd906f0af5c84 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 2 May 2023 07:53:20 -0400 Subject: [PATCH] ENH: Define a Delimiter field for column descriptions --- src/common-principles.md | 1 + src/schema/objects/columns.yaml | 1 + src/schema/objects/metadata.yaml | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/src/common-principles.md b/src/common-principles.md index 2dc9905d9a..997fb8b275 100644 --- a/src/common-principles.md +++ b/src/common-principles.md @@ -483,6 +483,7 @@ and a guide for using macros can be found at ), "Levels": "RECOMMENDED", "Units": "RECOMMENDED", + "Delimiter": "OPTIONAL", "TermURL": "RECOMMENDED", "HED": "OPTIONAL", } diff --git a/src/schema/objects/columns.yaml b/src/schema/objects/columns.yaml index 77d997e071..c6d5478533 100644 --- a/src/schema/objects/columns.yaml +++ b/src/schema/objects/columns.yaml @@ -56,6 +56,7 @@ channel: If multiple channels are specified, separate with commas (`,`) or a delimiter specified in the `"Delimiter"` field describing the `channel` column. + type: string color: name: color display_name: Color label diff --git a/src/schema/objects/metadata.yaml b/src/schema/objects/metadata.yaml index d0fa480198..53bcbe205e 100644 --- a/src/schema/objects/metadata.yaml +++ b/src/schema/objects/metadata.yaml @@ -570,6 +570,13 @@ DelayTime: This field is mutually exclusive with `"VolumeTiming"`. type: number unit: s +Delimiter: + name: Delimiter + display_name: Delimiter + description: | + If a column may be interpreted as a list of values, the character that + separates one value from the next. + type: string Density: name: Density display_name: Density