-
Notifications
You must be signed in to change notification settings - Fork 7
/
service.graphql
233 lines (166 loc) · 6.98 KB
/
service.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
221
222
223
224
225
226
227
228
229
230
231
232
233
type Service {
"Information about any constraints for accessing the service, software, or tool."
accessConstraints: String
"Words or phrases to further describe the service, software, or tool."
ancillaryKeywords: [String]
"The list of concepts and any data on the relationship between this service and other permitted concepts"
associationDetails: JSON
"The unique concept id assigned to the service."
conceptId: String!
"This is the contact groups of the service."
contactGroups: JSON
"This is the contact persons of the service."
contactPersons: JSON
"A brief description of the service."
description: String
"This element describes the latest date when the service was most recently pushed to production for support and maintenance."
lastUpdatedDate: String
"The long name of the service, software, or tool."
longName: String
"The maximum number of items permitted in a single order. Only for services that are type ECHO ORDERS."
maxItemsPerOrder: Int
"The name of the service, software, or tool."
name: String
"The native id to set on the service."
nativeId: String!
"This class describes the signature of the operational metadata provided by the service."
operationMetadata: JSON
"Provider ID of the service."
providerId: String
"Date which the Service was last updated."
revisionDate: String
"The revision id of the Service."
revisionId: String
"Web addresses used to get supported documentation or other related information link to the service."
relatedUrls: JSON
"Allows for the specification of Earth Science Service keywords that are representative of the service, software, or tool being described. The controlled vocabulary for Service Keywords is maintained in the Keyword Management System (KMS)."
serviceKeywords: JSON
"This element contains important information about the Unique Resource Locator for the service."
serviceOptions: JSON
"The service provider, or organization, or institution responsible for developing, archiving, and/or distributing the service, software, or tool."
serviceOrganizations: JSON
"List of input projection names supported by the service."
supportedInputProjections: JSON
"List of output projection names supported by the service."
supportedOutputProjections: JSON
"List of format name combinations which explicitly state which re-formatting options are available."
supportedReformattings: JSON
"Information about the quality of the service, software, or tool, or any quality assurance procedures followed in development."
serviceQuality: JSON
"The type of the service."
type: String
"Raw UMM Metadata of the Service Record."
ummMetadata: JSON
"Represents the Internet site where you can directly access the back-end service."
url: JSON
"Information on how the item (service, software, or tool) may or may not be used after access is granted. This includes any special restrictions, legal prerequisites, terms and conditions, and/or limitations on using the item. Providers may request acknowledgement of the item from users and claim no responsibility for quality and completeness."
useConstraints: JSON
"Id of the user who modified/published record"
userId: String
"The edition or version of the service."
version: String
"This field provides users with information on what changes were included in the most recent version."
versionDescription: String
"Previous revisions of this Collection"
previousRevisions: [Collection]
"All revisions of this Service."
revisions: ServiceRevisionList
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
orderOptions (
"Order option's query parameters"
params: OrderOptionsInput
): OrderOptionList
variables (
"Variables query parameters"
params: VariablesInput
): VariableList
}
type ServiceRevisionList {
"The number of hits for a given search."
count: Int
"The list of service search results."
items: [Service]
}
type ServiceList {
"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 service search results."
items: [Service]
}
input ServicesInput {
"The unique concept id assigned to the service."
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 services requested by the user."
limit: Int
"Zero based offset of individual results."
offset: Int
"The name of the provider associated with the service."
provider: String
"The type of the service."
type: 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 ServiceInput {
"The unique concept id assigned to the service."
conceptId: String!
}
type Query {
services (
"Services query parameters"
params: ServicesInput
"The unique concept id assigned to the service."
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 servies requested by the user."
limit: Int @deprecated(reason: "Use `params.limit`")
"Zero based offset of individual results."
offset: Int @deprecated(reason: "Use `params.offset`")
"The type of the service."
type: String @deprecated(reason: "Use `params.type`")
"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`")
): ServiceList!
service (
"Service query parameters"
params: ServiceInput
"The unique concept id assigned to the service."
conceptId: String @deprecated(reason: "Use `params.conceptId`")
): Service
}
type Mutation {
restoreServiceRevision (
"The unique concept id assigned to the service."
conceptId: String!
"The revision of the service."
revisionId: String!
): ServiceMutationResponse
deleteService (
"Provider ID of the service."
providerId: String!
"The native id of a service."
nativeId: String!
): ServiceMutationResponse
}
type ServiceMutationResponse {
"The unique concept id assigned to the service."
conceptId: String!
"The revision of the service."
revisionId: String!
}