meta/sky_background-1.0.0

Sky Background Information

Outline

Schema Definitions

This type is an object with the following properties:

  • level

    objectRequired

    Sky Background Level

    The sky background level in DN / s or MJy.sr**-1.

    This node must validate against any of the following:

    • number

    • null

  • method

    stringRequired

    Sky Background Method

    The method by which the sky background was determined.

    No length restriction

    Only the following values are valid for this node:

    • None

    • local

    • global+match

    • match

    • global

  • subtracted

    booleanRequired

    Sky Background Subtraction Flag

    A boolean value which indicates whether the sky background has been subtracted form the image or not.

Original Schema

%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/meta/sky_background-1.0.0

title: Sky Background Information
type: object
properties:
  level:
    title: Sky Background Level
    description: |
      The sky background level in DN / s or MJy.sr**-1.
    anyOf:
      - type: number
      - type: "null"
    unit: ["DN / s", "MJy.sr**-1"]
  method:
    title: Sky Background Method
    description: |
      The method by which the sky background was determined.
    type: string
    enum: ["None", "local", "global+match", "match", "global"]
  subtracted:
    title: Sky Background Subtraction Flag
    description: |
      A boolean value which indicates whether the sky background has
      been subtracted form the image or not.
    type: boolean
required: [level, method, subtracted]