-
Notifications
You must be signed in to change notification settings - Fork 7
/
variable.graphql
220 lines (156 loc) · 6.74 KB
/
variable.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
type Variable {
"Any additional identifiers of a variable."
additionalIdentifiers: JSON
"The list of concepts and any data on the relationship between this variable and other permitted concepts"
associationDetails: JSON
"The unique concept id assigned to the variable."
conceptId: String!
"Specify data type of a variable. These types can be either: uint8, uint16, etc."
dataType: String
"The definition of the variable."
definition: String
"A variable consists of one or more dimensions. An example of a dimension name is 'XDim'. An example of a dimension size is '1200'. Variables are rarely one dimensional."
dimensions: JSON
"The fill value of the variable in the data file. It is generally a value which falls outside the valid range. For example, if the valid range is '0, 360', the fill value may be '-1'. The fill value type is data provider-defined. For example, 'Out of Valid Range'."
fillValues: JSON
"This element describes the x and y dimension ranges for this variable. Typically these values are 2 latitude and longitude ranges, but they don't necessarily have to be."
indexRanges: JSON
"Describes a store (zarr) where a variable has been separated from its original data files and saved as its own entity."
instanceInformation: JSON
"The expanded or long name related to the variable Name."
longName: String
"The measurement information of a variable."
measurementIdentifiers: JSON
"The name of a variable."
name: String
"The native id of a variable."
nativeId: String
"The offset is the value which is either added to or subtracted from all values in the stored data field in order to obtain the original values. May be used together with Scale. An example of an offset is '0.49'."
offset: Float
"Provider ID of the Variable."
providerId: String
"A described URL associated with the a web resource, or interface. e.g., the home page for the variable provider."
relatedUrls: JSON
"Date which the Variable was last updated."
revisionDate: String
"The revision id of the Variable."
revisionId: String
"The sampling information of a variable."
samplingIdentifiers: JSON
"The scale is the numerical factor by which all values in the stored data field are multiplied in order to obtain the original values. May be used together with Offset. An example of a scale factor is '0.002'."
scale: Float
"Controlled Science Keywords describing the collection. The controlled vocabulary for Science Keywords is maintained in the Keyword Management System (KMS)."
scienceKeywords: JSON
"The set information of a variable. The variable is grouped within a set. The set is defined by the name, type, size and index. For example, Name: 'Data_Fields', Type: 'General', Size: '15', Index: '7' for the case of the variable named 'LST_Day_1km'."
sets: JSON
"This is the more formal or scientific name, .e.g., the CF Standard Name."
standardName: String
"Raw UMM Metadata of the Variable Record."
ummMetadata: JSON
"The units associated with a variable."
units: String
"Id of the user who modified/published record"
userId: String
"Valid ranges of variable data values."
validRanges: JSON
"Specifies the sub type of a variable."
variableSubType: String
"Specify basic type of a variable."
variableType: String
"All revisions of this Variable."
revisions: VariableRevisionList
collections (
"Collections query parameters"
params: CollectionsInput
"The unique concept id assigned to the service."
conceptId: [String] @deprecated(reason: "Use `params.conceptId`")
"The number of collections requested by the user."
limit: Int @deprecated(reason: "Use `params.limit`")
"Zero based offset of individual results."
offset: Int @deprecated(reason: "Use `params.offset`")
): CollectionList
}
type VariableRevisionList {
"The number of hits for a given search."
count: Int
"The list of variable search results."
items: [Variable]
}
type VariableList {
"The number of hits for a given search."
count: Int
"Cursor that points to the a specific position in a list of requested records."
cursor: String
"The list of variable search results."
items: [Variable]
}
input VariablesInput {
"The unique concept id assigned to the variable."
conceptId: [String]
"Cursor that points to the/a specific position in a list of requested records."
cursor: String
"Keyword search value."
keyword: String
"The number of variables requested by the user."
limit: Int
"The name of a variable."
name: String
"Zero based offset of individual results."
offset: Int
"The name of the provider associated with the variable."
provider: String
"One or more sort keys can be specified to impact searching. Fields can be prepended with a '-' to sort in descending order. Ascending order is the default but + can be used to explicitly request ascending."
sortKey: String
}
input VariableInput {
"The unique concept id assigned to the variable."
conceptId: String!
}
type Query {
variables (
"Variables query parameters"
params: VariablesInput
"The unique concept id assigned to the variable."
conceptId: [String] @deprecated(reason: "Use `params.conceptId`")
"Cursor that points to the a specific position in a list of requested records."
cursor: String @deprecated(reason: "Use `params.cursor`")
"The number of variables requested by the user."
limit: Int @deprecated(reason: "Use `params.limit`")
"The name of a variable."
name: String @deprecated(reason: "Use `params.name`")
"Zero based offset of individual results."
offset: Int @deprecated(reason: "Use `params.offset`")
"One or more sort keys can be specified to impact searching. Fields can be prepended with a '-' to sort in descending order. Ascending order is the default but + can be used to explicitly request ascending."
sortKey: [String] @deprecated(reason: "Use `params.sortKey`")
): VariableList!
variable (
"Variable query parameters"
params: VariableInput
"The unique concept id assigned to the variable."
conceptId: String @deprecated(reason: "Use `params.conceptId`")
): Variable
}
type Mutation {
publishGeneratedVariables (
"The collection concept Id."
conceptId: String!
): VariableList
restoreVariableRevision (
"The unique concept id assigned to the variable."
conceptId: String!
"The revision of the variable."
revisionId: String!
): VariableMutationResponse
deleteVariable (
"Provider ID of the variable."
providerId: String!
"The native id of a varialbe."
nativeId: String!
): VariableMutationResponse
}
type VariableMutationResponse {
"The unique concept id assigned to the variable."
conceptId: String!
"The revision of the variable."
revisionId: String!
}