Skip to content

Commit

Permalink
Merge pull request #9 from lsst/tickets/DM-30321
Browse files Browse the repository at this point in the history
DM-30321: Validate the schema in ci_hsc_gen3
  • Loading branch information
hsinfang authored May 29, 2021
2 parents a513eb4 + 311ebcc commit 9566c5a
Show file tree
Hide file tree
Showing 2 changed files with 4,027 additions and 26 deletions.
62 changes: 36 additions & 26 deletions yml/hsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,31 @@ tables:
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:ucd: pos.eq.dec
- name: skymap
"@id": "#Object.skymap"
datatype: char
length: 6
mysql:datatype: CHAR(6)
- name: tractId
"@id": "#Object.tractId"
datatype: long
datatype: int
description: tract ID
mysql:datatype: BIGINT
mysql:datatype: INTEGER
- name: patchId
"@id": "#Object.patchId"
datatype: text
length: 3
datatype: int
description: patch ID
mysql:datatype: TEXT
mysql:datatype: INTEGER
- name: tract
"@id": "#Object.tract"
datatype: long
datatype: int
description: Same as Tract ID
mysql:datatype: BIGINT
mysql:datatype: INTEGER
- name: patch
"@id": "#Object.patch"
datatype: text
length: 3
datatype: int
description: Same as Patch ID
mysql:datatype: TEXT
mysql:datatype: INTEGER
- name: x
"@id": "#Object.x"
datatype: double
Expand Down Expand Up @@ -3250,23 +3253,30 @@ tables:
datatype: long
description:
mysql:datatype: BIGINT
- name: ccd
"@id": "#Source.ccd"
datatype: long
description:
mysql:datatype: BIGINT
- name: pointing
"@id": "#Source.pointing"
datatype: long
description:
mysql:datatype: BIGINT
- name: filter
"@id": "#Source.filter"
datatype: string
- name: detector
"@id": "#Source.detector"
datatype: int
mysql:datatype: INTEGER
- name: band
"@id": "#Source.band"
datatype: char
length: 1
description: Name of the filter used to take the exposure where this source was measured.
mysql:datatype: VARCHAR
ivoa:ucd: meta.id;instr.filter
description: Name of the band used to take the exposure where this source was measured.
mysql:datatype: CHAR(1)
- name: physical_filter
"@id": "#Source.physical_filter"
datatype: char
length: 5
mysql:datatype: CHAR(5)
- name: instrument
"@id": "#Source.instrument"
datatype: char
length: 3
mysql:datatype: CHAR(3)
- name: visit_system
"@id": "#Source.visit_system"
datatype: int
mysql:datatype: INTEGER
- name: x
"@id": "#Source.x"
datatype: double
Expand Down
Loading

0 comments on commit 9566c5a

Please sign in to comment.