Skip to content

Commit

Permalink
Fix all non-absolute $ref
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson committed Dec 30, 2024
1 parent 43379fa commit 0dfda40
Show file tree
Hide file tree
Showing 38 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/fps/guidestar-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ properties:
destination: [WFICommon.gw_id]
gw_fgs_mode:
allOf:
- $ref: guidewindow_modes-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/fps/guidewindow_modes-1.0.0
sdf:
special_processing: VALUE_REQUIRED
source:
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/fps/wfi_mode-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
destination: [WFICommon.instrument_name]
detector:
allOf:
- $ref: wfi_detector-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/fps/wfi_detector-1.0.0
title: WFI Detector
description: |
WFI detector used to take the data.
Expand All @@ -35,7 +35,7 @@ properties:
destination: [WFICommon.detector]
optical_element:
allOf:
- $ref: wfi_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/fps/wfi_optical_element-1.0.0
title: WFI Optical Element
description: |
WFI optical element used to take the data.
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/guidestar-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ properties:
destination: [WFIExposure.guide_window_id, GuideWindow.guide_window_id, WFICommon.guide_window_id]
guide_mode:
allOf:
- $ref: guidewindow_modes-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/guidewindow_modes-1.0.0
sdf:
special_processing: VALUE_REQUIRED
source:
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/guidewindow-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: object
properties:
meta:
allOf:
- $ref: common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/common-1.0.0
- type: object
properties:
gw_start_time:
Expand Down Expand Up @@ -145,7 +145,7 @@ properties:
destination: [GuideWindow.gw_science_file_source]
gw_mode:
allOf:
- $ref: guidewindow_modes-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/guidewindow_modes-1.0.0
sdf:
special_processing: VALUE_REQUIRED
source:
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/image_source_catalog-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type: object
properties:
meta:
allOf:
- $ref: basic-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/basic-1.0.0
- type: object
properties:
optical_element:
$ref: wfi_optical_element-1.0.0
$ref: asdf://stsci.edu/datamodels/roman/schemas/wfi_optical_element-1.0.0
exposure:
title: Exposure Information
tag: asdf://stsci.edu/datamodels/roman/tags/exposure-1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/mosaic_basic-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ properties:
destination: [WFIMosaic.survey, SourceCatalog.survey, SegmentationMap.survey]
optical_element:
allOf:
- $ref: wfi_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/wfi_optical_element-1.0.0
sdf:
special_processing: VALUE_REQUIRED
source:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type: object
properties:
meta:
allOf:
- $ref: basic-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/basic-1.0.0
- type: object
properties:
basic:
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/mosaic_source_catalog-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type: object
properties:
meta:
allOf:
- $ref: basic-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/basic-1.0.0
- type: object
properties:
basic:
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/msos_stack-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type: object
properties:
meta:
allOf:
- $ref: common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/common-1.0.0
- image_list:
type: string
data:
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/ramp-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/common-1.0.0
- type: object
properties:
cal_step:
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/ramp_fit_output-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ datamodel_name: RampFitOutputModel
type: object
properties:
meta:
$ref: common-1.0.0
$ref: asdf://stsci.edu/datamodels/roman/schemas/common-1.0.0
slope:
title: Slope for Specific Segment (electrons / s)
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
6 changes: 3 additions & 3 deletions src/rad/resources/schemas/reference_files/dark-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down Expand Up @@ -50,8 +50,8 @@ properties:
type: integer
required: [ngroups, nframes, groupgap, ma_table_name, ma_table_number]
required: [exposure]
- $ref: ref_exposure_type-1.0.0
- $ref: ref_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_exposure_type-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_optical_element-1.0.0
data:
title: Dark Current Array
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand All @@ -30,7 +30,7 @@ properties:
tag: tag:stsci.edu:asdf/unit/unit-1.*
enum: ["arcsec"]
required: [output_units, input_units]
- $ref: ref_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_optical_element-1.0.0
coordinate_distortion_transform:
title: Distortion Transform Model
description: |
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/reference_files/epsf-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: ref_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_optical_element-1.0.0
- type: object
properties:
reftype:
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/reference_files/flat-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
type: string
enum: [FLAT]
- $ref: ref_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_optical_element-1.0.0
data:
title: Flat Data Array
description: |
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/reference_files/gain-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/reference_files/ipc-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: ref_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_optical_element-1.0.0
- type: object
properties:
reftype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/reference_files/mask-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down Expand Up @@ -48,7 +48,7 @@ properties:
- type: "null"
required: [pixelarea_steradians, pixelarea_arcsecsq]
required: [photometry]
- $ref: ref_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_optical_element-1.0.0
data:
title: Pixel Area Array
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
enum: [READNOISE]
- $ref: ref_exposure_type-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_exposure_type-1.0.0
data:
title: Read Noise Data Array
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ properties:
enum: [WFI]
detector:
allOf:
- $ref: ../wfi_detector-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/wfi_detector-1.0.0
title: Detector
description: |
The numbered WFI detector in the focal plane (e.g., WFI01 for SCA 01).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ properties:
properties:
type:
allOf:
- $ref: ../exposure_type-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/exposure_type-1.0.0
title: WFI Mode
description: |
The type of data taken with the WFI. Allowed values are WFI_IMAGE for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ properties:
type: object
properties:
optical_element:
$ref: ../wfi_optical_element-1.0.0
$ref: asdf://stsci.edu/datamodels/roman/schemas/wfi_optical_element-1.0.0
required: [optical_element]
required: [instrument]
...
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: object
properties:
meta:
allOf:
- $ref: ref_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/reference_files/ref_common-1.0.0
- type: object
properties:
reftype:
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/segmentation_map-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type: object
properties:
meta:
allOf:
- $ref: basic-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/basic-1.0.0
- type: object
properties:
optical_element:
$ref: wfi_optical_element-1.0.0
$ref: asdf://stsci.edu/datamodels/roman/schemas/wfi_optical_element-1.0.0
program:
title: Program Information
tag: asdf://stsci.edu/datamodels/roman/tags/program-1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/tvac/guidestar-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ properties:
destination: [WFICommon.gw_id]
gw_fgs_mode:
allOf:
- $ref: guidewindow_modes-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/tvac/guidewindow_modes-1.0.0
sdf:
special_processing: VALUE_REQUIRED
source:
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/tvac/wfi_mode-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
destination: [WFICommon.instrument_name]
detector:
allOf:
- $ref: wfi_detector-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/tvac/wfi_detector-1.0.0
title: WFI Detector
description: |
WFI detector used to take the data.
Expand All @@ -35,7 +35,7 @@ properties:
destination: [WFICommon.detector]
optical_element:
allOf:
- $ref: wfi_optical_element-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/tvac/wfi_optical_element-1.0.0
title: WFI Optical Element
description: |
WFI optical element used to take the data.
Expand Down
2 changes: 1 addition & 1 deletion src/rad/resources/schemas/wfi_image-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type: object
properties:
meta:
allOf:
- $ref: common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/common-1.0.0
- type: object
properties:
background:
Expand Down
Loading

0 comments on commit 0dfda40

Please sign in to comment.