Skip to content

Commit 323d98b

Browse files
committed
feat: Add Maximum/Minimum to column definitions
1 parent 05be09e commit 323d98b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/common-principles.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,8 @@ and a guide for using macros can be found at
551551
"Delimiter": "OPTIONAL",
552552
"TermURL": "RECOMMENDED",
553553
"HED": "OPTIONAL",
554+
"Maximum": "OPTIONAL",
555+
"Minimum": "OPTIONAL",
554556
}
555557
) }}
556558

src/schema/objects/metadata.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,6 +2186,14 @@ MaxMovement:
21862186
as measured by the head localization coils (for example, `4.8`).
21872187
type: number
21882188
unit: mm
2189+
Maximum:
2190+
name: Maximum
2191+
display_name: Maximum value
2192+
description: |
2193+
Maximum value a column entry is permitted to have.
2194+
anyOf:
2195+
- type: number
2196+
- type: string
21892197
MeasurementToolMetadata:
21902198
name: MeasurementToolMetadata
21912199
display_name: Measurement Tool Metadata
@@ -2224,6 +2232,14 @@ MetaboliteRecoveryCorrectionApplied:
22242232
If `true`, the `hplc_recovery_fractions` column MUST be present in the
22252233
corresponding `*_blood.tsv` file.
22262234
type: boolean
2235+
Minimum:
2236+
name: Minimum
2237+
display_name: Minimum value
2238+
description: |
2239+
Minimum value a column entry is permitted to have.
2240+
anyOf:
2241+
- type: number
2242+
- type: string
22272243
MiscChannelCount:
22282244
name: MiscChannelCount
22292245
display_name: Misc Channel Count

0 commit comments

Comments
 (0)