%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/0.1.0/transform/domain"
tag: "tag:stsci.edu:asdf/0.1.0/transform/domain"
title: >
  Defines the domain of an input axis.

description: >
  Describes the range of acceptable input values to a particular
  axis of a transform.

examples:
  -
    - The domain `[0, 1)`.
    - |
      !transform/domain
        lower: 0
        upper: 1
        includes_lower: true

properties:
  lower:
    description: >
      The lower value of the domain.  If not provided, the
      domain has no lower limit.
    type: number
    default: -inf

  upper:
    description: >
      The upper value of the domain.  If not provided, the
      domain has no upper limit.
    type: number
    default: inf

  includes_lower:
    description: If `true`, the domain includes `lower`.
    type: boolean
    default: false

  includes_upper:
    description: If `true`, the domain includes `upper`.
    type: boolean
    default: false
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/0.1.0/transform/domain"
tag: "tag:stsci.edu:asdf/0.1.0/transform/domain"
title: >
  Defines the domain of an input axis.

description: >
  Describes the range of acceptable input values to a particular
  axis of a transform.

examples:
  -
    - The domain `[0, 1)`.
    - |
      !transform/domain
        lower: 0
        upper: 1
        includes_lower: true

properties:
  lower:
    description: >
      The lower value of the domain.  If not provided, the
      domain has no lower limit.
    type: number
    default: -.inf

  upper:
    description: >
      The upper value of the domain.  If not provided, the
      domain has no upper limit.
    type: number
    default: .inf

  includes_lower:
    description: If `true`, the domain includes `lower`.
    type: boolean
    default: false

  includes_upper:
    description: If `true`, the domain includes `upper`.
    type: boolean
    default: false
Change inf to .inf (which is how YAML does inf)
Change inf to .inf (which is how YAML does inf)
