%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/compose-1.4.0"
title: >
  Perform a list of subtransforms in series.

description: |
  The output of each subtransform is fed into the input of the next
  subtransform.

  The number of output dimensions of each subtransform must be equal
  to the number of input dimensions of the next subtransform in list.
  To reorder or add/drop axes, insert `remap_axes` transforms in the
  subtransform list.

  Invertibility: All ASDF tools are required to be able to compute the
  analytic inverse of this transform, by reversing the list of
  transforms and applying the inverse of each.

examples:
  -
    - A series of transforms
    - asdf-standard-1.6.0
    - |
      !transform/compose-1.4.0
        forward:
          - !transform/shift-1.3.0
            offset: 2.0
          - !transform/shift-1.3.0
            offset: 3.0

allOf:
  - $ref: "transform-1.4.0"
  - properties:
      forward:
        type: array
        items:
          $ref: "transform-1.4.0"
    required: [forward]
...
