uvm_live_platform 0.5.0

Methods to connect to the unity live platform service.
Documentation
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
"""Exposes a URL that specifies the behavior of this scalar."""
directive @specifiedBy(
  """The URL that specifies the behavior of this scalar."""
  url: String!
) on SCALAR

directive @requires(fields: _FieldSet!) on FIELD_DEFINITION

directive @auth on OBJECT | FIELD_DEFINITION

scalar _Any

scalar _FieldSet

"""
Boundary values related to a Product Variant of type `UnitVariant` within which the price is applicable.
"""
type Boundary {
  """The start value of the Product Variant."""
  start: Float!

  """The end value of the Product Variant."""
  end: Float!
}

"""A Unity Hub Community Resource."""
type CommunityResource {
  """The localized human-readable title of the Community Resource."""
  title: String!

  """The localized description of the Community Resource."""
  description: String!

  """The localized URL of the Community Resource."""
  url: URL!

  """The localized thumbnail of the Community Resource."""
  thumbnail: ResourceMedia!
}

"""Possible values of Community Resource Order."""
enum CommunityResourceOrder {
  WEIGHTED_DESC
}

"""
A Composite Metered Product is one which contains a subset of Metered Products
(for example, Unity Simulation). The price points are all on the child products.
It extends the `ProductInterface` by adding a list of `products` as it's Metered
Product children.
"""
type CompositeMeteredProduct implements ProductInterface {
  """The slug of the Product."""
  slug: ID!

  """The SKU of the Product."""
  sku: ID!

  """The name of the Product."""
  name: String!

  """The type of the Product."""
  type: ProductType!

  """The description of the Product."""
  description: String!

  """The UI Page of the Product."""
  ui: UIPage!

  """The child products of the Composite Metered Product."""
  products: [MeteredProduct!]!
}

"""Input fields to create a new Organization."""
input CreateOrganizationInput {
  """The name of the Organization."""
  name: String!
}

"""The response of a Create Organization Mutation."""
union CreateOrganizationResponse = CreateOrganizationResult | ServerError

"""The result of a Create Organization Mutation."""
type CreateOrganizationResult {
  """The indication whether the Organization has been successfully created."""
  success: Boolean!

  """The organization that has been created."""
  organization: Organization!
}

"""Possible types of Currency."""
enum Currency {
  BRL
  CNY
  EUR
  JPY
  KRW
  USD
}

"""
A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the
`date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO
8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar DateTime

"""
A field whose value conforms to the standard internet email address format as
specified in HTML Spec:
https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address.
"""
scalar EmailAddress

"""
An Error is returned when any form of operational error is thrown by the Live Platform.
"""
interface Error {
  """The title of the Error."""
  title: String!

  """The message of the Error."""
  message: String!

  """The errorCode of the Error."""
  errorCode: String!
}

"""An Extra Field."""
type ExtraField {
  """The name of the Extra Field."""
  name: String!

  """The value of the Extra Field."""
  value: String!
}

"""Possible types of FileType."""
enum FileType {
  TEXT
  TAR_GZ
  TAR_XZ
  ZIP
  PKG
  EXE
  PO
  DMG
  LZMA
  LZ4
  MD
  PDF
}

"""A Flat pricing for Product."""
type FlatVariant {
  """The id of the Flat Variant."""
  id: ID!

  """The name of the Flat Variant."""
  name: String!

  """The price of the Flat Variant."""
  price: Price!
}

"""A Unity Hub Content."""
type HubContent {
  """The unique identifier of the Hub Content."""
  id: ID!

  """The localized title of the Hub Content."""
  title: String!

  """The localized description of the Hub Content."""
  description: String!

  """The localized call-to-action of the Hub Content."""
  cta: String!

  """The localized link for the call-to-action of the Hub Content."""
  link: URL!

  """The thumbnail of the Hub Content."""
  thumbnail: ResourceMedia!
}

"""A Unity Hub Content Category."""
type HubContentCategory {
  """The unique identifier of the Hub Content Category."""
  id: ID!

  """The unique human readable identifier of the Hub Content Category."""
  slug: String!

  """The localized name of the Hub Content Category."""
  name: String!

  """The localized title of the Hub Content Category."""
  title: String!

  """The localized description of the Hub Content Category."""
  description: String!

  """
  The icon of the Hub Content Category, this is an internal Hub Icon Reference.
  """
  icon: String!

  """The localized contents of the Hub Content Category."""
  hubContent(
    """The sorting arguments for a HubContentCategory query."""
    orderBy: HubContentOrder = WEIGHTED_DESC
  ): [HubContent!]!
}

"""The sorting order for Hub Content Categories."""
enum HubContentCategoryOrder {
  WEIGHTED_DESC
  WEIGHTED_ASC
}

"""The sorting order for Hub Contents."""
enum HubContentOrder {
  WEIGHTED_DESC
  WEIGHTED_ASC
}

"""
The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSONObject

"""A Learn Course."""
type LearnCourse implements LearnEntityInterface {
  """The ID of the Learn Entity."""
  id: ID!

  """The type of the Learn Entity."""
  type: LearnEntityType!

  """The title of the Learn Entity."""
  title: String!

  """The description of the Learn Entity."""
  description: String!

  """The proprietary Draft JS JSON description of the Learn Entity."""
  draftJSDescription: String!

  """
  The thumbnail of the Learn Entity. A fallback image is returned if no thumbnail is available.
  """
  thumbnail: LearnMedia!

  """The language of the Learn Entity."""
  language: LearnEntityLanguage!

  """The duration in minutes of the Learn Entity."""
  duration: LearnTimeValue!

  """The total number of bookmarks of the Learn Entity."""
  totalBookmarks: Int!

  """The web URL of the Learn Entity."""
  url: URL!

  """The skill level of the Learn Entity."""
  skillLevel: LearnEntitySkillLevel!

  """The author of the Learn Entity."""
  author: LearnEntityAuthor!

  """The list of topics related to the Learn Entity."""
  topics: [LearnEntityTopic!]!

  """The list of industries related to the Learn Entity."""
  industries: [LearnEntityIndustry!]!

  """The supported Unity editor version of the Learn Entity."""
  supportedEditorVersion: String!

  """The list of learning materials related to the Learn Entity."""
  materials: [LearnEntityMaterial!]

  """The Unity Connect group of the Learn Entity."""
  connectGroup: LearnEntityConnectGroup

  """The list of contents related to the Learn Course."""
  contents: [LearnEntityInterface!]
}

"""Possible types of Learn Digital Unit."""
enum LearnDigitalUnit {
  BYTE
  KILOBYTE
  MEGABYTE
  GIGABYTE
}

"""A Digital Value as defined on Learn Live Platform."""
type LearnDigitalValue {
  """The value of the Digital Value."""
  value: Float!

  """The unit of the Digital Value."""
  unit: LearnDigitalUnit!
}

"""A Learn Entity Author."""
type LearnEntityAuthor {
  """The ID generated from Connect API of the Learn Entity Author."""
  id: ID!

  """The name of the Learn Entity Author."""
  name: String!

  """
  The avatar of the Learn Entity Author. A fallback image is returned if no author avatar is available.
  """
  avatar: LearnMedia!
}

"""Input fields to add/remove a bookmark to/from a Learn Entity."""
input LearnEntityBookmarkMutationInput {
  """The ID of the Learn Entity."""
  id: ID!

  """The type of the Learn Entity."""
  type: LearnEntityType!
}

"""A Learn Entity Bookmark Response."""
union LearnEntityBookmarkMutationResponse = LearnEntityBookmarkResult | NotFoundError | ServerError

"""Response for a `addLearnEntityBookmark` mutation."""
type LearnEntityBookmarkResult {
  """
  The indication whether the bookmark has been successfully added to the Learn Entity or not.
  """
  success: Boolean!
}

"""A Unity Connect group related to a Learn Entity."""
type LearnEntityConnectGroup {
  """The name of the Unity Connect group for the Learn Entity."""
  name: String!

  """The Unity Connect group's URL for the Learn Entity."""
  url: URL!

  """
  The statistics about members of the Unity Connect group for the Learn Entity.
  """
  members: LearnEntityConnectGroupMembersStatistics!
}

"""A Learn Entity Connect Group Members Statistics."""
type LearnEntityConnectGroupMembersStatistics {
  """The total members of the Unity Connect group for the Learn Entity."""
  total: Int!

  """
  The number of online members of the Unity Connect group for the Learn Entity.
  """
  online: Int!
}

"""A Learn Entity Documentation Link."""
type LearnEntityDocumentationLink {
  """The URL of the Learn Entity Documentation Link."""
  url: URL!

  """The name of the Learn Entity Documentation Link."""
  name: String!
}

"""A Learn Entity Downloadable Asset."""
type LearnEntityDownloadableAsset {
  """The URL of the Learn Entity Downloadable Asset."""
  url: URL!

  """The file size of the Learn Entity Downloadable Asset."""
  size(
    """The format of the Learn Digital Value size."""
    format: LearnDigitalUnit! = BYTE
  ): LearnDigitalValue!

  """The name of the Learn Entity Downloadable Asset."""
  name: String!

  """The supported editor version of the Learn Entity Downloadable Asset."""
  supportedEditorVersion: String!

  """The packageId from Asset Store of the Learn Entity Downloadable Asset."""
  packageId: String!
}

"""Possible duration filters of searchCatalog Query."""
enum LearnEntityDuration {
  LESS_THAN_15_MINUTES
  BETWEEN_15_AND_60_MINUTES
  BETWEEN_60_AND_120_MINUTES
  MORE_THAN_120_MINUTES
}

"""Possible industry values of a Learn Entity Industry."""
enum LearnEntityIndustry {
  AEC
  AUTOMOTIVE
  FILM
  GAMES
}

"""A Learn Entity Interface returned from the learn queries."""
interface LearnEntityInterface {
  """The ID of the Learn Entity."""
  id: ID!

  """The type of the Learn Entity."""
  type: LearnEntityType!

  """The title of the Learn Entity."""
  title: String!

  """The description of the Learn Entity."""
  description: String!

  """The proprietary Draft JS JSON description of the Learn Entity."""
  draftJSDescription: String!

  """
  The thumbnail of the Learn Entity. A fallback image is returned if no thumbnail is available.
  """
  thumbnail: LearnMedia!

  """The language of the Learn Entity."""
  language: LearnEntityLanguage!

  """The duration in minutes of the Learn Entity."""
  duration: LearnTimeValue!

  """The total number of bookmarks of the Learn Entity."""
  totalBookmarks: Int!

  """The web URL of the Learn Entity."""
  url: URL!

  """The skill level of the Learn Entity."""
  skillLevel: LearnEntitySkillLevel!

  """The author of the Learn Entity."""
  author: LearnEntityAuthor!

  """The list of topics related to the Learn Entity."""
  topics: [LearnEntityTopic!]!

  """The list of industries related to the Learn Entity."""
  industries: [LearnEntityIndustry!]!

  """The supported Unity editor version of the Learn Entity."""
  supportedEditorVersion: String!

  """The list of learning materials related to the Learn Entity."""
  materials: [LearnEntityMaterial!]

  """The Unity Connect group of the Learn Entity."""
  connectGroup: LearnEntityConnectGroup
}

"""Possible language values of a Learn Entity Language."""
enum LearnEntityLanguage {
  ENGLISH
  CHINESE
  JAPANESE
  KOREAN
  RUSSIAN
  SPANISH
  FRENCH
  GERMAN
  PORTUGUESE
}

"""
Types that can represent a Learn Entity Material in the Learn Entity materials.
"""
union LearnEntityMaterial = LearnEntityDownloadableAsset | LearnEntityDocumentationLink

"""A relay style offset paginated Learn Entity Connection."""
type LearnEntityOffsetConnection {
  """The list of offset paginated Learn Entity edges."""
  edges: [LearnEntityOffsetEdge!]!

  """The total count of all available Learn Entity edges in the connection."""
  totalCount: Int!

  """The page information for offset pagination."""
  pageInfo: LearnEntityOffsetPageInfo!
}

"""A relay style offset paginated Learn Entity Edge."""
type LearnEntityOffsetEdge {
  """A Learn Entity node."""
  node: LearnEntityResponse!
}

"""The LearnEntity Offset Pagination Information related to a connection."""
type LearnEntityOffsetPageInfo {
  """The flag indicating if there is a next results page."""
  hasNextPage: Boolean!

  """The flag indicating if there is a previous results page."""
  hasPreviousPage: Boolean!
}

"""
Possible result order of searchCatalog Query. Result order `BEST_MATCH` is affected by the authenticated user.
"""
enum LearnEntityOrder {
  BEST_MATCH
  MOST_POPULAR
  MOST_RECENT
  TITLE_AZ
  TITLE_ZA
}

"""A Learn Entity Response."""
union LearnEntityResponse = LearnTutorial | LearnProject | LearnCourse | NotFoundError | ServerError

"""Possible skill level values of a Learn Entity Skill Level."""
enum LearnEntitySkillLevel {
  FOUNDATIONAL
  BEGINNER
  INTERMEDIATE
  ADVANCED
}

"""Possible topic values of a Learn Entity Topic."""
enum LearnEntityTopic {
  TWO_D
  AI_AND_NAVIGATION
  ANIMATION
  ART
  AUDIO
  CAMERAS
  DCC_TO_UNITY
  DESIGN
  EDITOR_ESSENTIALS
  FOR_EDUCATORS
  GRAPHIC_AND_VISUAL_EFFECTS
  LIGHTING_AND_VISUAL_FIDELITY
  MATERIAL_AND_SHADERS
  MOBILE_AND_TOUCH
  MODELING
  OBJECT_AND_COMPONENTS
  OPTIMIZATION
  PHYSICS
  PROJECT_MANAGEMENT
  PROJECT_SETUP_AND_SETTINGS
  PUBLISHING
  RENDER_PIPELINES
  SCRIPTING
  UNITY_SERVICES
  USER_INTERFACE
  VISUALIZATION
  XR
}

"""Possible type values of a Learn Entity Type."""
enum LearnEntityType {
  TUTORIAL
  PROJECT
  COURSE
  ALL
}

"""A Media as defined on Learn Live Platform."""
type LearnMedia {
  """The URL of the Media."""
  url: URL!

  """The type of the Media."""
  type: LearnMediaType!
}

"""Possible types of LearnMedia Type."""
enum LearnMediaType {
  IMAGE
  VIDEO
  GIF
}

"""A Learn Project."""
type LearnProject implements LearnEntityInterface {
  """The ID of the Learn Entity."""
  id: ID!

  """The type of the Learn Entity."""
  type: LearnEntityType!

  """The title of the Learn Entity."""
  title: String!

  """The description of the Learn Entity."""
  description: String!

  """The proprietary Draft JS JSON description of the Learn Entity."""
  draftJSDescription: String!

  """
  The thumbnail of the Learn Entity. A fallback image is returned if no thumbnail is available.
  """
  thumbnail: LearnMedia!

  """The language of the Learn Entity."""
  language: LearnEntityLanguage!

  """The duration in minutes of the Learn Entity."""
  duration: LearnTimeValue!

  """The total number of bookmarks of the Learn Entity."""
  totalBookmarks: Int!

  """The web URL of the Learn Entity."""
  url: URL!

  """The skill level of the Learn Entity."""
  skillLevel: LearnEntitySkillLevel!

  """The author of the Learn Entity."""
  author: LearnEntityAuthor!

  """The list of topics related to the Learn Entity."""
  topics: [LearnEntityTopic!]!

  """The list of industries related to the Learn Entity."""
  industries: [LearnEntityIndustry!]!

  """The supported Unity editor version of the Learn Entity."""
  supportedEditorVersion: String!

  """The list of learning materials related to the Learn Entity."""
  materials: [LearnEntityMaterial!]

  """The Unity Connect group of the Learn Entity."""
  connectGroup: LearnEntityConnectGroup

  """The list of tutorials related to the Learn Project."""
  tutorials: [LearnEntityInterface!]
}

"""A Time Value as defined on Learn Live Platform."""
type LearnTimeValue {
  """The value of the Time Value."""
  value: Float!

  """The unit of the Time Value."""
  unit: TimeUnit!
}

"""A Learn Tutorial."""
type LearnTutorial implements LearnEntityInterface {
  """The ID of the Learn Entity."""
  id: ID!

  """The type of the Learn Entity."""
  type: LearnEntityType!

  """The title of the Learn Entity."""
  title: String!

  """The description of the Learn Entity."""
  description: String!

  """The proprietary Draft JS JSON description of the Learn Entity."""
  draftJSDescription: String!

  """
  The thumbnail of the Learn Entity. A fallback image is returned if no thumbnail is available.
  """
  thumbnail: LearnMedia!

  """The language of the Learn Entity."""
  language: LearnEntityLanguage!

  """The duration in minutes of the Learn Entity."""
  duration: LearnTimeValue!

  """The total number of bookmarks of the Learn Entity."""
  totalBookmarks: Int!

  """The web URL of the Learn Entity."""
  url: URL!

  """The skill level of the Learn Entity."""
  skillLevel: LearnEntitySkillLevel!

  """The author of the Learn Entity."""
  author: LearnEntityAuthor!

  """The list of topics related to the Learn Entity."""
  topics: [LearnEntityTopic!]!

  """The list of industries related to the Learn Entity."""
  industries: [LearnEntityIndustry!]!

  """The supported Unity editor version of the Learn Entity."""
  supportedEditorVersion: String!

  """The list of learning materials related to the Learn Entity."""
  materials: [LearnEntityMaterial!]

  """The Unity Connect group of the Learn Entity."""
  connectGroup: LearnEntityConnectGroup

  """The list of parents related to the Learn Tutorial."""
  parents: [LearnEntityInterface!]
}

"""The Unity Editor License information."""
type License {
  """The Unity Editor License type."""
  type: LicenseType!

  """The Unity Editor License activation date (Unix timestamp)."""
  activationDate: Timestamp!
}

"""Possible types of Unity Editor License."""
enum LicenseType {
  ENTERPRISE
  PERSONAL
  PLUS
  PRO
}

"""
A Metered Product is one which varies in price depending on usage (for example,
Unity Simulation - Bandwidth). It extends the `ProductInterface` by adding tiers
of usage costs to the base type.
"""
type MeteredProduct implements ProductInterface {
  """The slug of the Product."""
  slug: ID!

  """The SKU of the Product."""
  sku: ID!

  """The name of the Product."""
  name: String!

  """The type of the Product."""
  type: ProductType!

  """The description of the Product."""
  description: String!

  """The UI Page of the Product."""
  ui: UIPage!

  """The tiers of the Metered Product."""
  tiers: [ProductVariant!]!
}

type Mutation {
  """Create a new Organization."""
  createOrganization(
    """The input argument for creating an Organization."""
    input: CreateOrganizationInput!
  ): CreateOrganizationResponse!

  """Add a bookmark to a Learn Entity for an authenticated User."""
  addLearnEntityBookmark(
    """The input argument for adding a bookmark to a Learn Entity."""
    input: LearnEntityBookmarkMutationInput!
  ): LearnEntityBookmarkMutationResponse!

  """Remove a bookmark from a Learn Entity for an authenticated User."""
  removeLearnEntityBookmark(
    """The input argument for removing a bookmark from a Learn Entity."""
    input: LearnEntityBookmarkMutationInput!
  ): LearnEntityBookmarkMutationResponse!

  """Send an analytics event to Heap."""
  sendHeapAnalyticsEvent(
    """The input argument for sending a Heap Analytics event."""
    input: SendHeapAnalyticsEventInput!
  ): SendHeapAnalyticsEventResponse!
}

"""A NotFound Error is returned when an entity cannot be retrieved."""
type NotFoundError implements Error {
  """The title of the Error."""
  title: String!

  """The message of the Error."""
  message: String!

  """The errorCode of the Error."""
  errorCode: String!
}

"""
A One Time Product is one where a consumer pays a single lump sum for the
product (for example, Unity Certified Professional: Artist). It extends the
`ProductInterface` by adding a single price field informing how much a customer needs to pay.
"""
type OneTimeProduct implements ProductInterface {
  """The slug of the Product."""
  slug: ID!

  """The SKU of the Product."""
  sku: ID!

  """The name of the Product."""
  name: String!

  """The type of the Product."""
  type: ProductType!

  """The description of the Product."""
  description: String!

  """The UI Page of the Product."""
  ui: UIPage!

  """The price of the One Time Product."""
  price: Price!
}

"""An Organization."""
type Organization {
  """The unique id of the Organization."""
  id: ID!

  """The name of the Organization."""
  name: String!

  """The primary address of the Organization."""
  primaryAddress: OrganizationAddress

  """The role of the user in the Organization."""
  role: OrganizationRole!
}

"""The Address of the Organization."""
type OrganizationAddress {
  """The unique id of the Organization Address."""
  id: ID!

  """The street of the Organization Address."""
  street: String!

  """The city of the Organization Address."""
  city: String!

  """The postal code of the Organization Address."""
  postalCode: String!

  """The country of the Organization Address."""
  country: String!

  """The state of the Organization Address."""
  state: String

  """The phone number of the Organization Address."""
  phoneNumber: String

  """The company name of the Organization Address."""
  companyName: String @deprecated(reason: "This field is deprecated. Please use the Organization `name` instead.")
}

"""Possible types of Organization Role."""
enum OrganizationRole {
  MANAGER
  OWNER
  USER
  GUEST
}

"""A Price related to a Product."""
type Price {
  """The value of the Price."""
  value: Float!

  """The currency of the Price."""
  currency: Currency!
}

"""A Product Interface returned from the product queries."""
interface ProductInterface {
  """The slug of the Product."""
  slug: ID!

  """The SKU of the Product."""
  sku: ID!

  """The name of the Product."""
  name: String!

  """The type of the Product."""
  type: ProductType!

  """The description of the Product."""
  description: String!

  """The UI Page of the Product."""
  ui: UIPage!
}

"""A Product Response."""
union ProductResponse = MeteredProduct | SubscriptionProduct | OneTimeProduct | CompositeMeteredProduct | ServerError | NotFoundError

"""Possible types of Product."""
enum ProductType {
  COMPOSITE_METERED
  METERED
  SUBSCRIPTION
  ONE_TIME
}

"""A Product Variant."""
union ProductVariant = FlatVariant | UnitVariant

type Query {
  """Get the Authenticated User profile and the associated resources."""
  getAuthenticatedUser: User!

  """Search for learn content within the Unity Learn catalog."""
  searchLearnCatalog(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0

    """
    Searches for specific terms (e.g. 3D, platforms, C#). Unsupported characters will be removed from the terms.
    """
    searchTerms: String

    """Filters by Learn Entity Skill Level."""
    skillLevels: [LearnEntitySkillLevel!] = []

    """Filters by Learn Entity TYpe."""
    types: [LearnEntityType!] = [ALL]

    """Filters by Learn Entity Topic."""
    topics: [LearnEntityTopic!] = []

    """Filters by Learn Entity Industry."""
    industries: [LearnEntityIndustry!] = []

    """Filters by Learn Entity Duration."""
    durations: [LearnEntityDuration!] = []

    """Filters by Learn Entity Language."""
    languages: [LearnEntityLanguage!] = []

    """Orders the returned results by Learn Entity Order."""
    order: LearnEntityOrder = BEST_MATCH
  ): LearnEntityOffsetConnection!

  """Get the HUB featured learn content from the Unity Learn catalog."""
  getHubFeaturedLearnEntities(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0
  ): LearnEntityOffsetConnection!

  """Get the Learn Entity from the Unity Learn catalog."""
  getLearnEntity(
    """The ID of the Learn Entity."""
    id: ID!

    """The type of the Learn Entity."""
    type: LearnEntityType!
  ): LearnEntityResponse!

  """Get a Product by SKU."""
  getProduct(
    """The SKU of the Product Entity."""
    sku: ID!
  ): ProductResponse! @deprecated(reason: "Retrieving a product by SKU is deprecated; please use 'getProductBySlug' instead.")

  """Get all Templates within the Live Platform service."""
  getTemplates(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0

    """Orders the returned results by Get Templates Order."""
    orderBy: TemplateOrder = WEIGHTED_DESC

    """Filters by Template Type."""
    type: TemplateType

    """Filters by Template Category."""
    category: [TemplateCategory!] = []

    """Filters by Template Unity Supported Version."""
    unitySupportedVersion: [String!] = []

    """Filters by Template Version Supported Unity Editor Versions."""
    supportedUnityEditorVersions: [String!] = []
  ): TemplateOffsetConnection!

  """Get all the Hub Content Categories within the Live Platform service."""
  getHubContentCategories(
    """Orders the returned results by Get Hub Content Categories Order."""
    orderBy: HubContentCategoryOrder = WEIGHTED_DESC
  ): [HubContentCategory!]!

  """
  Get all Unity Hub Community Resources within the Live Platform service.
  """
  getHubCommunityResources(
    """Orders the returned results by Hub Community Resources Order."""
    orderBy: CommunityResourceOrder = WEIGHTED_DESC
  ): [CommunityResource!]! @deprecated(reason: "Retrieving Unity Hub Community Resources with this query is deprecated; please use getHubContentCategories.")

  """Get all Weta Releases within the Live Platform service."""
  getWetaReleases(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0

    """Orders the returned results by Get Weta Releases Order."""
    orderBy: WetaReleaseOrder = RELEASE_DATE_DESC

    """Filters by Weta Release product name."""
    productName: [WetaReleaseProductName!] = []

    """Filters by a full text search on the version string."""
    version: String
  ): WetaReleaseOffsetConnection!

  """Get all Unity Releases within the Live Platform service."""
  getUnityReleases(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0

    """Orders the returned results by Get Unity Releases Order."""
    orderBy: UnityReleaseOrder = RELEASE_DATE_DESC

    """Filters by Unity Release stream."""
    stream: [UnityReleaseStream!] = []

    """Filters by Unity Release download platform."""
    platform: [UnityReleaseDownloadPlatform!] = []

    """Filters by Unity Release download architecture."""
    architecture: [UnityReleaseDownloadArchitecture!] = []

    """Filters by a full text search on the version string."""
    version: String
  ): UnityReleaseOffsetConnection!

  """Get all Unity Release Major Versions within the Live Platform service."""
  getUnityReleaseMajorVersions(
    """Filters by Unity Release stream."""
    stream: [UnityReleaseStream!] = []

    """Filters by Unity Release download platform."""
    platform: [UnityReleaseDownloadPlatform!] = []

    """Filters by Unity Release download architecture."""
    architecture: [UnityReleaseDownloadArchitecture!] = []
  ): [UnityReleaseMajorVersion!]!
}

"""Possible types of Release Digital Unit."""
enum ReleaseDigitalUnit {
  BYTE
  KILOBYTE
  MEGABYTE
  GIGABYTE
}

"""A Digital Value as defined on Release Live Platform."""
type ReleaseDigitalValue {
  """The value of the Digital Value."""
  value: Float!

  """The unit of the Digital Value."""
  unit: ReleaseDigitalUnit!
}

"""A Media as defined on Resource Live Platform."""
type ResourceMedia {
  """The URL of the Media."""
  url: URL!

  """The type of the Media."""
  type: ResourceMediaType!
}

"""Possible types of ResourceMedia Type."""
enum ResourceMediaType {
  IMAGE
  VIDEO
  GIF
}

"""Input Fields to send a Heap Analytics Event."""
input SendHeapAnalyticsEventInput {
  """The Heap app_id which links this tracking event to a Heap Project."""
  appId: ID!

  """The identity of the user which emitted the event."""
  identity: String!

  """The name of the event. Should correlate to the Heap definition."""
  event: String!

  """The time at which an event occurred (Unix timestamp)."""
  timestamp: Timestamp

  """The properties of an event."""
  properties: JSONObject
}

"""The response from a Send Heap Analytics Event."""
union SendHeapAnalyticsEventResponse = SendHeapAnalyticsEventResult | ServerError

"""The result for the Send Heap Analytics Event mutation."""
type SendHeapAnalyticsEventResult {
  """The indication whether Heap Analytics event was sent or not."""
  success: Boolean!
}

"""
A ServerError is returned when the Live Platform throws an unhandled or operational error.
"""
type ServerError implements Error {
  """The title of the Error."""
  title: String!

  """The message of the Error."""
  message: String!

  """The errorCode of the Error."""
  errorCode: String!
}

"""
Subresource Integrity scalar type. It represents SRI values as defined by the
[W3C Recommendation Subresource Integrity](https://www.w3.org/TR/SRI/). It is of
type JSON string when used in inputs and response data.
"""
scalar SubresourceIntegrity

"""
A Subscription Product is one where a consumer pays a set amount each month for
continued usage of the product (for example, Unity Pro). It extends the
`ProductInterface` by adding variants for different kinds of subscriptions (e.g.
monthly,yearly).
"""
type SubscriptionProduct implements ProductInterface {
  """The slug of the Product."""
  slug: ID!

  """The SKU of the Product."""
  sku: ID!

  """The name of the Product."""
  name: String!

  """The type of the Product."""
  type: ProductType!

  """The description of the Product."""
  description: String!

  """The UI Page of the Product."""
  ui: UIPage!

  """The variants of the Subscription Product."""
  variants: [ProductVariant!]!

  """The payment plan name of the Subscription Product."""
  paymentPlan: String!
}

"""A Template."""
type Template {
  """The package name, that uniquely identifies the Template."""
  packageName: String!

  """The human-readable name of the Template."""
  name: String!

  """The description of the Template."""
  description: String!

  """The icon of the Template."""
  icon: TemplateMedia!

  """The preview image of the Template."""
  previewImage: TemplateMedia!

  """The type of the Template."""
  type: TemplateType!

  """The category of the Template."""
  category: TemplateCategory!

  """The terms of service of the Template."""
  termsOfService: TemplateFile

  """The extra fields defined on the Template."""
  extraFields: [ExtraField!]

  """The render pipeline of the Template."""
  renderPipeline: TemplateRenderPipeline!

  """The versions of the Template."""
  versions: [TemplateVersion!]!

  """The build platform of the Template."""
  buildPlatform: TemplateBuildPlatform! @deprecated(reason: "This field is deprecated. Please use 'buildPlatforms' instead.")

  """The build platforms of the Template."""
  buildPlatforms: [TemplateBuildPlatform!]!

  """The list of Unity supported editor version for the Template."""
  unitySupportedVersions: [String!]! @deprecated(reason: "This is no longer used. Please use the 'supportedUnityEditorVersions' field instead.")

  """The indicator for whether a Template is a new Template."""
  isNew: Boolean!
}

"""Possible types of a Template Build Platform."""
enum TemplateBuildPlatform {
  IOS
  ANDROID
  TVOS
  LINUX
  MACOS
  WEBGL
  WINDOWS
  LUMINOS
}

"""Possible categories of a Template."""
enum TemplateCategory {
  BLANK
  XR
  AEC
  AUTOMOTIVE
  MNE
  GAME
  ART
}

"""A Template Dependency."""
type TemplateDependency {
  """The name of the Template Dependency."""
  name: String!

  """The package name of the Template Dependency."""
  packageName: String!

  """The version of the Template Dependency."""
  version: String!
}

"""Possible types of Template Digital Unit."""
enum TemplateDigitalUnit {
  BYTE
  KILOBYTE
  MEGABYTE
  GIGABYTE
}

"""A Digital Value as defined on Template Live Platform."""
type TemplateDigitalValue {
  """The value of the Digital Value."""
  value: Float!

  """The unit of the Digital Value."""
  unit: TemplateDigitalUnit!
}

"""A File as defined on Template Live Platform."""
type TemplateFile {
  """The url of the File."""
  url: URL!

  """
  The Subresource Integrity of the File as defined by the [W3C Recommendation
  Subresource Integrity](https://www.w3.org/TR/SRI/). For example,
  `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity!

  """The checksum of the File."""
  checksum: String! @deprecated(reason: "This has been replaced by the field `integrity`. Please use that instead.")

  """The type of the File."""
  type: FileType!
}

"""A Media as defined on Template Live Platform."""
type TemplateMedia {
  """The URL of the Media."""
  url: URL!

  """The type of the Media."""
  type: TemplateMediaType!
}

"""Possible types of TemplateMedia Type."""
enum TemplateMediaType {
  IMAGE
  VIDEO
  GIF
}

"""A relay style offset paginated Template Connection."""
type TemplateOffsetConnection {
  """The list of offset paginated Template edges."""
  edges: [TemplateOffsetEdge!]!

  """The total count of all available Template edges in the connection."""
  totalCount: Int!

  """The page information for offset pagination."""
  pageInfo: TemplateOffsetPageInfo!
}

"""A relay style offset paginated Template Edge."""
type TemplateOffsetEdge {
  """A Template node."""
  node: Template!
}

"""The Template Offset Pagination Information related to a connection."""
type TemplateOffsetPageInfo {
  """The flag indicating if there is a next results page."""
  hasNextPage: Boolean!

  """The flag indicating if there is a previous results page."""
  hasPreviousPage: Boolean!
}

"""Possible values of Template Order."""
enum TemplateOrder {
  NAME_ASC
  NAME_DESC
  WEIGHTED_DESC
  RELEASE_DATE_ASC
  RELEASE_DATE_DESC
}

"""Possible render pipelines of a Template."""
enum TemplateRenderPipeline {
  URP
  SRP
  HDRP
  BUILT_IN
}

"""Possible values of Template Type."""
enum TemplateType {
  LEARNING
  CORE
  SAMPLE
}

"""A Template Version."""
type TemplateVersion {
  """The name of the Template Version."""
  name: String!

  """The size of the Template Version."""
  size(
    """The format of the Template Digital Value size."""
    format: TemplateDigitalUnit! = BYTE
  ): TemplateDigitalValue!

  """The tarball of the Template Version."""
  tarball: TemplateFile!

  """The field describing if the Template Version is the most up-to-date."""
  isLatest: Boolean!

  """The unity editor target for the Template Version."""
  unityEditorTarget: String! @deprecated(reason: "This should not be used. Please use the 'supportedUnityEditorVersions' field instead.")

  """The supported Unity Editor versions for the Template Version."""
  supportedUnityEditorVersions: [String!]!

  """The list of dependencies for the Template Version."""
  dependencies: [TemplateDependency!]!
}

"""
The javascript `Date` as integer. Type represents date and time as number of milliseconds from start of UNIX epoch.
"""
scalar Timestamp

"""Possible types of Time Unit."""
enum TimeUnit {
  SECOND
  MINUTE
  HOUR
  DAY
}

"""Possible values of Component Alignment."""
enum UIAlignment {
  LEFT
  RIGHT
  CENTER
}

"""A UI body."""
type UIBody {
  """The elements of the UI body."""
  elements: [UIElement!]!
}

"""A UI Component call to action."""
type UICallToAction implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!

  """The action type of the Call to Action component."""
  actionType: UICallToActionType!

  """The target of the Call to Action component."""
  target: String!

  """The label of the Call to Action component."""
  label: String!
}

"""Possible values of Call to Action type."""
enum UICallToActionType {
  BUTTON
  LINK
}

"""A UI Common Component."""
interface UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!
}

"""A UI Component."""
union UIComponent = UITitle | UISubTitle | UIParagraph | UITable | UICallToAction | UIImage | UIVideo | UITextBlock

"""A set of UI Components."""
type UIComponents {
  """A UI Component pricing table response."""
  pricingTable(
    """
    The name of the pricing table template to render. If not specified, the default template (if it exists) is rendered.
    """
    name: String
  ): UITableResponse
}

"""Possible values of Component type."""
enum UIComponentType {
  TITLE
  SUBTITLE
  PARAGRAPH
  TABLE
  CALL_TO_ACTION
  IMAGE
  VIDEO
  TEXT_BLOCK
}

"""A UI Element."""
union UIElement = UIRow | UIHeroBanner

"""Possible values of UI Element type."""
enum UIElementType {
  HERO_BANNER
  ONE_COLUMN
  TWO_COLUMN
  THREE_COLUMN
}

"""A UI Hero Banner."""
type UIHeroBanner {
  """The element type of the UI Hero Banner."""
  type: UIElementType

  """The Title of the UI Hero Banner."""
  title: UITitle!

  """The paragraph of the UI Hero Banner."""
  paragraph: UIParagraph!

  """The background image of the UI Hero Banner."""
  backgroundImage: UIImage!

  """The Call to Action of the UI Hero Banner."""
  callToAction: UICallToAction!
}

"""A UI Component image."""
type UIImage implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!

  """The url of the Image component."""
  url: URL!
}

"""A UI Page metadata."""
type UIMetadata {
  """The title of the UI Page metadata."""
  title: String!

  """UI Component pricing table template names for the associated slug."""
  pricingTableTemplateNames: [String!]!
}

"""A UI Page."""
type UIPage {
  """The metadata of the UI Page."""
  metadata: UIMetadata

  """The body of the UI Page."""
  body: UIBody

  """The UI Components."""
  components: UIComponents
}

"""A UI Component paragraph."""
type UIParagraph implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!

  """The text content of the Paragraph component."""
  text: String!
}

"""A UI Row."""
type UIRow {
  """The element type of the UI Row."""
  type: UIElementType

  """The components of the UI Row."""
  components: [UIComponent!]!
}

"""A UI Component sub title."""
type UISubTitle implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!

  """The text content of the SubTitle component."""
  text: String!
}

"""A UI Component table."""
type UITable implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the Table component."""
  alignment: UIAlignment!

  """The title of the Table component."""
  title: UITitle

  """The headers of the Table component."""
  headers: [String!]!

  """The rows of the Table component."""
  rows: [UITableRow!]!
}

"""A UI Table Response."""
union UITableResponse = UITable | ServerError

"""A UI Table Component row."""
type UITableRow {
  """The columns of the Table Row component."""
  columns: [String!]!
}

"""A UI Component text block."""
type UITextBlock implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!

  """The title of the Text Block component."""
  title: UITitle!

  """The paragraph of the Text Block component."""
  paragraph: UIParagraph!

  """The optional call to action of the Text Block component."""
  callToAction: UICallToAction
}

"""A UI Component title."""
type UITitle implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!

  """The text content of the Title component."""
  text: String!
}

"""A UI Component video."""
type UIVideo implements UICommonComponent {
  """The type of the component."""
  type: UIComponentType!

  """The alignment of the component."""
  alignment: UIAlignment!

  """The url of the Video component."""
  url: URL!

  """The preview image of the Video component."""
  previewImage: UIImage!
}

"""A Pay per Unit pricing for Product."""
type UnitVariant {
  """The id of the Unit Variant."""
  id: ID!

  """The name of the Unit Variant."""
  name: String!

  """The price of the Unit Variant."""
  price: Price!

  """The unit of the Unit Variant."""
  unit: String!

  """The boundary values of the Unit Variant if they exist."""
  boundary: Boundary
}

"""A Unity Release."""
type UnityRelease {
  """The version of the Unity Release."""
  version: ID!

  """The release date of the Unity Release."""
  releaseDate: DateTime!

  """The release notes of the Unity Release."""
  releaseNotes: UnityReleaseNotes!

  """The release stream of the Unity Release."""
  stream: UnityReleaseStream!

  """The downloads of the Unity Release."""
  downloads: [UnityReleaseDownload!]!

  """The SKU family of the Unity Release."""
  skuFamily: UnityReleaseSkuFamily!

  """
  The indicator for whether the Unity Release is the recommended LTS version.
  """
  recommended: Boolean!

  """The Unity Hub deep link of the Unity Release."""
  unityHubDeepLink: URL!

  """The Git Short Revision of the Unity Release."""
  shortRevision: String!

  """The Third Party Notices of the Unity Release."""
  thirdPartyNotices: [UnityReleaseThirdPartyNotice!]!
}

"""A Unity Release download."""
union UnityReleaseDownload = UnityReleaseHubDownload

"""Possible architectures of Unity Release download."""
enum UnityReleaseDownloadArchitecture {
  X86_64
  ARM64
}

"""Possible platforms of Unity Release download."""
enum UnityReleaseDownloadPlatform {
  MAC_OS
  LINUX
  WINDOWS
}

"""A File as defined on Release Live Platform."""
interface UnityReleaseFile {
  """The URL of the File."""
  url: URL!

  """
  The Subresource Integrity of the File as defined by the [W3C Recommendation
  Subresource Integrity](https://www.w3.org/TR/SRI/). For example,
  `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The type of the File."""
  type: FileType!
}

"""A Unity Release Hub download."""
type UnityReleaseHubDownload implements UnityReleaseFile {
  """The URL of the Unity Release Hub download."""
  url: URL!

  """
  The Subresource Integrity of the Unity Release Hub download as defined by the
  [W3C Recommendation Subresource Integrity](https://www.w3.org/TR/SRI/). For
  example, `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The file type of the Unity Release Hub download."""
  type: FileType!

  """The platform of the Unity Release Hub download."""
  platform: UnityReleaseDownloadPlatform!

  """The architecture of the Unity Release Hub download."""
  architecture: UnityReleaseDownloadArchitecture!

  """The modules of the Unity Release Hub download."""
  modules: [UnityReleaseModule!]!

  """The download size of the Unity Release Hub download."""
  downloadSize(
    """The format of the Release Digital Value size."""
    format: ReleaseDigitalUnit! = BYTE
  ): ReleaseDigitalValue!

  """The installed size of the Unity Release Hub download."""
  installedSize(
    """The format of the Release Digital Value size."""
    format: ReleaseDigitalUnit! = BYTE
  ): ReleaseDigitalValue!
}

"""A Unity Release Major Version."""
type UnityReleaseMajorVersion {
  """The version of the Unity Release Major Version."""
  version: String!

  """The latest Unity Release of the Unity Release Major Version."""
  latestUnityRelease: UnityRelease!
}

"""A Unity Release module."""
type UnityReleaseModule implements UnityReleaseFile {
  """The URL of the Unity Release module."""
  url: URL!

  """
  The Subresource Integrity of the Unity Release module as defined by the [W3C
  Recommendation Subresource Integrity](https://www.w3.org/TR/SRI/). For
  example, `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The file type of the Unity Release module."""
  type: FileType!

  """The ID of the Unity Release module."""
  id: ID!

  """
  The slug of the Unity Release module. This is unique across all Unity Release Modules.
  """
  slug: ID!

  """The name of the Unity Release module."""
  name: String!

  """The description of the Unity Release module."""
  description: String!

  """The category of the Unity Release module."""
  category: UnityReleaseModuleCategory!

  """
  The optional sub-modules of the Unity Release module. The parent must be downloaded to download a sub-module.
  """
  subModules: [UnityReleaseModule!]

  """
  The indicator for whether the Unity Release module needs to be downloaded if the parent is downloaded.
  """
  required: Boolean!

  """
  The indicator for whether the Unity Release module needs to be hidden when displaying modules in a UI.
  """
  hidden: Boolean!

  """
  The location to move a Unity Release Module when extracted or unzipped.
  """
  extractedPathRename: UnityReleaseModuleExtractedPathRename

  """
  The indicator for whether the Unity Release module should be pre-selected.
  """
  preSelected: Boolean!

  """The file destination of the Unity Release module."""
  destination: String

  """The end-user license agreements of the Unity Release module."""
  eula: [UnityReleaseModuleEula!]

  """The download size of the Unity Release module."""
  downloadSize(
    """The format of the Release Digital Value size."""
    format: ReleaseDigitalUnit! = BYTE
  ): ReleaseDigitalValue!

  """The installed size of the Unity Release module."""
  installedSize(
    """The format of the Release Digital Value size."""
    format: ReleaseDigitalUnit! = BYTE
  ): ReleaseDigitalValue!
}

"""Possible categories of Unity Release module."""
enum UnityReleaseModuleCategory {
  DOCUMENTATION
  PLATFORM
  LANGUAGE_PACK
  DEV_TOOL
  PLUGIN
  COMPONENT
}

"""A Unity Release module end-user license agreement."""
type UnityReleaseModuleEula implements UnityReleaseFile {
  """The URL of the Unity Release module end-user license agreement."""
  url: URL!

  """
  The Subresource Integrity of the Unity Release module end-user license
  agreement as defined by the [W3C Recommendation Subresource
  Integrity](https://www.w3.org/TR/SRI/). For example,
  `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The file type of the Unity Release module end-user license agreement."""
  type: FileType!

  """The label of the Unity Release module end-user license agreement."""
  label: String!

  """The message of the Unity Release module end-user license agreement."""
  message: String!
}

"""A Unity Release Module Extracted Path Rename."""
type UnityReleaseModuleExtractedPathRename {
  """The location of the module when extracted."""
  from: String!

  """The location the module must be moved to."""
  to: String!
}

"""A Unity Release Notes File as defined on Release Live Platform."""
type UnityReleaseNotes implements UnityReleaseFile {
  """The URL of the Unity Release notes."""
  url: URL!

  """
  The Subresource Integrity of the Unity Release notes as defined by the [W3C
  Recommendation Subresource Integrity](https://www.w3.org/TR/SRI/). For
  example, `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The file type of the Unity Release notes."""
  type: FileType!
}

"""A relay style offset paginated Unity Release Connection."""
type UnityReleaseOffsetConnection {
  """The list of offset paginated Unity Release edges."""
  edges: [UnityReleaseOffsetEdge!]!

  """
  The total count of all available Unity Release edges in the connection.
  """
  totalCount: Int!

  """The page information for offset pagination."""
  pageInfo: UnityReleaseOffsetPageInfo!
}

"""A relay style offset paginated Unity Release Edge."""
type UnityReleaseOffsetEdge {
  """An Unity Release node."""
  node: UnityRelease!
}

"""
The UnityRelease Offset Pagination Information related to a connection.
"""
type UnityReleaseOffsetPageInfo {
  """The flag indicating if there is a next results page."""
  hasNextPage: Boolean!

  """The flag indicating if there is a previous results page."""
  hasPreviousPage: Boolean!
}

"""Possible values of Unity Release Order."""
enum UnityReleaseOrder {
  RELEASE_DATE_ASC
  RELEASE_DATE_DESC
}

"""Possible SKU families of Unity Release."""
enum UnityReleaseSkuFamily {
  DOTS
  CLASSIC
}

"""Possible release streams of Unity Release."""
enum UnityReleaseStream {
  LTS
  BETA
  ALPHA
  TECH
}

"""
A Unity Release Third Party Notice File as defined on Release Live Platform.
"""
type UnityReleaseThirdPartyNotice implements UnityReleaseFile {
  """The URL of the Unity Release Third Party Notice."""
  url: URL!

  """
  The Subresource Integrity of the Unity Release Third Party Notice as defined
  by the [W3C Recommendation Subresource Integrity](https://www.w3.org/TR/SRI/).
  For example, `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The file type of the Unity Release Third Party Notice."""
  type: FileType!

  """The original file name of the Unity Release Third Party Notice."""
  originalFileName: String!
}

"""
A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt.
"""
scalar URL

"""An authenticated User."""
type User {
  """The unique UnityId of the User."""
  unityId: ID!

  """The preferred language code of the User."""
  language: String!

  """The full name of the User."""
  fullName: String!

  """The username of the User."""
  username: String!

  """The email address of the User."""
  email: EmailAddress!

  """The date and time the user’s account was created."""
  createdTime: DateTime!

  """
  The flag for a new user. It's set to `true` if the user has been created in the last 24 hours.
  """
  isNew: Boolean!

  """The Unity Editor license entitled to the User."""
  license: License!

  """
  The URL to the Unity Connect avatar of the User. A fallback image is returned if no user avatar is available.
  """
  avatar: UserMedia!

  """The list of the organizations for the User."""
  organizations(
    """The role of the user in the Organization."""
    roles: [OrganizationRole!] = []
  ): [Organization!]!

  """
  Gets the user's list of recommended learn content from the Unity Learn catalog.
  """
  recommendedLearnEntities(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0
  ): LearnEntityOffsetConnection!

  """
  Gets the user's list of in-progress learn content from the Unity Learn catalog.
  """
  activeLearnEntities(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0
  ): LearnEntityOffsetConnection!

  """
  Gets the user's list of completed learn content from the Unity Learn catalog.
  """
  completedLearnEntities(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0
  ): LearnEntityOffsetConnection!

  """
  Gets the user's list of bookmarked learn content from the Unity Learn catalog.
  """
  bookmarkedLearnEntities(
    """Limits the number of results returned per page (min 1, max 25)."""
    limit: Int! = 10

    """Skips the first n elements from the results."""
    skip: Int! = 0
  ): LearnEntityOffsetConnection!
}

"""A Media as defined on User Live Platform."""
type UserMedia {
  """The URL of the Media."""
  url: URL!

  """The type of the Media."""
  type: UserMediaType!
}

"""Possible types of UserMedia Type."""
enum UserMediaType {
  IMAGE
  VIDEO
  GIF
}

"""A Weta Release."""
type WetaRelease {
  """The version of the Weta Release."""
  version: ID!

  """The release date of the Weta Release."""
  releaseDate: DateTime!

  """The release notes of the Weta Release."""
  releaseNotes: WetaReleaseNotes!

  """The installer download URL of the Weta Release."""
  installer: URL!

  """The product name of the Weta Release."""
  productName: WetaReleaseProductName!
}

"""A File as defined on Release Live Platform."""
interface WetaReleaseFile {
  """The URL of the File."""
  url: URL!

  """
  The Subresource Integrity of the File as defined by the [W3C Recommendation
  Subresource Integrity](https://www.w3.org/TR/SRI/). For example,
  `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The type of the File."""
  type: FileType!
}

"""A Weta Release Notes File as defined on Release Live Platform."""
type WetaReleaseNotes implements WetaReleaseFile {
  """The URL of the Weta Release notes."""
  url: URL!

  """
  The Subresource Integrity of the Weta Release notes as defined by the [W3C
  Recommendation Subresource Integrity](https://www.w3.org/TR/SRI/). For
  example, `sha1-OTVjZTI0ZTk5MDg0YTMyYTBmZTdiNTU1NTMwZGRhYjQ3OWMzYzc1MQo=`.
  """
  integrity: SubresourceIntegrity

  """The file type of the Weta Release notes."""
  type: FileType!
}

"""A relay style offset paginated Weta Release Connection."""
type WetaReleaseOffsetConnection {
  """The list of offset paginated Weta Release edges."""
  edges: [WetaReleaseOffsetEdge!]!

  """The total count of all available Weta Release edges in the connection."""
  totalCount: Int!

  """The page information for offset pagination."""
  pageInfo: WetaReleaseOffsetPageInfo!
}

"""A relay style offset paginated Weta Release Edge."""
type WetaReleaseOffsetEdge {
  """A Weta Release node."""
  node: WetaRelease!
}

"""The WetaRelease Offset Pagination Information related to a connection."""
type WetaReleaseOffsetPageInfo {
  """The flag indicating if there is a next results page."""
  hasNextPage: Boolean!

  """The flag indicating if there is a previous results page."""
  hasPreviousPage: Boolean!
}

"""Possible values of Weta Release Order."""
enum WetaReleaseOrder {
  RELEASE_DATE_ASC
  RELEASE_DATE_DESC
}

"""Possible product names of Weta Release."""
enum WetaReleaseProductName {
  EDDY
  DEEP_COMPOSITING
  WIG
  SPEEDTREE
  SPEEDTREE_GAMES
  SPEEDTREE_CINEMA
  ZIVA_VFX
  ZIVA_RT
  ZIVA_FACE_TRAINER
}