spectral_frame-1.0.0

Represents a spectral frame.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • reference_position

      object

      The position of the reference frame.

      This node has no type definition (unrestricted)
    • axes_names

      object
      This node has no type definition (unrestricted)
    • axes_order

      object
      This node has no type definition (unrestricted)
    • unit

      object
      This node has no type definition (unrestricted)

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/gwcs/spectral_frame-1.0.0"

title: >
  Represents a spectral frame.
allOf:
  - type: object
    properties:
      reference_position:
        description: |
          The position of the reference frame.
        enum: [geocenter, barycenter, heliocenter]
        default: geocenter

      axes_names:
        minItems: 1
        maxItems: 1

      axes_order:
        minItems: 1
        maxItems: 1

      unit:
        minItems: 1
        maxItems: 1

  - $ref: frame-1.0.0
...