Skip to content

Commit 1813101

Browse files
committed
feat(schema): Add nifti_header.axis_codes to context
1 parent 47e531d commit 1813101

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/schema/meta/context.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ properties:
317317
- xyzt_units
318318
- qform_code
319319
- sform_code
320+
- axis_codes
320321
additionalProperties: false
321322
properties:
322323
dim_info:
@@ -405,6 +406,15 @@ properties:
405406
name: 'sform code'
406407
description: 'Use of the affine fields.'
407408
type: integer
409+
axis_codes:
410+
name: 'axis codes'
411+
description: 'Orientation labels indicating primary direction of data axes.'
412+
type: array
413+
minItems: 3
414+
maxItems: 3
415+
items:
416+
type: string
417+
enum: ['R', 'L', 'A', 'P', 'S', 'I']
408418
mrs:
409419
name: 'NIfTI-MRS extension'
410420
description: 'NIfTI-MRS JSON fields'

0 commit comments

Comments
 (0)