@@ -896,6 +896,145 @@ tables:
896896 - " #Regimes.regime"
897897
898898 - name : Spectra
899+ " @id " : " #Spectra"
900+ description : Spectra for Sources
901+ primaryKey :
902+ - " #Spectra.source"
903+ - " #Spectra.regime"
904+ - " #Spectra.observation_date"
905+ - " #Spectra.reference"
906+
907+ columns :
908+ - name : source
909+ " @id " : " #Spectra.source"
910+ datatype : string
911+ length : 100
912+ description : Main identifier for an object; links to Sources table
913+ ivoa:ucd : meta.id;meta.main
914+ nullable : false
915+ - name : access_url
916+ " @id " : " #Spectra.access_url"
917+ datatype : string
918+ length : 100
919+ description : URL for accessing the spectrum
920+ ivoa:ucd : meta.ref.url
921+ - name : original_spectrum
922+ " @id " : " #Spectra.original_spectrum"
923+ datatype : string
924+ length : 1000
925+ description : URL for the original spectrum
926+ ivoa:ucd : meta.ref.url
927+ - name : local_spectrum
928+ " @id " : " #Spectra.local_spectrum"
929+ datatype : string
930+ length : 1000
931+ description : Local path (via environment variable) to the spectrum file
932+ ivoa:ucd : meta.ref
933+ - name : regime
934+ " @id " : " #Spectra.regime"
935+ datatype : string
936+ length : 30
937+ description : Spectral regime; links to Regimes table
938+ ivoa:ucd : meta.id
939+ - name : telescope
940+ " @id " : " #Spectra.telescope"
941+ datatype : string
942+ length : 30
943+ description : Telescope, mission, or survey name; links to Telescopes table
944+ - name : instrument
945+ " @id " : " #Spectra.instrument"
946+ datatype : string
947+ length : 30
948+ description : Instrument name; links to Instruments table
949+ - name : mode
950+ " @id " : " #Spectra.mode"
951+ datatype : string
952+ length : 30
953+ description : Instrument mode; links to Instruments table
954+ - name : observation_date
955+ " @id " : " #Spectra.observation_date"
956+ datatype : timestamp
957+ description : Date of the observation
958+ ivoa:ucd : time.epoch
959+ - name : comments
960+ " @id " : " #Spectra.comments"
961+ datatype : string
962+ length : 1000
963+ description : Free-form comments for this entry
964+ ivoa:ucd : meta.note
965+ - name : reference
966+ " @id " : " #Spectra.reference"
967+ datatype : string
968+ length : 30
969+ description : Publication reference; links to Publications table
970+ ivoa:ucd : meta.ref
971+ nullable : false
972+ - name : other_references
973+ " @id " : " #Spectra.other_references"
974+ datatype : string
975+ length : 100
976+ description : Additional references
977+ ivoa:ucd : meta.ref
978+
979+ indexes :
980+ - name : PK_Spectra
981+ " @id " : " #PK_Spectra"
982+ description : Primary key for Spectra table
983+ columns :
984+ - " #Spectra.source"
985+ - " #Spectra.regime"
986+ - " #Spectra.observation_date"
987+ - " #Spectra.reference"
988+ constraints :
989+ - name : Spectra_source_Sources_source
990+ " @type " : " ForeignKey"
991+ " @id " : " #FK_Spectra_source_Sources_source"
992+ description : Link Spectra source to Sources table
993+ columns :
994+ - " #Spectra.source"
995+ referencedColumns :
996+ - " #Sources.source"
997+ - name : Spectra_regime_Regimes_regime
998+ " @type " : " ForeignKey"
999+ " @id " : " #FK_Spectra_regime_Regimes_regime"
1000+ description : Link Spectra regime to Regimes table
1001+ columns :
1002+ - " #Spectra.regime"
1003+ referencedColumns :
1004+ - " #Regimes.regime"
1005+ - name : Spectra_telescope_Telescopes_telescope
1006+ " @type " : " ForeignKey"
1007+ " @id " : " #FK_Spectra_telescope_Telescopes_telescope"
1008+ description : Link Spectra telescope to Telescopes table
1009+ columns :
1010+ - " #Spectra.telescope"
1011+ referencedColumns :
1012+ - " #Telescopes.telescope"
1013+ - name : Spectra_instrument_Instruments_instrument
1014+ " @type " : " ForeignKey"
1015+ " @id " : " #FK_Spectra_instrument_Instruments_instrument"
1016+ description : Link Spectra instrument to Instruments table
1017+ columns :
1018+ - " #Spectra.instrument"
1019+ referencedColumns :
1020+ - " #Instruments.instrument"
1021+ - name : Spectra_mode_Instruments_mode
1022+ " @type " : " ForeignKey"
1023+ " @id " : " #FK_Spectra_mode_Instruments_mode"
1024+ description : Link Spectra mode to Instruments table
1025+ columns :
1026+ - " #Spectra.mode"
1027+ referencedColumns :
1028+ - " #Instruments.mode"
1029+ - name : Spectra_reference_Publications_reference
1030+ " @type " : " ForeignKey"
1031+ " @id " : " #FK_Spectra_reference_Publications_reference"
1032+ description : Link Spectra reference to Publications table
1033+ columns :
1034+ - " #Spectra.reference"
1035+ referencedColumns :
1036+ - " #Publications.reference"
1037+
8991038 - name : ModeledParameters
9001039 - name : CompanionRelationships
9011040
0 commit comments