Skip to content

Commit

Permalink
Update schema for fitswcs and slicedwcs instance
Browse files Browse the repository at this point in the history
  • Loading branch information
ViciousEagle03 committed Aug 23, 2024
1 parent 66904fc commit a6efc4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions asdf_astropy/resources/schemas/fits/fitswcs-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ allOf:
properties:
hdu:
tag: "tag:stsci.edu:asdf/fits/fits-*"

required: ["hdu"]
5 changes: 2 additions & 3 deletions asdf_astropy/resources/schemas/slicedwcs/slicedwcs-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ description:
Represents the SlicedLowLevelWCS object

allOf:
- tag: "tag:astropy.org:astropy/slicedwcs/slicedwcs-1.0.0"
- type: object
properties:
wcs:
tag: "tag:astropy.org:astropy/fits/fitswcs-1.0.0"
tag: "tag:astropy.org:astropy/fits/fitswcs-1*"
slices_array:
type: array
items:
- oneOf:
- type: integer
- type: object

required: ["wcs", "slices_array"]
required: ["wcs", "slices_array"]

0 comments on commit a6efc4f

Please sign in to comment.