%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/multiplyscale-1.2.0"
title: >
  A Multiply model.
description: >
  Multiply the input by a factor.

examples:
  -
    - Multiply the input by a pixel scale factor.
    - asdf-standard-1.6.0
    - |
        !transform/multiplyscale-1.2.0
          factor: !unit/quantity-1.2.0 {unit: !unit/unit-1.0.0 arcsec pixel-1,
            value: 0.06}

allOf:
  - $ref: "transform-1.4.0"
  - type: object
    properties:
      factor:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Multiplication factor.
    required: [factor]
...
