shift-1.2.0

A Shift opeartion.

Description

Apply an offset in one direction.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • offset

      objectRequired

      Offset in one direction.

      This node must validate against any of the following:

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/shift-1.2.0"
title: >
  A Shift opeartion.
description: >
  Apply an offset in one direction.

allOf:
  - $ref: "transform-1.2.0"
  - type: object
    properties:
      offset:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: Offset in one direction.
    required: [offset]
...