Skip to content

Commit 9f6e128

Browse files
committed
feat(schema): Add nifti_header.axis_codes to context
1 parent 880ab2d commit 9f6e128

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
@@ -316,6 +316,7 @@ properties:
316316
- xyzt_units
317317
- qform_code
318318
- sform_code
319+
- axis_codes
319320
additionalProperties: false
320321
properties:
321322
dim_info:
@@ -404,6 +405,15 @@ properties:
404405
name: 'sform code'
405406
description: 'Use of the affine fields.'
406407
type: integer
408+
axis_codes:
409+
name: 'axis codes'
410+
description: 'Orientation labels indicating primary direction of data axes.'
411+
type: array
412+
minItems: 3
413+
maxItems: 3
414+
items:
415+
type: string
416+
enum: ['R', 'L', 'A', 'P', 'S', 'I']
407417
mrs:
408418
name: 'NIfTI-MRS extension'
409419
description: 'NIfTI-MRS JSON fields'

0 commit comments

Comments
 (0)