%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/redshift_scale_factor-1.2.0"
title: >
  One dimensional redshift scale factor model.

description: >
  One dimensional redshift scale factor model.

examples:
  -
    - $$f(x)=x(1+2.5)$$
    - asdf-standard-1.6.0
    - |
      !transform/redshift_scale_factor-1.2.0 {z: 2.5}

allOf:
  - $ref: "transform-1.4.0"
  - type: object
    properties:
      z:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Redshift value.

    required: ['z']
...
