Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ODB Schema #606

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7362,6 +7362,34 @@ type Query {
includeDeleted: Boolean! = false
): ObservationSelectResult!

"""
Observations grouped by commonly held observing modes. Identify the program by
specifying only one of programId, programReference, or proposalReference. If
more than one is provided, all must match. If none are set, nothing will
match.
"""
observingModeGroup(
"""Program ID"""
programId: ProgramId

"""Proposal Reference"""
proposalReference: ProposalReferenceLabel

"""Program reference"""
programReference: ProgramReferenceLabel

"""Filters the selection of observations."""
WHERE: WhereObservation

"""
Limits the result to at most this number of matches (but never more than 1000).
"""
LIMIT: NonNegInt

"""Set to true to include deleted values"""
includeDeleted: Boolean! = false
): ObservingModeGroupSelectResult!

"""
Returns the program with the given id or reference, if any. Identify the
program by specifying only one of programId, programReference, or
Expand Down Expand Up @@ -7530,9 +7558,6 @@ type ObservingMode {
}

type ObservingModeGroup {
"""IDs of observations that use the same constraints"""
observationIds: [ObservationId!]!

"""Observations associated with the common value"""
observations(
"""Set to true to include deleted values"""
Expand All @@ -7550,7 +7575,10 @@ type ObservingModeGroup {
): ObservationSelectResult!

"""Commonly held value across the observations"""
observingMode: ObservingMode
observingMode: ObservingMode!

"""Link back to program."""
program: Program!
}

"""
Expand Down
Loading