diff --git a/src/rad/resources/schemas/sky_background-1.0.0.yaml b/src/rad/resources/schemas/sky_background-1.0.0.yaml index c98fd4e0..65241724 100644 --- a/src/rad/resources/schemas/sky_background-1.0.0.yaml +++ b/src/rad/resources/schemas/sky_background-1.0.0.yaml @@ -9,9 +9,9 @@ properties: level: title: Sky Background Level description: | - The sky background level in DN / s. + The sky background level in DN / s or MJy.sr**-1. type: number - unit: "DN / s" + unit: ["DN / s", "MJy.sr**-1"] method: title: Sky Background Method description: | diff --git a/src/rad/resources/schemas/wfi_image-1.0.0.yaml b/src/rad/resources/schemas/wfi_image-1.0.0.yaml index 55d0f202..4ffa1a28 100644 --- a/src/rad/resources/schemas/wfi_image-1.0.0.yaml +++ b/src/rad/resources/schemas/wfi_image-1.0.0.yaml @@ -38,10 +38,7 @@ properties: datatype: float32 exact_datatype: true ndim: 2 - unit: - oneOf: - - type: string - enum: ["DN / s", "MJy.sr**-1"] + unit: ["DN / s", "MJy.sr**-1"] dq: title: Data Quality Flags description: | @@ -58,10 +55,7 @@ properties: datatype: float32 exact_datatype: true ndim: 2 - unit: - oneOf: - - type: string - enum: ["DN / s", "MJy.sr**-1"] + unit: ["DN / s", "MJy.sr**-1"] var_poisson: title: Poisson Variance (DN^2 / s^2) description: | @@ -70,10 +64,7 @@ properties: datatype: float32 exact_datatype: true ndim: 2 - unit: - oneOf: - - type: string - enum: ["DN2 / s2", "MJy**2.sr**-2"] + unit: ["DN2 / s2", "MJy**2.sr**-2"] var_rnoise: title: Read Noise (DN^2 / s^2) description: | @@ -82,10 +73,7 @@ properties: datatype: float32 exact_datatype: true ndim: 2 - unit: - oneOf: - - type: string - enum: ["DN2 / s2", "MJy**2.sr**-2"] + unit: ["DN2 / s2", "MJy**2.sr**-2"] var_flat: title: Variance for Estimate of Flat Pixel Flux (DN^2 / s^2). description: | @@ -95,10 +83,7 @@ properties: datatype: float32 exact_datatype: true ndim: 2 - unit: - oneOf: - - type: string - enum: ["DN2 / s2", "MJy**2.sr**-2"] + unit: ["DN2 / s2", "MJy**2.sr**-2"] amp33: title: Amp 33 Reference Pixel Data (DN) description: |