From aa413e40e18d9d1157f445b6c70ec5e6f8268f88 Mon Sep 17 00:00:00 2001 From: "lucuma-steward[bot]" <106720676+lucuma-steward[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:04:01 +0000 Subject: [PATCH] Update ODB Schema --- .../lucuma/schemas/ObservationDB.graphql | 107 ------------------ 1 file changed, 107 deletions(-) diff --git a/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql b/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql index cbbe5f7..0f29433 100644 --- a/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql +++ b/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql @@ -2466,16 +2466,6 @@ input ObservationPropertiesInput { """ subtitle: NonEmptyString - """ - The observation status will default to New if not specified when an observation is created and may be edited but not deleted - """ - status: ObsStatus - - """ - The observation active status will default to Active if not specified when an observation is created and may be edited but not deleted - """ - activeStatus: ObsActiveStatus - """ The science band to assign to this observation. Set to `null` to remove the science band. @@ -2532,9 +2522,6 @@ input ObservationPropertiesInput { """Set the notes for thhe observer""" observerNotes: NonEmptyString - - """Sets the "for review" bit.""" - forReview: Boolean } """Observation times properties""" @@ -6560,12 +6547,6 @@ type Observation { """User-supplied observation-identifying detail information""" subtitle: NonEmptyString - """Observation status""" - status: ObsStatus! - - """Observation operational status""" - activeStatus: ObsActiveStatus! - """ Observations are associated with a science band once time has been allocated to a program. @@ -6622,9 +6603,6 @@ type Observation { """ itc: Itc! - """A list of observation validation problems""" - validations: [ObservationValidation!]! - """Enclosing group, if any.""" groupId: GroupId @@ -6644,12 +6622,6 @@ type Observation { """Program configuration requests applicable to this observation.""" configurationRequests: [ConfigurationRequest!]! - - """ - This flag is set to true prior to Phase II, and must be reset to false by the PI prior to observation. The - intent is to prompt PIs to review their accepted observations. - """ - forReview: Boolean! workflow: ObservationWorkflow! } @@ -9558,17 +9530,8 @@ input WhereObservation { """Matches the subtitle of the observation.""" subtitle: WhereOptionString - """Matches the observation status.""" - status: WhereOrderObsStatus - - """Matches the observation active status.""" - activeStatus: WhereOrderObsActiveStatus - """Matches the observation science band.""" scienceBand: WhereOptionOrderScienceBand - - """Matches the "for review" bit.""" - forReview: WhereBoolean } """Configuration request filter options. All specified items must match.""" @@ -10175,76 +10138,6 @@ input WhereOrderLong { LTE: Long } -""" -Filters on equality or order comparisons of the property. All supplied -criteria must match, but usually only one is selected. E.g., 'GT = 2' -for an integer property will match when the value is 3 or more. -""" -input WhereOrderObsActiveStatus { - """Matches if the property is exactly the supplied value.""" - EQ: ObsActiveStatus - - """Matches if the property is not the supplied value.""" - NEQ: ObsActiveStatus - - """Matches if the property value is any of the supplied options.""" - IN: [ObsActiveStatus!] - - """Matches if the property value is none of the supplied values.""" - NIN: [ObsActiveStatus!] - - """Matches if the property is ordered after (>) the supplied value.""" - GT: ObsActiveStatus - - """Matches if the property is ordered before (<) the supplied value.""" - LT: ObsActiveStatus - - """ - Matches if the property is ordered after or equal (>=) the supplied value. - """ - GTE: ObsActiveStatus - - """ - Matches if the property is ordered before or equal (<=) the supplied value. - """ - LTE: ObsActiveStatus -} - -""" -Filters on equality or order comparisons of the property. All supplied -criteria must match, but usually only one is selected. E.g., 'GT = 2' -for an integer property will match when the value is 3 or more. -""" -input WhereOrderObsStatus { - """Matches if the property is exactly the supplied value.""" - EQ: ObsStatus - - """Matches if the property is not the supplied value.""" - NEQ: ObsStatus - - """Matches if the property value is any of the supplied options.""" - IN: [ObsStatus!] - - """Matches if the property value is none of the supplied values.""" - NIN: [ObsStatus!] - - """Matches if the property is ordered after (>) the supplied value.""" - GT: ObsStatus - - """Matches if the property is ordered before (<) the supplied value.""" - LT: ObsStatus - - """ - Matches if the property is ordered after or equal (>=) the supplied value. - """ - GTE: ObsStatus - - """ - Matches if the property is ordered before or equal (<=) the supplied value. - """ - LTE: ObsStatus -} - """ Filters on equality or order comparisons of the property. All supplied criteria must match, but usually only one is selected. E.g., 'GT = 2'