%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/nddata/uncertainty-1.0.0"

title: Represents an astropy.nddata uncertainty class

description: >-
  This object represents an uncertainty.

allOf:
  - type: object
    properties:
      name:
        enum: ["stddev", "unknown", "variance"]
      array:
        type: object
      unit:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/unit-*"
          - tag: "tag:astropy.org:astropy/units/unit-1.*"
    required: [name, array]
