-
Notifications
You must be signed in to change notification settings - Fork 1
/
database.graphql
2046 lines (1822 loc) · 63.9 KB
/
database.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""
Read-only GraphQL schema for databases that store measurement and simulation
data in various formats and refer to the "metabase" for meta information like
data format specifications.
It follows best practices for
* [Global Object Identification](https://graphql.org/learn/global-object-identification/)
as exemplified in
[GraphQL Server Specification: Object Identification](https://relay.dev/docs/en/graphql-server-specification.html#object-identification)
(see also [GraphQL Global Object Identification Specification](https://relay.dev/graphql/objectidentification.htm)),
and
* [Pagination](https://graphql.org/learn/pagination/),
by adhering to the
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm),
as exemplified in
[GraphQL Server Specification: Connections](https://relay.dev/docs/en/graphql-server-specification.html#connections).
Global object identifiers as requird by the best practice are exposed by the
property `id` and universally unique identifiers as issued by the "metabase"
are exposed by the property `uuid`. In essence, `id` is the Base64-encoded
concatenation of `uuid` and the requested locale.
For interoperability with the "metabase", implementations serve HTTP
requests as elaborated on
[Serving over HTTP](https://graphql.org/learn/serving-over-http/).
The
[Internet Engineering Task Force (IETF)](https://www.ietf.org)
is an Internet standards organization. It publishes standards in
[Request for Comments (RFC)](https://ietf.org/standards/rfcs/)
documents. They are
[searchable](https://www.rfc-editor.org/search/rfc_search.php)
and
[indexed](https://www.rfc-editor.org/rfc-index.html).
Examples are
[Hypertext Transfer Protocol (HTTP)](https://tools.ietf.org/html/rfc7231)
and
[Transport Layer Security (TLS)](https://tools.ietf.org/html/rfc8446).
The
[Internet Assigned Numbers Authority (IANA)](https://www.iana.org)
allocates and maintains unique codes and numbering systems that are used in
technical standards that drive the Internet like
[domain names](https://www.iana.org/domains),
[Internet Protocol addresses](https://www.iana.org/numbers), and
[registries](https://www.iana.org/protocols).
Examples of the last are
[HTTP status code registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml)
and
[media type registry](https://www.iana.org/assignments/media-types/media-types.xhtml).
The
[International Organization for Standardization (ISO)](https://www.iso.org)
develops and publishes
[International Standards](https://www.iso.org/standards-catalogue/browse-by-ics.html).
Examples are
[ISO 8601 Date And Time Format](https://www.iso.org/iso-8601-date-and-time-format.html)
and
[ISO 3166 Country Codes](https://www.iso.org/iso-3166-country-codes.html).
The library
[graphql-scalars](https://github.com/Urigo/graphql-scalars)
introduces custom scalar types for creating precise type-safe GraphQL schemas.
We took some inspiration from
[GitHub GraphQL API](https://docs.github.com/en/graphql).
"""
scalar Schema
schema {
query: Query
}
"""
[RFC 4122](https://tools.ietf.org/html/rfc4122)
compliant
[non-nil](https://tools.ietf.org/html/rfc4122#section-4.1.7)
[Universally Unique Identifier (UUID)](https://tools.ietf.org/html/rfc4122#section-4.1)
string represented as 32 hexadecimal digits in five groups separated by hyphens
in the form `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`, like
`"936da01f-9abd-4d9d-80c7-02af85c822a8"`. Such identifiers are not equal to
`"00000000-0000-0000-0000-000000000000"` and match the regular expression
`^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$`.
"""
scalar Uuid
"""
[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html)
encoded date and time string with offset from Coordinated Universal Time (UTC),
where the fraction of a second permits at most 6 digits. For example, in UTC it
may be in the form `yyyy-MM-ddTHH:mm:ss.ffffffZ`, like
`"2009-06-15T13:45:30.381739Z"`, and in local time in the form
`yyyy-MM-ddTHH:mm:ss.ffffffzzz`, like `"2009-06-15T13:45:30.381739-07:00"`.
Note that
[RFC 3339](https://tools.ietf.org/html/rfc3339)
is a profile of the ISO 8601 standard for representation of dates and times
using the Gregorian calendar.
"""
scalar DateTime
"""
[RFC 3986](https://tools.ietf.org/html/rfc3986)
and
[RFC 3987](https://tools.ietf.org/html/rfc3987)
compliant
[absolute Uniform Resource Locator (URL)](https://tools.ietf.org/html/rfc3986#section-4.3)
string with optional
[fragment identifier](https://tools.ietf.org/html/rfc3986#section-3.5).
See also
[URL Living Standard](https://url.spec.whatwg.org/#absolute-url-with-fragment-string)
and
[Identifying resources on the Web](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web).
"""
scalar Url
"""
[BCP 47](https://tools.ietf.org/html/bcp47)
compliant
[Language Tag](https://tools.ietf.org/html/bcp47#section-2)
string like `"de-AT"`, `"sr-Latn-RS"`, `"en-US"`, or `"en-GB"`, where the language
part is essentially an
[ISO 639 Language Code](https://www.iso.org/iso-639-language-codes.html),
the script an
[ISO 15924:2004 Script Code](https://www.iso.org/standard/29546.html),
and the region an
[ISO 3166-1 Country Code](https://www.iso.org/iso-3166-country-codes.html).
Note that the
[Internet Assigned Numbers Authority (IANA)](https://www.iana.org)
maintains the
[Language Subtag Registry](https://www.iana.org/assignments/lang-subtags-templates/lang-subtags-templates.xhtml).
"""
scalar Locale
"""
[June 2018 GraphQL](http://spec.graphql.org/June2018/)
compliant
[query](http://spec.graphql.org/June2018/#sec-Language.Operations)
string without
[variables](http://spec.graphql.org/June2018/#sec-Language.Variables)
and without unnecessary white-space for the present schema.
"""
scalar GraphQlQuery
"""
[June 2018 GraphQL](http://spec.graphql.org/June2018/)
compliant
[JavaScript Object Notation (JSON)](https://tools.ietf.org/html/rfc8259)
[serialized](http://spec.graphql.org/June2018/#sec-JSON-Serialization)
[response](http://spec.graphql.org/June2018/#sec-Response)
string without unnecessary white-space for the present schema.
"""
scalar JsonGraphQlResponse
"""
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm)
compliant
[Cursor](https://relay.dev/graphql/connections.htm#sec-Cursor)
string.
"""
scalar Cursor
"""
Non-negative integer
"""
scalar NonNegativeInt
"""
Anything
"""
scalar Any
"""
Fetch data, ask whether there is data, and search for data. Each field except
`node` accepts
- an optional timestamp to specify for which point in time the query is to be
made and
- an optional locale to specify essentially the language of prose in the result.
Each field's value is uniquely determined by the required arguments,
timestamp, and locale throughout time.
If timestamp is not given, the moment the query is received is used. And, if
locale is not given, the default locale is used, which may differ from database
to database.
"""
type Query {
"""
Fetch node by global object identifier as elaborated on
[Global Object Identification](https://graphql.org/learn/global-object-identification/)
where two nodes with identical identifiers are equal as elaborated in
[Field stability](https://graphql.org/learn/global-object-identification/#field-stability).
See also
[Node root field](https://graphql.org/learn/global-object-identification/#node-root-field)
"""
node("Global object identifier." id: ID!): Node!
"""
Fetch data by universally unique identifier, and optional timestamp and
locale, where all three arguments together uniquely determine the data
throughout time.
"""
data(
"Data identifier."
id: Uuid!
"Timestamp. If not given, the moment the query is received is used."
timestamp: DateTime
"Locale. If not given, the default locale is used, which may differ from database to database."
locale: Locale
): Data!
"""
See `Query#data`.
"""
calorimetricData(
id: Uuid!
timestamp: DateTime
locale: Locale
): CalorimetricData!
"""
See `Query#data`.
"""
geometricData(id: Uuid!, timestamp: DateTime, locale: Locale): GeometricData!
"""
See `Query#data`.
"""
hygrothermalData(
id: Uuid!
timestamp: DateTime
locale: Locale
): HygrothermalData!
"""
See `Query#data`.
"""
opticalData(id: Uuid!, timestamp: DateTime, locale: Locale): OpticalData!
"""
See `Query#data`.
"""
photovoltaicData(
id: Uuid!
timestamp: DateTime
locale: Locale
): PhotovoltaicData!
"""
Search for all data for which the proposition is true.
The result is a
[connection](https://relay.dev/graphql/connections.htm#sec-Connection-Types)
with
[edges](https://relay.dev/graphql/connections.htm#sec-Edge-Types)
and
[nodes](https://relay.dev/graphql/connections.htm#sec-Node)
as specified in the
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm),
where the nodes are the actual data, and connection and edges are used for
meta information and
[pagination](https://graphql.org/learn/pagination/)
together with the
[forward pagination arguments](https://relay.dev/graphql/connections.htm#sec-Forward-pagination-arguments)
`first` and `after` and the
[backward pagination arguments](https://relay.dev/graphql/connections.htm#sec-Backward-pagination-arguments)
`last` and `before`.
Example:
```
query {
allData(
where: {
or: [
{
componentId: { equalTo: "810e84b4-9ebf-416c-88ea-aade848f1fdf" },
gValue: { greaterThanOrEqualTo: 0.5 },
not: {
uValue: { lessThanOrEqualTo: 0.5 }
}
},
{
nearnormalHemisphericalVisibleTransmittance: {
inClosedInterval: {
lowerBound: 0.2,
upperBound: 0.8
}
}
}
]
}
) {
edges {
node {
uuid
}
}
}
}
```
"""
allData(
"Compound boolean expression that is true for all data being returned. If not given, a proposition that is always true is used."
where: DataPropositionInput
"Timestamp. If not given, the moment the query is received is used."
timestamp: DateTime
"Locale. If not given, the default locale is used, which may differ from database to database."
locale: Locale
"Maximum number of data edges after the cursor `after`."
first: NonNegativeInt
"Data cursor after which to return at most `first` data edges."
after: Cursor
"Maximum number of data edges before the cursor `before`."
last: NonNegativeInt
"Data cursor before which to return at most `last` data edges."
before: Cursor
): DataConnection!
"""
See `Query#allData`.
"""
allCalorimetricData(
where: CalorimetricDataPropositionInput
timestamp: DateTime
locale: Locale
first: NonNegativeInt
after: Cursor
last: NonNegativeInt
before: Cursor
): CalorimetricDataConnection!
"""
See `Query#allData`.
"""
allGeometricData(
where: GeometricDataPropositionInput
timestamp: DateTime
locale: Locale
first: NonNegativeInt
after: Cursor
last: NonNegativeInt
before: Cursor
): GeometricDataConnection!
"""
See `Query#allData`.
"""
allHygrothermalData(
where: HygrothermalDataPropositionInput
timestamp: DateTime
locale: Locale
first: NonNegativeInt
after: Cursor
last: NonNegativeInt
before: Cursor
): HygrothermalDataConnection!
"""
See `Query#allData`.
"""
allOpticalData(
where: OpticalDataPropositionInput
timestamp: DateTime
locale: Locale
first: NonNegativeInt
after: Cursor
last: NonNegativeInt
before: Cursor
): OpticalDataConnection!
"""
See `Query#allData`.
"""
allPhotovoltaicData(
where: PhotovoltaicDataPropositionInput
timestamp: DateTime
locale: Locale
first: NonNegativeInt
after: Cursor
last: NonNegativeInt
before: Cursor
): PhotovoltaicDataConnection!
"""
Whether there is data for which the proposition is true at the given
timestamp in the given locale.
"""
hasData(
"Compound boolean expression that is true for data being searched for."
where: DataPropositionInput!
"Timestamp. If not given, the moment the query is received is used."
timestamp: DateTime
"Locale. If not given, the default locale is used, which may differ from database to database."
locale: Locale
): Boolean!
"""
See `Query#hasData`.
"""
hasCalorimetricData(
where: CalorimetricDataPropositionInput
timestamp: DateTime
locale: Locale
): Boolean!
"""
See `Query#hasData`.
"""
hasGeometricData(
where: GeometricDataPropositionInput
timestamp: DateTime
locale: Locale
): Boolean!
"""
See `Query#hasData`.
"""
hasHygrothermalData(
where: HygrothermalDataPropositionInput
timestamp: DateTime
locale: Locale
): Boolean!
"""
See `Query#hasData`.
"""
hasOpticalData(
where: OpticalDataPropositionInput
timestamp: DateTime
locale: Locale
): Boolean!
"""
See `Query#hasData`.
"""
hasPhotovoltaicData(
where: PhotovoltaicDataPropositionInput
timestamp: DateTime
locale: Locale
): Boolean!
"""
The verification code of the database that is generated by the metabase when
an institution registers a new database. It is used by the metabase to verify
the the institution is indeed under control of the database's GraphQL
endpoint.
To register and verify your database to the metabase do the following:
1. On the metabase, sign-in as a representative of your institution.
2. Register a new database and remember the generated verification code.
3. Make the database's GraphQL endpoint return that code when queried for its
verification code.
4. Ask the metabase to verify the database.
"""
verificationCode: String
}
"""
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm)
and
[Global Object Identification](https://graphql.org/learn/global-object-identification/)
compliant
[Node](https://relay.dev/graphql/connections.htm#sec-Node)
interface.
See also
[Node](https://graphql.org/learn/global-object-identification/#node-interface).
Note that according to
[Field stability](https://graphql.org/learn/global-object-identification/#field-stability),
if two objects appear in a query, both implementing `Node` with identical
identifiers, then the two objects are equal. For example, for queried data, the
identifier could be a Base64-encoded concatenation of the data identifier,
which is a `Uuid`, and the requested locale.
"""
interface Node {
"""
Base64-encoded identifier.
"""
id: ID!
}
"""
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm)
compliant
[PageInfo](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo)
type.
Note that although the introspection query results on
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm)
use the scalar type `String` for cursors, the specification of
[cursors](https://relay.dev/graphql/connections.htm#sec-Cursor)
says that a cursor is of
> a type that serializes as a `String`; this may be a `String`, a non‐null
> wrapper around a `String`, a custom scalar that serializes as a `String`, or
> a non‐null wrapper around a custom scalar that serializes as a `String`.
"""
type PageInfo {
"""
Whether more edges exist following the set defined by the client's arguments.
For details see
[PageInfo: Fields](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo.Fields).
"""
hasNextPage: Boolean!
"""
Whether more edges exist prior to the set defined by the clients arguments.
For details see
[PageInfo: Fields](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo.Fields).
"""
hasPreviousPage: Boolean!
"""
Cursor corresponding to the first edge in the set defined by the client's
arguments. For details see
[PageInfo: Fields](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo.Fields).
"""
startCursor: Cursor!
"""
Cursor corresponding to the last edge in the set defined by the client's
arguments. For details see
[PageInfo: Fields](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo.Fields).
"""
endCursor: Cursor!
"""
Number of edges in the set defined by the client's arguments. This is equal
to the number of nodes.
"""
count: NonNegativeInt!
}
"""
Closed interval from lower to upper bound. Each `Float` `x` is in the interval if
and only if `x` is greater than or equal to the lower bound and less than or
equal to the upper bound. In particular, if the lower bound is equal to the
upper bound, then the interval consists of exactly one float; and, if the lower
bound is greater than the upper bound, then the interval is empty.
"""
input ClosedIntervalInput {
"""
Lower bound.
"""
lowerBound: Float!
"""
Upper bound.
"""
upperBound: Float!
}
"""
Proposition for values of type `Float`. Multiple sub-propositions are combined
conjunctively, where the conjunction of an empty set of sub-propositions is true.
"""
input FloatPropositionInput {
"""
True for values that are equal to `equalTo`, otherwise false.
"""
equalTo: Float
"""
True for values that are greater than or equal to `greaterThanOrEqualTo`,
otherwise false.
"""
greaterThanOrEqualTo: Float
"""
True for values that are in the closed interval `inClosedInterval`, otherwise
false.
"""
inClosedInterval: ClosedIntervalInput
"""
True for values that are less than or equal to `lessThanOrEqualTo`, otherwise
false.
"""
lessThanOrEqualTo: Float
}
"""
Proposition for lists of values of type `Float`. Multiple sub-propositions are
combined conjunctively, where the conjunction of an empty set of
sub-propositions is true.
"""
input FloatsPropositionInput {
"""
True if each list value satisfies the proposition `all`, otherwise false.
"""
all: FloatPropositionInput
"""
True if no list value satisfies the proposition `none`, otherwise false.
"""
none: FloatPropositionInput
"""
True if at least one list value satisfies the proposition `some`, otherwise
false.
"""
some: FloatPropositionInput
}
"""
Proposition for values of type `Uuid`. Multiple sub-propositions are combined
conjunctively, where the conjunction of an empty set of sub-propositions is true.
"""
input UuidPropositionInput {
"""
True for values that are equal to `equalTo`, otherwise false.
"""
equalTo: Uuid
}
"""
Proposition for values of type `GetHttpsResource`. Multiple sub-propositions
are combined conjunctively, where the conjunction of an empty set of
sub-propositions is true.
"""
input GetHttpsResourcePropositionInput {
"""
True for GET HTTPS resources whose data format identifier satisfies the
proposition `dataFormatId`, otherwise false.
"""
dataFormatId: UuidPropositionInput
"""
True for GET HTTPS resources whose archived files meta information satisfies
the proposition `archivedFilesMetaInformation`, otherwise false.
"""
archivedFilesMetaInformation: FilesMetaInformationPropositionInput
}
"""
Proposition for lists of values of type `GetHttpsResource`. Multiple
sub-propositions are combined conjunctively, where the conjunction of an empty
set of sub-propositions is true.
"""
input GetHttpsResourcesPropositionInput {
"""
True if each list value satisfies the proposition `all`, otherwise false.
"""
all: GetHttpsResourcePropositionInput
"""
True if no list value satisfies the proposition `none`, otherwise false.
"""
none: GetHttpsResourcePropositionInput
"""
True if at least one list value satisfies the proposition `some`, otherwise
false.
"""
some: GetHttpsResourcePropositionInput
}
"""
Proposition for values of type `FileMetaInformation`. Multiple sub-propositions
are combined conjunctively, where the conjunction of an empty set of
sub-propositions is true.
"""
input FileMetaInformationPropositionInput {
"""
True for file meta information whose data format identifier satisfies the
proposition `dataFormatId`, otherwise false.
"""
dataFormatId: UuidPropositionInput
}
"""
Proposition for lists of values of type `FileMetaInformation`. Multiple
sub-propositions are combined conjunctively, where the conjunction of an empty
set of sub-propositions is true.
"""
input FilesMetaInformationPropositionInput {
"""
True if each list value satisfies the proposition `all`, otherwise false.
"""
all: FileMetaInformationPropositionInput
"""
True if no list value satisfies the proposition `none`, otherwise false.
"""
none: FileMetaInformationPropositionInput
"""
True if at least one list value satisfies the proposition `some`, otherwise
false.
"""
some: FileMetaInformationPropositionInput
}
"""
Proposition for values of type `Data`. Multiple sub-propositions are combined
conjunctively, where the conjunction of an empty set of sub-propositions is true.
"""
input DataPropositionInput {
"""
True for data for the component with identifier `componentId`, otherwise
false.
"""
componentId: UuidPropositionInput
"""
True for data for which each proposition in `and` is true, otherwise false.
In particular, it is true if there is no proposition in `and`.
"""
and: [DataPropositionInput!]
"""
True for data for which the proposition `not` is false, otherwise false.
"""
not: DataPropositionInput
"""
True for data for which at least one proposition in `or` is true, otherwise
false. In particular, it is false if there is no proposition in `or`.
"""
or: [DataPropositionInput!]
"""
True for data whose list of resources satisfies the proposition `resources`,
otherwise false.
"""
resources: GetHttpsResourcesPropositionInput
"""
True for data whose list of `g` values satisfies the proposition `gValues`,
otherwise false.
"""
gValues: FloatsPropositionInput
"""
True for data whose list of `u` values satisfies the proposition `uValues`,
otherwise false.
"""
uValues: FloatsPropositionInput
"""
True for data whose list of `thickness` values satisfies the proposition `thicknesses`,
otherwise false.
"""
thicknesses: FloatsPropositionInput
"""
True for data whose list of nearnormal hemispherical visible transmittance
values satisfies the proposition
`nearnormalHemisphericalVisibleTransmittances`, otherwise false.
"""
nearnormalHemisphericalVisibleTransmittances: FloatsPropositionInput
"""
True for data whose list of nearnormal hemispherical visible reflectance
values satisfies the proposition
`nearnormalHemisphericalVisibleReflectances`, otherwise false.
"""
nearnormalHemisphericalVisibleReflectances: FloatsPropositionInput
"""
True for data whose list of nearnormal hemispherical solar transmittance
values satisfies the proposition
`nearnormalHemisphericalSolarTransmittances`, otherwise false.
"""
nearnormalHemisphericalSolarTransmittances: FloatsPropositionInput
"""
True for data whose list of nearnormal hemispherical solar reflectance
values satisfies the proposition
`nearnormalHemisphericalSolarReflectances`, otherwise false.
"""
nearnormalHemisphericalSolarReflectances: FloatsPropositionInput
"""
True for data whose list of infrared emittance values satisfies the
proposition `infraredEmittances`, otherwise false.
"""
infraredEmittances: FloatsPropositionInput
"""
True for data whose list of Color Rendering Indices satisfies the proposition
`colorRenderingIndices`, otherwise false.
"""
colorRenderingIndices: FloatsPropositionInput
"""
True for data whose list of CIELAB Color Space coordinates satisfies the
proposition `cielabColors`, otherwise false.
"""
cielabColors: CielabColorsPropositionInput
}
"""
Proposition for values of type `CielabColor`. Multiple sub-propositions are
combined conjunctively, where the conjunction of an empty set of
sub-propositions is true.
"""
input CielabColorPropositionInput {
"""
True for CIELAB Colors with a coordinate L* that satisfies the proposition
`lStar`, otherwise false.
"""
lStar: FloatPropositionInput
"""
True CIELAB Colors with a coordinate a* that satisfies the proposition
`aStar`, otherwise false.
"""
aStar: FloatPropositionInput
"""
True CIELAB Colors with a coordinate b* that satisfies the proposition
`bStar`, otherwise false.
"""
bStar: FloatPropositionInput
}
"""
Proposition for lists of values of type `CielabColor`. Multiple
sub-propositions are combined conjunctively, where the conjunction of an empty
set of sub-propositions is true.
"""
input CielabColorsPropositionInput {
"""
True if each list value satisfies the proposition `all`, otherwise false.
"""
all: CielabColorPropositionInput
"""
True if no list value satisfies the proposition `none`, otherwise false.
"""
none: CielabColorPropositionInput
"""
True if at least one list value satisfies the proposition `some`, otherwise
false.
"""
some: CielabColorPropositionInput
}
"""
See `DataPropositionInput`.
"""
input OpticalDataPropositionInput {
componentId: UuidPropositionInput
and: [OpticalDataPropositionInput!]
not: OpticalDataPropositionInput
or: [OpticalDataPropositionInput!]
resources: GetHttpsResourcesPropositionInput
nearnormalHemisphericalVisibleTransmittances: FloatsPropositionInput
nearnormalHemisphericalVisibleReflectances: FloatsPropositionInput
nearnormalHemisphericalSolarTransmittances: FloatsPropositionInput
nearnormalHemisphericalSolarReflectances: FloatsPropositionInput
infraredEmittances: FloatsPropositionInput
colorRenderingIndices: FloatsPropositionInput
cielabColors: CielabColorsPropositionInput
}
"""
See `DataPropositionInput`.
"""
input CalorimetricDataPropositionInput {
componentId: UuidPropositionInput
and: [CalorimetricDataPropositionInput!]
not: CalorimetricDataPropositionInput
or: [CalorimetricDataPropositionInput!]
resources: GetHttpsResourcesPropositionInput
gValues: FloatsPropositionInput
uValues: FloatsPropositionInput
}
"""
See `DataPropositionInput`.
"""
input GeometricDataPropositionInput {
componentId: UuidPropositionInput
and: [GeometricDataPropositionInput!]
not: GeometricDataPropositionInput
or: [GeometricDataPropositionInput!]
resources: GetHttpsResourcesPropositionInput
thicknesses: FloatsPropositionInput
}
"""
See `DataPropositionInput`.
"""
input HygrothermalDataPropositionInput {
componentId: UuidPropositionInput
and: [HygrothermalDataPropositionInput!]
not: HygrothermalDataPropositionInput
or: [HygrothermalDataPropositionInput!]
resources: GetHttpsResourcesPropositionInput
}
"""
See `DataPropositionInput`.
"""
input PhotovoltaicDataPropositionInput {
componentId: UuidPropositionInput
and: [PhotovoltaicDataPropositionInput!]
not: PhotovoltaicDataPropositionInput
or: [PhotovoltaicDataPropositionInput!]
resources: GetHttpsResourcesPropositionInput
}
"""
Materialized connection from somewhere to data to paginate data using opaque
cursors as elaborated in the best practice
[Pagination](https://graphql.org/learn/pagination/)
and the specification
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm),
see in particular
[Complete Connection Model](https://graphql.org/learn/pagination/#complete-connection-model)
and
[Connection Types](https://relay.dev/graphql/connections.htm#sec-Connection-Types).
"""
type DataConnection {
"""
Edges to data nodes that expose opaque cursors for pagination.
"""
edges: [DataEdge!]!
"""
Total number of data edges (and nodes) of which a slice is `edges` (and
`nodes`). Note that the number of edges (and nodes) of the present slice is
`pageInfo.count`.
"""
totalCount: NonNegativeInt!
"""
Information about the present slice of all data edges (and nodes).
"""
pageInfo: PageInfo!
"""
Timestamp at or for which the connection, its edges and nodes are returned.
In case no timestamp was given as argument, this is the moment in time the
query was made. Otherwise, it is the given timestamp. All data edges and
nodes are fetched as they were at this timestamp.
"""
timestamp: DateTime!
}
"""
Materialized edge from somewhere to data to paginate data using opaque
cursors as elaborated in the best practice
[Pagination](https://graphql.org/learn/pagination/)
and the specification
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm),
see in particular
[Complete Connection Model](https://graphql.org/learn/pagination/#complete-connection-model)
and
[Edge Types](https://relay.dev/graphql/connections.htm#sec-Edge-Types).
"""
type DataEdge {
"""
Opaque
[cursor](https://relay.dev/graphql/connections.htm#sec-Cursor)
that designates the present edge for pagination.
"""
cursor: Cursor!
"""
Data node the edge points to.
"""
node: Data!
}
"""
See `DataConnection`.
"""
type OpticalDataConnection {
edges: [OpticalDataEdge!]!
pageInfo: PageInfo!
timestamp: DateTime!
}
"""
See `DataEdge`.
"""
type OpticalDataEdge {
cursor: Cursor!
node: OpticalData!
}
"""
See `DataConnection`.
"""
type HygrothermalDataConnection {
edges: [HygrothermalDataEdge!]!
pageInfo: PageInfo!
timestamp: DateTime!
}
"""
See `DataEdge`.
"""
type HygrothermalDataEdge {