roxyapi 2.0.3

Astrology API SDK for Rust: Western and Vedic charts, tarot, numerology and Human Design. Async typed access to RoxyAPI insight data.
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
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402
37403
37404
37405
37406
37407
37408
37409
37410
37411
37412
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451
37452
37453
37454
37455
37456
37457
37458
37459
37460
37461
37462
37463
37464
37465
37466
37467
37468
37469
37470
37471
37472
37473
37474
37475
37476
37477
37478
37479
37480
37481
37482
37483
37484
37485
37486
37487
37488
37489
37490
37491
37492
37493
37494
37495
37496
37497
37498
37499
37500
37501
37502
37503
37504
37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
37520
37521
37522
37523
37524
37525
37526
37527
37528
37529
37530
37531
37532
37533
37534
37535
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545
37546
37547
37548
37549
37550
37551
37552
37553
37554
37555
37556
37557
37558
37559
37560
37561
37562
37563
37564
37565
37566
37567
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722
37723
37724
37725
37726
37727
37728
37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862
37863
37864
37865
37866
37867
37868
37869
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896
37897
37898
37899
37900
37901
37902
37903
37904
37905
37906
37907
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122
38123
38124
38125
38126
38127
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139
38140
38141
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
38170
38171
38172
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
38194
38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323
38324
38325
38326
38327
38328
38329
38330
38331
38332
38333
38334
38335
38336
38337
38338
38339
38340
38341
38342
38343
38344
38345
38346
38347
38348
38349
38350
38351
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372
38373
38374
38375
38376
38377
38378
38379
38380
38381
38382
38383
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398
38399
38400
38401
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
38435
38436
38437
38438
38439
38440
38441
38442
38443
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508
38509
38510
38511
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535
38536
38537
38538
38539
38540
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646
38647
38648
38649
38650
38651
38652
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771
38772
38773
38774
38775
38776
38777
38778
38779
38780
38781
38782
38783
38784
38785
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864
38865
38866
38867
38868
38869
38870
38871
38872
38873
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883
38884
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937
38938
38939
38940
38941
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966
38967
38968
38969
38970
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
38988
38989
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099
39100
39101
39102
39103
39104
39105
39106
39107
39108
39109
39110
39111
39112
39113
39114
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126
39127
39128
39129
39130
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149
39150
39151
39152
39153
39154
39155
39156
39157
39158
39159
39160
39161
39162
39163
39164
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195
39196
39197
39198
39199
39200
39201
39202
39203
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305
39306
39307
39308
39309
39310
39311
39312
39313
39314
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325
39326
39327
39328
39329
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367
39368
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415
39416
39417
39418
39419
39420
39421
39422
39423
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490
39491
39492
39493
39494
39495
39496
39497
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520
39521
39522
39523
39524
39525
39526
39527
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557
39558
39559
39560
39561
39562
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750
39751
39752
39753
39754
39755
39756
39757
39758
39759
39760
39761
39762
39763
39764
39765
39766
39767
39768
39769
39770
39771
39772
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789
39790
39791
39792
39793
39794
39795
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805
39806
39807
39808
39809
39810
39811
39812
39813
39814
39815
39816
39817
39818
39819
39820
39821
39822
39823
39824
39825
39826
39827
39828
39829
39830
39831
39832
39833
39834
39835
39836
39837
39838
39839
39840
39841
39842
39843
39844
39845
39846
39847
39848
39849
39850
39851
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070
40071
40072
40073
40074
40075
40076
40077
40078
40079
40080
40081
40082
40083
40084
40085
40086
40087
40088
40089
40090
40091
40092
40093
40094
40095
40096
40097
40098
40099
40100
40101
40102
40103
40104
40105
40106
40107
40108
40109
40110
40111
40112
40113
40114
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124
40125
40126
40127
40128
40129
40130
40131
40132
40133
40134
40135
40136
40137
40138
40139
40140
40141
40142
40143
40144
40145
40146
40147
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159
40160
40161
40162
40163
40164
40165
40166
40167
40168
40169
40170
40171
40172
40173
40174
40175
40176
40177
40178
40179
40180
40181
40182
40183
40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
40195
40196
40197
40198
40199
40200
40201
40202
40203
40204
40205
40206
40207
40208
40209
40210
40211
40212
40213
40214
40215
40216
40217
40218
40219
40220
40221
40222
40223
40224
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236
40237
40238
40239
40240
40241
40242
40243
40244
40245
40246
40247
40248
40249
40250
40251
40252
40253
40254
40255
40256
40257
40258
40259
40260
40261
40262
40263
40264
40265
40266
40267
40268
40269
40270
40271
40272
40273
40274
40275
40276
40277
40278
40279
40280
40281
40282
40283
40284
40285
40286
40287
40288
40289
40290
40291
40292
40293
40294
40295
40296
40297
40298
40299
40300
40301
40302
40303
40304
40305
40306
40307
40308
40309
40310
40311
40312
40313
40314
40315
40316
40317
40318
40319
40320
40321
40322
40323
40324
40325
40326
40327
40328
40329
40330
40331
40332
40333
40334
40335
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345
40346
40347
40348
40349
40350
40351
40352
40353
40354
40355
40356
40357
40358
40359
40360
40361
40362
40363
40364
40365
40366
40367
40368
40369
40370
40371
40372
40373
40374
40375
40376
40377
40378
40379
40380
40381
40382
40383
40384
40385
40386
40387
40388
40389
40390
40391
40392
40393
40394
40395
40396
40397
40398
40399
40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
40410
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
40461
40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547
40548
40549
40550
40551
40552
40553
40554
40555
40556
40557
40558
40559
40560
40561
40562
40563
40564
40565
40566
40567
40568
40569
40570
40571
40572
40573
40574
40575
40576
40577
40578
40579
40580
40581
40582
40583
40584
40585
40586
40587
40588
40589
40590
40591
40592
40593
40594
40595
40596
40597
40598
40599
40600
40601
40602
40603
40604
40605
40606
40607
40608
40609
40610
40611
40612
40613
40614
40615
40616
40617
40618
40619
40620
40621
40622
40623
40624
40625
40626
40627
40628
40629
40630
40631
40632
40633
40634
40635
40636
40637
40638
40639
40640
40641
40642
40643
40644
40645
40646
40647
40648
40649
40650
40651
40652
40653
40654
40655
40656
40657
40658
40659
40660
40661
40662
40663
40664
40665
40666
40667
40668
40669
40670
40671
40672
40673
40674
40675
40676
40677
40678
40679
40680
40681
40682
40683
40684
40685
40686
40687
40688
40689
40690
40691
40692
40693
40694
40695
40696
40697
40698
40699
40700
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710
40711
40712
40713
40714
40715
40716
40717
40718
40719
40720
40721
40722
40723
40724
40725
40726
40727
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856
40857
40858
40859
40860
40861
40862
40863
40864
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874
40875
40876
40877
40878
40879
40880
40881
40882
40883
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936
40937
40938
40939
40940
40941
40942
40943
40944
40945
40946
40947
40948
40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
40961
40962
40963
40964
40965
40966
40967
40968
40969
40970
40971
40972
40973
40974
40975
40976
40977
40978
40979
40980
40981
40982
40983
40984
40985
40986
40987
40988
40989
40990
40991
40992
40993
40994
40995
40996
40997
40998
40999
41000
41001
41002
41003
41004
41005
41006
41007
41008
41009
41010
41011
41012
41013
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025
41026
41027
41028
41029
41030
41031
41032
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042
41043
41044
41045
41046
41047
41048
41049
41050
41051
41052
41053
41054
41055
41056
41057
41058
41059
41060
41061
41062
41063
41064
41065
41066
41067
41068
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267
41268
41269
41270
41271
41272
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420
41421
41422
41423
41424
41425
41426
41427
41428
41429
41430
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442
41443
41444
41445
41446
41447
41448
41449
41450
41451
41452
41453
41454
41455
41456
41457
41458
41459
41460
41461
41462
41463
41464
41465
41466
41467
41468
41469
41470
41471
41472
41473
41474
41475
41476
41477
41478
41479
41480
41481
41482
41483
41484
41485
41486
41487
41488
41489
41490
41491
41492
41493
41494
41495
41496
41497
41498
41499
41500
41501
41502
41503
41504
41505
41506
41507
41508
41509
41510
41511
41512
41513
41514
41515
41516
41517
41518
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533
41534
41535
41536
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570
41571
41572
41573
41574
41575
41576
41577
41578
41579
41580
41581
41582
41583
41584
41585
41586
41587
41588
41589
41590
41591
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
41626
41627
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655
41656
41657
41658
41659
41660
41661
41662
41663
41664
41665
41666
41667
41668
41669
41670
41671
41672
41673
41674
41675
41676
41677
41678
41679
41680
41681
41682
41683
41684
41685
41686
41687
41688
41689
41690
41691
41692
41693
41694
41695
41696
41697
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
41734
41735
41736
41737
41738
41739
41740
41741
41742
41743
41744
41745
41746
41747
41748
41749
41750
41751
41752
41753
41754
41755
41756
41757
41758
41759
41760
41761
41762
41763
41764
41765
41766
41767
41768
41769
41770
41771
41772
41773
41774
41775
41776
41777
41778
41779
41780
41781
41782
41783
41784
41785
41786
41787
41788
41789
41790
41791
41792
41793
41794
41795
41796
41797
41798
41799
41800
41801
41802
41803
41804
41805
41806
41807
41808
41809
41810
41811
41812
41813
41814
41815
41816
41817
41818
41819
41820
41821
41822
41823
41824
41825
41826
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838
41839
41840
41841
41842
41843
41844
41845
41846
41847
41848
41849
41850
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861
41862
41863
41864
41865
41866
41867
41868
41869
41870
41871
41872
41873
41874
41875
41876
41877
41878
41879
41880
41881
41882
41883
41884
41885
41886
41887
41888
41889
41890
41891
41892
41893
41894
41895
41896
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906
41907
41908
41909
41910
41911
41912
41913
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957
41958
41959
41960
41961
41962
41963
41964
41965
41966
41967
41968
41969
41970
41971
41972
41973
41974
41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991
41992
41993
41994
41995
41996
41997
41998
41999
42000
42001
42002
42003
42004
42005
42006
42007
42008
42009
42010
42011
42012
42013
42014
42015
42016
42017
42018
42019
42020
42021
42022
42023
42024
42025
42026
42027
42028
42029
42030
42031
42032
42033
42034
42035
42036
42037
42038
42039
42040
42041
42042
42043
42044
42045
42046
42047
42048
42049
42050
42051
42052
42053
42054
42055
42056
42057
42058
42059
42060
42061
42062
42063
42064
42065
42066
42067
42068
42069
42070
42071
42072
42073
42074
42075
42076
42077
42078
42079
42080
42081
42082
42083
42084
42085
42086
42087
42088
42089
42090
42091
42092
42093
42094
42095
42096
42097
42098
42099
42100
42101
42102
42103
42104
42105
42106
42107
42108
42109
42110
42111
42112
42113
42114
42115
42116
42117
42118
42119
42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135
42136
42137
42138
42139
42140
42141
42142
42143
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158
42159
42160
42161
42162
42163
42164
42165
42166
42167
42168
42169
42170
42171
42172
42173
42174
42175
42176
42177
42178
42179
42180
42181
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191
42192
42193
42194
42195
42196
42197
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
42229
42230
42231
42232
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244
42245
42246
42247
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260
42261
42262
42263
42264
42265
42266
42267
42268
42269
42270
42271
42272
42273
42274
42275
42276
42277
42278
42279
42280
42281
42282
42283
42284
42285
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297
42298
42299
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312
42313
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323
42324
42325
42326
42327
42328
42329
42330
42331
42332
42333
42334
42335
42336
42337
42338
42339
42340
42341
42342
42343
42344
42345
42346
42347
42348
42349
42350
42351
42352
42353
42354
42355
42356
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
42444
42445
42446
42447
42448
42449
42450
42451
42452
42453
42454
42455
42456
42457
42458
42459
42460
42461
42462
42463
42464
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477
42478
42479
42480
42481
42482
42483
42484
42485
42486
42487
42488
42489
42490
42491
42492
42493
42494
42495
42496
42497
42498
42499
42500
42501
42502
42503
42504
42505
42506
42507
42508
42509
42510
42511
42512
42513
42514
42515
42516
42517
42518
42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
42530
42531
42532
42533
42534
42535
42536
42537
42538
42539
42540
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569
42570
42571
42572
42573
42574
42575
42576
42577
42578
42579
42580
42581
42582
42583
42584
42585
42586
42587
42588
42589
42590
42591
42592
42593
42594
42595
42596
42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610
42611
42612
42613
42614
42615
42616
42617
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627
42628
42629
42630
42631
42632
42633
42634
42635
42636
42637
42638
42639
42640
42641
42642
42643
42644
42645
42646
42647
42648
42649
42650
42651
42652
42653
42654
42655
42656
42657
42658
42659
42660
42661
42662
42663
42664
42665
42666
42667
42668
42669
42670
42671
42672
42673
42674
42675
42676
42677
42678
42679
42680
42681
42682
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698
42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711
42712
42713
42714
42715
42716
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731
42732
42733
42734
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
42772
42773
42774
42775
42776
42777
42778
42779
42780
42781
42782
42783
42784
42785
42786
42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
42798
42799
42800
42801
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833
42834
42835
42836
42837
42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
42849
42850
42851
42852
42853
42854
42855
42856
42857
42858
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868
42869
42870
42871
42872
42873
42874
42875
42876
42877
42878
42879
42880
42881
42882
42883
42884
42885
42886
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902
42903
42904
42905
42906
42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
42918
42919
42920
42921
42922
42923
42924
42925
42926
42927
42928
42929
42930
42931
42932
42933
42934
42935
42936
42937
42938
42939
42940
42941
42942
42943
42944
42945
42946
42947
42948
42949
42950
42951
42952
42953
42954
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964
42965
42966
42967
42968
42969
42970
42971
42972
42973
42974
42975
42976
42977
42978
42979
42980
42981
42982
42983
42984
42985
42986
42987
42988
42989
42990
42991
42992
42993
42994
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030
43031
43032
43033
43034
43035
43036
43037
43038
43039
43040
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
43069
43070
43071
43072
43073
43074
43075
43076
43077
43078
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310
43311
43312
43313
43314
43315
43316
43317
43318
43319
43320
43321
43322
43323
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338
43339
43340
43341
43342
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358
43359
43360
43361
43362
43363
43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379
43380
43381
43382
43383
43384
43385
43386
43387
43388
43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
43400
43401
43402
43403
43404
43405
43406
43407
43408
43409
43410
43411
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421
43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434
43435
43436
43437
43438
43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486
43487
43488
43489
43490
43491
43492
43493
43494
43495
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
43513
43514
43515
43516
43517
43518
43519
43520
43521
43522
43523
43524
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624
43625
43626
43627
43628
43629
43630
43631
43632
43633
43634
43635
43636
43637
43638
43639
43640
43641
43642
43643
43644
43645
43646
43647
43648
43649
43650
43651
43652
43653
43654
43655
43656
43657
43658
43659
43660
43661
43662
43663
43664
43665
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716
43717
43718
43719
43720
43721
43722
43723
43724
43725
43726
43727
43728
43729
43730
43731
43732
43733
43734
43735
43736
43737
43738
43739
43740
43741
43742
43743
43744
43745
43746
43747
43748
43749
43750
43751
43752
43753
43754
43755
43756
43757
43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
43769
43770
43771
43772
43773
43774
43775
43776
43777
43778
43779
43780
43781
43782
43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
43794
43795
43796
43797
43798
43799
43800
43801
43802
43803
43804
43805
43806
43807
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870
43871
43872
43873
43874
43875
43876
43877
43878
43879
43880
43881
43882
43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905
43906
43907
43908
43909
43910
43911
43912
43913
43914
43915
43916
43917
43918
43919
43920
43921
43922
43923
43924
43925
43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088
44089
44090
44091
44092
44093
44094
44095
44096
44097
44098
44099
44100
44101
44102
44103
44104
44105
44106
44107
44108
44109
44110
44111
44112
44113
44114
44115
44116
44117
44118
44119
44120
44121
44122
44123
44124
44125
44126
44127
44128
44129
44130
44131
44132
44133
44134
44135
44136
44137
44138
44139
44140
44141
44142
44143
44144
44145
44146
44147
44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
44158
44159
44160
44161
44162
44163
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189
44190
44191
44192
44193
44194
44195
44196
44197
44198
44199
44200
44201
44202
44203
44204
44205
44206
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270
44271
44272
44273
44274
44275
44276
44277
44278
44279
44280
44281
44282
44283
44284
44285
44286
44287
44288
44289
44290
44291
44292
44293
44294
44295
44296
44297
44298
44299
44300
44301
44302
44303
44304
44305
44306
44307
44308
44309
44310
44311
44312
44313
44314
44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
44338
44339
44340
44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
44352
44353
44354
44355
44356
44357
44358
44359
44360
44361
44362
44363
44364
44365
44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434
44435
44436
44437
44438
44439
44440
44441
44442
44443
44444
44445
44446
44447
44448
44449
44450
44451
44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
44463
44464
44465
44466
44467
44468
44469
44470
44471
44472
44473
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
44595
44596
44597
44598
44599
44600
44601
44602
44603
44604
44605
44606
44607
44608
44609
44610
44611
44612
44613
44614
44615
44616
44617
44618
44619
44620
44621
44622
44623
44624
44625
44626
44627
44628
44629
44630
44631
44632
44633
44634
44635
44636
44637
44638
44639
44640
44641
44642
44643
44644
44645
44646
44647
44648
44649
44650
44651
44652
44653
44654
44655
44656
44657
44658
44659
44660
44661
44662
44663
44664
44665
44666
44667
44668
44669
44670
44671
44672
44673
44674
44675
44676
44677
44678
44679
44680
44681
44682
44683
44684
44685
44686
44687
44688
44689
44690
44691
44692
44693
44694
44695
44696
44697
44698
44699
44700
44701
44702
44703
44704
44705
44706
44707
44708
44709
44710
44711
44712
44713
44714
44715
44716
44717
44718
44719
44720
44721
44722
44723
44724
44725
44726
44727
44728
44729
44730
44731
44732
44733
44734
44735
44736
44737
44738
44739
44740
44741
44742
44743
44744
44745
44746
44747
44748
44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759
44760
44761
44762
44763
44764
44765
44766
44767
44768
44769
44770
44771
44772
44773
44774
44775
44776
44777
44778
44779
44780
44781
44782
44783
44784
44785
44786
44787
44788
44789
44790
44791
44792
44793
44794
44795
44796
44797
44798
44799
44800
44801
44802
44803
44804
44805
44806
44807
44808
44809
44810
44811
44812
44813
44814
44815
44816
44817
44818
44819
44820
44821
44822
44823
44824
44825
44826
44827
44828
44829
44830
44831
44832
44833
44834
44835
44836
44837
44838
44839
44840
44841
44842
44843
44844
44845
44846
44847
44848
44849
44850
44851
44852
44853
44854
44855
44856
44857
44858
44859
44860
44861
44862
44863
44864
44865
44866
44867
44868
44869
44870
44871
44872
44873
44874
44875
44876
44877
44878
44879
44880
44881
44882
44883
44884
44885
44886
44887
44888
44889
44890
44891
44892
44893
44894
44895
44896
44897
44898
44899
44900
44901
44902
44903
44904
44905
44906
44907
44908
44909
44910
44911
44912
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923
44924
44925
44926
44927
44928
44929
44930
44931
44932
44933
44934
44935
44936
44937
44938
44939
44940
44941
44942
44943
44944
44945
44946
44947
44948
44949
44950
44951
44952
44953
44954
44955
44956
44957
44958
44959
44960
44961
44962
44963
44964
44965
44966
44967
44968
44969
44970
44971
44972
44973
44974
44975
44976
44977
44978
44979
44980
44981
44982
44983
44984
44985
44986
44987
44988
44989
44990
44991
44992
44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
45004
45005
45006
45007
45008
45009
45010
45011
45012
45013
45014
45015
45016
45017
45018
45019
45020
45021
45022
45023
45024
45025
45026
45027
45028
45029
45030
45031
45032
45033
45034
45035
45036
45037
45038
45039
45040
45041
45042
45043
45044
45045
45046
45047
45048
45049
45050
45051
45052
45053
45054
45055
45056
45057
45058
45059
45060
45061
45062
45063
45064
45065
45066
45067
45068
45069
45070
45071
45072
45073
45074
45075
45076
45077
45078
45079
45080
45081
45082
45083
45084
45085
45086
45087
45088
45089
45090
45091
45092
45093
45094
45095
45096
45097
45098
45099
45100
45101
45102
45103
45104
45105
45106
45107
45108
45109
45110
45111
45112
45113
45114
45115
45116
45117
45118
45119
45120
45121
45122
45123
45124
45125
45126
45127
45128
45129
45130
45131
45132
45133
45134
45135
45136
45137
45138
45139
45140
45141
45142
45143
45144
45145
45146
45147
45148
45149
45150
45151
45152
45153
45154
45155
45156
45157
45158
45159
45160
45161
45162
45163
45164
45165
45166
45167
45168
45169
45170
45171
45172
45173
45174
45175
45176
45177
45178
45179
45180
45181
45182
45183
45184
45185
45186
45187
45188
45189
45190
45191
45192
45193
45194
45195
45196
45197
45198
45199
45200
45201
45202
45203
45204
45205
45206
45207
45208
45209
45210
45211
45212
45213
45214
45215
45216
45217
45218
45219
45220
45221
45222
45223
45224
45225
45226
45227
45228
45229
45230
45231
45232
45233
45234
45235
45236
45237
45238
45239
45240
45241
45242
45243
45244
45245
45246
45247
45248
45249
45250
45251
45252
45253
45254
45255
45256
45257
45258
45259
45260
45261
45262
45263
45264
45265
45266
45267
45268
45269
45270
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291
45292
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317
45318
45319
45320
45321
45322
45323
45324
45325
45326
45327
45328
45329
45330
45331
45332
45333
45334
45335
45336
45337
45338
45339
45340
45341
45342
45343
45344
45345
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393
45394
45395
45396
45397
45398
45399
45400
45401
45402
45403
45404
45405
45406
45407
45408
45409
45410
45411
45412
45413
45414
45415
45416
45417
45418
45419
45420
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448
45449
45450
45451
45452
45453
45454
45455
45456
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
45497
45498
45499
45500
45501
45502
45503
45504
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600
45601
45602
45603
45604
45605
45606
45607
45608
45609
45610
45611
45612
45613
45614
45615
45616
45617
45618
45619
45620
45621
45622
45623
45624
45625
45626
45627
45628
45629
45630
45631
45632
45633
45634
45635
45636
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652
45653
45654
45655
45656
45657
45658
45659
45660
45661
45662
45663
45664
45665
45666
45667
45668
45669
45670
45671
45672
45673
45674
45675
45676
45677
45678
45679
45680
45681
45682
45683
45684
45685
45686
45687
45688
45689
45690
45691
45692
45693
45694
45695
45696
45697
45698
45699
45700
45701
45702
45703
45704
45705
45706
45707
45708
45709
45710
45711
45712
45713
45714
45715
45716
45717
45718
45719
45720
45721
45722
45723
45724
45725
45726
45727
45728
45729
45730
45731
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758
45759
45760
45761
45762
45763
45764
45765
45766
45767
45768
45769
45770
45771
45772
45773
45774
45775
45776
45777
45778
45779
45780
45781
45782
45783
45784
45785
45786
45787
45788
45789
45790
45791
45792
45793
45794
45795
45796
45797
45798
45799
45800
45801
45802
45803
45804
45805
45806
45807
45808
45809
45810
45811
45812
45813
45814
45815
45816
45817
45818
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828
45829
45830
45831
45832
45833
45834
45835
45836
45837
45838
45839
45840
45841
45842
45843
45844
45845
45846
45847
45848
45849
45850
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870
45871
45872
45873
45874
45875
45876
45877
45878
45879
45880
45881
45882
45883
45884
45885
45886
45887
45888
45889
45890
45891
45892
45893
45894
45895
45896
45897
45898
45899
45900
45901
45902
45903
45904
45905
45906
45907
45908
45909
45910
45911
45912
45913
45914
45915
45916
45917
45918
45919
45920
45921
45922
45923
45924
45925
45926
45927
45928
45929
45930
45931
45932
45933
45934
45935
45936
45937
45938
45939
45940
45941
45942
45943
45944
45945
45946
45947
45948
45949
45950
45951
45952
45953
45954
45955
45956
45957
45958
45959
45960
45961
45962
45963
45964
45965
45966
45967
45968
45969
45970
45971
45972
45973
45974
45975
45976
45977
45978
45979
45980
45981
45982
45983
45984
45985
45986
45987
45988
45989
45990
45991
45992
45993
45994
45995
45996
45997
45998
45999
46000
46001
46002
46003
46004
46005
46006
46007
46008
46009
46010
46011
46012
46013
46014
46015
46016
46017
46018
46019
46020
46021
46022
46023
46024
46025
46026
46027
46028
46029
46030
46031
46032
46033
46034
46035
46036
46037
46038
46039
46040
46041
46042
46043
46044
46045
46046
46047
46048
46049
46050
46051
46052
46053
46054
46055
46056
46057
46058
46059
46060
46061
46062
46063
46064
46065
46066
46067
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085
46086
46087
46088
46089
46090
46091
46092
46093
46094
46095
46096
46097
46098
46099
46100
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131
46132
46133
46134
46135
46136
46137
46138
46139
46140
46141
46142
46143
46144
46145
46146
46147
46148
46149
46150
46151
46152
46153
46154
46155
46156
46157
46158
46159
46160
46161
46162
46163
46164
46165
46166
46167
46168
46169
46170
46171
46172
46173
46174
46175
46176
46177
46178
46179
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192
46193
46194
46195
46196
46197
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208
46209
46210
46211
46212
46213
46214
46215
46216
46217
46218
46219
46220
46221
46222
46223
46224
46225
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235
46236
46237
46238
46239
46240
46241
46242
46243
46244
46245
46246
46247
46248
46249
46250
46251
46252
46253
46254
46255
46256
46257
46258
46259
46260
46261
46262
46263
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278
46279
46280
46281
46282
46283
46284
46285
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295
46296
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317
46318
46319
46320
46321
46322
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341
46342
46343
46344
46345
46346
46347
46348
46349
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359
46360
46361
46362
46363
46364
46365
46366
46367
46368
46369
46370
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380
46381
46382
46383
46384
46385
46386
46387
46388
46389
46390
46391
46392
46393
46394
46395
46396
46397
46398
46399
46400
46401
46402
46403
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419
46420
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464
46465
46466
46467
46468
46469
46470
46471
46472
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519
46520
46521
46522
46523
46524
46525
46526
46527
46528
46529
46530
46531
46532
46533
46534
46535
46536
46537
46538
46539
46540
46541
46542
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567
46568
46569
46570
46571
46572
46573
46574
46575
46576
46577
46578
46579
46580
46581
46582
46583
46584
46585
46586
46587
46588
46589
46590
46591
46592
46593
46594
46595
46596
46597
46598
46599
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641
46642
46643
46644
46645
46646
46647
46648
46649
46650
46651
46652
46653
46654
46655
46656
46657
46658
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682
46683
46684
46685
46686
46687
46688
46689
46690
46691
46692
46693
46694
46695
46696
46697
46698
46699
46700
46701
46702
46703
46704
46705
46706
46707
46708
46709
46710
46711
46712
46713
46714
46715
46716
46717
46718
46719
46720
46721
46722
46723
46724
46725
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774
46775
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790
46791
46792
46793
46794
46795
46796
46797
46798
46799
46800
46801
46802
46803
46804
46805
46806
46807
46808
46809
46810
46811
46812
46813
46814
46815
46816
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844
46845
46846
46847
46848
46849
46850
46851
46852
46853
46854
46855
46856
46857
46858
46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911
46912
46913
46914
46915
46916
46917
46918
46919
46920
46921
46922
46923
46924
46925
46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
46940
46941
46942
46943
46944
46945
46946
46947
46948
46949
46950
46951
46952
46953
46954
46955
46956
46957
46958
46959
46960
46961
46962
46963
46964
46965
46966
46967
46968
46969
46970
46971
46972
46973
46974
46975
46976
46977
46978
46979
46980
46981
46982
46983
46984
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998
46999
47000
47001
47002
47003
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032
47033
47034
47035
47036
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048
47049
47050
47051
47052
47053
47054
47055
47056
47057
47058
47059
47060
47061
47062
47063
47064
47065
47066
47067
47068
47069
47070
47071
47072
47073
47074
47075
47076
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107
47108
47109
47110
47111
47112
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157
47158
47159
47160
47161
47162
47163
47164
47165
47166
47167
47168
47169
47170
47171
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47211
47212
47213
47214
47215
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225
47226
47227
47228
47229
47230
47231
47232
47233
47234
47235
47236
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264
47265
47266
47267
47268
47269
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457
47458
47459
47460
47461
47462
47463
47464
47465
47466
47467
47468
47469
47470
47471
47472
47473
47474
47475
47476
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523
47524
47525
47526
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536
47537
47538
47539
47540
47541
47542
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570
47571
47572
47573
47574
47575
47576
47577
47578
47579
47580
47581
47582
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626
47627
47628
47629
47630
47631
47632
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665
47666
47667
47668
47669
47670
47671
47672
47673
47674
47675
47676
47677
47678
47679
47680
47681
47682
47683
47684
47685
47686
47687
47688
47689
47690
47691
47692
47693
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705
47706
47707
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719
47720
47721
47722
47723
47724
47725
47726
47727
47728
47729
47730
47731
47732
47733
47734
47735
47736
47737
47738
47739
47740
47741
47742
47743
47744
47745
47746
47747
47748
47749
47750
47751
47752
47753
47754
47755
47756
47757
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770
47771
47772
47773
47774
47775
47776
47777
47778
47779
47780
47781
47782
47783
47784
47785
47786
47787
47788
47789
47790
47791
47792
47793
47794
47795
47796
47797
47798
47799
47800
47801
47802
47803
47804
47805
47806
47807
47808
47809
47810
47811
47812
47813
47814
47815
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826
47827
47828
47829
47830
47831
47832
47833
47834
47835
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845
47846
47847
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866
47867
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913
47914
47915
47916
47917
47918
47919
47920
47921
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944
47945
47946
47947
47948
47949
47950
47951
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967
47968
47969
47970
47971
47972
47973
47974
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996
47997
47998
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026
48027
48028
48029
48030
48031
48032
48033
48034
48035
48036
48037
48038
48039
48040
48041
48042
48043
48044
48045
48046
48047
48048
48049
48050
48051
48052
48053
48054
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071
48072
48073
48074
48075
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092
48093
48094
48095
48096
48097
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112
48113
48114
48115
48116
48117
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218
48219
48220
48221
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231
48232
48233
48234
48235
48236
48237
48238
48239
48240
48241
48242
48243
48244
48245
48246
48247
48248
48249
48250
48251
48252
48253
48254
48255
48256
48257
48258
48259
48260
48261
48262
48263
48264
48265
48266
48267
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340
48341
48342
48343
48344
48345
48346
48347
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
48370
48371
48372
48373
48374
48375
48376
48377
48378
48379
48380
48381
48382
48383
48384
48385
48386
48387
48388
48389
48390
48391
48392
48393
48394
48395
48396
48397
48398
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411
48412
48413
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427
48428
48429
48430
48431
48432
48433
48434
48435
48436
48437
48438
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451
48452
48453
48454
48455
48456
48457
48458
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468
48469
48470
48471
48472
48473
48474
48475
48476
48477
48478
48479
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540
48541
48542
48543
48544
48545
48546
48547
48548
48549
48550
48551
48552
48553
48554
48555
48556
48557
48558
48559
48560
48561
48562
48563
48564
48565
48566
48567
48568
48569
48570
48571
48572
48573
48574
48575
48576
48577
48578
48579
48580
48581
48582
48583
48584
48585
48586
48587
48588
48589
48590
48591
48592
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925
48926
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974
48975
48976
48977
48978
48979
48980
48981
48982
48983
48984
48985
48986
48987
48988
48989
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999
49000
49001
49002
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225
49226
49227
49228
49229
49230
49231
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344
49345
49346
49347
49348
49349
49350
49351
49352
49353
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404
49405
49406
49407
49408
49409
49410
49411
49412
49413
49414
49415
49416
49417
49418
49419
49420
49421
49422
49423
49424
49425
49426
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437
49438
49439
49440
49441
49442
49443
49444
49445
49446
49447
49448
49449
49450
49451
49452
49453
49454
49455
49456
49457
49458
49459
49460
49461
49462
49463
49464
49465
49466
49467
49468
49469
49470
49471
49472
49473
49474
49475
49476
49477
49478
49479
49480
49481
49482
49483
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493
49494
49495
49496
49497
49498
49499
49500
49501
49502
49503
49504
49505
49506
49507
49508
49509
49510
49511
49512
49513
49514
49515
49516
49517
49518
49519
49520
49521
49522
49523
49524
49525
49526
49527
49528
49529
49530
49531
49532
49533
49534
49535
49536
49537
49538
49539
49540
49541
49542
49543
49544
49545
49546
49547
49548
49549
49550
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606
49607
49608
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626
49627
49628
49629
49630
49631
49632
49633
49634
49635
49636
49637
49638
49639
49640
49641
49642
49643
49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686
49687
49688
49689
49690
49691
49692
49693
49694
49695
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841
49842
49843
49844
49845
49846
49847
49848
49849
49850
49851
49852
49853
49854
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895
49896
49897
49898
49899
49900
49901
49902
49903
49904
49905
49906
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917
49918
49919
49920
49921
49922
49923
49924
49925
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985
49986
49987
49988
49989
49990
49991
49992
49993
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003
50004
50005
50006
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016
50017
50018
50019
50020
50021
50022
50023
50024
50025
50026
50027
50028
50029
50030
50031
50032
50033
50034
50035
50036
50037
50038
50039
50040
50041
50042
50043
50044
50045
50046
50047
50048
50049
50050
50051
50052
50053
50054
50055
50056
50057
50058
50059
50060
50061
50062
50063
50064
50065
50066
50067
50068
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081
50082
50083
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095
50096
50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
50111
50112
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133
50134
50135
50136
50137
50138
50139
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156
50157
50158
50159
50160
50161
50162
50163
50164
50165
50166
50167
50168
50169
50170
50171
50172
50173
50174
50175
50176
50177
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188
50189
50190
50191
50192
50193
50194
50195
50196
50197
50198
50199
50200
50201
50202
50203
50204
50205
50206
50207
50208
50209
50210
50211
50212
50213
50214
50215
50216
50217
50218
50219
50220
50221
50222
50223
50224
50225
50226
50227
50228
50229
50230
50231
50232
50233
50234
50235
50236
50237
50238
50239
50240
50241
50242
50243
50244
50245
50246
50247
50248
50249
50250
50251
50252
50253
50254
50255
50256
50257
50258
50259
50260
50261
50262
50263
50264
50265
50266
50267
50268
50269
50270
50271
50272
50273
50274
50275
50276
50277
50278
50279
50280
50281
50282
50283
50284
50285
50286
50287
50288
50289
50290
50291
50292
50293
50294
50295
50296
50297
50298
50299
50300
50301
50302
50303
50304
50305
50306
50307
50308
50309
50310
50311
50312
50313
50314
50315
50316
50317
50318
50319
50320
50321
50322
50323
50324
50325
50326
50327
50328
50329
50330
50331
50332
50333
50334
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348
50349
50350
50351
50352
50353
50354
50355
50356
50357
50358
50359
50360
50361
50362
50363
50364
50365
50366
50367
50368
50369
50370
50371
50372
50373
50374
50375
50376
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386
50387
50388
50389
50390
50391
50392
50393
50394
50395
50396
50397
50398
50399
50400
50401
50402
50403
50404
50405
50406
50407
50408
50409
50410
50411
50412
50413
50414
50415
50416
50417
50418
50419
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511
50512
50513
50514
50515
50516
50517
50518
50519
50520
50521
50522
50523
50524
50525
50526
50527
50528
50529
50530
50531
50532
50533
50534
50535
50536
50537
50538
50539
50540
50541
50542
50543
50544
50545
50546
50547
50548
50549
50550
50551
50552
50553
50554
50555
50556
50557
50558
50559
50560
50561
50562
50563
50564
50565
50566
50567
50568
50569
50570
50571
50572
50573
50574
50575
50576
50577
50578
50579
50580
50581
50582
50583
50584
50585
50586
50587
50588
50589
50590
50591
50592
50593
50594
50595
50596
50597
50598
50599
50600
50601
50602
50603
50604
50605
50606
50607
50608
50609
50610
50611
50612
50613
50614
50615
50616
50617
50618
50619
50620
50621
50622
50623
50624
50625
50626
50627
50628
50629
50630
50631
50632
50633
50634
50635
50636
50637
50638
50639
50640
50641
50642
50643
50644
50645
50646
50647
50648
50649
50650
50651
50652
50653
50654
50655
50656
50657
50658
50659
50660
50661
50662
50663
50664
50665
50666
50667
50668
50669
50670
50671
50672
50673
50674
50675
50676
50677
50678
50679
50680
50681
50682
50683
50684
50685
50686
50687
50688
50689
50690
50691
50692
50693
50694
50695
50696
50697
50698
50699
50700
50701
50702
50703
50704
50705
50706
50707
50708
50709
50710
50711
50712
50713
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910
50911
50912
50913
50914
50915
50916
50917
50918
50919
50920
50921
50922
50923
50924
50925
50926
50927
50928
50929
50930
50931
50932
50933
50934
50935
50936
50937
50938
50939
50940
50941
50942
50943
50944
50945
50946
50947
50948
50949
50950
50951
50952
50953
50954
50955
50956
50957
50958
50959
50960
50961
50962
50963
50964
50965
50966
50967
50968
50969
50970
50971
50972
50973
50974
50975
50976
50977
50978
50979
50980
50981
50982
50983
50984
50985
50986
50987
50988
50989
50990
50991
50992
50993
50994
50995
50996
50997
50998
50999
51000
51001
51002
51003
51004
51005
51006
51007
51008
51009
51010
51011
51012
51013
51014
51015
51016
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026
51027
51028
51029
51030
51031
51032
51033
51034
51035
51036
51037
51038
51039
51040
51041
51042
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052
51053
51054
51055
51056
51057
51058
51059
51060
51061
51062
51063
51064
51065
51066
51067
51068
51069
51070
51071
51072
51073
51074
51075
51076
51077
51078
51079
51080
51081
51082
51083
51084
51085
51086
51087
51088
51089
51090
51091
51092
51093
51094
51095
51096
51097
51098
51099
51100
51101
51102
51103
51104
51105
51106
51107
51108
51109
51110
51111
51112
51113
51114
51115
51116
51117
51118
51119
51120
51121
51122
51123
51124
51125
51126
51127
51128
51129
51130
51131
51132
51133
51134
51135
51136
51137
51138
51139
51140
51141
51142
51143
51144
51145
51146
51147
51148
51149
51150
51151
51152
51153
51154
51155
51156
51157
51158
51159
51160
51161
51162
51163
51164
51165
51166
51167
51168
51169
51170
51171
51172
51173
51174
51175
51176
51177
51178
51179
51180
51181
51182
51183
51184
51185
51186
51187
51188
51189
51190
51191
51192
51193
51194
51195
51196
51197
51198
51199
51200
51201
51202
51203
51204
51205
51206
51207
51208
51209
51210
51211
51212
51213
51214
51215
51216
51217
51218
51219
51220
51221
51222
51223
51224
51225
51226
51227
51228
51229
51230
51231
51232
51233
51234
51235
51236
51237
51238
51239
51240
51241
51242
51243
51244
51245
51246
51247
51248
51249
51250
51251
51252
51253
51254
51255
51256
51257
51258
51259
51260
51261
51262
51263
51264
51265
51266
51267
51268
51269
51270
51271
51272
51273
51274
51275
51276
51277
51278
51279
51280
51281
51282
51283
51284
51285
51286
51287
51288
51289
51290
51291
51292
51293
51294
51295
51296
51297
51298
51299
51300
51301
51302
51303
51304
51305
51306
51307
51308
51309
51310
51311
51312
51313
51314
51315
51316
51317
51318
51319
51320
51321
51322
51323
51324
51325
51326
51327
51328
51329
51330
51331
51332
51333
51334
51335
51336
51337
51338
51339
51340
51341
51342
51343
51344
51345
51346
51347
51348
51349
51350
51351
51352
51353
51354
51355
51356
51357
51358
51359
51360
51361
51362
51363
51364
51365
51366
51367
51368
51369
51370
51371
51372
51373
51374
51375
51376
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386
51387
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425
51426
51427
51428
51429
51430
51431
51432
51433
51434
51435
51436
51437
51438
51439
51440
51441
51442
51443
51444
51445
51446
51447
51448
51449
51450
51451
51452
51453
51454
51455
51456
51457
51458
51459
51460
51461
51462
51463
51464
51465
51466
51467
51468
51469
51470
51471
51472
51473
51474
51475
51476
51477
51478
51479
51480
51481
51482
51483
51484
51485
51486
51487
51488
51489
51490
51491
51492
51493
51494
51495
51496
51497
51498
51499
51500
51501
51502
51503
51504
51505
51506
51507
51508
51509
51510
51511
51512
51513
51514
51515
51516
51517
51518
51519
51520
51521
51522
51523
51524
51525
51526
51527
51528
51529
51530
51531
51532
51533
51534
51535
51536
51537
51538
51539
51540
51541
51542
51543
51544
51545
51546
51547
51548
51549
51550
51551
51552
51553
51554
51555
51556
51557
51558
51559
51560
51561
51562
51563
51564
51565
51566
51567
51568
51569
51570
51571
51572
51573
51574
51575
51576
51577
51578
51579
51580
51581
51582
51583
51584
51585
51586
51587
51588
51589
51590
51591
51592
51593
51594
51595
51596
51597
51598
51599
51600
51601
51602
51603
51604
51605
51606
51607
51608
51609
51610
51611
51612
51613
51614
51615
51616
51617
51618
51619
51620
51621
51622
51623
51624
51625
51626
51627
51628
51629
51630
51631
51632
51633
51634
51635
51636
51637
51638
51639
51640
51641
51642
51643
51644
51645
51646
51647
51648
51649
51650
51651
51652
51653
51654
51655
51656
51657
51658
51659
51660
51661
51662
51663
51664
51665
51666
51667
51668
51669
51670
51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
51683
51684
51685
51686
51687
51688
51689
51690
51691
51692
51693
51694
51695
51696
51697
51698
51699
51700
51701
51702
51703
51704
51705
51706
51707
51708
51709
51710
51711
51712
51713
51714
51715
51716
51717
51718
51719
51720
51721
51722
51723
51724
51725
51726
51727
51728
51729
51730
51731
51732
51733
51734
51735
51736
51737
51738
51739
51740
51741
51742
51743
51744
51745
51746
51747
51748
51749
51750
51751
51752
51753
51754
51755
51756
51757
51758
51759
51760
51761
51762
51763
51764
51765
51766
51767
51768
51769
51770
51771
51772
51773
51774
51775
51776
51777
51778
51779
51780
51781
51782
51783
51784
51785
51786
51787
51788
51789
51790
51791
51792
51793
51794
51795
51796
51797
51798
51799
51800
51801
51802
51803
51804
51805
51806
51807
51808
51809
51810
51811
51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
51823
51824
51825
51826
51827
51828
51829
51830
51831
51832
51833
51834
51835
51836
51837
51838
51839
51840
51841
51842
51843
51844
51845
51846
51847
51848
51849
51850
51851
51852
51853
51854
51855
51856
51857
51858
51859
51860
51861
51862
51863
51864
51865
51866
51867
51868
51869
51870
51871
51872
51873
51874
51875
51876
51877
51878
51879
51880
51881
51882
51883
51884
51885
51886
51887
51888
51889
51890
51891
51892
51893
51894
51895
51896
51897
51898
51899
51900
51901
51902
51903
51904
51905
51906
51907
51908
51909
51910
51911
51912
51913
51914
51915
51916
51917
51918
51919
51920
51921
51922
51923
51924
51925
51926
51927
51928
51929
51930
51931
51932
51933
51934
51935
51936
51937
51938
51939
51940
51941
51942
51943
51944
51945
51946
51947
51948
51949
51950
51951
51952
51953
51954
51955
51956
51957
51958
51959
51960
51961
51962
51963
51964
51965
51966
51967
51968
51969
51970
51971
51972
51973
51974
51975
51976
51977
51978
51979
51980
51981
51982
#![allow(clippy::large_enum_variant)]
#![allow(clippy::format_in_format_args)]
#![allow(clippy::let_unit_value)]
#![allow(unreachable_patterns)]
#![allow(clippy::too_many_arguments)]
use serde::{Deserialize, Serialize};
mod tri_state_serde {
    use serde::{Deserialize, Deserializer};
    pub fn deserialize<'de, D, T>(de: D) -> Result<Option<T>, D::Error>
    where
        D: Deserializer<'de>,
        T: Deserialize<'de>,
    {
        T::deserialize(de).map(Some)
    }
}
/// Response body of `detectYogas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct YogaDetectResponse {
    /// Echo of the resolved birth data used for detection. Timezone is the numeric offset that the chart engine consumed (IANA names are resolved upstream).
    #[serde(rename = "birthDetails")]
    pub birth_details: YogaDetectResponseBirthDetails,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: YogaDetectResponseFrame,
    /// Count of yogas where present === true in this chart. Range 0-48, though real charts sit in the low single digits: the Nabhasa families are mutually constrained by the precedence norms, and most shape yogas are rare.
    pub total: f64,
    /// Array of 48 detected yogas, always the full set so a caller can render absent verdicts too. Every entry carries a `present` boolean and a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent); filter on present === true for active yogas. Evidence text names the rule that triggered or failed, or the precedence norm that outranked it.
    pub yogas: Vec<YogaDetectResponseYogasItem>,
}
/// One entry of `yogas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct YogaDetectResponseYogasItem {
    /// Brief classical formation rule. Identifies the planetary placement, lordship, dignity, aspect pattern, sign modality, or whole-chart bhava distribution required for the yoga to form.
    pub description: String,
    /// Human-readable rationale naming the specific rule that triggered or failed the detection, including planetary positions, dignity, kendradhipati status, lordship, malefic drishti, sign modality, or whole-chart bhava distribution. For a Nabhasa yoga that matched its own rule but was outranked, this names the precedence norm that silenced it, for example that an Akriti yoga outranks Asraya or that any other Nabhasa family suppresses Sankhya. English in every language, like the per-graha stateSource on POST /daily, because it is provenance to be checked against a text rather than display copy.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub evidence: Option<String>,
    /// Classical grouping, ALWAYS present on a detection verdict: one of the four Nabhasa families (asraya, dala, akriti, sankhya) or classical for the twelve single-combination yogas such as Gajakesari and the Pancha Mahapurusha. Group the verdict list on this key to render a Nabhasa result the way the tradition arranges it. Never translated, so grouping works identically under any lang.
    pub family: YogaDetectResponseYogasItemFamily,
    /// Glossary id (lowercase, kebab-case) matching an entry in the 301-entry planetary-yoga catalog. Use with GET /yoga/{id} to retrieve the full glossary text.
    pub id: String,
    /// Classical Sanskrit name of the yoga as referenced in BPHS (Brihat Parashara Hora Shastra), Phaladeepika, and B.V. Raman *Three Hundred Important Combinations*.
    pub name: String,
    /// True if every classical condition for the yoga is satisfied by the given chart. False means one of TWO different things: the rule failed, or the rule held and a stronger family outranked it. Read `suppressedBy` to tell those apart, which is exact and locale-independent; `evidence` says the same thing in English prose.
    pub present: bool,
    /// Overall nature. Auspicious yogas (Pancha Mahapurusha, Gajakesari) bestow benefits; inauspicious yogas (Kemadruma) indicate challenges; Both denotes context-dependent effects.
    pub quality: YogaDetectResponseYogasItemQuality,
    /// Classical phala (life-effect) description of the yoga when present, sourced from the parashari and phaladeepika tradition.
    pub result: String,
    /// Set ONLY when this yoga matched its own classical rule and was then silenced by a higher-ranking family, so `present` is false for a reason a practitioner reads very differently from a failed rule. Names the family that took precedence, under the four classical norms: Akriti outranks Asraya, and Akriti, Asraya and Dala each outrank Sankhya. Absent means the rule genuinely did not hold.
    #[serde(rename = "suppressedBy", skip_serializing_if = "Option::is_none")]
    pub suppressed_by: Option<YogaDetectResponseYogasItemSuppressedBy>,
}
string_enum! {
    /// Set ONLY when this yoga matched its own classical rule and was then silenced by a higher-ranking family, so `present` is false for a reason a practitioner reads very differently from a failed rule. Names the family that took precedence, under the four classical norms: Akriti outranks Asraya, and Akriti, Asraya and Dala each outrank Sankhya. Absent means the rule genuinely did not hold.
    YogaDetectResponseYogasItemSuppressedBy {
        Classical = "classical",
        Asraya = "asraya",
        Dala = "dala",
        Akriti = "akriti",
        Sankhya = "sankhya",
    }
}
string_enum! {
    /// Overall nature. Auspicious yogas (Pancha Mahapurusha, Gajakesari) bestow benefits; inauspicious yogas (Kemadruma) indicate challenges; Both denotes context-dependent effects.
    YogaDetectResponseYogasItemQuality {
        Positive = "Positive",
        Negative = "Negative",
        Both = "Both",
    }
}
string_enum! {
    /// Classical grouping, ALWAYS present on a detection verdict: one of the four Nabhasa families (asraya, dala, akriti, sankhya) or classical for the twelve single-combination yogas such as Gajakesari and the Pancha Mahapurusha. Group the verdict list on this key to render a Nabhasa result the way the tradition arranges it. Never translated, so grouping works identically under any lang.
    YogaDetectResponseYogasItemFamily {
        Classical = "classical",
        Asraya = "asraya",
        Dala = "dala",
        Akriti = "akriti",
        Sankhya = "sankhya",
    }
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct YogaDetectResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Echo of the resolved birth data used for detection. Timezone is the numeric offset that the chart engine consumed (IANA names are resolved upstream).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct YogaDetectResponseBirthDetails {
    /// Birth date the kundli was cast for, YYYY-MM-DD, echoed back from the request.
    pub date: String,
    /// Birth latitude in decimal degrees, echoed back from the request. Feeds the local sidereal time behind the Lagna.
    pub latitude: f64,
    /// Birth longitude in decimal degrees, echoed back from the request. East is positive, west is negative.
    pub longitude: f64,
    /// Birth time the kundli was cast for, 24-hour HH:MM:SS, echoed back from the request. Lagna moves roughly one rashi every two hours, so this is what pins the bhava-dependent yogas.
    pub time: String,
    /// Numeric UTC offset in decimal hours that the chart engine actually consumed. An IANA name sent on the request is resolved to its DST-correct offset upstream, so this is always a number.
    pub timezone: f64,
}
/// Request body of `detectYogas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct YogaDetectRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<YogaDetectRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<YogaDetectRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum YogaDetectRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    YogaDetectRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `getYoga`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct YogaDetail {
    /// Brief classical formation rule. Identifies the planetary placement, lordship, dignity, aspect pattern, sign modality, or whole-chart bhava distribution required for the yoga to form.
    pub description: String,
    /// Nabhasa family this yoga belongs to, present only on the 32 Nabhasa distribution yogas: asraya (3, sign modality), dala (2, benefic or malefic kendra tenancy), akriti (20, bhava shape) and sankhya (7, count of occupied rasis). Absent on every other glossary row, which is most of the catalog, since those are single-combination yogas outside the Nabhasa scheme. Group or filter the catalog on this key; it is never translated.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub family: Option<YogaDetailFamily>,
    /// Glossary id (lowercase, kebab-case) matching an entry in the 301-entry planetary-yoga catalog. Use with GET /yoga/{id} to retrieve the full glossary text.
    pub id: String,
    /// Classical Sanskrit name of the yoga as referenced in BPHS (Brihat Parashara Hora Shastra), Phaladeepika, and B.V. Raman *Three Hundred Important Combinations*.
    pub name: String,
    /// Overall nature. Auspicious yogas (Pancha Mahapurusha, Gajakesari) bestow benefits; inauspicious yogas (Kemadruma) indicate challenges; Both denotes context-dependent effects.
    pub quality: YogaDetailQuality,
    /// Classical phala (life-effect) description of the yoga when present, sourced from the parashari and phaladeepika tradition.
    pub result: String,
}
string_enum! {
    /// Overall nature. Auspicious yogas (Pancha Mahapurusha, Gajakesari) bestow benefits; inauspicious yogas (Kemadruma) indicate challenges; Both denotes context-dependent effects.
    YogaDetailQuality {
        Positive = "Positive",
        Negative = "Negative",
        Both = "Both",
    }
}
string_enum! {
    /// Nabhasa family this yoga belongs to, present only on the 32 Nabhasa distribution yogas: asraya (3, sign modality), dala (2, benefic or malefic kendra tenancy), akriti (20, bhava shape) and sankhya (7, count of occupied rasis). Absent on every other glossary row, which is most of the catalog, since those are single-combination yogas outside the Nabhasa scheme. Group or filter the catalog on this key; it is never translated.
    YogaDetailFamily {
        Classical = "classical",
        Asraya = "asraya",
        Dala = "dala",
        Akriti = "akriti",
        Sankhya = "sankhya",
    }
}
/// Complete upagraha positions for a birth chart
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct UpagrahaResponse {
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: UpagrahaResponseFrame,
    /// Sun-longitude-based upagrahas (Dhuma group). Pure arithmetic from the Sun sidereal position. Dhuma = Sun + 133d20m, then each derived from the previous.
    #[serde(rename = "sunBased")]
    pub sun_based: Vec<UpagrahaResponseSunBasedItem>,
    /// Time-based upagrahas derived from the 8-part division of day or night. Gulika and Mandi are from Saturn segment, others from Sun, Mars, Mercury, Jupiter segments. Positions depend on birth time, location, and weekday.
    #[serde(rename = "timeBased")]
    pub time_based: Vec<UpagrahaResponseTimeBasedItem>,
}
/// Position details for a single upagraha (sub-planet)
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct UpagrahaResponseTimeBasedItem {
    /// Degree position within the occupied rashi (0 to 30).
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// Sidereal longitude in degrees (0 to 360). Used for house placement and aspect analysis.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) the upagraha occupies. One of 27 Vedic nakshatras.
    pub nakshatra: String,
    /// Nakshatra number (1 to 27). Ashwini = 1, Bharani = 2, through Revati = 27.
    #[serde(rename = "nakshatraIndex")]
    pub nakshatra_index: f64,
    /// Pada (quarter) within the nakshatra (1 to 4). Each pada spans 3 degrees 20 minutes.
    #[serde(rename = "nakshatraPada")]
    pub nakshatra_pada: f64,
    /// Upagraha name. Time-based: Gulika, Mandi, Kala, Mrityu, Ardhaprahara, Yamaghantaka. Sun-based: Dhuma, Vyatipata, Parivesha, Indra Chapa, Upaketu.
    pub name: String,
    /// Zodiac sign (rashi) the upagraha occupies. One of 12 Vedic rashis from Aries to Pisces.
    pub rashi: String,
}
/// Position details for a single upagraha (sub-planet)
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct UpagrahaResponseSunBasedItem {
    /// Degree position within the occupied rashi (0 to 30).
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// Sidereal longitude in degrees (0 to 360). Used for house placement and aspect analysis.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) the upagraha occupies. One of 27 Vedic nakshatras.
    pub nakshatra: String,
    /// Nakshatra number (1 to 27). Ashwini = 1, Bharani = 2, through Revati = 27.
    #[serde(rename = "nakshatraIndex")]
    pub nakshatra_index: f64,
    /// Pada (quarter) within the nakshatra (1 to 4). Each pada spans 3 degrees 20 minutes.
    #[serde(rename = "nakshatraPada")]
    pub nakshatra_pada: f64,
    /// Upagraha name. Time-based: Gulika, Mandi, Kala, Mrityu, Ardhaprahara, Yamaghantaka. Sun-based: Dhuma, Vyatipata, Parivesha, Indra Chapa, Upaketu.
    pub name: String,
    /// Zodiac sign (rashi) the upagraha occupies. One of 12 Vedic rashis from Aries to Pisces.
    pub rashi: String,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct UpagrahaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Request body of `getUpagrahaPositions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct UpagrahaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<UpagrahaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<UpagrahaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum UpagrahaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    UpagrahaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `calculateTransits`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct TransitsResponse {
    /// Transit aspect summary counts (only included when natalChart is provided). Quick overview of the current transit weather.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub summary: Option<TransitsResponseSummary>,
    /// Timezone offset from UTC in hours used for this calculation.
    pub timezone: f64,
    /// Transit-to-natal aspects (only included when natalChart is provided in the request). Shows which transiting planets are aspecting natal planets.
    #[serde(rename = "transitAspects", skip_serializing_if = "Option::is_none")]
    pub transit_aspects: Option<Vec<TransitsResponseTransitAspectsItem>>,
    /// Date of the transit calculation (YYYY-MM-DD).
    #[serde(rename = "transitDate")]
    pub transit_date: String,
    /// Current positions of all 14 celestial bodies (10 classical planets, lunar nodes, Chiron, Black Moon Lilith) in the tropical zodiac. Use for daily transit tracking, horoscope generation, and aspect monitoring.
    #[serde(rename = "transitPlanets")]
    pub transit_planets: Vec<TransitsResponseTransitPlanetsItem>,
    /// Time of the transit calculation (HH:MM:SS, 24-hour).
    #[serde(rename = "transitTime")]
    pub transit_time: String,
}
/// One entry of `transitPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct TransitsResponseTransitPlanetsItem {
    /// Degree within the current zodiac sign (0-29.999). Indicates how far into the sign the planet has progressed.
    pub degree: f64,
    /// Whether the planet is currently in apparent retrograde motion. Retrograde transits are considered more introspective and revisionary.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets except Moon and Pluto.
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for sign and aspect calculation.
    pub longitude: f64,
    /// Planet name (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, North Node, South Node, Chiron, Black Moon Lilith). Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected. Black Moon Lilith is always the mean lunar apogee, whatever nodeType says. POST /lilith returns the mean and the true (osculating) apogee side by side, each labelled by its variant.
    pub name: String,
    /// Planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign the planet currently occupies. Changes when longitude crosses a 30-degree boundary. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
/// One entry of `transitAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct TransitsResponseTransitAspectsItem {
    /// Exact angle of this aspect type in degrees.
    pub angle: f64,
    /// Rich interpretation of the transit aspect including narrative summary, timing, impact assessment, practical guidance, and keywords.
    pub interpretation: TransitsResponseTransitAspectsItemInterpretation,
    /// Whether the transiting planet is moving toward exactitude (applying) or away from it (separating). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Natal planet being aspected. Always English, whatever the lang parameter says. Use natalPlanetLocalized for anything a reader sees.
    #[serde(rename = "natalPlanet")]
    pub natal_planet: String,
    /// Natal planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "natalPlanetLocalized", skip_serializing_if = "Option::is_none")]
    pub natal_planet_localized: Option<String>,
    /// Aspect nature: harmonious (trine, sextile), challenging (square, opposition), or neutral (conjunction).
    pub nature: String,
    /// Distance from exact aspect in degrees. Tighter orb = stronger influence.
    pub orb: f64,
    /// Aspect strength percentage (0-100) based on orb tightness, where 100 is exact.
    pub strength: f64,
    /// Transiting planet forming the aspect. Always English, whatever the lang parameter says. Use transitPlanetLocalized for anything a reader sees.
    #[serde(rename = "transitPlanet")]
    pub transit_planet: String,
    /// Transiting planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "transitPlanetLocalized", skip_serializing_if = "Option::is_none")]
    pub transit_planet_localized: Option<String>,
    /// Aspect type (CONJUNCTION, OPPOSITION, TRINE, SQUARE, SEXTILE, etc.). Always English, whatever the lang parameter says. Use typeLocalized for anything a reader sees.
    pub r#type: String,
    /// Aspect type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
/// Rich interpretation of the transit aspect including narrative summary, timing, impact assessment, practical guidance, and keywords.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct TransitsResponseTransitAspectsItemInterpretation {
    /// Practical advice for working with or navigating this transit energy.
    pub guidance: String,
    /// Strength and nature of the transit impact on your natal chart.
    pub impact: String,
    /// Key themes activated by this transit aspect.
    pub keywords: Vec<String>,
    /// Narrative interpretation of what this transit aspect means and how it manifests.
    pub summary: String,
    /// How long this transit influence lasts, localized. The bucket follows the speed of the transiting body: a few hours for the Moon, a few days for the Sun, Mercury, Venus and Mars, one to two weeks for Jupiter, several weeks for Saturn, and an extended period for Uranus, Neptune and Pluto.
    pub timing: String,
}
/// Transit aspect summary counts (only included when natalChart is provided). Quick overview of the current transit weather.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct TransitsResponseSummary {
    /// Count of challenging aspects (square, opposition).
    pub challenging: f64,
    /// Count of harmonious aspects (trine, sextile).
    pub harmonious: f64,
    /// Count of neutral aspects (conjunction).
    pub neutral: f64,
    /// Total transit-to-natal aspects found.
    #[serde(rename = "totalAspects")]
    pub total_aspects: f64,
}
/// Request body of `calculateTransits`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct TransitsRequest {
    /// Transit date in YYYY-MM-DD format (defaults to current date)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional natal chart data to compare transits against
    #[serde(rename = "natalChart", skip_serializing_if = "Option::is_none")]
    pub natal_chart: Option<TransitsRequestNatalChart>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<TransitsRequestNodeType>,
    /// Transit time in HH:MM:SS format (defaults to current time)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub time: Option<String>,
    /// Transit timezone: decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the transit date. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<TransitsRequestTimezone>,
}
/// Transit timezone: decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the transit date. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum TransitsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    TransitsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Optional natal chart data to compare transits against
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct TransitsRequestNatalChart {
    /// Date in YYYY-MM-DD format. A single-digit month or day is accepted and zero-padded (2026-3-5 becomes 2026-03-05). Impossible calendar dates are rejected. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
    pub date: String,
    /// Natal birth latitude in decimal degrees, positive north. Sets the local sidereal time behind the natal Ascendant and house cusps that the transits are measured against.
    pub latitude: f64,
    /// Natal birth longitude in decimal degrees, positive east and negative west. Example: New York -74.0060, London -0.1276, Sydney 151.2093.
    pub longitude: f64,
    /// Time in 24-hour format. Seconds are optional and default to 00 (14:30 becomes 14:30:00); a single-digit hour is zero-padded. Out-of-range values are rejected.
    pub time: String,
    /// Natal timezone: decimal hours OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the natal date.
    pub timezone: TransitsRequestNatalChartTimezone,
}
/// Natal timezone: decimal hours OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the natal date.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum TransitsRequestNatalChartTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Response body of `generateSolarArc`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SolarArcResponse {
    /// Echo of the birth moment and place used to compute the natal chart and the solar arc.
    #[serde(rename = "birthDetails")]
    pub birth_details: SolarArcResponseBirthDetails,
    /// Every natal point advanced by the solar arc: the planets and bodies in canonical order first, then the Ascendant and the Midheaven.
    pub directed: Vec<SolarArcResponseDirectedItem>,
    /// The solar arc in degrees: the secondary-progressed Sun longitude minus the natal Sun longitude. Approximately one degree per year of life. Every natal point is advanced by exactly this arc.
    #[serde(rename = "solarArc")]
    pub solar_arc: f64,
    /// Short overview of the directed chart for previews and report intros. Localized to the requested language.
    pub summary: String,
    /// Echo of the date the chart was directed to.
    #[serde(rename = "targetDate")]
    pub target_date: String,
}
/// One entry of `directed`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SolarArcResponseDirectedItem {
    /// Degree of the directed point within its zodiac sign (0 to 29.999).
    pub degree: f64,
    /// Absolute tropical ecliptic longitude after directing, in degrees (0 to 360). Equals the natal longitude plus the solar arc, normalized to a full circle.
    #[serde(rename = "directedLongitude")]
    pub directed_longitude: f64,
    /// Plain language meaning of this directed point, suitable for chart reports and AI agents. Localized to the requested language.
    pub interpretation: String,
    /// Name of the directed point, covering the planets and the two angles, the Ascendant and the Midheaven, alike. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Directed point name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Absolute tropical ecliptic longitude of the point in the natal chart, in degrees (0 to 360).
    #[serde(rename = "natalLongitude")]
    pub natal_longitude: f64,
    /// Tropical zodiac sign the directed point falls in. A directed point crossing into a new sign marks a developmental turning point.
    pub sign: String,
}
/// Echo of the birth moment and place used to compute the natal chart and the solar arc.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SolarArcResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Request body of `generateSolarArc`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SolarArcRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<SolarArcRequestNodeType>,
    /// Date to direct the chart to, in YYYY-MM-DD format. Every natal point is advanced by the solar arc accumulated from birth to this date, about one degree for each year of life.
    #[serde(rename = "targetDate")]
    pub target_date: String,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: SolarArcRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum SolarArcRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    SolarArcRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Complete Shadbala (six-fold planetary strength) analysis for a birth chart per Brihat Parashara Hora Shastra (BPHS).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponse {
    /// Localized name and one-line meaning for each of the six Shadbala components, keyed by the same field names each planet entry uses. Join it to render a readable strength breakdown in any of the eight supported languages instead of showing six untranslated Sanskrit terms.
    #[serde(rename = "balaThemes")]
    pub bala_themes: ShadbalaResponseBalaThemes,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: ShadbalaResponseFrame,
    /// Shadbala analysis for all 7 classical planets. Ordered: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn. Each entry contains all 6 strength components, total strength in virupas and Rupas, Ishta/Kashta Phala, minimum required threshold, strength ratio, and relative rank.
    pub planets: Vec<ShadbalaResponsePlanetsItem>,
}
/// Shadbala (six-fold strength) analysis for a single planet with all components, totals, Ishta/Kashta Phala, and relative ranking.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponsePlanetsItem {
    /// Chesta Bala (Motional Strength) in virupas. Based on planetary motion, so a retrograde graha scores higher because it is closer to Earth and working hardest. The Sun uses its Ayana Bala and the Moon its elongation from the Sun, per BPHS. Mars, Mercury, Jupiter, Venus and Saturn use the Sheeghra Kendra, the arc between the sheeghrochcha and the mean of the true and mean longitudes, with the roles of the mean Sun and the graha swapped for Mercury and Venus. Range 0 to 60.
    #[serde(rename = "chestaBala")]
    pub chesta_bala: f64,
    /// Dig Bala (Directional Strength) in virupas. Based on angular distance from the planets directional strength house. Sun and Mars are strong at MC (10th), Moon and Venus at IC (4th), Mercury and Jupiter at ASC (1st), Saturn at DSC (7th). Range 0 to 60.
    #[serde(rename = "digBala")]
    pub dig_bala: f64,
    /// Drik Bala (Aspectual Strength) in virupas. Strength gained or lost from the aspects a graha receives. Benefic aspects add strength and malefic aspects reduce it, so this value is negative when malefics dominate. Mercury counts as benefic or malefic by the company it keeps in its own sign, decided by count with the nearest graha breaking a tie, and the Moon by its paksha. Uses the graded Sputa Drishti curve of BPHS Ch. 26 with the Vishesha (special) aspects of Mars, Jupiter and Saturn applied at their precise DEGREE ranges rather than by whole sign.
    #[serde(rename = "drikBala")]
    pub drik_bala: f64,
    /// Ishta Phala (auspicious strength) in virupas. Derived from Uchcha Bala and Chesta Bala: sqrt(ucchaBala * chestaBala). Indicates the planets capacity to produce favorable results during its dasha and transit periods.
    #[serde(rename = "ishtaPhala")]
    pub ishta_phala: f64,
    /// Kala Bala (Temporal Strength) in virupas. Sum of 8 sub-components: Nathonnatha (day/night strength), Paksha (lunar phase), Tribhaga (third of day/night), Vara (weekday lord), Hora (planetary hour), Abda (year lord), Masa (month lord), and Ayana (declination-based seasonal strength).
    #[serde(rename = "kalaBala")]
    pub kala_bala: f64,
    /// Kashta Phala (malefic strength) in virupas. Derived from complements of Uchcha and Chesta Bala: sqrt((60 - ucchaBala) * (60 - chestaBala)). Indicates the planets capacity to produce unfavorable results. Zero when both Uchcha and Chesta exceed 60.
    #[serde(rename = "kashtaPhala")]
    pub kashta_phala: f64,
    /// Minimum required strength in Rupas per BPHS. Sun 5.0, Moon 6.0, Mars 5.0, Mercury 7.0, Jupiter 6.5, Venus 5.5, Saturn 5.0. A planet below its minimum is considered weak and may underperform in its dasha periods.
    #[serde(rename = "minRequired")]
    pub min_required: f64,
    /// Naisargika Bala (Natural Strength) in virupas. Fixed luminosity-based values per BPHS: Sun 60.00, Moon 51.43, Venus 42.86, Jupiter 34.29, Mercury 25.71, Mars 17.14, Saturn 8.57. Invariant across all charts.
    #[serde(rename = "naisargikaBala")]
    pub naisargika_bala: f64,
    /// Planet name. One of the 7 classical Vedic planets (Saptgraha): Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn. Rahu and Ketu are excluded from Shadbala per BPHS.
    pub planet: String,
    /// Relative strength rank among the 7 planets (1 = strongest, 7 = weakest). Ranked by strengthRatio (actual/required), not raw virupas, so each planet is compared fairly against its own BPHS threshold.
    #[serde(rename = "relativeRank")]
    pub relative_rank: f64,
    /// Sthana Bala (Positional Strength) in virupas. Sum of 5 sub-components: Uchcha Bala (exaltation strength), Saptavargaja Bala (7-divisional friendship), Ojayugma Bala (odd/even sign placement), Kendradi Bala (angular house strength), and Drekkana Bala (decanate gender match). Higher values indicate stronger positional placement.
    #[serde(rename = "sthanaBala")]
    pub sthana_bala: f64,
    /// Ratio of actual Rupas to minimum required (totalRupas / minRequired). Values above 1.0 indicate sufficient strength. Higher ratios mean proportionally stronger planets. Used for ranking planets by relative strength.
    #[serde(rename = "strengthRatio")]
    pub strength_ratio: f64,
    /// Total Shadbala in Rupas (totalVirupas / 60). 1 Rupa equals 60 virupas. Rupas are the standard unit for comparing planetary strength against minimum required thresholds.
    #[serde(rename = "totalRupas")]
    pub total_rupas: f64,
    /// Total Shadbala in virupas (Shashtiamsas). Sum of all 6 strength components. Higher total indicates a stronger planet in the birth chart. Used for comparing relative planetary strength and evaluating dasha period potential.
    #[serde(rename = "totalVirupas")]
    pub total_virupas: f64,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Localized name and one-line meaning for each of the six Shadbala components, keyed by the same field names each planet entry uses. Join it to render a readable strength breakdown in any of the eight supported languages instead of showing six untranslated Sanskrit terms.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseBalaThemes {
    /// Localized label and meaning for one Shadbala component.
    #[serde(rename = "chestaBala")]
    pub chesta_bala: ShadbalaResponseBalaThemesChestaBala,
    /// Localized label and meaning for one Shadbala component.
    #[serde(rename = "digBala")]
    pub dig_bala: ShadbalaResponseBalaThemesDigBala,
    /// Localized label and meaning for one Shadbala component.
    #[serde(rename = "drikBala")]
    pub drik_bala: ShadbalaResponseBalaThemesDrikBala,
    /// Localized label and meaning for one Shadbala component.
    #[serde(rename = "kalaBala")]
    pub kala_bala: ShadbalaResponseBalaThemesKalaBala,
    /// Localized label and meaning for one Shadbala component.
    #[serde(rename = "naisargikaBala")]
    pub naisargika_bala: ShadbalaResponseBalaThemesNaisargikaBala,
    /// Localized label and meaning for one Shadbala component.
    #[serde(rename = "sthanaBala")]
    pub sthana_bala: ShadbalaResponseBalaThemesSthanaBala,
}
/// Localized label and meaning for one Shadbala component.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseBalaThemesSthanaBala {
    /// One-line localized explanation of what this component measures.
    pub meaning: String,
    /// Localized name of this Shadbala component, suitable for a table header or a bar label.
    pub name: String,
}
/// Localized label and meaning for one Shadbala component.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseBalaThemesNaisargikaBala {
    /// One-line localized explanation of what this component measures.
    pub meaning: String,
    /// Localized name of this Shadbala component, suitable for a table header or a bar label.
    pub name: String,
}
/// Localized label and meaning for one Shadbala component.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseBalaThemesKalaBala {
    /// One-line localized explanation of what this component measures.
    pub meaning: String,
    /// Localized name of this Shadbala component, suitable for a table header or a bar label.
    pub name: String,
}
/// Localized label and meaning for one Shadbala component.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseBalaThemesDrikBala {
    /// One-line localized explanation of what this component measures.
    pub meaning: String,
    /// Localized name of this Shadbala component, suitable for a table header or a bar label.
    pub name: String,
}
/// Localized label and meaning for one Shadbala component.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseBalaThemesDigBala {
    /// One-line localized explanation of what this component measures.
    pub meaning: String,
    /// Localized name of this Shadbala component, suitable for a table header or a bar label.
    pub name: String,
}
/// Localized label and meaning for one Shadbala component.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaResponseBalaThemesChestaBala {
    /// One-line localized explanation of what this component measures.
    pub meaning: String,
    /// Localized name of this Shadbala component, suitable for a table header or a bar label.
    pub name: String,
}
/// Request body of `calculateShadbala`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ShadbalaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<ShadbalaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<ShadbalaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ShadbalaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    ShadbalaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `searchDreamSymbols`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SearchDreamSymbolsResponse {
    /// Page size used for this response.
    pub limit: f64,
    /// Number of symbols skipped. Use with limit for pagination.
    pub offset: f64,
    /// Dream symbols for the current page, in alphabetical order by name. With q, symbols whose name starts with the query come first, then names containing it, then symbols whose meaning mentions it, each group alphabetical. Use /symbols/{id} to get full interpretation.
    pub symbols: Vec<BasicDreamSymbol>,
    /// Total number of dream symbols matching your search or filter criteria.
    pub total: f64,
}
/// One entry of `symbols`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BasicDreamSymbol {
    /// Unique symbol identifier in kebab-case.
    pub id: String,
    /// Starting letter for alphabetical filtering.
    pub letter: String,
    /// Display name of the dream symbol.
    pub name: String,
}
/// Response body of `searchCrystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SearchCrystalsResponse {
    /// Matching crystal summaries. Call /crystals/{id} for full healing properties.
    pub crystals: Vec<SearchCrystalsResponseCrystalsItem>,
    /// Maximum crystals returned per page.
    pub limit: f64,
    /// Number of crystals skipped.
    pub offset: f64,
    /// The search query that was used.
    pub query: String,
    /// Total number of crystals matching the query.
    pub total: f64,
}
/// One entry of `crystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SearchCrystalsResponseCrystalsItem {
    /// Primary colors of this crystal variety. Null when color data is unavailable.
    pub colors: Option<Vec<String>>,
    /// URL-safe crystal identifier for detail lookup.
    pub id: String,
    /// URL to crystal photograph for visual identification.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Crystal display name.
    pub name: String,
}
/// Path and query parameters of `searchCrystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SearchCrystalsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<SearchCrystalsParamsLang>,
    /// Maximum items to return per page. Range: 1-50, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
    /// Search query (2-50 characters). Matches against crystal names, keywords, descriptions, and meaning fields. Case-insensitive partial matching.
    pub q: String,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    SearchCrystalsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `searchCities`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SearchCitiesResponse {
    /// Matching places for the current page, best match first. Ordered by match quality, then population within equal quality: an exact name beats a qualified name such as richfield, utah, which beats a name merely starting with the query, which beats an incidental match on state or country. Take the first entry when total is 1, otherwise disambiguate on province and country.
    pub cities: Vec<SearchCitiesResponseCitiesItem>,
    /// Page size used for this response.
    pub limit: f64,
    /// Number of places skipped. Use with limit to page through results.
    pub offset: f64,
    /// Number of places matching the query across all pages, not the number returned in this response. Greater than 1 means the name is ambiguous, so show province and country and let the user confirm before using the result for a chart.
    pub total: f64,
}
/// Geographic location with coordinates, timezone, and UTC offset. Every field is designed for direct use as input parameters in astrology, horoscope, and location-dependent API calculations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SearchCitiesResponseCitiesItem {
    /// City name as commonly used. Matches the local or internationally recognized name for the location.
    pub city: String,
    /// Full country name in English.
    pub country: String,
    /// ISO 3166-1 alpha-2 country code. Use for filtering cities by country or building country-specific location pickers.
    pub iso2: String,
    /// Geographic latitude in decimal degrees (-90 to 90). Pass directly to birth chart, natal chart, horoscope, synastry, transit, kundli, and panchang API endpoints as the latitude parameter.
    pub latitude: f64,
    /// Geographic longitude in decimal degrees (-180 to 180). Pass directly to astrology, horoscope, and panchang API endpoints alongside latitude.
    pub longitude: f64,
    /// Population estimate for the place. Breaks ties between results of equal match quality, so among several places matching equally well the largest leads. It never outranks a better match, which is why a small town still wins when its name is typed exactly. May be 0 for a hamlet or administrative seat that carries no published figure.
    pub population: f64,
    /// State, province, canton, or administrative region. Show it whenever more than one result comes back: it is what separates Richfield, Utah from Richfield, Minnesota, and the six US Springfields from each other. Empty for the small number of places with no administrative division recorded.
    pub province: String,
    /// IANA timezone identifier following the tz database standard (e.g. Europe/Berlin, America/New_York, Asia/Tokyo). Always present. Pass THIS, not the numeric offset, into any chart or panchang request for a past date: the calculation endpoints resolve it to the offset that was actually in force on that date, including historical daylight saving. Also works directly with JavaScript Date, Luxon, day.js, or any date library.
    pub timezone: String,
    /// UTC offset in decimal hours for TODAY at this place, already adjusted for daylight saving. Convenient for displaying local time now. For a birth date or any past date use the `timezone` field instead, since the offset in force then may differ. Examples: 1 for CET, 2 for CEST, -5 for EST, 5.5 for IST, 5.75 for Nepal.
    #[serde(rename = "utcOffset")]
    pub utc_offset: f64,
}
/// Response body of `checkSadhesati`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SadhesatiResponse {
    /// Human-readable Sadhesati analysis with current Saturn transit phase relative to natal Moon
    pub description: String,
    /// Sadhesati effects by transit phase with general and phase-specific impacts
    #[serde(skip_serializing_if = "Option::is_none")]
    pub effects: Option<SadhesatiResponseEffects>,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: SadhesatiResponseFrame,
    /// Whether Sade Sati is currently active, Saturn transiting 12th, 1st, or 2nd house from natal Moon
    pub present: bool,
    /// Traditional Vedic remedies for Shani Sade Sati including Shani mantras, donations, and worship
    #[serde(skip_serializing_if = "Option::is_none")]
    pub remedies: Option<Vec<String>>,
    /// Sadhesati intensity: Moderate for Rising/Setting phases, Severe for Peak phase (Saturn over natal Moon)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub severity: Option<SadhesatiResponseSeverity>,
    /// Current Sadhesati phase: Rising (12th house), Peak (1st house), or Setting (2nd house)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub r#type: Option<String>,
}
string_enum! {
    /// Sadhesati intensity: Moderate for Rising/Setting phases, Severe for Peak phase (Saturn over natal Moon)
    SadhesatiResponseSeverity {
        Mild = "Mild",
        Moderate = "Moderate",
        Severe = "Severe",
    }
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SadhesatiResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Sadhesati effects by transit phase with general and phase-specific impacts
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SadhesatiResponseEffects {
    /// Overall impact of Saturn transit during Sade Sati period
    pub general: String,
    /// Phase-specific effects for the current Sadhesati stage (Rising/Peak/Setting)
    pub phases: SadhesatiResponseEffectsPhases,
}
/// Phase-specific effects for the current Sadhesati stage (Rising/Peak/Setting)
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SadhesatiResponseEffectsPhases {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, String>,
}
/// Request body of `checkSadhesati`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SadhesatiRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<SadhesatiRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<SadhesatiRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum SadhesatiRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    SadhesatiRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `generateRelocationChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponse {
    /// Relocated Ascendant (rising sign). The eastern horizon at the new place, defining how you come across there.
    pub ascendant: RelocationChartResponseAscendant,
    /// Birthplace details echoed back. The birth instant is unchanged by relocation.
    #[serde(rename = "birthDetails")]
    pub birth_details: RelocationChartResponseBirthDetails,
    /// How relocation reshapes the chart: Ascendant shift, planets that change house, angular planets, and the move geometry from the birthplace.
    pub changes: RelocationChartResponseChanges,
    /// House system used for the relocated chart (placidus, whole-sign, equal, or koch). Quadrant systems fall back to whole-sign above the polar circle.
    #[serde(rename = "houseSystem")]
    pub house_system: String,
    /// All 12 relocated house cusps with zodiac positions for the new location.
    pub houses: Vec<RelocationChartResponseHousesItem>,
    /// Relocation interpretation summary.
    pub interpretation: RelocationChartResponseInterpretation,
    /// Relocated Midheaven (MC). The highest point of the ecliptic at the new place, tied to career and public image there.
    pub midheaven: RelocationChartResponseMidheaven,
    /// All 14 celestial bodies with their unchanged natal signs and degrees, reassigned to the houses they occupy in the relocated chart.
    pub planets: Vec<RelocationPlanet>,
    /// New location the chart was recomputed for.
    pub relocation: RelocationChartResponseRelocation,
    /// Relocated Vertex. The western prime-vertical and ecliptic intersection at the new place, read as a point of fated encounters.
    pub vertex: RelocationChartResponseVertex,
}
/// Relocated Vertex. The western prime-vertical and ecliptic intersection at the new place, read as a point of fated encounters.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseVertex {
    /// Degree within the Vertex sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Vertex (0-360).
    pub longitude: f64,
    /// Zodiac sign holding the Vertex.
    pub sign: String,
    /// Vertex sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// New location the chart was recomputed for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseRelocation {
    /// New location latitude in decimal degrees.
    pub latitude: f64,
    /// New location longitude in decimal degrees.
    pub longitude: f64,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationPlanet {
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// House placement (1-12). Determined by the selected house system and birth location.
    pub house: i64,
    /// Relocated placement interpretation. The planet keeps its natal sign, so this reads its meaning through the new house it occupies at this location.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<RelocationPlanetInterpretation>,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: RelocationPlanetName,
    /// Body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    RelocationPlanetName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Relocated placement interpretation. The planet keeps its natal sign, so this reads its meaning through the new house it occupies at this location.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationPlanetInterpretation {
    /// Multi-sentence interpretation of this relocated placement.
    pub detailed: String,
    /// Key themes for this relocated placement.
    pub keywords: Vec<String>,
    /// One-sentence interpretation of this planet in its sign and relocated house.
    pub summary: String,
}
/// Relocated Midheaven (MC). The highest point of the ecliptic at the new place, tied to career and public image there.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseMidheaven {
    /// Degree within the zodiac sign on this angle (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude of this angle in degrees (0-360).
    pub longitude: f64,
    /// Tropical zodiac sign on this relocated angle. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name on this angle in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Relocation interpretation summary.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseInterpretation {
    /// Narrative summary of the relocation: the new Ascendant and Midheaven signs and any planets that move onto the angles. Localized via the lang query parameter.
    pub summary: String,
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life themes in Western astrology.
    pub number: i64,
    /// Zodiac sign on this house cusp. Colors the themes of this life area.
    pub sign: String,
    /// Zodiac sign name on this cusp in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// How relocation reshapes the chart: Ascendant shift, planets that change house, angular planets, and the move geometry from the birthplace.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseChanges {
    /// Bodies within three degrees of a relocated angle (Ascendant, Imum Coeli, Descendant, or Midheaven), where their influence is strongest at this location. Always English, whatever the lang parameter says. Use angularPlanetsLocalized for anything a reader sees.
    #[serde(rename = "angularPlanets")]
    pub angular_planets: Vec<String>,
    /// The same angular bodies in the requested language, for display only. Index aligned with angularPlanets. Present only when lang is set to a language other than English.
    #[serde(rename = "angularPlanetsLocalized", skip_serializing_if = "Option::is_none")]
    pub angular_planets_localized: Option<Vec<String>>,
    /// Whether the Ascendant sign differs between the birthplace chart and the relocated chart.
    #[serde(rename = "ascendantSignChanged")]
    pub ascendant_sign_changed: bool,
    /// Compass direction (16-point) from the birthplace to the new location.
    pub direction: String,
    /// Great-circle distance from the birthplace to the new location in kilometers.
    #[serde(rename = "distanceKm")]
    pub distance_km: f64,
    /// Bodies whose house placement shifts from the birthplace chart to the relocated chart. Empty when nothing changes house.
    #[serde(rename = "planetsChangedHouse")]
    pub planets_changed_house: Vec<
        RelocationChartResponseChangesPlanetsChangedHouseItem,
    >,
}
/// One entry of `planetsChangedHouse`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseChangesPlanetsChangedHouseItem {
    /// House this body occupied in the birthplace chart (1-12).
    #[serde(rename = "natalHouse")]
    pub natal_house: f64,
    /// Body that occupies a different house after relocation. Always English, whatever the lang parameter says. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// House this body occupies in the relocated chart (1-12).
    #[serde(rename = "relocatedHouse")]
    pub relocated_house: f64,
}
/// Birthplace details echoed back. The birth instant is unchanged by relocation.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseBirthDetails {
    /// Birth date used for this chart (YYYY-MM-DD).
    pub date: String,
    /// Birthplace latitude in decimal degrees.
    pub latitude: f64,
    /// Birthplace longitude in decimal degrees.
    pub longitude: f64,
    /// Birth time used for this chart (HH:MM:SS, 24-hour).
    pub time: String,
    /// Birth timezone offset from UTC in decimal hours.
    pub timezone: f64,
}
/// Relocated Ascendant (rising sign). The eastern horizon at the new place, defining how you come across there.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartResponseAscendant {
    /// Degree within the zodiac sign on this angle (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude of this angle in degrees (0-360).
    pub longitude: f64,
    /// Tropical zodiac sign on this relocated angle. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name on this angle in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Request body of `generateRelocationChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RelocationChartRequest {
    /// Birthplace latitude in decimal degrees (-90 to 90). Used for the original natal angles and houses that the relocated chart is compared against.
    #[serde(rename = "birthLatitude")]
    pub birth_latitude: f64,
    /// Birthplace longitude in decimal degrees (-180 to 180). Positive East, negative West.
    #[serde(rename = "birthLongitude")]
    pub birth_longitude: f64,
    /// Birth date in YYYY-MM-DD format. The birth moment is unchanged by relocation, so this still defines the planetary positions of the chart.
    pub date: String,
    /// House system for dividing the relocated chart into 12 houses. Placidus (default) is time-sensitive and most popular in Western astrology. Whole Sign assigns one sign per house. Equal divides into 30 degree segments from the Ascendant. Koch emphasizes higher latitudes. Quadrant systems fall back to Whole Sign above the polar circle.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<RelocationChartRequestHouseSystem>,
    /// New location latitude in decimal degrees (-90 to 90). The relocated Ascendant and house cusps are most sensitive to north-south movement.
    #[serde(rename = "relocationLatitude")]
    pub relocation_latitude: f64,
    /// New location longitude in decimal degrees (-180 to 180). The relocated Midheaven shifts roughly one degree per degree of longitude moved.
    #[serde(rename = "relocationLongitude")]
    pub relocation_longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Combined with the timezone it fixes the exact birth instant, which the relocated angles and houses are recomputed for.
    pub time: String,
    /// Birth timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York"). Resolved to the offset in force at the birth date and time. This is the birthplace timezone, not the new location timezone.
    pub timezone: RelocationChartRequestTimezone,
}
/// Birth timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York"). Resolved to the offset in force at the birth date and time. This is the birthplace timezone, not the new location timezone.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum RelocationChartRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// House system for dividing the relocated chart into 12 houses. Placidus (default) is time-sensitive and most popular in Western astrology. Whole Sign assigns one sign per house. Equal divides into 30 degree segments from the Ascendant. Koch emphasizes higher latitudes. Quadrant systems fall back to Whole Sign above the polar circle.
    RelocationChartRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Response body of `listRashis`.
pub type RashiListResponse = Vec<RashiListResponseItem>;
/// One form of \[`RashiListResponse`\].
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RashiListResponseItem {
    /// Key personality traits and behavioral tendencies of natives born under this rashi.
    pub characteristics: String,
    /// Approximate sidereal date range when the Sun transits this rashi.
    #[serde(rename = "dateRange")]
    pub date_range: String,
    /// Aditya (solar deity) governing this rashi in Vedic tradition.
    pub energy: String,
    /// Unique slug identifier for the rashi. Used in URL paths and cross-references.
    pub id: String,
    /// Western zodiac sign name corresponding to this Vedic rashi.
    pub name: String,
    /// Traditional symbol associated with this zodiac sign.
    pub symbol: String,
    /// Sanskrit name of the rashi as used in Vedic astrology (Jyotish).
    #[serde(rename = "vedicName")]
    pub vedic_name: String,
}
/// Response body of `generateProgressions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProgressionsResponse {
    /// Progressed Ascendant, the rising degree advanced by the Naibod arc per year. Marks the evolving outward style and immediate environment.
    pub ascendant: ProgressionsResponseAscendant,
    /// Echo of the birth moment and place the progressed chart is built from.
    #[serde(rename = "birthDetails")]
    pub birth_details: ProgressionsResponseBirthDetails,
    /// Years elapsed between birth and the target date, measured in mean tropical years. Drives both the progressed planets and the Naibod progression of the angles. Negative values progress the chart converse (before birth).
    #[serde(rename = "elapsedYears")]
    pub elapsed_years: f64,
    /// Progressed Midheaven, the culminating degree advanced by the Naibod arc per year. Marks the evolving vocation and public direction.
    pub midheaven: ProgressionsResponseMidheaven,
    /// Every progressed body in canonical order: the 10 classical planets, the lunar nodes, Chiron, and Black Moon Lilith. The progressed Sun moves about one degree per year and the progressed Moon about one sign per two and a half years, so these two are the headline movers in any progressed reading.
    pub planets: Vec<ProgressionsResponsePlanetsItem>,
    /// UTC calendar date of the progressed moment, the ephemeris day whose real positions stand in for the target date. One day after birth per year of elapsed life.
    #[serde(rename = "progressedDate")]
    pub progressed_date: String,
    /// Short overview of the progressed chart led by the progressed Sun and Moon. Localized to the requested language.
    pub summary: String,
    /// The requested date the chart was progressed to.
    #[serde(rename = "targetDate")]
    pub target_date: String,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProgressionsResponsePlanetsItem {
    /// Degree of the progressed body within its zodiac sign (0 to 29.999).
    pub degree: f64,
    /// Whole-sign house (1 to 12) counted from the progressed Ascendant sign. The 1st house is the entire sign the progressed Ascendant falls in.
    pub house: i64,
    /// Plain language meaning of this progressed body in its sign, suitable for chart reports and AI agents. Localized to the requested language.
    pub interpretation: String,
    /// Whether the body is retrograde at the progressed instant, true when the daily speed is negative.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Progressed tropical ecliptic longitude in degrees (0 to 360).
    pub longitude: f64,
    /// Body name in canonical English. One of the 10 classical planets, the lunar nodes, Chiron, or Black Moon Lilith. Unchanged by the lang parameter, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign the progressed body falls in. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Daily motion of the body at the progressed instant in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
/// Progressed Midheaven, the culminating degree advanced by the Naibod arc per year. Marks the evolving vocation and public direction.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProgressionsResponseMidheaven {
    /// Degree of the progressed angle within its zodiac sign (0 to 29.999).
    pub degree: f64,
    /// Absolute tropical ecliptic longitude of the progressed angle in degrees (0 to 360).
    pub longitude: f64,
    /// Tropical zodiac sign the progressed angle falls in. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name on this angle in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Echo of the birth moment and place the progressed chart is built from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProgressionsResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Progressed Ascendant, the rising degree advanced by the Naibod arc per year. Marks the evolving outward style and immediate environment.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProgressionsResponseAscendant {
    /// Degree of the progressed angle within its zodiac sign (0 to 29.999).
    pub degree: f64,
    /// Absolute tropical ecliptic longitude of the progressed angle in degrees (0 to 360).
    pub longitude: f64,
    /// Tropical zodiac sign the progressed angle falls in. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name on this angle in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Request body of `generateProgressions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProgressionsRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<ProgressionsRequestNodeType>,
    /// Date to progress the chart to, in YYYY-MM-DD format. Usually today or a forecast date. The day-for-a-year key turns the elapsed years since birth into the same number of ephemeris days after the birth moment.
    #[serde(rename = "targetDate")]
    pub target_date: String,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: ProgressionsRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ProgressionsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    ProgressionsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Response body of `generateProfections`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProfectionsResponse {
    /// Completed whole years from birth to the target date. Age 0 is the birth year and profects the first house.
    pub age: i64,
    /// Echo of the birth moment and place used to derive the natal Ascendant and the lord of the year placement.
    #[serde(rename = "birthDetails")]
    pub birth_details: ProfectionsResponseBirthDetails,
    /// Plain language reading of the profection year, combining the profected house theme, the profected sign, and the lord of the year. Localized to the requested language.
    pub interpretation: String,
    /// Where the lord of the year sits in the birth chart: the natal sign and house that ground the theme of the profection year.
    #[serde(rename = "lordNatalPosition")]
    pub lord_natal_position: ProfectionsResponseLordNatalPosition,
    /// Lord of the year (annual time lord): the traditional ruling planet of the profected sign whose natal condition and transits color the themes of the year.
    #[serde(rename = "lordOfYear")]
    pub lord_of_year: String,
    /// Profected whole sign house activated for the year (1 to 12), computed as age modulo 12 plus 1. House 1 is the rising sign and the cycle repeats every twelve years.
    #[serde(rename = "profectedHouse")]
    pub profected_house: i64,
    /// Tropical zodiac sign on the profected house: the rising sign advanced by one whole sign for each completed year.
    #[serde(rename = "profectedSign")]
    pub profected_sign: String,
    /// Short overview of the profection year for previews and report intros.
    pub summary: String,
    /// Target date whose profection year was computed, echoed from the request.
    #[serde(rename = "targetDate")]
    pub target_date: String,
}
/// Where the lord of the year sits in the birth chart: the natal sign and house that ground the theme of the profection year.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProfectionsResponseLordNatalPosition {
    /// Natal house the lord of the year occupies (1 to 12), in the requested house system.
    pub house: i64,
    /// Zodiac sign the lord of the year occupies in the natal chart.
    pub sign: String,
}
/// Echo of the birth moment and place used to derive the natal Ascendant and the lord of the year placement.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProfectionsResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Request body of `generateProfections`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ProfectionsRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// House system used only to report where the lord of the year sits in the natal chart. The profected house and sign always use whole sign profection from the rising sign. Placidus (default), Whole Sign, Equal, or Koch.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<ProfectionsRequestHouseSystem>,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<ProfectionsRequestNodeType>,
    /// Date whose profection year you want, in YYYY-MM-DD format. The completed whole years from the birth date to this date select the profected house and sign. Must fall on or after the birth date.
    #[serde(rename = "targetDate")]
    pub target_date: String,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: ProfectionsRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ProfectionsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    ProfectionsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system used only to report where the lord of the year sits in the natal chart. The profected house and sign always use whole sign profection from the rising sign. Placidus (default), Whole Sign, Equal, or Koch.
    ProfectionsRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Every graha keyed by its English name: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu, plus Lagna for the Ascendant. Read a placement straight off the key you want, such as `response.Sun`, and iterate the keys to render a full navagraha table.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PlanetaryPositionsResponse {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        PlanetaryPositionsResponseAdditionalProperty,
    >,
}
/// Everything computed for one graha: its rashi and sidereal longitude, the nakshatra and pada it falls in, its Whole Sign house from the Lagna, retrogression, combustion where the question applies, and the Baladi avastha. Lagna carries the same shape as a planet.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PlanetaryPositionsResponseAdditionalProperty {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<PlanetaryPositionsResponseAdditionalPropertyAwastha>,
    /// Angular distance from the Sun in degrees (0-180). Smaller values indicate closer proximity. Null for Sun, Rahu, Ketu, and Lagna. Useful for gauging combustion severity and planetary strength analysis.
    #[serde(rename = "combustionDistance", skip_serializing_if = "Option::is_none")]
    pub combustion_distance: Option<f64>,
    /// Vedic planet (graha) name. One of the Navagraha: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu, or Lagna (Ascendant).
    pub graha: String,
    /// House number (1-12) the planet occupies using Whole Sign house system. House 1 is the Lagna (Ascendant) sign. Essential for bhava analysis and house-level predictions.
    pub house: f64,
    /// Whether the planet is combust (asta, moudhya). A planet is combust when too close to the Sun, weakening its significations. Limits per Surya Siddhanta: Moon 12 deg, Mars 17 deg, Mercury 14 deg (12 deg if retrograde), Jupiter 11 deg, Venus 10 deg (8 deg if retrograde), Saturn 15 deg. Compared against the difference in ecliptic longitude, which is the standard interpretive convention and matches what other Vedic software reports. It is a chart judgement and not a statement about naked-eye visibility, which additionally depends on the observer latitude: for that use the heliacal endpoint, which applies the same limits in the classical degrees of time. The field is omitted entirely for Sun, Rahu, Ketu and Lagna, since the question does not apply to them rather than the answer being no.
    #[serde(rename = "isCombust", skip_serializing_if = "Option::is_none")]
    pub is_combust: Option<bool>,
    /// Whether the planet is in retrograde motion (vakri). Rahu and Ketu are always retrograde in Vedic astrology.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Ecliptic latitude in degrees, the angular distance north (positive) or south (negative) of the ecliptic. Used in planetary war (graha yuddha) winner resolution and latitude-sensitive analysis. Omitted for the Lagna (Ascendant).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa. Precise planetary position for chart calculations.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) data with optional interpretive details from Vedic tradition.
    pub nakshatra: PlanetaryPositionsResponseAdditionalPropertyNakshatra,
    /// Zodiac sign (rashi) the planet occupies. One of 12 Vedic rashis from Aries to Pisces.
    pub rashi: String,
    /// Vedic zodiac sign (rashi) details including Sanskrit name, symbol, elemental energy, and personality characteristics. Present when interpretation data is available.
    #[serde(rename = "rashiDetails", skip_serializing_if = "Option::is_none")]
    pub rashi_details: Option<PlanetaryPositionsResponseAdditionalPropertyRashiDetails>,
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, serde_json::Value>,
}
/// Vedic zodiac sign (rashi) details including Sanskrit name, symbol, elemental energy, and personality characteristics. Present when interpretation data is available.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PlanetaryPositionsResponseAdditionalPropertyRashiDetails {
    /// Key personality traits and behavioral tendencies of this zodiac sign in Vedic astrology.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Elemental and gender classification of the rashi (Masculine/Feminine, Fire/Earth/Air/Water).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub energy: Option<String>,
    /// Traditional symbol representing this zodiac sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
    /// Sanskrit name of the zodiac sign as used in traditional Jyotish texts.
    #[serde(rename = "vedicName", skip_serializing_if = "Option::is_none")]
    pub vedic_name: Option<String>,
}
/// Nakshatra (lunar mansion) data with optional interpretive details from Vedic tradition.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PlanetaryPositionsResponseAdditionalPropertyNakshatra {
    /// Personality traits and behavioral tendencies when a planet occupies this nakshatra. Used for character analysis and prediction.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Presiding deity of the nakshatra from Vedic mythology. Influences the spiritual quality and karmic themes of the planet placement.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deity: Option<String>,
    /// Nakshatra sequence number (1-27) in zodiac order starting from Ashwini. Used for Tara Bala and dasha calculations.
    pub key: f64,
    /// Nakshatra (lunar mansion) the planet occupies. One of 27 Vedic nakshatras spanning 13 degrees 20 minutes each.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra divides into 4 padas of 3 degrees 20 minutes. Determines Navamsa sign.
    pub pada: f64,
    /// Traditional symbol representing the nakshatra. Reflects core energy and life themes associated with this lunar mansion.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs.
    PlanetaryPositionsResponseAdditionalPropertyAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// Request body of `getPlanetPositions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PlanetaryPositionsRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<PlanetaryPositionsRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<PlanetaryPositionsRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum PlanetaryPositionsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    PlanetaryPositionsRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `calculatePapasamyam`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponse {
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: PapasamyamResponseFrame,
    /// Papa count of the groom chart, with the working shown per reference.
    pub person1: PapasamyamResponsePerson1,
    /// Papa count of the bride chart, with the working shown per reference.
    pub person2: PapasamyamResponsePerson2,
    /// One sentence stating the comparison and what it means, localized by the lang query parameter. Renders directly; the machine value to branch on is verdict.
    pub recommendation: String,
    /// Whether the two charts carry comparable affliction. "balanced" when the bride total is equal to or below the groom total, "unbalanced" when the bride carries more. Canonical English, never translated, so it is safe to branch on. Both totals are published, so a desk that also caps how far the groom may exceed the bride, or that allows the bride a small tolerance, can apply its own band without a second request.
    pub verdict: PapasamyamResponseVerdict,
}
string_enum! {
    /// Whether the two charts carry comparable affliction. "balanced" when the bride total is equal to or below the groom total, "unbalanced" when the bride carries more. Canonical English, never translated, so it is safe to branch on. Both totals are published, so a desk that also caps how far the groom may exceed the bride, or that allows the bride a small tolerance, can apply its own band without a second request.
    PapasamyamResponseVerdict {
        Balanced = "balanced",
        Unbalanced = "unbalanced",
    }
}
/// Papa count of the bride chart, with the working shown per reference.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponsePerson2 {
    /// The count broken out by the three reference points, in the order Lagna, Moon, Venus. A Kuja Dosha check reads only the first of these and only Mars, which is why a Manglik verdict and a Papasamyam count answer different questions.
    #[serde(rename = "byReference")]
    pub by_reference: Vec<PapasamyamResponsePerson2ByReferenceItem>,
    /// Papa points this chart carries, summed across the three reference points with each hit multiplied by that reference weight. The range is 0 to 7, and quarter points are normal because a hit read from Venus is worth 0.25. The number is never a verdict on one person: only the comparison between the two totals means anything.
    pub total: f64,
}
/// One entry of `byReference`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponsePerson2ByReferenceItem {
    /// Every malefic this reference point sees in an afflicting bhava, one entry per point contributed. An empty array means this reference point contributes nothing, which is a clean reading rather than missing data. The length of the array is the points from this reference, so it is not published a second time as a number.
    pub afflictions: Vec<PapasamyamResponsePerson2ByReferenceItemAfflictionsItem>,
    /// Which point the houses on this row were counted from. Lagna is the Ascendant, Moon is the Chandra lagna and Venus is the karaka of marriage. Canonical English, never translated.
    pub reference: PapasamyamResponsePerson2ByReferenceItemReference,
    /// What one affliction seen from this reference is worth: 1 from the Lagna, 0.5 from the Moon, 0.25 from Venus. Published rather than assumed because a school that weights the three equally exists, and a caller reconciling against one can see exactly which number to change. The points from this row are the length of afflictions multiplied by this weight.
    pub weight: f64,
}
string_enum! {
    /// Which point the houses on this row were counted from. Lagna is the Ascendant, Moon is the Chandra lagna and Venus is the karaka of marriage. Canonical English, never translated.
    PapasamyamResponsePerson2ByReferenceItemReference {
        Lagna = "Lagna",
        Moon = "Moon",
        Venus = "Venus",
    }
}
/// One entry of `afflictions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponsePerson2ByReferenceItemAfflictionsItem {
    /// The malefic contributing this point. Canonical English, never translated, so it is safe to switch on or use as a glyph key.
    pub graha: PapasamyamResponsePerson2ByReferenceItemAfflictionsItemGraha,
    /// Whole-sign bhava 1 to 12 counted from the reference on this row, which is NOT the bhava from the Lagna unless the reference is the Lagna. Only the six afflicting bhavas 1, 2, 4, 7, 8 and 12 appear here, because a malefic anywhere else contributes nothing.
    pub house: f64,
}
string_enum! {
    /// The malefic contributing this point. Canonical English, never translated, so it is safe to switch on or use as a glyph key.
    PapasamyamResponsePerson2ByReferenceItemAfflictionsItemGraha {
        Mars = "Mars",
        Saturn = "Saturn",
        Sun = "Sun",
        Rahu = "Rahu",
    }
}
/// Papa count of the groom chart, with the working shown per reference.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponsePerson1 {
    /// The count broken out by the three reference points, in the order Lagna, Moon, Venus. A Kuja Dosha check reads only the first of these and only Mars, which is why a Manglik verdict and a Papasamyam count answer different questions.
    #[serde(rename = "byReference")]
    pub by_reference: Vec<PapasamyamResponsePerson1ByReferenceItem>,
    /// Papa points this chart carries, summed across the three reference points with each hit multiplied by that reference weight. The range is 0 to 7, and quarter points are normal because a hit read from Venus is worth 0.25. The number is never a verdict on one person: only the comparison between the two totals means anything.
    pub total: f64,
}
/// One entry of `byReference`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponsePerson1ByReferenceItem {
    /// Every malefic this reference point sees in an afflicting bhava, one entry per point contributed. An empty array means this reference point contributes nothing, which is a clean reading rather than missing data. The length of the array is the points from this reference, so it is not published a second time as a number.
    pub afflictions: Vec<PapasamyamResponsePerson1ByReferenceItemAfflictionsItem>,
    /// Which point the houses on this row were counted from. Lagna is the Ascendant, Moon is the Chandra lagna and Venus is the karaka of marriage. Canonical English, never translated.
    pub reference: PapasamyamResponsePerson1ByReferenceItemReference,
    /// What one affliction seen from this reference is worth: 1 from the Lagna, 0.5 from the Moon, 0.25 from Venus. Published rather than assumed because a school that weights the three equally exists, and a caller reconciling against one can see exactly which number to change. The points from this row are the length of afflictions multiplied by this weight.
    pub weight: f64,
}
string_enum! {
    /// Which point the houses on this row were counted from. Lagna is the Ascendant, Moon is the Chandra lagna and Venus is the karaka of marriage. Canonical English, never translated.
    PapasamyamResponsePerson1ByReferenceItemReference {
        Lagna = "Lagna",
        Moon = "Moon",
        Venus = "Venus",
    }
}
/// One entry of `afflictions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponsePerson1ByReferenceItemAfflictionsItem {
    /// The malefic contributing this point. Canonical English, never translated, so it is safe to switch on or use as a glyph key.
    pub graha: PapasamyamResponsePerson1ByReferenceItemAfflictionsItemGraha,
    /// Whole-sign bhava 1 to 12 counted from the reference on this row, which is NOT the bhava from the Lagna unless the reference is the Lagna. Only the six afflicting bhavas 1, 2, 4, 7, 8 and 12 appear here, because a malefic anywhere else contributes nothing.
    pub house: f64,
}
string_enum! {
    /// The malefic contributing this point. Canonical English, never translated, so it is safe to switch on or use as a glyph key.
    PapasamyamResponsePerson1ByReferenceItemAfflictionsItemGraha {
        Mars = "Mars",
        Saturn = "Saturn",
        Sun = "Sun",
        Rahu = "Rahu",
    }
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Request body of `calculatePapasamyam`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<PapasamyamRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth data of the GROOM. The comparison is directional, so this field is not interchangeable with person2: the match reads as balanced only when the bride carries no more affliction than the groom, and swapping the two people can flip the verdict.
    pub person1: PapasamyamRequestPerson1,
    /// Birth data of the BRIDE. Date, time and location determine the Lagna, the Moon and Venus, which are the three points every papa point is counted from.
    pub person2: PapasamyamRequestPerson2,
}
/// Birth data of the BRIDE. Date, time and location determine the Lagna, the Moon and Venus, which are the three points every papa point is counted from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamRequestPerson2 {
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<PapasamyamRequestPerson2Timezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum PapasamyamRequestPerson2Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Birth data of the GROOM. The comparison is directional, so this field is not interchangeable with person2: the match reads as balanced only when the bride carries no more affliction than the groom, and swapping the two people can flip the verdict.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct PapasamyamRequestPerson1 {
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<PapasamyamRequestPerson1Timezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum PapasamyamRequestPerson1Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    PapasamyamRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `generateNavamsa`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponse {
    /// Navamsa (D9) divisional chart showing planetary positions across 12 rashi houses plus a meta lookup. Same structure as the birth chart response.
    pub chart: NavamsaResponseChart,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: NavamsaResponseFrame,
    /// Planets that are Vargottama (same sign in D1 and D9)
    pub vargottama: Vec<String>,
    /// Explanation of Vargottama significance
    #[serde(rename = "vargottamaExplanation")]
    pub vargottama_explanation: String,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Navamsa (D9) divisional chart showing planetary positions across 12 rashi houses plus a meta lookup. Same structure as the birth chart response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseChart {
    /// One of the 12 navamsa rashi-house buckets (aries shown; taurus through pisces follow the identical shape). Each lists the planets placed in that sign.
    pub aries: NavamsaResponseChartAries,
    /// Planet positions in the Navamsa (D9) chart keyed by planet name. Contains all 9 Navagraha plus Lagna.
    pub meta: NavamsaResponseChartMeta,
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, serde_json::Value>,
}
/// Planet positions in the Navamsa (D9) chart keyed by planet name. Contains all 9 Navagraha plus Lagna.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseChartMeta {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        NavamsaResponseChartMetaAdditionalProperty,
    >,
}
/// One graha as the D9 chart places it: its Navamsa rashi and house, with the D1 longitude and nakshatra carried over so the two charts can be read side by side.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseChartMetaAdditionalProperty {
    /// Planet (graha) name. One of 9 Navagraha (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu) or Lagna (Ascendant). In Navamsa, Venus and Jupiter placements are especially significant for marriage and spiritual growth.
    pub graha: String,
    /// Bhava (house) number 1-12 in the Navamsa chart, counted whole-sign from the D9 Lagna. This is the Navamsa-specific house and differs from the D1 birth-chart house.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if the planet is in retrograde motion (appears to move backward through the zodiac). Retrograde planets carry intensified or internalized significations in Vedic interpretation.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa. Same as D1 birth chart longitude, preserved for cross-chart reference and aspect analysis.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) data for this planet. Nakshatras are the 27-fold division of the zodiac central to Vedic timing and compatibility systems.
    pub nakshatra: NavamsaResponseChartMetaAdditionalPropertyNakshatra,
    /// Zodiac sign (rashi) the planet occupies in the Navamsa (D9) chart. D9 sign placement reveals the deeper quality of a planet and is critical for spouse characteristics and marriage timing.
    pub rashi: String,
}
/// Nakshatra (lunar mansion) data for this planet. Nakshatras are the 27-fold division of the zodiac central to Vedic timing and compatibility systems.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseChartMetaAdditionalPropertyNakshatra {
    /// Nakshatra sequence number (1-27) in zodiac order starting from Ashwini. Used for Tara Bala compatibility and dasha calculations.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Carried over from the D1 nakshatra.
    pub lord: NavamsaResponseChartMetaAdditionalPropertyNakshatraLord,
    /// Nakshatra (lunar mansion) the planet occupies. One of 27 Vedic nakshatras spanning 13 degrees 20 minutes each. Determines dasha lord and behavioral qualities.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra divides into 4 padas of 3 degrees 20 minutes. Pada determines Navamsa sign and refines personality traits.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Carried over from the D1 nakshatra.
    NavamsaResponseChartMetaAdditionalPropertyNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// One of the 12 navamsa rashi-house buckets (aries shown; taurus through pisces follow the identical shape). Each lists the planets placed in that sign.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseChartAries {
    /// Zodiac sign name in lowercase. Always equals the key of the navamsa rashi-house block it sits in.
    pub rashi: String,
    /// Planets placed in this navamsa sign.
    pub signs: Vec<NavamsaResponseChartAriesSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseChartAriesSignsItem {
    /// Planet (graha) placed in this navamsa sign.
    pub graha: String,
    /// Bhava (house) number 1-12 in the Navamsa chart, counted whole-sign from the D9 Lagna.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if the planet is in retrograde motion.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Original sidereal longitude in degrees (0-360), same as the D1 birth chart. Preserved for cross-chart reference.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) data for this planet, carried over from the D1 chart.
    pub nakshatra: NavamsaResponseChartAriesSignsItemNakshatra,
}
/// Nakshatra (lunar mansion) data for this planet, carried over from the D1 chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaResponseChartAriesSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra.
    pub lord: NavamsaResponseChartAriesSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4).
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra.
    NavamsaResponseChartAriesSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Request body of `generateNavamsa`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NavamsaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<NavamsaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<NavamsaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum NavamsaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    NavamsaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `generateNatalChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponse {
    /// Ascendant (rising sign). The eastern horizon at birth, defining outward personality and physical appearance.
    pub ascendant: NatalChartResponseAscendant,
    /// All planetary aspects found in this chart with orbs, strength, and interpretation.
    pub aspects: Vec<NatalChartResponseAspectsItem>,
    /// Aspect pattern analysis showing the balance of harmonious vs challenging energies in the chart.
    #[serde(rename = "aspectsInterpretation")]
    pub aspects_interpretation: NatalChartResponseAspectsInterpretation,
    /// Birth details echoed back from the request. Confirms the input used for this chart calculation.
    #[serde(rename = "birthDetails")]
    pub birth_details: NatalChartResponseBirthDetails,
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    #[serde(rename = "houseSystem")]
    pub house_system: String,
    /// All 12 house cusps with zodiac positions. House cusps divide the chart into life areas.
    pub houses: Vec<NatalChartResponseHousesItem>,
    /// Midheaven (MC). The highest point of the ecliptic at birth, representing career direction and public image.
    pub midheaven: NatalChartResponseMidheaven,
    /// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
    #[serde(rename = "partOfFortune")]
    pub part_of_fortune: NatalChartResponsePartOfFortune,
    /// Detected multi-planet aspect configurations (Grand Trine, Kite, T-Square, Grand Cross, Yod, Mystic Rectangle, Stellium). Grand Cross suppresses contained T-Squares, Kite suppresses underlying Grand Trine.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub patterns: Option<Vec<NatalChartResponsePatternsItem>>,
    /// All 14 celestial bodies (10 classical planets, lunar nodes, Chiron, Black Moon Lilith) with zodiac signs, house placements, and interpretations.
    pub planets: Vec<NatalChartResponsePlanetsItem>,
    /// Chart summary with dominant element, modality, retrograde planets, and distribution analysis.
    pub summary: NatalChartResponseSummary,
    /// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
    pub vertex: NatalChartResponseVertex,
}
/// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseVertex {
    /// Degree within the Vertex sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Vertex (0-360).
    pub longitude: f64,
    /// Zodiac sign holding the Vertex.
    pub sign: String,
    /// Vertex sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Chart summary with dominant element, modality, retrograde planets, and distribution analysis.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseSummary {
    /// Element holding the most of the ten planets, Sun through Pluto (Fire, Earth, Air, Water). A tie goes to the tied element holding the Sun, else the Moon, else the Ascendant, else the first of Mercury through Pluto. Always English, whatever the lang parameter says. Use dominantElementLocalized for anything a reader sees.
    #[serde(rename = "dominantElement")]
    pub dominant_element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(
        rename = "dominantElementLocalized",
        skip_serializing_if = "Option::is_none"
    )]
    pub dominant_element_localized: Option<String>,
    /// Modality holding the most of the ten planets, Sun through Pluto (Cardinal, Fixed, Mutable). A tie is broken as for dominantElement: the Sun, then the Moon, then the Ascendant, then Mercury through Pluto. Always English, whatever the lang parameter says. Use dominantModalityLocalized for anything a reader sees.
    #[serde(rename = "dominantModality")]
    pub dominant_modality: String,
    /// Modality name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(
        rename = "dominantModalityLocalized",
        skip_serializing_if = "Option::is_none"
    )]
    pub dominant_modality_localized: Option<String>,
    /// Count of the ten planets, Sun through Pluto, in each element; the four counts sum to 10. The lunar nodes, Chiron and Lilith are points, not planets, and are not counted. Shows elemental emphasis in the personality.
    #[serde(rename = "elementDistribution")]
    pub element_distribution: NatalChartResponseSummaryElementDistribution,
    /// Count of the ten planets, Sun through Pluto, in each modality; the three counts sum to 10, and the lunar nodes, Chiron and Lilith are not counted. Shows the dominant operating mode.
    #[serde(rename = "modalityDistribution")]
    pub modality_distribution: NatalChartResponseSummaryModalityDistribution,
    /// Bodies in retrograde motion at the time of birth: the ten planets and the chart points (lunar nodes, Chiron, Lilith) alike. Always English, whatever the lang parameter says. Use retrogradePlanetsLocalized for anything a reader sees.
    #[serde(rename = "retrogradePlanets")]
    pub retrograde_planets: Vec<String>,
    /// The same retrograde bodies in the requested language, for display only. Index aligned with retrogradePlanets, so entry n of one names entry n of the other. Present only when lang is set to a language other than English, since in English it would repeat retrogradePlanets exactly.
    #[serde(
        rename = "retrogradePlanetsLocalized",
        skip_serializing_if = "Option::is_none"
    )]
    pub retrograde_planets_localized: Option<Vec<String>>,
}
/// Count of the ten planets, Sun through Pluto, in each modality; the three counts sum to 10, and the lunar nodes, Chiron and Lilith are not counted. Shows the dominant operating mode.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseSummaryModalityDistribution {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// Count of the ten planets, Sun through Pluto, in each element; the four counts sum to 10. The lunar nodes, Chiron and Lilith are points, not planets, and are not counted. Shows elemental emphasis in the personality.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseSummaryElementDistribution {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponsePlanetsItem {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Essential dignity of this body in the sign it occupies: domicile (the sign it rules, its strongest placement), exaltation (honoured and amplified), detriment (opposite its rulership, where it struggles), fall (opposite its exaltation, where it is weakened), or peregrine (in none of its own dignity signs). Absent for the lunar nodes, Chiron and Black Moon Lilith, which rule no sign and therefore hold no dignity at all, so an absent field and peregrine are different answers. Derived by sign only, so triplicity, bounds and face are not considered. Always English, whatever the lang parameter says, so it stays safe to compare against in code. The four dignity signs behind it are published per body by GET /planet-meanings/{id}.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub dignity: Option<NatalChartResponsePlanetsItemDignity>,
    /// House placement (1-12) based on the selected house system.
    pub house: f64,
    /// Planet-in-sign-in-house interpretation. Narrative analysis of what this placement means in the natal chart.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<NatalChartResponsePlanetsItemInterpretation>,
    /// Whether the planet is in retrograde motion.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees.
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either.
    pub longitude: f64,
    /// Planet or point name (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, North Node, South Node, Chiron, Black Moon Lilith). Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected. Black Moon Lilith is always the mean lunar apogee, whatever nodeType says. POST /lilith returns the mean and the true (osculating) apogee side by side, each labelled by its variant.
    pub name: String,
    /// Planet or point name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign this planet occupies. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Daily motion in degrees per day. Negative values indicate retrograde.
    pub speed: f64,
}
/// Planet-in-sign-in-house interpretation. Narrative analysis of what this placement means in the natal chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponsePlanetsItemInterpretation {
    /// Multi-sentence detailed interpretation with personality insights.
    pub detailed: String,
    /// Key personality traits and themes for this placement.
    pub keywords: Vec<String>,
    /// One-sentence interpretation of this planet in its sign and house placement.
    pub summary: String,
}
string_enum! {
    /// Essential dignity of this body in the sign it occupies: domicile (the sign it rules, its strongest placement), exaltation (honoured and amplified), detriment (opposite its rulership, where it struggles), fall (opposite its exaltation, where it is weakened), or peregrine (in none of its own dignity signs). Absent for the lunar nodes, Chiron and Black Moon Lilith, which rule no sign and therefore hold no dignity at all, so an absent field and peregrine are different answers. Derived by sign only, so triplicity, bounds and face are not considered. Always English, whatever the lang parameter says, so it stays safe to compare against in code. The four dignity signs behind it are published per body by GET /planet-meanings/{id}.
    NatalChartResponsePlanetsItemDignity {
        Domicile = "domicile",
        Exaltation = "exaltation",
        Detriment = "detriment",
        Fall = "fall",
        Peregrine = "peregrine",
    }
}
/// One entry of `patterns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponsePatternsItem {
    /// Focal planet for Kite, T-Square, and Yod patterns. Receives the released energy of the configuration and is the recommended integration point.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub apex: Option<String>,
    /// True if the pattern is out-of-sign (one or more planets in a neighboring element or modality). Dissociate patterns are still valid but operate with weakened thematic coherence.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub dissociate: Option<bool>,
    /// Dominant element when the pattern is element-coherent (Grand Trine, Kite). Reported lowercase. Absent for patterns whose meaning does not pivot on element.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<NatalChartResponsePatternsItemElement>,
    /// Concise one-line interpretation naming the participating planets and theme. Localized to the requested language via the lang query parameter (defaults to English).
    pub interpretation: String,
    /// Stable template identifier used to render the interpretation. Useful for clients that wish to swap in a custom narrative template while preserving the structured variables.
    #[serde(rename = "interpretationKey")]
    pub interpretation_key: String,
    /// Variables that were interpolated into the interpretation template. Names already resolved to the requested language where appropriate.
    #[serde(rename = "interpretationVars")]
    pub interpretation_vars: NatalChartResponsePatternsItemInterpretationVars,
    /// Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
    pub kind: NatalChartResponsePatternsItemKind,
    /// Dominant modality for tension-based patterns (T-Square, Grand Cross). Cardinal initiates, Fixed sustains, Mutable adapts.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub modality: Option<NatalChartResponsePatternsItemModality>,
    /// Human-readable name of the configuration as used in astrological literature.
    pub name: String,
    /// Participating bodies in canonical order. For Kite, T-Square, and Yod the apex planet appears first.
    pub planets: Vec<String>,
    /// Tightness score (0-100) derived from the average orb tightness across all defining aspects. Higher means closer to exact and stronger thematic expression.
    pub tightness: f64,
}
string_enum! {
    /// Dominant modality for tension-based patterns (T-Square, Grand Cross). Cardinal initiates, Fixed sustains, Mutable adapts.
    NatalChartResponsePatternsItemModality {
        Cardinal = "cardinal",
        Fixed = "fixed",
        Mutable = "mutable",
    }
}
string_enum! {
    /// Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
    NatalChartResponsePatternsItemKind {
        GrandTrine = "GRAND_TRINE",
        Kite = "KITE",
        TSquare = "T_SQUARE",
        GrandCross = "GRAND_CROSS",
        Yod = "YOD",
        MysticRectangle = "MYSTIC_RECTANGLE",
        Stellium = "STELLIUM",
    }
}
/// Variables that were interpolated into the interpretation template. Names already resolved to the requested language where appropriate.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponsePatternsItemInterpretationVars {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, String>,
}
string_enum! {
    /// Dominant element when the pattern is element-coherent (Grand Trine, Kite). Reported lowercase. Absent for patterns whose meaning does not pivot on element.
    NatalChartResponsePatternsItemElement {
        Fire = "fire",
        Earth = "earth",
        Air = "air",
        Water = "water",
    }
}
/// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponsePartOfFortune {
    /// Degree within the Part of Fortune sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Part of Fortune (0-360).
    pub longitude: f64,
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    pub sect: NatalChartResponsePartOfFortuneSect,
    /// Zodiac sign holding the Part of Fortune.
    pub sign: String,
    /// Part of Fortune sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
string_enum! {
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    NatalChartResponsePartOfFortuneSect {
        Day = "day",
        Night = "night",
    }
}
/// Midheaven (MC). The highest point of the ecliptic at birth, representing career direction and public image.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseMidheaven {
    /// Degree within the Midheaven sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude of the Midheaven (0-360).
    pub longitude: f64,
    /// Zodiac sign on the Midheaven (MC). Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Midheaven sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseHousesItem {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp (0-360).
    pub longitude: f64,
    /// House number (1-12).
    pub number: f64,
    /// Zodiac sign on this house cusp. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name on this cusp in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Birth details echoed back from the request. Confirms the input used for this chart calculation.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseBirthDetails {
    /// Birth date used for this chart (YYYY-MM-DD).
    pub date: String,
    /// Birth latitude in decimal degrees.
    pub latitude: f64,
    /// Birth longitude in decimal degrees.
    pub longitude: f64,
    /// Birth time used for this chart (HH:MM:SS, 24-hour).
    pub time: String,
    /// Timezone offset from UTC in decimal hours.
    pub timezone: f64,
}
/// Aspect pattern analysis showing the balance of harmonious vs challenging energies in the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseAspectsInterpretation {
    /// Count of challenging aspects (square, opposition).
    pub challenging: f64,
    /// Whether the chart is predominantly harmonious, challenging, or balanced.
    pub dominant: String,
    /// Count of harmonious aspects (trine, sextile).
    pub harmonious: f64,
    /// Count of neutral aspects (conjunction).
    pub neutral: f64,
    /// Narrative summary of the overall aspect pattern in this chart.
    pub summary: String,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseAspectsItem {
    /// Exact angle of this aspect type in degrees.
    pub angle: f64,
    /// Narrative interpretation of this aspect for this chart. The reference description of the aspect TYPE is not repeated per row, use GET or POST /astrology/aspects for that card.
    #[serde(rename = "aspectInterpretation")]
    pub aspect_interpretation: NatalChartResponseAspectsItemAspectInterpretation,
    /// Aspect nature: harmonious, challenging, or neutral. Always English, whatever the lang parameter says, because it is an identifier to compare and style on. Read aspectInterpretation for the sentence a reader sees.
    pub interpretation: String,
    /// Whether the aspect is applying (growing stronger) or separating (fading).
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Distance from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair. Always English, whatever the lang parameter says. Use planet1Localized for anything a reader sees.
    pub planet1: String,
    /// First planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Second planet in the aspect pair. Always English, whatever the lang parameter says. Use planet2Localized for anything a reader sees.
    pub planet2: String,
    /// Second planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Aspect strength percentage (0-100) based on orb tightness.
    pub strength: f64,
    /// Aspect type (CONJUNCTION, OPPOSITION, TRINE, SQUARE, SEXTILE, etc.). Always English, whatever the lang parameter says. Use typeLocalized for anything a reader sees.
    pub r#type: String,
    /// Aspect type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
/// Narrative interpretation of this aspect for this chart. The reference description of the aspect TYPE is not repeated per row, use GET or POST /astrology/aspects for that card.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseAspectsItemAspectInterpretation {
    /// Themes this aspect activates between the two bodies. Translated in place, so they arrive in the requested language.
    pub keywords: Vec<String>,
    /// One-sentence read of THIS pair: which two bodies, how tight the aspect is, whether it is applying or separating, and how it is classified. Translated in place, so it arrives in the requested language.
    pub summary: String,
}
/// Ascendant (rising sign). The eastern horizon at birth, defining outward personality and physical appearance.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartResponseAscendant {
    /// Degree within the Ascendant sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude of the Ascendant (0-360).
    pub longitude: f64,
    /// Zodiac sign on the Ascendant (rising sign). Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Ascendant sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Request body of `generateNatalChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NatalChartRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// House system for dividing the chart into 12 houses. Placidus (default) is most popular in Western astrology and time-sensitive. Whole Sign assigns one sign per house (simpler, ancient). Equal houses divide chart into 30° segments from Ascendant. Koch emphasizes houses in high latitudes.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<NatalChartRequestHouseSystem>,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<NatalChartRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: NatalChartRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum NatalChartRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    NatalChartRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system for dividing the chart into 12 houses. Placidus (default) is most popular in Western astrology and time-sensitive. Whole Sign assigns one sign per house (simpler, ancient). Equal houses divide chart into 30° segments from Ascendant. Koch emphasizes houses in high latitudes.
    NatalChartRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Response body of `getNakshatra`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NakshatraResponse {
    /// Personality traits, behavioral tendencies, and life themes for natives born under this nakshatra.
    pub characteristics: String,
    /// Presiding deity of the nakshatra. Influences the spiritual qualities and mythology associated with natives.
    pub deity: String,
    /// Unique slug identifier for the nakshatra. Used in URL paths and cross-references.
    pub id: String,
    /// Ruling planet (nakshatra lord) used in Vimshottari dasha calculations. Determines the planetary period sequence.
    pub lord: String,
    /// Nakshatra name as used in Vedic astrology. One of 27 lunar mansions spanning 13 degrees 20 minutes each.
    pub name: String,
    /// Sequential number (1-27) of this nakshatra in the zodiac starting from 0 degrees Aries.
    pub number: f64,
    /// Sidereal longitude range this nakshatra occupies within its zodiac sign.
    pub range: String,
    /// Traditional Vedic remedies including mantras, gemstones, and rituals for this nakshatra.
    pub remedies: NakshatraResponseRemedies,
    /// Traditional symbol representing this nakshatra. Reflects its core nature and energy.
    pub symbol: String,
}
/// Traditional Vedic remedies including mantras, gemstones, and rituals for this nakshatra.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NakshatraResponseRemedies {
    /// Recommended gemstones aligned with the ruling planet of this nakshatra.
    pub gemstones: String,
    /// Recommended mantras for this nakshatra to enhance positive qualities.
    pub mantras: String,
    /// Spiritual practices and daily rituals beneficial for natives of this nakshatra.
    pub rituals: String,
}
/// Response body of `listNakshatras`.
pub type NakshatraListResponse = Vec<NakshatraListResponseItem>;
/// One form of \[`NakshatraListResponse`\].
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NakshatraListResponseItem {
    /// Personality traits, behavioral tendencies, and life themes for natives born under this nakshatra.
    pub characteristics: String,
    /// Presiding deity of the nakshatra. Influences the spiritual qualities and mythology associated with natives.
    pub deity: String,
    /// Unique slug identifier for the nakshatra. Used in URL paths and cross-references.
    pub id: String,
    /// Ruling planet (nakshatra lord) used in Vimshottari dasha calculations. Determines the planetary period sequence.
    pub lord: String,
    /// Nakshatra name as used in Vedic astrology. One of 27 lunar mansions spanning 13 degrees 20 minutes each.
    pub name: String,
    /// Sequential number (1-27) of this nakshatra in the zodiac starting from 0 degrees Aries.
    pub number: f64,
    /// Sidereal longitude range this nakshatra occupies within its zodiac sign.
    pub range: String,
    /// Traditional Vedic remedies including mantras, gemstones, and rituals for this nakshatra.
    pub remedies: NakshatraListResponseItemRemedies,
    /// Traditional symbol representing this nakshatra. Reflects its core nature and energy.
    pub symbol: String,
}
/// Traditional Vedic remedies including mantras, gemstones, and rituals for this nakshatra.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct NakshatraListResponseItemRemedies {
    /// Recommended gemstones aligned with the ruling planet of this nakshatra.
    pub gemstones: String,
    /// Recommended mantras for this nakshatra to enhance positive qualities.
    pub mantras: String,
    /// Spiritual practices and daily rituals beneficial for natives of this nakshatra.
    pub rituals: String,
}
/// Response body of `checkManglikDosha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ManglikResponse {
    /// Human-readable Manglik dosha analysis with Mars house placement
    pub description: String,
    /// Manglik dosha effects on marriage, personality, and relationships
    #[serde(skip_serializing_if = "Option::is_none")]
    pub effects: Option<ManglikResponseEffects>,
    /// Classical cancellation factors that reduce Manglik dosha severity (own sign, exaltation, benefic aspects)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub exceptions: Option<Vec<String>>,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: ManglikResponseFrame,
    /// Whether Manglik dosha (Kuja dosha) is present based on Mars placement from Lagna
    pub present: bool,
    /// Traditional Vedic remedies for Manglik dosha mitigation based on severity level
    #[serde(skip_serializing_if = "Option::is_none")]
    pub remedies: Option<Vec<String>>,
    /// Manglik dosha intensity, Mild (houses 2, 12), Moderate (houses 4, 7), Severe (houses 1, 8)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub severity: Option<ManglikResponseSeverity>,
}
string_enum! {
    /// Manglik dosha intensity, Mild (houses 2, 12), Moderate (houses 4, 7), Severe (houses 1, 8)
    ManglikResponseSeverity {
        Mild = "Mild",
        Moderate = "Moderate",
        Severe = "Severe",
    }
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ManglikResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Manglik dosha effects on marriage, personality, and relationships
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ManglikResponseEffects {
    /// Impact of Manglik dosha on marriage and marital harmony
    pub marriage: String,
    /// Influence on temperament and behavioral traits
    pub personality: String,
    /// Impact on interpersonal and spousal relationships
    pub relationships: String,
    /// Age-related intensity and Mars maturity effects
    pub timing: String,
}
/// Request body of `checkManglikDosha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ManglikRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<ManglikRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<ManglikRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ManglikRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    ManglikRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `lookupHexagram`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupHexagramParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<LookupHexagramParamsLang>,
    /// Six-digit binary pattern (0=yin/broken, 1=yang/solid) from bottom to top.
    pub lines: String,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    LookupHexagramParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `lookupAuspiciousDays`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponse {
    /// Echo of the activity searched for, folded to its canonical identifier.
    pub activity: String,
    /// Display label for the activity in the requested language.
    #[serde(rename = "activityLabel")]
    pub activity_label: String,
    /// Echo of the animal protected. Absent when none was sent, rather than null.
    #[serde(rename = "avoidAnimal", skip_serializing_if = "Option::is_none")]
    pub avoid_animal: Option<String>,
    /// Display name of the protected animal in the requested language, beside the avoidAnimal identifier. Absent when no animal was sent and absent when lang is en, so an English response is unchanged.
    #[serde(rename = "avoidAnimalLocalized", skip_serializing_if = "Option::is_none")]
    pub avoid_animal_localized: Option<String>,
    /// The favoured days, in date order.
    pub days: Vec<LookupAuspiciousDaysResponseDaysItem>,
    /// Number of days in the range, counting both ends.
    #[serde(rename = "daysSearched")]
    pub days_searched: f64,
    /// Echo of the last date of the range.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Echo of the first date of the range.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// Number of favoured days found. This is the count after the clash filter, not the number of days searched.
    pub total: f64,
}
/// One entry of `days`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponseDaysItem {
    /// Activity identifiers, always English kebab case so they stay safe to compare against in code. Use the /calendar/auspicious-days endpoint to search a date range for one of them.
    pub avoids: Vec<String>,
    /// The zodiac animal the day clashes with, which is the animal six branches away from the day branch. Anyone born in that animal year traditionally avoids the day for anything important.
    #[serde(rename = "clashAnimal")]
    pub clash_animal: String,
    /// Display name of the clashing animal in the requested language. Absent when lang is en, so an English response is unchanged.
    #[serde(rename = "clashAnimalLocalized", skip_serializing_if = "Option::is_none")]
    pub clash_animal_localized: Option<String>,
    /// The Gregorian date of the day, at the reference meridian.
    pub date: String,
    /// The `dayOfficer` field.
    #[serde(rename = "dayOfficer")]
    pub day_officer: LookupAuspiciousDaysResponseDaysItemDayOfficer,
    /// The `dayPillar` field.
    #[serde(rename = "dayPillar")]
    pub day_pillar: LookupAuspiciousDaysResponseDaysItemDayPillar,
    /// Activity identifiers, always English kebab case so they stay safe to compare against in code. Use the /calendar/auspicious-days endpoint to search a date range for one of them.
    pub favours: Vec<String>,
    /// The `lunar` field.
    pub lunar: LookupAuspiciousDaysResponseDaysItemLunar,
    /// The `mansion` field.
    pub mansion: LookupAuspiciousDaysResponseDaysItemMansion,
    /// Sexagenary month pillar of the day, and the pillar the day officer is counted from. Attributed by whole days like the year pillar, so the day a minor solar term falls on belongs to the new month even when the term arrives late in the evening. This is what an almanac prints, and it is not the same as the month pillar of a birth moment inside that day.
    #[serde(rename = "monthPillar")]
    pub month_pillar: LookupAuspiciousDaysResponseDaysItemMonthPillar,
    /// Sexagenary year pillar of the day. Attributed by whole days, so the day Li Chun falls on belongs to the new year for its whole length. A BaZi chart built from a birth TIME uses the term instant instead, so a birth in the hours before the term on that same day carries the previous year pillar.
    #[serde(rename = "yearPillar")]
    pub year_pillar: LookupAuspiciousDaysResponseDaysItemYearPillar,
}
/// Sexagenary year pillar of the day. Attributed by whole days, so the day Li Chun falls on belongs to the new year for its whole length. A BaZi chart built from a birth TIME uses the term instant instead, so a birth in the hours before the term on that same day carries the previous year pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponseDaysItemYearPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// Sexagenary month pillar of the day, and the pillar the day officer is counted from. Attributed by whole days like the year pillar, so the day a minor solar term falls on belongs to the new month even when the term arrives late in the evening. This is what an almanac prints, and it is not the same as the month pillar of a birth moment inside that day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponseDaysItemMonthPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// The `mansion` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponseDaysItemMansion {
    /// Animal emblem of the mansion, the third character of its full Chinese name. English and canonical, identical in every language, matching how clashAnimal behaves on the same response. The translation is in animalLocalized.
    pub animal: String,
    /// Animal emblem in the requested language. Absent when lang is en, and absent when a language has no entry, so a caller falls back to animal.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The mansion in Chinese. A data field, identical in every language.
    pub chinese: String,
    /// English display name of the mansion. Canonical, identical in every language. The translation is in nameLocalized. Note the mansion has no string id: number is the stable 1 to 28 key, because five of the 28 share a pinyin spelling.
    pub name: String,
    /// Display name of the mansion in the requested language. Absent when lang is en, and absent when a language has no entry for this mansion, so a caller falls back to name rather than rendering a blank.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Mansion number, 1 to 28, counted from the Horn. This is the identifier: three mansions share the pinyin wei and two share bi, so there is no unique pinyin key.
    pub number: f64,
    /// One of the four palaces, seven mansions each: azure-dragon, black-tortoise, white-tiger, vermilion-bird. Always English, so it stays safe to compare against in code.
    pub palace: String,
    /// Tone marked pinyin for the character.
    pub pinyin: String,
    /// The luminary the mansion belongs to, one of Wood Metal Earth Sun Moon Fire Water. Twenty eight mansions over seven luminaries is four weeks exactly, which is why a mansion always falls on the same weekday.
    pub planet: String,
}
/// The `lunar` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponseDaysItemLunar {
    /// The Gregorian date this lunar day covers, evaluated at the reference meridian.
    pub date: String,
    /// Day of the lunar month, 1 to 30. A lunar month never has 31 days.
    pub day: f64,
    /// True when this is the leap repetition of the month number rather than the first pass through it.
    #[serde(rename = "isLeapMonth")]
    pub is_leap_month: bool,
    /// Lunar month, 1 to 12. A leap month repeats the number of the month it follows.
    pub month: f64,
    /// Days in this lunar month, 29 for a short month or 30 for a long one. It is the interval between two new moons, so it varies month to month.
    #[serde(rename = "monthLength")]
    pub month_length: f64,
    /// Lunisolar year. It advances on the first day of month 1, not at Li Chun, so it can lag the Gregorian year by up to seven weeks.
    pub year: f64,
}
/// The `dayPillar` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponseDaysItemDayPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// The `dayOfficer` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysResponseDaysItemDayOfficer {
    /// The officer in Chinese. A data field, identical in every language.
    pub chinese: String,
    /// Day officer identifier, one of jian chu man ping ding zhi po wei cheng shou kai bi. Always English pinyin, so it stays safe to compare against in code.
    pub id: String,
    /// What the officer means, in the terms a date choice uses it in.
    pub meaning: String,
    /// English display name of the officer. Canonical, identical in every language, so it stays safe to compare against in code. The translation is in nameLocalized.
    pub name: String,
    /// Display name of the officer in the requested language. Absent when lang is en, so an English response is unchanged.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone marked pinyin for the character.
    pub pinyin: String,
    /// Whether the officer falls on the auspicious or the inauspicious side of the coarse yellow and black split. Read favours and avoids for what the day actually rules on.
    pub quality: String,
}
/// Request body of `lookupAuspiciousDays`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysRequest {
    /// Activity to choose a date for. One of wedding, travel, moving-house, opening-business, signing-contracts, construction, groundbreaking, burial, medical-treatment, praying. Matching folds case and punctuation, so moving-house and MOVING_HOUSE both resolve.
    pub activity: LookupAuspiciousDaysRequestActivity,
    /// Zodiac animal to protect. Days that clash with this animal are dropped from the results, which is how a date is chosen around the people attending rather than in the abstract. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    #[serde(rename = "avoidAnimal", skip_serializing_if = "Option::is_none")]
    pub avoid_animal: Option<LookupAuspiciousDaysRequestAvoidAnimal>,
    /// Last date of the range to search, inclusive. The range may not exceed 93 days.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// First date of the range to search, inclusive.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
string_enum! {
    /// Zodiac animal to protect. Days that clash with this animal are dropped from the results, which is how a date is chosen around the people attending rather than in the abstract. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    LookupAuspiciousDaysRequestAvoidAnimal {
        Rat = "rat",
        Ox = "ox",
        Tiger = "tiger",
        Rabbit = "rabbit",
        Dragon = "dragon",
        Snake = "snake",
        Horse = "horse",
        Goat = "goat",
        Monkey = "monkey",
        Rooster = "rooster",
        Dog = "dog",
        Pig = "pig",
    }
}
string_enum! {
    /// Activity to choose a date for. One of wedding, travel, moving-house, opening-business, signing-contracts, construction, groundbreaking, burial, medical-treatment, praying. Matching folds case and punctuation, so moving-house and MOVING_HOUSE both resolve.
    LookupAuspiciousDaysRequestActivity {
        Wedding = "wedding",
        Travel = "travel",
        MovingHouse = "moving-house",
        OpeningBusiness = "opening-business",
        SigningContracts = "signing-contracts",
        Construction = "construction",
        Groundbreaking = "groundbreaking",
        Burial = "burial",
        MedicalTreatment = "medical-treatment",
        Praying = "praying",
    }
}
/// Path and query parameters of `lookupAuspiciousDays`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct LookupAuspiciousDaysParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<LookupAuspiciousDaysParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    LookupAuspiciousDaysParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateLocalSpace`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LocalSpaceResponse {
    /// The birthplace and birth instant the map was computed for.
    #[serde(rename = "birthDetails")]
    pub birth_details: LocalSpaceResponseBirthDetails,
    /// Every requested body with its horizon direction, altitude, compass direction, great-circle line, and interpretation.
    pub bodies: Vec<LocalSpaceResponseBodiesItem>,
    /// One-line overview of the local space map.
    pub summary: String,
}
/// One entry of `bodies`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LocalSpaceResponseBodiesItem {
    /// True when the body is above the local horizon (altitude greater than 0) at the birth moment.
    #[serde(rename = "aboveHorizon")]
    pub above_horizon: bool,
    /// Angular height of the body above (positive) or below (negative) the local horizon at birth, in degrees (-90 to 90).
    pub altitude: f64,
    /// Compass bearing of the body as seen from the birthplace, in degrees clockwise from true north (0 = north, 90 = east, 180 = south, 270 = west). This is the direction the local space line points.
    pub azimuth: f64,
    /// Nearest 16-point compass abbreviation for the azimuth (N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW).
    #[serde(rename = "compassDirection")]
    pub compass_direction: String,
    /// Plain-language reading of what travelling or facing along this body line tends to emphasize. Localized when a translation exists.
    pub interpretation: String,
    /// The great-circle directional line for this body, ready to plot on a map.
    pub line: LocalSpaceResponseBodiesItemLine,
    /// Body name (Sun, Moon, Mercury through Pluto, plus North Node, Chiron, or Black Moon Lilith when requested). Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Unicode astronomical symbol for this body.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
}
/// The great-circle directional line for this body, ready to plot on a map.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LocalSpaceResponseBodiesItemLine {
    /// Ordered latitude and longitude waypoints tracing the great-circle local space line from the birthplace along the body azimuth. The first point is the birthplace itself.
    pub points: Vec<LocalSpaceResponseBodiesItemLinePointsItem>,
}
/// One entry of `points`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LocalSpaceResponseBodiesItemLinePointsItem {
    /// Waypoint latitude in decimal degrees.
    pub latitude: f64,
    /// Waypoint longitude in decimal degrees.
    pub longitude: f64,
}
/// The birthplace and birth instant the map was computed for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LocalSpaceResponseBirthDetails {
    /// Birth date echoed from the request.
    pub date: String,
    /// Birthplace latitude, the origin of every local space line.
    pub latitude: f64,
    /// Birthplace longitude, the origin of every local space line.
    pub longitude: f64,
    /// Birth time echoed from the request.
    pub time: String,
    /// Timezone offset from UTC applied to the birth instant.
    pub timezone: f64,
}
/// All 12 tropical zodiac signs with names, symbols, elements, date ranges, and descriptions.
pub type ListZodiacSignsResponse = Vec<ListZodiacSignsResponseItem>;
/// One form of \[`ListZodiacSignsResponse`\].
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListZodiacSignsResponseItem {
    /// Tropical zodiac date range for this sign.
    pub dates: ListZodiacSignsResponseItemDates,
    /// Brief overview of this zodiac sign personality and themes.
    pub description: String,
    /// Elemental classification: fire, earth, air, or water. Always one of these four English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use elementLocalized for anything a reader sees.
    pub element: ListZodiacSignsResponseItemElement,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Lowercase sign identifier (e.g., aries, taurus, gemini).
    pub id: String,
    /// Display name of the zodiac sign.
    pub name: String,
    /// Unicode zodiac symbol for this sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
}
string_enum! {
    /// Elemental classification: fire, earth, air, or water. Always one of these four English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use elementLocalized for anything a reader sees.
    ListZodiacSignsResponseItemElement {
        Fire = "fire",
        Earth = "earth",
        Air = "air",
        Water = "water",
    }
}
/// Tropical zodiac date range for this sign.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListZodiacSignsResponseItemDates {
    /// End date of this sign in the tropical zodiac.
    pub end: String,
    /// Start date of this sign in the tropical zodiac.
    pub start: String,
}
/// Path and query parameters of `listZodiacSigns`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListZodiacSignsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListZodiacSignsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListZodiacSignsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listZodiacAnimals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListZodiacAnimalsResponse {
    /// Animals for the current page, in cycle order. Use /zodiac/animals/{id} for the full record with strengths, weaknesses, element variants and relationship partners.
    pub animals: Vec<ListZodiacAnimalsResponseAnimalsItem>,
    /// Maximum items returned for this page.
    pub limit: f64,
    /// Number of items skipped before this page.
    pub offset: f64,
    /// Total animals in the cycle. Always 12; the zodiac is a closed set.
    pub total: f64,
}
/// One entry of `animals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListZodiacAnimalsResponseAnimalsItem {
    /// Earthly Branch this animal names, as its pinyin identifier. The twelve branches are zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai, and they run in the same order as the animals. Every animal element, polarity and double-hour is a property of this branch.
    pub branch: String,
    /// Traditional hanzi character for the animal itself, not for its Earthly Branch. Data rather than a translation, so it is identical under every lang.
    pub chinese: String,
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the animal in English. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked Hanyu Pinyin for the animal name. Data rather than a translation, so it is identical under every lang.
    pub pinyin: String,
    /// Yin or yang polarity of the branch. The twelve branches alternate, starting yang at zi, so the six odd-numbered animals are yang and the six even-numbered are yin.
    pub polarity: String,
    /// Short trait keywords for the sign, lowercase in English. Built for tag clouds, sign cards and compatibility widgets that need a glanceable character sketch rather than a paragraph.
    pub traits: Vec<String>,
}
/// Path and query parameters of `listZodiacAnimals`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListZodiacAnimalsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListZodiacAnimalsParamsLang>,
    /// Maximum items to return per page. Range: 1-12, default 12.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListZodiacAnimalsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listYogas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListYogasResponse {
    /// Number of yogas in this response, which is the filtered count when `family` is supplied and the full catalog size otherwise. Includes Raj Yogas, Dhan Yogas, Pancha Mahapurusha Yogas, Nabhasa Yogas, and more.
    pub total: f64,
    /// Array of planetary yogas with basic identifiers, narrowed by `family` when that filter is supplied. Use GET /yoga/{id} for formation rules, effects, and quality classification.
    pub yogas: Vec<ListYogasResponseYogasItem>,
}
/// One entry of `yogas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListYogasResponseYogasItem {
    /// Nabhasa family, present only on the 32 Nabhasa distribution yogas and absent on every other catalog row. Never translated, so it groups identically under any lang.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub family: Option<ListYogasResponseYogasItemFamily>,
    /// Unique yoga identifier in lowercase kebab-case. Use this to fetch full details via GET /yoga/{id}.
    pub id: String,
    /// Traditional Sanskrit name of the planetary yoga combination.
    pub name: String,
}
string_enum! {
    /// Nabhasa family, present only on the 32 Nabhasa distribution yogas and absent on every other catalog row. Never translated, so it groups identically under any lang.
    ListYogasResponseYogasItemFamily {
        Classical = "classical",
        Asraya = "asraya",
        Dala = "dala",
        Akriti = "akriti",
        Sankhya = "sankhya",
    }
}
/// Path and query parameters of `listYogas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListYogasParams {
    /// Filter the catalog to one Nabhasa family: asraya (3), dala (2), akriti (20) or sankhya (7). Omit for the full catalog. `classical` is accepted but matches nothing here, because it is a detection-verdict value for single-combination yogas rather than a catalog grouping.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub family: Option<ListYogasParamsFamily>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListYogasParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListYogasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Filter the catalog to one Nabhasa family: asraya (3), dala (2), akriti (20) or sankhya (7). Omit for the full catalog. `classical` is accepted but matches nothing here, because it is a detection-verdict value for single-combination yogas rather than a catalog grouping.
    ListYogasParamsFamily {
        Classical = "classical",
        Asraya = "asraya",
        Dala = "dala",
        Akriti = "akriti",
        Sankhya = "sankhya",
    }
}
/// Response body of `listTrigrams`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListTrigramsResponse {
    /// Total number of I-Ching trigrams (always 8).
    pub total: f64,
    /// All 8 trigrams (bagua) with basic details.
    pub trigrams: Vec<BasicTrigram>,
}
/// One entry of `trigrams`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BasicTrigram {
    /// Core attribute/quality
    pub attribute: String,
    /// Binary representation (1=Yang solid, 0=Yin broken)
    pub binary: String,
    /// Chinese name
    pub chinese: String,
    /// English name
    pub english: String,
    /// Trigram number (1-8)
    pub number: f64,
    /// Pinyin romanization
    pub pinyin: String,
    /// Unicode trigram symbol
    pub symbol: String,
}
/// Path and query parameters of `listTrigrams`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListTrigramsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListTrigramsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListTrigramsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listTrecenas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListTrecenasResponse {
    /// Maximum items returned for this page.
    pub limit: f64,
    /// Number of items skipped before this page.
    pub offset: f64,
    /// Total trecenas in the round. Always 20, because 260 divided by 13 is exactly 20.
    pub total: f64,
    /// Trecenas for the current page, in order from the one that opens on 1 Imix.
    pub trecenas: Vec<ListTrecenasResponseTrecenasItem>,
}
/// One entry of `trecenas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListTrecenasResponseTrecenasItem {
    /// Days in the period. Always 13, which is what the word trecena means.
    pub length: f64,
    /// Which of the twenty thirteen day periods this is, 1 to 20. Trecena 1 opens on 1 Imix and the openers step thirteen signs at a time from there.
    pub number: f64,
    /// The composed reading of the period, built from the sign it opens on. Composed rather than stored, so it can never drift away from the day sign it is drawn from.
    pub reading: String,
    /// Machine identifier of the day sign the period opens on, which the tradition reads as colouring all thirteen of its days.
    #[serde(rename = "rulingSign")]
    pub ruling_sign: String,
    /// Kʼicheʼ name of the same sign, the vocabulary a highland reading uses.
    #[serde(rename = "rulingSignKiche")]
    pub ruling_sign_kiche: String,
    /// Display name of the sign the period opens on. A proper noun carried as data.
    #[serde(rename = "rulingSignName")]
    pub ruling_sign_name: String,
}
/// Path and query parameters of `listTrecenas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListTrecenasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListTrecenasParamsLang>,
    /// Maximum items to return per page. Range: 1-20, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListTrecenasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listSolarTerms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListSolarTermsResponse {
    /// Decimal UTC offset of the reference meridian the local fields are given at. Fixed at 8 for the Chinese calendar.
    #[serde(rename = "referenceOffset")]
    pub reference_offset: f64,
    /// The `terms` field.
    pub terms: Vec<ListSolarTermsResponseTermsItem>,
    /// Number of terms returned, which is always 24.
    pub total: f64,
    /// Echo of the solar year requested.
    pub year: f64,
}
/// One entry of `terms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListSolarTermsResponseTermsItem {
    /// The term in Chinese. A data field, identical in every language.
    pub chinese: String,
    /// Solar term identifier in kebab case pinyin. Always English pinyin, whatever the lang parameter says, because the English names are not standardised and would not be safe to compare against.
    pub id: String,
    /// The instant the sun reaches the longitude, in UTC.
    #[serde(rename = "instantUtc")]
    pub instant_utc: String,
    /// Calendar date of the instant at the reference meridian. This is the date printed in an almanac.
    #[serde(rename = "localDate")]
    pub local_date: String,
    /// Time of day of the instant at the reference meridian.
    #[serde(rename = "localTime")]
    pub local_time: String,
    /// Apparent solar longitude in degrees that defines the term. A multiple of 15, and the only thing about a term that is not a convention.
    pub longitude: f64,
    /// Display name of the term. Several English renderings are in circulation, so treat this as a label and the id as the value.
    pub name: String,
    /// Tone marked pinyin for the characters.
    pub pinyin: String,
    /// Either minor or major. The month pillar changes at the twelve MINOR terms, and a lunar month containing no MAJOR term is the leap month.
    pub r#type: String,
}
/// Path and query parameters of `listSolarTerms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListSolarTermsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListSolarTermsParamsLang>,
    /// Solar year, 1900 to 2100. The year opens at Li Chun rather than on 1 January, so its last two terms fall in the following January.
    pub year: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListSolarTermsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listShemNames`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListShemNamesResponse {
    /// How many rows this page carries at most.
    pub limit: f64,
    /// Echo of the longitude looked up. Absent when the whole list was requested.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// The `names` field.
    pub names: Vec<ListShemNamesResponseNamesItem>,
    /// How many rows were skipped before this page.
    pub offset: f64,
    /// Number of names matching the request before paging, which is 72 for the list and 1 for a longitude lookup.
    pub total: f64,
}
/// One entry of `names`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListShemNamesResponseNamesItem {
    /// Last degree of the arc, EXCLUSIVE. Seventy two arcs of five degrees tile the circle exactly, which only works if the upper bound is exclusive.
    #[serde(rename = "arcEnd")]
    pub arc_end: f64,
    /// First degree of the ecliptic arc this name governs, measured from 0 Aries. Inclusive.
    #[serde(rename = "arcStart")]
    pub arc_start: f64,
    /// The angelic choir this name belongs to under the published Renaissance table. Nine choirs of exactly eight names each.
    pub choir: String,
    /// Where the arc opens inside its sign, 0 to 25 in steps of five.
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// The three letters read out of the verses, with any word final form written as its base letter, which is how every published list prints them.
    pub letters: String,
    /// The three letters exactly as they stand in the verses. Eighteen of the seventy two pick up a word final form because the source letter falls at a word end, and keeping this beside the normalized form is what makes the rule auditable.
    #[serde(rename = "lettersAsWritten")]
    pub letters_as_written: String,
    /// The suffixed name in Hebrew. Data, identical in every language.
    pub name: String,
    /// Index of the name, 1 to 72. The index is the identifier here, because the Latin spellings differ between published tables while the index never does.
    pub number: f64,
    /// Present only on the rows where a named published list differs from the derivation. Recorded rather than silently corrected, because a reader comparing two sources deserves to know which one moved. Absent on every other row, so a caller can branch on presence.
    #[serde(rename = "publishedDisagreement", skip_serializing_if = "Option::is_none")]
    pub published_disagreement: Option<
        ListShemNamesResponseNamesItemPublishedDisagreement,
    >,
    /// Latin transcription of the Hebrew, from the one mechanical letter map. A label for reading the string back, and NOT the spelling the published tables print, which is in traditionalName.
    pub romanization: String,
    /// Which sign the arc falls in. Always English lowercase, so it stays safe to compare against in code. Six names fall in each sign.
    pub sign: String,
    /// The divine name suffix added to make the triplet pronounceable. Forty of the seventy two take one and thirty two take the other.
    pub suffix: String,
    /// The Latin spelling the published tables print. This is the search term a reader knows the name by. Several rows have two attested spellings across tables and the one used here is stated on the methodology page.
    #[serde(rename = "traditionalName")]
    pub traditional_name: String,
}
/// Present only on the rows where a named published list differs from the derivation. Recorded rather than silently corrected, because a reader comparing two sources deserves to know which one moved. Absent on every other row, so a caller can branch on presence.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListShemNamesResponseNamesItemPublishedDisagreement {
    /// Which published list prints something different on this row.
    pub list: String,
    /// What that list prints, so a caller matching against it can see why.
    pub prints: String,
}
/// Path and query parameters of `listShemNames`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListShemNamesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListShemNamesParamsLang>,
    /// Maximum items to return per page. Range: 1-72, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Ecliptic longitude in degrees, 0 inclusive to 360 exclusive, measured from 0 Aries. Returns the single name governing that degree instead of the list. 360 is rejected because it is the same point as 0 and the arcs are half open at the top.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListShemNamesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `listRashis`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListRashisParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListRashisParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListRashisParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listRasas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListRasasResponse {
    /// Maximum tastes returned in this page.
    pub limit: f64,
    /// The same eighteen cells indexed by dosha rather than by taste, keyed vata, pitta and kapha. Derived from the rows above rather than restated, so the two views cannot disagree.
    pub matrix: ListRasasResponseMatrix,
    /// Scope of the response.
    pub meta: ListRasasResponseMeta,
    /// Number of tastes skipped before this page.
    pub offset: f64,
    /// The tastes for this page, in the order the root verse names them.
    pub rasas: Vec<ListRasasResponseRasasItem>,
    /// Every work behind this response, once each.
    pub sources: Vec<ListRasasResponseSourcesItem>,
    /// The six in the order the verse names them, which the verse then says is the order in which they give strength, most first. The order is a claim rather than a presentation choice, so it is published separately from the page above.
    #[serde(rename = "strengthOrder")]
    pub strength_order: Vec<String>,
    /// Total number of tastes, which is always six.
    pub total: f64,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListRasasResponseSourcesItem {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// One of the six tastes.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListRasasResponseRasasItem {
    /// The doshas this taste lowers, as Sanskrit identifiers. Each taste lowers exactly three across the three doshas and raises the others, which is the structure that makes the matrix complete.
    pub decreases: Vec<String>,
    /// The same name in Devanagari. Data, identical in every language.
    pub devanagari: String,
    /// The mahabhutas the taste arises from. Single-sourced, and from an edition that is not public domain, so the reference ships and the wording does not. That edition gives the sweet taste ONE element where material in general circulation gives it a pair.
    pub elements: Vec<String>,
    /// The taste in the requested language. This is the gloss and it does translate.
    pub english: String,
    /// The taste as a Sanskrit identifier. Never translated, so it stays safe to compare against and to key a lookup on. The six are madhura, amla, lavana, tikta, katu and kashaya.
    pub id: String,
    /// The doshas this taste raises, as Sanskrit identifiers.
    pub increases: Vec<String>,
    /// The same name in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// The form the root verse itself uses, where it differs from the identifier. The verse spells the pungent taste one way and the rest of the literature spells it another, and both are carried so a reader checking the Sanskrit does not conclude a row is missing.
    #[serde(rename = "textForm")]
    pub text_form: String,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListRasasResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// The same eighteen cells indexed by dosha rather than by taste, keyed vata, pitta and kapha. Derived from the rows above rather than restated, so the two views cannot disagree.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListRasasResponseMatrix {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        ListRasasResponseMatrixAdditionalProperty,
    >,
}
/// What a caller finds under any dosha key: the three tastes that lower it and the three that raise it.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListRasasResponseMatrixAdditionalProperty {
    /// The three tastes that lower this dosha.
    #[serde(rename = "decreasedBy")]
    pub decreased_by: Vec<String>,
    /// The three tastes that raise it.
    #[serde(rename = "increasedBy")]
    pub increased_by: Vec<String>,
}
/// Path and query parameters of `listRasas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListRasasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListRasasParamsLang>,
    /// Maximum items to return per page. Range: 1-6, default 6.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListRasasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// All 14 astrological bodies with names, symbols, taglines, categories, and brief descriptions.
pub type ListPlanetMeaningsResponse = Vec<ListPlanetMeaningsResponseItem>;
/// One form of \[`ListPlanetMeaningsResponse`\].
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListPlanetMeaningsResponseItem {
    /// Planet classification: personal (Sun-Mars), social (Jupiter-Saturn), or generational (Uranus-Pluto).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub category: Option<String>,
    /// Brief overview of the planet and its astrological significance.
    pub description: String,
    /// Lowercase planet identifier (e.g., sun, moon, mercury).
    pub id: String,
    /// Display name of the planet.
    pub name: String,
    /// Zodiac sign this planet rules. The sign where the planet operates most naturally. Absent for the lunar nodes, Chiron, and Black Moon Lilith.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub rulership: Option<String>,
    /// Unicode astronomical symbol for this planet.
    pub symbol: String,
    /// Short tagline summarizing this planet in astrology.
    pub tagline: String,
}
/// Path and query parameters of `listPlanetMeanings`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListPlanetMeaningsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListPlanetMeaningsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListPlanetMeaningsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listNinePeriods`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListNinePeriodsResponse {
    /// The period in force on that date. Resolved at Li Chun, so a date in January belongs to the previous solar year and can fall in the previous period. A date is read at the start of its day in the Chinese calendar frame (UTC+8) and Li Chun falls part-way through its own day, so the date a period opens on still reads as the previous period, the same reading the Kua route gives a birth date.
    #[serde(rename = "currentPeriod")]
    pub current_period: f64,
    /// Last solar year of the recorded cycle. The cycle then repeats, so 2044 opens Period 1 again.
    #[serde(rename = "cycleEndYear")]
    pub cycle_end_year: f64,
    /// First solar year of the recorded 180 year cycle.
    #[serde(rename = "cycleStartYear")]
    pub cycle_start_year: f64,
    /// The date the current period was resolved for. Echoes the date requested, or the current UTC date when it was omitted.
    pub date: String,
    /// All nine periods of the 180 year cycle in order, each with its ruling star, element, palace and exact opening date.
    pub periods: Vec<ListNinePeriodsResponsePeriodsItem>,
    /// Number of periods in the cycle. Always nine.
    pub total: f64,
}
/// One entry of `periods`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListNinePeriodsResponsePeriodsItem {
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub base: f64,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Last solar year of the period. The next period opens at Li Chun of the year after.
    #[serde(rename = "endYear")]
    pub end_year: f64,
    /// Which sixty year era the period belongs to: upper, middle or lower, three periods each. Always English, safe to compare against.
    pub era: String,
    /// Display name of the era.
    #[serde(rename = "eraName")]
    pub era_name: String,
    /// Period number, 1 to 9. A building takes the period it was completed in and keeps that period plate for its whole life, so this is the first input to every natal chart.
    pub number: f64,
    /// Palace the ruling star owns on the Lo Shu base plate. Always English, safe to compare against.
    pub palace: String,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    #[serde(rename = "rulingStar")]
    pub ruling_star: f64,
    /// Display name of the ruling star. Always English, whatever the lang parameter says. Use rulingStarNameLocalized for anything a reader sees.
    #[serde(rename = "rulingStarName")]
    pub ruling_star_name: String,
    /// Ruling star name in the requested language, for display only. Present only when lang is set to a language other than English.
    #[serde(rename = "rulingStarNameLocalized", skip_serializing_if = "Option::is_none")]
    pub ruling_star_name_localized: Option<String>,
    /// Exact date the period opened, computed astronomically. Li Chun is commonly quoted as 4 February and falls on the 3rd or the 5th in roughly one year in four, which is what decides whether a building finished in early February belongs to this period or the last.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// First solar year of the period. The period opens at Li Chun of this year, in early February, not on 1 January.
    #[serde(rename = "startYear")]
    pub start_year: f64,
    /// Trigram of the ruling star palace. Absent for Period 5, whose star owns the centre and has no trigram.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub trigram: Option<ListNinePeriodsResponsePeriodsItemTrigram>,
}
/// Trigram of the ruling star palace. Absent for Period 5, whose star owns the centre and has no trigram.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListNinePeriodsResponsePeriodsItemTrigram {
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// English name of the trigram, byte identical to the I-Ching catalogue.
    pub english: String,
    /// Trigram number, the same identifier the I-Ching trigram endpoints use.
    pub number: f64,
}
/// Path and query parameters of `listNinePeriods`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListNinePeriodsParams {
    /// Date to resolve the current period for, in YYYY-MM-DD format. Defaults to today in UTC. Useful for asking which period a building was completed in. A date landing exactly on the Li Chun day a period opens is placed in the outgoing period.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListNinePeriodsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListNinePeriodsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `listNakshatras`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListNakshatrasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListNakshatrasParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListNakshatrasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listMayanDaySigns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListMayanDaySignsResponse {
    /// The conventions this listing was served under. Only the direction scheme applies here, because it is the only field on a catalogue row that a school split moves.
    pub conventions: ListMayanDaySignsResponseConventions,
    /// Day signs for the current page, in sequence order. Use /mayan/day-signs/{id} for the full record with the composed reading, strengths, challenges and guidance.
    #[serde(rename = "daySigns")]
    pub day_signs: Vec<ListMayanDaySignsResponseDaySignsItem>,
    /// Maximum items returned for this page.
    pub limit: f64,
    /// Number of items skipped before this page.
    pub offset: f64,
    /// Total signs in the cycle. Always 20; the Tzolkin sign set is closed.
    pub total: f64,
}
/// One entry of `daySigns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListMayanDaySignsResponseDaySignsItem {
    /// Colour paired with the direction: red for east, white for north, black for west, yellow for south. Always English so it stays safe to key a palette off.
    pub color: String,
    /// World direction this sign belongs to under the requested scheme: east, north, west or south. The twenty signs divide evenly into four groups of five, so exactly five signs share each quarter.
    pub direction: String,
    /// The short day-name association, translated in place because it is a common noun rather than a name. Two published readings of the twenty signs disagree on six of them, so the alternate reading ships beside this one rather than one being resolved away.
    pub gloss: String,
    /// The glyph-table reading of the same sign, translated in place. On the six signs where the two readings disagree this is the one the composed prose follows, so a reading that seems to ignore the gloss above is doing so deliberately.
    #[serde(rename = "glossAlternate")]
    pub gloss_alternate: String,
    /// Machine identifier of the day sign, always lowercase ASCII Yucatec whatever the lang parameter says, so it stays safe to compare against in code and to use as a path parameter. The twenty ids run imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    pub id: String,
    /// The sixteenth century Yucatec spelling of the same sign, which is the form most printed reference tables and older books use.
    #[serde(rename = "nameClassic")]
    pub name_classic: String,
    /// The Kʼicheʼ name from the living highland daykeeping tradition, which is the vocabulary a nawal reading in Guatemala uses. A parallel naming tradition rather than a translation, so it is identical under every lang.
    #[serde(rename = "nameKiche")]
    pub name_kiche: String,
    /// Display name in the standard Maya orthography, where an ejective is written with a modifier letter rather than a typewriter quote. A proper noun carried as data, identical under every lang.
    #[serde(rename = "nameYucatec")]
    pub name_yucatec: String,
    /// Place in the twenty sign sequence, 1 to 20, counting Imix as 1. The sequence never varies and is what every other cycle in the domain is indexed against.
    pub position: f64,
}
/// The conventions this listing was served under. Only the direction scheme applies here, because it is the only field on a catalogue row that a school split moves.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListMayanDaySignsResponseConventions {
    /// The direction reading actually applied. The two readings sit one quarter turn apart, so a direction stored without this value is ambiguous.
    #[serde(rename = "directionScheme")]
    pub direction_scheme: String,
}
/// Path and query parameters of `listMayanDaySigns`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListMayanDaySignsParams {
    /// Which reading of the world direction and colour to serve for a day sign. The two published assignments differ by exactly one quarter turn on all twenty signs, so neither is a rounding of the other and a silent pick would be a school choice. "madrid-codex" is the codex reading and the default; "landa" is the sixteenth century assignment recorded beside it.
    #[serde(rename = "directionScheme", skip_serializing_if = "Option::is_none")]
    pub direction_scheme: Option<ListMayanDaySignsParamsDirectionScheme>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListMayanDaySignsParamsLang>,
    /// Maximum items to return per page. Range: 1-20, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListMayanDaySignsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which reading of the world direction and colour to serve for a day sign. The two published assignments differ by exactly one quarter turn on all twenty signs, so neither is a rounding of the other and a silent pick would be a school choice. "madrid-codex" is the codex reading and the default; "landa" is the sixteenth century assignment recorded beside it.
    ListMayanDaySignsParamsDirectionScheme {
        MadridCodex = "madrid-codex",
        Landa = "landa",
    }
}
/// Response body of `listLanguages`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListLanguagesResponse {
    /// All language codes accepted by the `lang` query parameter.
    pub languages: Vec<ListLanguagesResponseLanguagesItem>,
}
/// One entry of `languages`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListLanguagesResponseLanguagesItem {
    /// ISO 639-1 language code. Pass this value as the `lang` query parameter.
    pub code: ListLanguagesResponseLanguagesItemCode,
    /// Language name in English.
    pub name: String,
    /// Language name written in the language itself.
    #[serde(rename = "nativeName")]
    pub native_name: String,
}
string_enum! {
    /// ISO 639-1 language code. Pass this value as the `lang` query parameter.
    ListLanguagesResponseLanguagesItemCode {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listHexagrams`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHexagramsResponse {
    /// Hexagrams for the current page. Use /hexagrams/{number} for full details.
    pub hexagrams: Vec<BasicHexagram>,
    /// Page size used for this response.
    pub limit: f64,
    /// Number of hexagrams skipped. Use with limit for pagination.
    pub offset: f64,
    /// Total number of I-Ching hexagrams (always 64).
    pub total: f64,
}
/// One entry of `hexagrams`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BasicHexagram {
    /// Original Chinese name of the hexagram.
    pub chinese: String,
    /// English translation of the hexagram name.
    pub english: String,
    /// Lower trigram (lines 1-3). Combines with upper trigram to form the hexagram.
    #[serde(rename = "lowerTrigram")]
    pub lower_trigram: String,
    /// Hexagram number in King Wen sequence (1-64).
    pub number: f64,
    /// Pinyin romanization of the Chinese name with tone marks.
    pub pinyin: String,
    /// Unicode hexagram symbol for display.
    pub symbol: String,
    /// Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
    #[serde(rename = "upperTrigram")]
    pub upper_trigram: String,
}
/// Path and query parameters of `listHexagrams`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListHexagramsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListHexagramsParamsLang>,
    /// Maximum items to return per page. Range: 1-64, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListHexagramsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listHebrewLetters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHebrewLettersResponse {
    /// Three, seven and twelve. Every recension agrees on the split even where it disagrees on what goes where.
    #[serde(rename = "classCounts")]
    pub class_counts: ListHebrewLettersResponseClassCounts,
    /// Echo of the reading the attributions were taken from.
    #[serde(rename = "letterAttribution")]
    pub letter_attribution: String,
    /// The `letters` field.
    pub letters: Vec<ListHebrewLettersResponseLettersItem>,
    /// Number of letters returned, which is always 22.
    pub total: f64,
}
/// One entry of `letters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHebrewLettersResponseLettersItem {
    /// The `attribution` field.
    pub attribution: ListHebrewLettersResponseLettersItemAttribution,
    /// What the class means, in the requested language.
    #[serde(rename = "classReading")]
    pub class_reading: String,
    /// The word final glyph, or null for the seventeen letters that have none. Five letters change shape at the end of a word and score differently there under one reading of mispar gadol.
    pub r#final: Option<String>,
    /// Value in final position under the finals-500-900 reading of mispar gadol, or null where the letter has no final form.
    #[serde(rename = "finalValue")]
    pub final_value: Option<f64>,
    /// Machine identifier of the letter, always English romanization so it stays safe to compare against in code.
    pub id: String,
    /// The base glyph. Data, identical in every language.
    pub letter: String,
    /// Sefer Yetzirah class: mother, double or simple. Three mothers take an element, seven doubles take a planet, twelve simples take a sign, and the three counts are the structure of the whole letter tradition.
    #[serde(rename = "letterClass")]
    pub letter_class: String,
    /// What the letter name means as an ordinary word, in the requested language. The names are object names, which is what the shapes were drawn from.
    pub meaning: String,
    /// Display name of the letter, in the requested language.
    pub name: String,
    /// Position in the alphabet, 1 to 22. A property of the letter, not a cipher reading.
    pub ordinal: f64,
    /// The path this letter sits on, numbered 11 to 32 to continue the ten sephirot into the thirty two Paths of Wisdom. Never null in practice: all 22 letters carry a path.
    pub path: Option<f64>,
    /// Latin transcription of the glyph, from the one mechanical letter map this API uses in both directions. A label, never a pronunciation claim.
    pub romanization: String,
    /// The `trump` field.
    pub trump: ListHebrewLettersResponseLettersItemTrump,
    /// Value under the standard reading. The 22 letters cover 1 to 9, 10 to 90 and 100 to 400.
    pub value: f64,
}
/// The `trump` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHebrewLettersResponseLettersItemTrump {
    /// Identifier of the tarot trump on this letter path. It resolves in the Tarot API on the same key, so a caller can follow it straight to the card.
    pub id: String,
    /// Display name of the trump.
    pub name: String,
    /// The trump number as the deck prints it, in Roman numerals.
    pub number: String,
}
/// The `attribution` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHebrewLettersResponseLettersItemAttribution {
    /// What the attribution names: element, planet or sign. Always English.
    pub kind: String,
    /// The element, planet or sign under the requested reading. Always English, so it stays safe to compare against in code.
    pub value: String,
}
/// Three, seven and twelve. Every recension agrees on the split even where it disagrees on what goes where.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHebrewLettersResponseClassCounts {
    /// Double letters, which take a planet.
    pub double: f64,
    /// Mother letters, which take an element.
    pub mother: f64,
    /// Simple letters, which take a sign of the zodiac.
    pub simple: f64,
}
/// Path and query parameters of `listHebrewLetters`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListHebrewLettersParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListHebrewLettersParamsLang>,
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    #[serde(rename = "letterAttribution", skip_serializing_if = "Option::is_none")]
    pub letter_attribution: Option<ListHebrewLettersParamsLetterAttribution>,
}
string_enum! {
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    ListHebrewLettersParamsLetterAttribution {
        SeferYetzirahGra = "sefer-yetzirah-gra",
        SeferYetzirahShort = "sefer-yetzirah-short",
        SeferYetzirahSaadia = "sefer-yetzirah-saadia",
        GoldenDawn = "golden-dawn",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListHebrewLettersParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listHaabMonths`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHaabMonthsResponse {
    /// Maximum items returned for this page.
    pub limit: f64,
    /// Periods for the current page, in order from Pop.
    pub months: Vec<ListHaabMonthsResponseMonthsItem>,
    /// Number of items skipped before this page.
    pub offset: f64,
    /// Total periods in the Haab year. Always 19: eighteen months plus Wayebʼ, which is a period of the year even though it is only five days.
    pub total: f64,
}
/// One entry of `months`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListHaabMonthsResponseMonthsItem {
    /// What the period name means, translated in place because it is a common noun rather than a name.
    pub gloss: String,
    /// Machine identifier of the Haab period, always lowercase ASCII, so it stays safe to compare against and to use as a path parameter. The nineteen ids run pop, wo, sip, sotz, sek, xul, yaxkin, mol, chen, yax, sak, keh, mak, kankin, muwan, pax, kayab, kumku, wayeb.
    pub id: String,
    /// Days in the period. Twenty for the eighteen months and five for Wayebʼ, which is never twenty. Days inside a period are numbered from 0, so a twenty day period runs 0 to 19.
    pub length: f64,
    /// The sixteenth century Yucatec spelling, which is the form most printed tables use.
    #[serde(rename = "nameClassic")]
    pub name_classic: String,
    /// Display name in the standard orthography. A proper noun carried as data, identical under every lang.
    #[serde(rename = "nameYucatec")]
    pub name_yucatec: String,
    /// Place in the Haab year, 1 to 19. Pop is 1 and Wayebʼ is 19, so a position of 19 always means the five short days.
    pub position: f64,
    /// The composed reading of the period, built from its position, its length and its gloss.
    pub reading: String,
}
/// Path and query parameters of `listHaabMonths`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListHaabMonthsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListHaabMonthsParamsLang>,
    /// Maximum items to return per page. Range: 1-19, default 19.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListHaabMonthsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listGunas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGunasResponse {
    /// Maximum pairs returned in this page.
    pub limit: f64,
    /// Scope of the response.
    pub meta: ListGunasResponseMeta,
    /// Number of pairs skipped before this page.
    pub offset: f64,
    /// The pairs for this page. The root verse names only the first member of each and then says twenty counting their opposites; the opposites and every action word come from the commentaries.
    pub pairs: Vec<ListGunasResponsePairsItem>,
    /// The half-verse the whole domain turns on, translated in place. It is stated of ALL things rather than of food, which is why the same sentence governs the dosha states, the taste matrix, the seasonal regimen and the daily routine alike.
    pub rule: String,
    /// Every work behind this response, once each.
    pub sources: Vec<ListGunasResponseSourcesItem>,
    /// Total number of pairs, which is always ten, covering twenty qualities.
    pub total: f64,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGunasResponseSourcesItem {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// One opposed pair of qualities.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGunasResponsePairsItem {
    /// One of the twenty qualities.
    pub a: ListGunasResponsePairsItemA,
    /// One of the twenty qualities.
    pub b: ListGunasResponsePairsItemB,
    /// A recorded disagreement about this pair, present only where one exists. It is stated rather than resolved silently because the choice changes which dosha the pair joins to.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Position of the pair, 1 to 10, in the order the root verse names the first member of each.
    pub number: f64,
}
/// One of the twenty qualities.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGunasResponsePairsItemB {
    /// What this quality does, from the one action word the commentary gives each of the twenty. This is what turns the list from a glossary into the mechanism the rest of the domain runs on.
    pub action: String,
    /// The same action word in Sanskrit. Data rather than a translation, so a reader can find the clause it comes from.
    #[serde(rename = "actionSanskrit")]
    pub action_sanskrit: String,
    /// Which doshas carry this quality, as Sanskrit identifiers, taken from the dosha catalogue rather than restated here. Empty where no dosha carries it under the same Sanskrit word, and note that the three dosha sets overlap, so the twenty are not partitioned three ways.
    pub doshas: Vec<String>,
    /// The quality in the requested language. This is the gloss and it does translate.
    pub english: String,
    /// The quality as a Sanskrit identifier. Never translated, so it stays safe to compare against and joins straight to the qualityGunas array on each dosha.
    pub id: String,
    /// The same name in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// One of the twenty qualities.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGunasResponsePairsItemA {
    /// What this quality does, from the one action word the commentary gives each of the twenty. This is what turns the list from a glossary into the mechanism the rest of the domain runs on.
    pub action: String,
    /// The same action word in Sanskrit. Data rather than a translation, so a reader can find the clause it comes from.
    #[serde(rename = "actionSanskrit")]
    pub action_sanskrit: String,
    /// Which doshas carry this quality, as Sanskrit identifiers, taken from the dosha catalogue rather than restated here. Empty where no dosha carries it under the same Sanskrit word, and note that the three dosha sets overlap, so the twenty are not partitioned three ways.
    pub doshas: Vec<String>,
    /// The quality in the requested language. This is the gloss and it does translate.
    pub english: String,
    /// The quality as a Sanskrit identifier. Never translated, so it stays safe to compare against and joins straight to the qualityGunas array on each dosha.
    pub id: String,
    /// The same name in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGunasResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// Path and query parameters of `listGunas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListGunasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListGunasParamsLang>,
    /// Maximum items to return per page. Range: 1-10, default 10.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListGunasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listGematriaCiphers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGematriaCiphersResponse {
    /// The rabbinic ciphers. Each returns a number from the letters of a Hebrew string.
    pub ciphers: Vec<ListGematriaCiphersResponseCiphersItem>,
    /// The Latin alphabet ciphers, scored on Latin letters directly. None is rabbinic and each carries the lineage that says so.
    #[serde(rename = "latinCiphers")]
    pub latin_ciphers: Vec<ListGematriaCiphersResponseLatinCiphersItem>,
    /// Number of entries across all three lists.
    pub total: f64,
    /// The rabbinic substitution transformations. Each exchanges letters for other letters and returns a WORD, whose value is then read the ordinary way.
    pub transformations: Vec<ListGematriaCiphersResponseTransformationsItem>,
}
/// One entry of `transformations`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGematriaCiphersResponseTransformationsItem {
    /// The century the tradition this method belongs to is attested in, not a first publication date for the named variety.
    pub century: String,
    /// Whether the gematria endpoint returns a number for this cipher. False on the one method whose table is not published in two independent sources, which is stated rather than silently omitted.
    pub computed: bool,
    /// How the cipher turns letters into a number, in the requested language.
    pub definition: String,
    /// Machine identifier of the cipher, always English romanization so it stays safe to compare against in code. Pass it in the ciphers array on the gematria endpoint.
    pub id: String,
    /// Present and true where one spelling has several equally published totals. Absent otherwise, so a caller can branch on presence.
    #[serde(rename = "multiValued", skip_serializing_if = "Option::is_none")]
    pub multi_valued: Option<bool>,
    /// Display name of the cipher, in the requested language.
    pub name: String,
    /// Where the definition is published. Every cipher here carries at least two independent sources, which is why the catalogue is shorter than the ones that advertise a cipher count.
    pub sources: Vec<String>,
    /// Provenance class, one of rabbinic, renaissance-latin, golden-dawn-transliterated or modern. Always English. Read it before presenting a cipher as Jewish practice, because three of the ones here are not.
    pub tradition: String,
}
/// One entry of `latinCiphers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGematriaCiphersResponseLatinCiphersItem {
    /// The century the tradition this method belongs to is attested in, not a first publication date for the named variety.
    pub century: String,
    /// Whether the gematria endpoint returns a number for this cipher. False on the one method whose table is not published in two independent sources, which is stated rather than silently omitted.
    pub computed: bool,
    /// How the cipher turns letters into a number, in the requested language.
    pub definition: String,
    /// Machine identifier of the cipher, always English romanization so it stays safe to compare against in code. Pass it in the ciphers array on the gematria endpoint.
    pub id: String,
    /// Present and true where one spelling has several equally published totals. Absent otherwise, so a caller can branch on presence.
    #[serde(rename = "multiValued", skip_serializing_if = "Option::is_none")]
    pub multi_valued: Option<bool>,
    /// Display name of the cipher, in the requested language.
    pub name: String,
    /// Where the definition is published. Every cipher here carries at least two independent sources, which is why the catalogue is shorter than the ones that advertise a cipher count.
    pub sources: Vec<String>,
    /// Provenance class, one of rabbinic, renaissance-latin, golden-dawn-transliterated or modern. Always English. Read it before presenting a cipher as Jewish practice, because three of the ones here are not.
    pub tradition: String,
}
/// One entry of `ciphers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListGematriaCiphersResponseCiphersItem {
    /// The century the tradition this method belongs to is attested in, not a first publication date for the named variety.
    pub century: String,
    /// Whether the gematria endpoint returns a number for this cipher. False on the one method whose table is not published in two independent sources, which is stated rather than silently omitted.
    pub computed: bool,
    /// How the cipher turns letters into a number, in the requested language.
    pub definition: String,
    /// Machine identifier of the cipher, always English romanization so it stays safe to compare against in code. Pass it in the ciphers array on the gematria endpoint.
    pub id: String,
    /// Present and true where one spelling has several equally published totals. Absent otherwise, so a caller can branch on presence.
    #[serde(rename = "multiValued", skip_serializing_if = "Option::is_none")]
    pub multi_valued: Option<bool>,
    /// Display name of the cipher, in the requested language.
    pub name: String,
    /// Where the definition is published. Every cipher here carries at least two independent sources, which is why the catalogue is shorter than the ones that advertise a cipher count.
    pub sources: Vec<String>,
    /// Provenance class, one of rabbinic, renaissance-latin, golden-dawn-transliterated or modern. Always English. Read it before presenting a cipher as Jewish practice, because three of the ones here are not.
    pub tradition: String,
}
/// Path and query parameters of `listGematriaCiphers`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListGematriaCiphersParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListGematriaCiphersParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListGematriaCiphersParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listFlyingStars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListFlyingStarsResponse {
    /// Page size applied.
    pub limit: f64,
    /// Number of entries skipped.
    pub offset: f64,
    /// The nine flying stars in Lo Shu order, 1 through 9.
    pub stars: Vec<ListFlyingStarsResponseStarsItem>,
    /// Number of stars in the catalogue.
    pub total: f64,
}
/// One entry of `stars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListFlyingStarsResponseStarsItem {
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub base: f64,
    /// Chinese characters for the star. Data, identical in every language.
    pub chinese: String,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub enhancer: String,
    /// Themes the star governs, for tagging and for quick summaries.
    pub keywords: Vec<String>,
    /// What the star does, how it reads when timely, and how it reads when it is not.
    pub meaning: String,
    /// Display name of the star. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Star name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat name exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// The untimely reading of the star, auspicious or inauspicious. It is not the whole verdict: the ruling star of the period in force is prosperous whatever this says, and a star long past its period is the one that does damage. Only the 5 is harmful in every period.
    pub nature: String,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub number: f64,
    /// Palace of the Lo Shu grid: one of the eight compass sectors, or Center. Always English, safe to compare against and to key a grid cell on.
    pub palace: String,
    /// The twenty year period this star rules. A star is at its strongest during its own period and weakest long after it.
    pub period: f64,
    /// Tone-marked pinyin for the star. Data, identical in every language.
    pub pinyin: String,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub remedy: String,
    /// The trigram of the star palace. Absent for the 5, which owns the centre and has no trigram, which is also why the 5 is the one star with no direction of its own.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub trigram: Option<ListFlyingStarsResponseStarsItemTrigram>,
}
/// The trigram of the star palace. Absent for the 5, which owns the centre and has no trigram, which is also why the 5 is the one star with no direction of its own.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListFlyingStarsResponseStarsItemTrigram {
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// English name of the trigram, byte identical to the I-Ching catalogue.
    pub english: String,
    /// Trigram number, the same identifier the I-Ching trigram endpoints use.
    pub number: f64,
}
/// Path and query parameters of `listFlyingStars`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListFlyingStarsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListFlyingStarsParamsLang>,
    /// Maximum items to return per page. Range: 1-9, default 9.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListFlyingStarsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listFiveElements`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListFiveElementsResponse {
    /// The restraining ring in order. Each phase controls the next and the last controls the first, so this list wraps too. It is the same five phases walked two steps at a time.
    #[serde(rename = "controllingCycle")]
    pub controlling_cycle: Vec<String>,
    /// The phases for this page, in generating cycle order.
    pub elements: Vec<ListFiveElementsResponseElementsItem>,
    /// The producing ring in order. Each phase generates the next and the last generates the first, so the list wraps.
    #[serde(rename = "generatingCycle")]
    pub generating_cycle: Vec<String>,
    /// Maximum phases returned in this page.
    pub limit: f64,
    /// Number of phases skipped before this page.
    pub offset: f64,
    /// Total number of phases, which is always five.
    pub total: f64,
}
/// One entry of `elements`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListFiveElementsResponseElementsItem {
    /// The Earthly Branches that carry this phase. Wood, Fire, Metal and Water take two each and Earth takes four, the branches that sit between the seasons.
    pub branches: Vec<String>,
    /// Chinese character for the phase. A data field, identical in every language.
    pub chinese: String,
    /// The phase that restrains this one. The inverse of the controls field.
    #[serde(rename = "controlledBy")]
    pub controlled_by: String,
    /// The phase this one restrains in the controlling cycle. Wood breaks Earth, Earth dams Water, Water quenches Fire, Fire melts Metal, Metal cuts Wood.
    pub controls: String,
    /// Compass direction of the phase. Earth returns Center, because it sits at the middle of the arrangement rather than on the ring.
    pub direction: String,
    /// The phase that produces this one. The inverse of the generates field.
    #[serde(rename = "generatedBy")]
    pub generated_by: String,
    /// The phase this one produces in the generating cycle. Wood feeds Fire, Fire makes Earth, Earth bears Metal, Metal condenses Water, Water grows Wood.
    pub generates: String,
    /// Five phase identifier. Always English, whatever the lang parameter says, so it stays safe to compare against in code. The same five values appear on stems, branches, pillars, Na Yin and every feng shui star.
    pub id: String,
    /// What the phase is and how it behaves, in the terms a reading uses it in. Translated in place.
    pub meaning: String,
    /// Display name of the phase in the requested language. Absent when lang is en, so an English response is unchanged.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone marked pinyin for the character. A data field, identical in every language.
    pub pinyin: String,
    /// Season the phase governs. Earth governs the transitions rather than a season of its own, and is reported as Late Summer.
    pub season: String,
    /// The two Heavenly Stems that carry this phase, yang first. Every phase has exactly two, which is why ten stems cover five phases.
    pub stems: Vec<String>,
}
/// Path and query parameters of `listFiveElements`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListFiveElementsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListFiveElementsParamsLang>,
    /// Maximum items to return per page. Range: 1-5, default 5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListFiveElementsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listDoshas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponse {
    /// The doshas for this page, in the standing order the texts name them.
    pub doshas: Vec<ListDoshasResponseDoshasItem>,
    /// Maximum doshas returned in this page.
    pub limit: f64,
    /// Scope of the response.
    pub meta: ListDoshasResponseMeta,
    /// Number of doshas skipped before this page.
    pub offset: f64,
    /// Every work behind this response, once each.
    pub sources: Vec<ListDoshasResponseSourcesItem>,
    /// Total number of doshas, which is always three.
    pub total: f64,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseSourcesItem {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// One dosha with its qualities, seats, pentad and states.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseDoshasItem {
    /// Other names the primary texts use for the same dosha. Data rather than translations, and useful when reading a verse that names one of them instead.
    #[serde(rename = "alsoCalled")]
    pub also_called: Vec<String>,
    /// The same name in Devanagari. Data, identical in every language.
    pub devanagari: String,
    /// The single mahabhuta the classical verses give this dosha. Classically each dosha gets one element, not a pair.
    pub element: String,
    /// What the dosha does when it is even. For vata the text states this for the dosha as a whole; for the other two it states it only through the five sub-doshas, and those are what appear here.
    pub functions: Vec<String>,
    /// The dosha as a Sanskrit identifier: vata, pitta or kapha. Never translated in any language, because a caller switches on it, and a translated dosha name is a different concept rather than the same one in another language.
    pub id: String,
    /// The two-element pairing in general modern circulation. It carries no classical citation in this API, which is why it travels in its own field instead of inside the cited one.
    #[serde(rename = "modernElementPair")]
    pub modern_element_pair: String,
    /// The qualities the frame chapter gives this dosha, each as its Sanskrit word and its gloss. The three sets overlap, so the twenty gunas are not partitioned three ways between them.
    pub qualities: Vec<String>,
    /// Identifiers from the twenty gunas for the qualities the guna verse names with the SAME Sanskrit word, so this joins straight to the qualities endpoint. Where the dosha chapter uses a synonym, or a word the guna verse does not carry, the entry is absent rather than mapped by resemblance.
    #[serde(rename = "qualityGunas")]
    pub quality_gunas: Vec<String>,
    /// The same name in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// Where the dosha sits, in the requested language.
    pub seats: Vec<String>,
    /// How the second primary text reads the same list. The two are recorded side by side and never merged, because the special seat of pitta genuinely differs between them.
    #[serde(rename = "seatsVariant")]
    pub seats_variant: String,
    /// Where one claim in this response comes from.
    pub source: ListDoshasResponseDoshasItemSource,
    /// The seat the chapter singles out above the others.
    #[serde(rename = "specialSeat")]
    pub special_seat: String,
    /// The three states, as positions and qualities.
    pub states: ListDoshasResponseDoshasItemStates,
    /// The five sub-doshas, each with its seat and its work. The five vata NAMES are carried by two texts; every seat and function of the fifteen rests on one chapter alone.
    #[serde(rename = "subDoshas")]
    pub sub_doshas: Vec<ListDoshasResponseDoshasItemSubDoshasItem>,
}
/// One of the five sub-doshas.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseDoshasItemSubDoshasItem {
    /// The same name in Devanagari. Data rather than a translation, so it is identical under every language.
    pub devanagari: String,
    /// What the sub-dosha does, in the requested language.
    pub function: String,
    /// Stable identifier for the sub-dosha. Always English-safe and lowercase, and never translated, so it is safe to compare against.
    pub id: String,
    /// Where the sub-dosha moves, where the chapter states one. Present on the five vatas and absent elsewhere, because the chapter gives a range of movement only for those.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub moves: Option<String>,
    /// The same name in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// Where the sub-dosha sits, in the requested language.
    pub seat: String,
    /// Where one claim in this response comes from.
    pub source: ListDoshasResponseDoshasItemSubDoshasItemSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseDoshasItemSubDoshasItemSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// The three states, as positions and qualities.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseDoshasItemStates {
    /// The first state of the seasonal cycle, described the same way.
    pub accumulating: String,
    /// The second state of the seasonal cycle, described the same way.
    pub aggravated: String,
    /// The even state, described as a position and a quality rather than as an absence of complaints.
    pub balanced: String,
    /// The qualities that bring the dosha back to even, which is the like-increases-like rule applied in reverse.
    #[serde(rename = "settlesWith")]
    pub settles_with: String,
    /// Where one claim in this response comes from.
    pub source: ListDoshasResponseDoshasItemStatesSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseDoshasItemStatesSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDoshasResponseDoshasItemSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Path and query parameters of `listDoshas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListDoshasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListDoshasParamsLang>,
    /// Maximum items to return per page. Range: 1-3, default 3.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListDoshasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listDikpalaDirections`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDikpalaDirectionsResponse {
    /// The directions on this page, in compass order from North.
    pub directions: Vec<ListDikpalaDirectionsResponseDirectionsItem>,
    /// How many were requested per page.
    pub limit: f64,
    /// How many were skipped.
    pub offset: f64,
    /// How many directions there are in all, which is always eight.
    pub total: f64,
}
/// One entry of `directions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDikpalaDirectionsResponseDirectionsItem {
    /// The devatas of the squares this direction covers, in the same order as the squares list.
    pub devatas: Vec<ListDikpalaDirectionsResponseDirectionsItemDevatasItem>,
    /// The lord of this quarter of the horizon, per Brihat Samhita 54.3. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi. Compare on id, never on this. These are NOT the 45 mandala devatas and the two sets must not be merged: Agni is the north-east mandala square and the south-east dikpala.
    pub dikpala: String,
    /// The element conventionally assigned to this quarter: fire, earth, air or water. Present only on the four intercardinal quarters, because the cardinal ones carry none in this scheme, and it is labelled convention because the Brihat Samhita assigns no element to any direction at all.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<String>,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against and against the same value on the feng shui and I Ching endpoints.
    pub id: String,
    /// Whether this is one of the four cardinal directions or one of the four intercardinal quarters. Always English.
    pub kind: String,
    /// What Brihat Samhita 53.118 puts on this side, in the chapter own terms. Present on the four intercardinal quarters, which are the only ones that verse places anything on.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub places: Option<String>,
    /// The verses behind each part of this entry, and the convention label on the element where no verse gives one.
    pub sources: Vec<ListDikpalaDirectionsResponseDirectionsItemSourcesItem>,
    /// The squares of the 81 pada grid this direction covers. For a cardinal direction those are its eight perimeter squares in the order the verses enumerate them; for an intercardinal quarter they are the corner square and the four single pada squares gathered around it.
    pub squares: Vec<f64>,
    /// What the chapter says about standing water here, which it gives for all eight directions.
    pub water: ListDikpalaDirectionsResponseDirectionsItemWater,
}
/// What the chapter says about standing water here, which it gives for all eight directions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDikpalaDirectionsResponseDirectionsItemWater {
    /// Whether that effect is a gain or a harm. Only the north and the north-east are gains. Always English.
    pub auspiciousness: String,
    /// What 53.119 says follows from standing water in this quarter, as original prose.
    pub effect: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDikpalaDirectionsResponseDirectionsItemSourcesItem {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// One entry of `devatas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDikpalaDirectionsResponseDirectionsItemDevatasItem {
    /// Identifier of the devata holding it. Always English transliteration, safe to compare against and to look up on the devatas endpoint.
    pub id: String,
    /// Display name of the devata. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi.
    pub name: String,
    /// Square number in the 81 pada grid.
    pub square: f64,
}
/// Path and query parameters of `listDikpalaDirections`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListDikpalaDirectionsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListDikpalaDirectionsParamsLang>,
    /// Maximum items to return per page. Range: 1-8, default 8.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListDikpalaDirectionsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listDevatas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDevatasResponse {
    /// The devatas on this page, in the order the verses enumerate them: the east perimeter, then south, west and north, then inward to Brahma.
    pub devatas: Vec<ListDevatasResponseDevatasItem>,
    /// How many were requested per page.
    pub limit: f64,
    /// How many were skipped.
    pub offset: f64,
    /// How many devatas there are in all. Always 45 squares held, though the chapter prints only 44 distinct names because Indra appears twice.
    pub total: f64,
}
/// One entry of `devatas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDevatasResponseDevatasItem {
    /// The same squares as row and column pairs, which is what you draw with. The corners of the grid are 1 north-east, 9 south-east, 73 north-west and 81 south-west.
    pub cells: Vec<ListDevatasResponseDevatasItemCellsItem>,
    /// Which ring of the mandala the devata belongs to: perimeter for the outer 32, innerRing for the eight around Brahma, innerCorner for the four on the inner diagonals, center for Brahma alone. 32 plus 8 plus 4 plus 1 is 45. Always English.
    pub class: ListDevatasResponseDevatasItemClass,
    /// The entrance pada this devata governs, 1 to 32. Present only on the outer 32, since only a perimeter square can hold a main door.
    #[serde(rename = "entrancePada", skip_serializing_if = "Option::is_none")]
    pub entrance_pada: Option<f64>,
    /// How many squares the devata holds under 53.49 to 50: padika for one, dvipada for two, tripada for three. Absent for Brahma, whom those verses leave outside the scheme while enumerating 44 devatas.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub group: Option<String>,
    /// Identifier of the devata, lower case transliteration. Always English, safe to compare against. Indra appears twice in the chapter, on the east perimeter and on the inner ring, so those two carry the ids indra-outer and indra-inner, which are ours: no source read for this package prints a distinguishing name for either.
    pub id: String,
    /// Display name of the devata. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi. Compare on id, never on this.
    pub name: String,
    /// Where the sources disagree or contradict themselves about this row, and where Brahma sits outside the pada-count scheme. Present on the six rows that carry a recorded divergence: the two Indras, the north-east and south-east corner devatas where the Manasara differs from the Brihat Samhita, Prthvidhara, whom the chapter places on two different squares in two different verses, and Brahma. Original prose, translated in place when lang is set.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// How many squares the devata holds: one, two or three for the 44 enumerated devatas, and nine for Brahma.
    #[serde(rename = "padaCount")]
    pub pada_count: f64,
    /// Which quarter of the mandala the devata occupies, where it sits in one. Absent for a devata spread along a side rather than gathered in a corner.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub quadrant: Option<String>,
    /// What the devata holds, as a sentence composed from the sourced structure. There is deliberately no meaning field: no source read for this package gives a devata a meaning, and inventing one would be unsourced content on a route that sells a citation per verdict. Translated in place when lang is set.
    pub role: String,
    /// Which side of the perimeter the devata sits on. Present only on the outer 32, which are the ones the verses enumerate side by side.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub side: Option<String>,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: ListDevatasResponseDevatasItemSource,
    /// Which of the 81 squares the devata holds. The verses name one square per devata and fix the pada count of each, and the remaining squares follow from that count: a dvipada takes its named square plus the one a step inward, a tripada the three cell cardinal run of the second ring.
    pub squares: Vec<f64>,
    /// Which verses of chapter 53 place this devata and fix its pada count, so a report can print the citation.
    pub verses: Vec<String>,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDevatasResponseDevatasItemSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
string_enum! {
    /// Which ring of the mandala the devata belongs to: perimeter for the outer 32, innerRing for the eight around Brahma, innerCorner for the four on the inner diagonals, center for Brahma alone. 32 plus 8 plus 4 plus 1 is 45. Always English.
    ListDevatasResponseDevatasItemClass {
        Perimeter = "perimeter",
        InnerRing = "innerRing",
        InnerCorner = "innerCorner",
        Center = "center",
    }
}
/// One entry of `cells`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListDevatasResponseDevatasItemCellsItem {
    /// Column of the grid, 1 at the western edge and 9 at the eastern one.
    #[serde(rename = "columnFromWest")]
    pub column_from_west: f64,
    /// Row of the grid, 1 at the northern edge and 9 at the southern one.
    #[serde(rename = "rowFromNorth")]
    pub row_from_north: f64,
}
/// Path and query parameters of `listDevatas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListDevatasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListDevatasParamsLang>,
    /// Maximum items to return per page. Range: 1-45, default 45.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListDevatasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listCrystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListCrystalsResponse {
    /// Crystal summaries for the current page.
    pub crystals: Vec<ListCrystalsResponseCrystalsItem>,
    /// Maximum crystals returned per page.
    pub limit: f64,
    /// Number of crystals skipped.
    pub offset: f64,
    /// Total number of crystals matching the filter criteria.
    pub total: f64,
}
/// One entry of `crystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListCrystalsResponseCrystalsItem {
    /// Chakra energy centers this crystal resonates with. One of: Root, Sacral, Solar Plexus, Heart, Throat, Third Eye, Crown.
    pub chakras: Vec<String>,
    /// Primary colors of this crystal variety. Null when color data is unavailable.
    pub colors: Option<Vec<String>>,
    /// URL-safe crystal identifier for detail lookup.
    pub id: String,
    /// URL to crystal photograph for visual identification.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Crystal display name.
    pub name: String,
}
/// Path and query parameters of `listCrystals`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListCrystalsParams {
    /// Filter by chakra association, case-insensitive. Valid values: Root, Sacral, Solar Plexus, Heart, Throat, Third Eye, Crown.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chakra: Option<ListCrystalsParamsChakra>,
    /// Filter by crystal color (partial match, case-insensitive). E.g., "pink", "green", "blue", "purple". Use GET /colors for valid values.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub color: Option<String>,
    /// Filter by elemental association, case-insensitive. Valid values: Earth, Water, Fire, Air, Storm.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<ListCrystalsParamsElement>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListCrystalsParamsLang>,
    /// Maximum items to return per page. Range: 1-100, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
    /// Filter by planetary association (partial match, case-insensitive). E.g., "Venus", "Moon", "Jupiter". Use GET /planets for valid values.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub planet: Option<String>,
    /// Filter by zodiac sign, case-insensitive. Valid values: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub zodiac: Option<ListCrystalsParamsZodiac>,
}
string_enum! {
    /// Filter by zodiac sign, case-insensitive. Valid values: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces.
    ListCrystalsParamsZodiac {
        Aries = "aries",
        Taurus = "taurus",
        Gemini = "gemini",
        Cancer = "cancer",
        Leo = "leo",
        Virgo = "virgo",
        Libra = "libra",
        Scorpio = "scorpio",
        Sagittarius = "sagittarius",
        Capricorn = "capricorn",
        Aquarius = "aquarius",
        Pisces = "pisces",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListCrystalsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Filter by elemental association, case-insensitive. Valid values: Earth, Water, Fire, Air, Storm.
    ListCrystalsParamsElement {
        Earth = "Earth",
        Water = "Water",
        Fire = "Fire",
        Air = "Air",
        Storm = "Storm",
    }
}
string_enum! {
    /// Filter by chakra association, case-insensitive. Valid values: Root, Sacral, Solar Plexus, Heart, Throat, Third Eye, Crown.
    ListCrystalsParamsChakra {
        Root = "Root",
        Sacral = "Sacral",
        SolarPlexus = "Solar Plexus",
        Heart = "Heart",
        Throat = "Throat",
        ThirdEye = "Third Eye",
        Crown = "Crown",
    }
}
/// Path and query parameters of `listCrystalPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListCrystalPlanetsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListCrystalPlanetsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListCrystalPlanetsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `listCrystalColors`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListCrystalColorsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListCrystalColorsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListCrystalColorsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listCountries`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListCountriesResponse {
    /// Countries for the current page, sorted alphabetically by name.
    pub countries: Vec<ListCountriesResponseCountriesItem>,
    /// Page size used for this response.
    pub limit: f64,
    /// Number of countries skipped. Use with limit for pagination.
    pub offset: f64,
    /// Total number of countries with at least one place in the dataset.
    pub total: f64,
}
/// Country with ISO 3166 codes and city coverage count. Use iso2 to query cities within a specific country.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListCountriesResponseCountriesItem {
    /// Number of searchable places in this country, including small towns and administrative seats. Useful for showing coverage in a UI or sizing a dependent city dropdown.
    #[serde(rename = "cityCount")]
    pub city_count: f64,
    /// ISO 3166-1 alpha-2 country code. Use as the identifier when fetching cities for a specific country via the /countries/{iso2} endpoint.
    pub iso2: String,
    /// ISO 3166-1 alpha-3 country code. Three-letter standard used in international data exchange.
    pub iso3: String,
    /// Full country name in English. Use for display in location pickers and dropdown menus.
    pub name: String,
}
/// Response body of `listCards`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListCardsResponse {
    /// Array of tarot cards with basic metadata. Use GET /cards/{id} for full upright and reversed interpretations.
    pub cards: Vec<BasicCard>,
    /// Maximum items returned per page.
    pub limit: f64,
    /// Number of items skipped from the start of the result set.
    pub offset: f64,
    /// Total number of tarot cards matching the applied filters. 78 for the full deck, 22 for Major Arcana, 56 for Minor Arcana, 14 per suit.
    pub total: f64,
}
/// Path and query parameters of `listCards`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListCardsParams {
    /// Filter by arcana type. Major arcana (0-21) represents life lessons and spiritual themes. Minor arcana (Ace-King in 4 suits) represents daily situations and practical matters.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub arcana: Option<ListCardsParamsArcana>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListCardsParamsLang>,
    /// Maximum items to return per page. Range: 1-100, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Filter by card number. Major Arcana: 0 (The Fool) through 21 (The World). Minor Arcana: 1 (Ace) through 14 (King). Combine with arcana or suit filters for precise results.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub number: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
    /// Filter minor arcana by suit. Cups=emotions/relationships, Wands=creativity/passion, Swords=intellect/conflict, Pentacles=material/finances. Only applies to minor arcana cards.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub suit: Option<ListCardsParamsSuit>,
}
string_enum! {
    /// Filter minor arcana by suit. Cups=emotions/relationships, Wands=creativity/passion, Swords=intellect/conflict, Pentacles=material/finances. Only applies to minor arcana cards.
    ListCardsParamsSuit {
        Cups = "cups",
        Wands = "wands",
        Swords = "swords",
        Pentacles = "pentacles",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListCardsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Filter by arcana type. Major arcana (0-21) represents life lessons and spiritual themes. Minor arcana (Ace-King in 4 suits) represents daily situations and practical matters.
    ListCardsParamsArcana {
        Major = "major",
        Minor = "minor",
    }
}
/// Response body of `listBaguaSectors`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListBaguaSectorsResponse {
    /// Page size applied.
    pub limit: f64,
    /// Number of entries skipped.
    pub offset: f64,
    /// The nine palaces of the compass Bagua map, in Lo Shu palace order starting at North and ending with the centre.
    pub sectors: Vec<ListBaguaSectorsResponseSectorsItem>,
    /// Number of palaces in the map.
    pub total: f64,
}
/// One entry of `sectors`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListBaguaSectorsResponseSectorsItem {
    /// Colours of the phase this sector carries, for activating it. Derived from the element rather than assigned per sector, so they cannot disagree with the element beside them.
    pub colors: Vec<String>,
    /// Compass sector of the palace, taken from the trigram that sits there. Absent on the centre palace, which has no direction.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub direction: Option<String>,
    /// The trigram that sits in this direction under the Earlier Heaven arrangement, read for the symbolic relation between opposite sectors. A different question from the Later Heaven trigram, not a competing answer. Absent on the centre palace.
    #[serde(rename = "earlierHeavenTrigram", skip_serializing_if = "Option::is_none")]
    pub earlier_heaven_trigram: Option<
        ListBaguaSectorsResponseSectorsItemEarlierHeavenTrigram,
    >,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// What this sector governs, in a few words.
    pub focus: String,
    /// Life area id: career, knowledge, family, wealth, fame, love, children, helpful-people or health. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub id: String,
    /// What the sector governs and how to work with it.
    pub meaning: String,
    /// Display name of the life area. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Life area name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat name exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Lo Shu number of the palace, 1 to 9. This is the same number the flying stars use, so a chart palace and a Bagua sector line up by it.
    pub number: f64,
    /// Palace of the Lo Shu grid: one of the eight compass sectors, or Center for the ninth. Always English, safe to compare against.
    pub palace: String,
    /// The Later Heaven trigram of the sector, which is the arrangement every compass reading and every flying star chart uses. Absent on the centre palace.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub trigram: Option<ListBaguaSectorsResponseSectorsItemTrigram>,
}
/// The Later Heaven trigram of the sector, which is the arrangement every compass reading and every flying star chart uses. Absent on the centre palace.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListBaguaSectorsResponseSectorsItemTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// The trigram that sits in this direction under the Earlier Heaven arrangement, read for the symbolic relation between opposite sectors. A different question from the Later Heaven trigram, not a competing answer. Absent on the centre palace.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListBaguaSectorsResponseSectorsItemEarlierHeavenTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// Path and query parameters of `listBaguaSectors`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListBaguaSectorsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListBaguaSectorsParamsLang>,
    /// Maximum items to return per page. Range: 1-9, default 9.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListBaguaSectorsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listAztecTrecenas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListAztecTrecenasResponse {
    /// Maximum items returned for this page.
    pub limit: f64,
    /// Number of items skipped before this page.
    pub offset: f64,
    /// Total trecenas in the count. Always 20, because 260 divided by 13 is exactly 20.
    pub total: f64,
    /// Trecenas for the current page, in order from the one that opens on 1 Cipactli.
    pub trecenas: Vec<ListAztecTrecenasResponseTrecenasItem>,
}
/// One entry of `trecenas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListAztecTrecenasResponseTrecenasItem {
    /// Days in the period. Always 13, which is what the word trecena means.
    pub length: f64,
    /// Which of the twenty thirteen day periods this is, 1 to 20. Trecena 1 opens on 1 Cipactli and the openers step thirteen signs at a time from there.
    pub number: f64,
    /// The composed reading of the period, built from the sign it opens on rather than stored, so the two can never drift apart. No patron deity is named, because two of the twenty published patrons are disputed and none ships rather than eighteen shipping beside two guesses.
    pub reading: String,
    /// Machine identifier of the day sign the period opens on.
    #[serde(rename = "startSign")]
    pub start_sign: String,
    /// Display name of the sign the period opens on. A proper noun carried as data.
    #[serde(rename = "startSignName")]
    pub start_sign_name: String,
}
/// Path and query parameters of `listAztecTrecenas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListAztecTrecenasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListAztecTrecenasParamsLang>,
    /// Maximum items to return per page. Range: 1-20, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListAztecTrecenasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listAztecDaySigns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListAztecDaySignsResponse {
    /// Day signs for the current page, in sequence order.
    #[serde(rename = "daySigns")]
    pub day_signs: Vec<ListAztecDaySignsResponseDaySignsItem>,
    /// Maximum items returned for this page.
    pub limit: f64,
    /// Number of items skipped before this page.
    pub offset: f64,
    /// Total signs in the cycle. Always 20; the sign set is closed.
    pub total: f64,
}
/// One entry of `daySigns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListAztecDaySignsResponseDaySignsItem {
    /// World direction the sign belongs to: east, north, west or south. The twenty run through the four quarters in strict rotation, so every fourth sign shares a quarter.
    pub direction: String,
    /// What the sign is about, as a clause rather than a sentence, because it is spliced into composed prose elsewhere in the API. Translated in place.
    pub essence: String,
    /// What the sign name means, translated in place because it is a common noun. Where several English renderings are in circulation all of them are given rather than one being picked.
    pub gloss: String,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// Machine identifier of the day sign, always lowercase ASCII Nahuatl whatever the lang parameter says, so it stays safe to compare against and to use as a path parameter. The twenty ids run cipactli, ehecatl, calli, cuetzpalin, coatl, miquiztli, mazatl, tochtli, atl, itzcuintli, ozomahtli, malinalli, acatl, ocelotl, cuauhtli, cozcacuauhtli, ollin, tecpatl, quiahuitl, xochitl.
    pub id: String,
    /// The sign in one composed sentence, built from the components above.
    pub keynote: String,
    /// Display name in Nahuatl with the vowel length marks the reference tables print. A proper noun carried as data, identical under every lang.
    #[serde(rename = "nameNahuatl")]
    pub name_nahuatl: String,
    /// Place in the twenty sign sequence, 1 to 20, counting Cipactli as 1. The sequence never varies and is what the trecenas are indexed against.
    pub position: f64,
}
/// Path and query parameters of `listAztecDaySigns`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListAztecDaySignsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListAztecDaySignsParamsLang>,
    /// Maximum items to return per page. Range: 1-20, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListAztecDaySignsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listAvasthas`.
pub type ListAvasthasResponse = Vec<ListAvasthasResponseItem>;
/// One form of \[`ListAvasthasResponse`\].
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListAvasthasResponseItem {
    /// Unique slug for the avastha state. It is the lowercased form of the state name the birth chart returns, so a chart value maps straight onto this record.
    pub id: String,
    /// What the state means for the results the graha delivers, which is the whole purpose of reading an avastha: the chart says where a graha is, the avastha says how much of its promise it can keep.
    pub interpretation: String,
    /// Short label for the state, sized for a table cell beside the graha.
    pub meaning: String,
    /// Sanskrit name of the state, exactly as it appears in the `awastha`, `jagradadi` or `deeptadi` field of a birth chart.
    pub name: String,
    /// Which avastha system the state belongs to, and therefore which birth-chart field it appears in. "baladi" is the five-fold age state set by degree within the sign and appears in `awastha`. "jagradadi" is the three-fold waking state set by sign dignity. "deeptadi" is the nine-fold dispositional state. Baladi applies to every body; the other two apply to the seven classical grahas only.
    pub system: ListAvasthasResponseItemSystem,
}
string_enum! {
    /// Which avastha system the state belongs to, and therefore which birth-chart field it appears in. "baladi" is the five-fold age state set by degree within the sign and appears in `awastha`. "jagradadi" is the three-fold waking state set by sign dignity. "deeptadi" is the nine-fold dispositional state. Baladi applies to every body; the other two apply to the seven classical grahas only.
    ListAvasthasResponseItemSystem {
        Baladi = "baladi",
        Jagradadi = "jagradadi",
        Deeptadi = "deeptadi",
    }
}
/// Path and query parameters of `listAvasthas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListAvasthasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListAvasthasParamsLang>,
    /// Return only the states of one system: "baladi" (5), "jagradadi" (3) or "deeptadi" (9). Omit for all 17.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub system: Option<ListAvasthasParamsSystem>,
}
string_enum! {
    /// Return only the states of one system: "baladi" (5), "jagradadi" (3) or "deeptadi" (9). Omit for all 17.
    ListAvasthasParamsSystem {
        Baladi = "baladi",
        Jagradadi = "jagradadi",
        Deeptadi = "deeptadi",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListAvasthasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `listAngelNumbers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListAngelNumbersResponse {
    /// Maximum items returned per page.
    pub limit: f64,
    /// Array of angel number summaries for the current page.
    pub numbers: Vec<ListAngelNumbersResponseNumbersItem>,
    /// Number of items skipped from the start of the result set.
    pub offset: f64,
    /// Total number of angel numbers matching the applied filters. The full catalog size when unfiltered, fewer when filtered by type.
    pub total: f64,
}
/// One entry of `numbers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListAngelNumbersResponseNumbersItem {
    /// One to two sentence summary of the divine message. Ideal for push notifications, daily guidance widgets, and quick reference lookups.
    #[serde(rename = "coreMessage")]
    pub core_message: String,
    /// Numerology digit root calculated by summing all digits and reducing to a single digit. Links each angel number to foundational numerology meaning. Master numbers 11, 22, 33 are preserved without further reduction.
    #[serde(rename = "digitRoot")]
    pub digit_root: f64,
    /// Overall energy classification. "positive" indicates encouraging, uplifting energy. "neutral" indicates transitional energy (neither purely positive nor cautionary). "cautionary" indicates a gentle warning to rebalance or pay attention.
    pub energy: String,
    /// Five to eight keywords capturing the spiritual themes and energy of this angel number. Useful for search, filtering, and content generation.
    pub keywords: Vec<String>,
    /// Angel number sequence as a string. Common patterns include triple repeating (111-999), quad repeating (1111-9999), master numbers (11, 22, 33), mirror patterns (1212), and sequential numbers (1234).
    pub number: String,
    /// Short descriptive title capturing the core theme and spiritual significance of this angel number.
    pub title: String,
    /// Pattern classification of the angel number. "repeating" means all digits are the same (111, 4444). "sequential" means consecutive digits (1234). "mirror" means palindrome or alternating pattern (1212, 1221). "master" means numerology master number (11, 22, 33). "root" means single digit (0-9). "compound" means a mixed sequence with no pure pattern (911, 1122).
    pub r#type: String,
}
/// Path and query parameters of `listAngelNumbers`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListAngelNumbersParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ListAngelNumbersParamsLang>,
    /// Maximum items to return per page. Range: 1-50, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
    /// Filter results by angel number pattern type. "repeating" returns numbers like 111, 444, 7777. "sequential" returns patterns like 1234. "mirror" returns palindrome or alternating patterns like 1212, 717. "master" returns 11, 22, 33. "root" returns single digits 0-9. "compound" returns mixed sequences with no pure pattern like 911, 1122.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub r#type: Option<ListAngelNumbersParamsType>,
}
string_enum! {
    /// Filter results by angel number pattern type. "repeating" returns numbers like 111, 444, 7777. "sequential" returns patterns like 1234. "mirror" returns palindrome or alternating patterns like 1212, 717. "master" returns 11, 22, 33. "root" returns single digits 0-9. "compound" returns mixed sequences with no pure pattern like 911, 1122.
    ListAngelNumbersParamsType {
        Repeating = "repeating",
        Sequential = "sequential",
        Mirror = "mirror",
        Master = "master",
        Root = "root",
        Compound = "compound",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ListAngelNumbersParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateLilith`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LilithResponse {
    /// Echo of the birth moment and place used to compute both Lilith variants.
    #[serde(rename = "birthDetails")]
    pub birth_details: LilithResponseBirthDetails,
    /// House system applied when placing each variant in a house.
    #[serde(rename = "houseSystem")]
    pub house_system: LilithResponseHouseSystem,
    /// Both Black Moon Lilith variants, the mean lunar apogee first and the true (osculating) apogee second.
    pub lilith: Vec<LilithResponseLilithItem>,
    /// Short overview of both variants for previews and report intros.
    pub summary: String,
}
/// One entry of `lilith`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LilithResponseLilithItem {
    /// Degree of the apogee within its zodiac sign (0 to 29.999).
    pub degree: f64,
    /// House placement (1 to 12) in the selected house system, the area of life where the Lilith theme plays out.
    pub house: i64,
    /// Plain language meaning of this Lilith variant in its sign, suitable for chart reports and AI agents. Localized to the requested language.
    pub interpretation: String,
    /// Whether the apogee is moving backward. Always false for the mean apogee; the true apogee turns retrograde when the osculating ellipse swings the apogee direction backward.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Ecliptic latitude in degrees, the projection of the apogee off the ecliptic plane. Reaches up to about 5 degrees because the lunar orbit is inclined.
    pub latitude: f64,
    /// Absolute tropical ecliptic longitude of the apogee in degrees (0 to 360).
    pub longitude: f64,
    /// Short explanation of how this variant is defined and how it differs from the other, localized to the requested language.
    pub note: String,
    /// Tropical zodiac sign the apogee falls in, naming where the suppressed instinct lives.
    pub sign: String,
    /// Daily motion in degrees per day. The mean apogee is always positive (direct); the true apogee can be negative (retrograde).
    pub speed: f64,
    /// Which lunar apogee this entry describes. The mean variant is the smoothed average apogee; the true variant is the instantaneous osculating apogee. Always one of these two English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use variantLocalized for anything a reader sees.
    pub variant: LilithResponseLilithItemVariant,
    /// Apogee variant label in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "variantLocalized", skip_serializing_if = "Option::is_none")]
    pub variant_localized: Option<String>,
}
string_enum! {
    /// Which lunar apogee this entry describes. The mean variant is the smoothed average apogee; the true variant is the instantaneous osculating apogee. Always one of these two English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use variantLocalized for anything a reader sees.
    LilithResponseLilithItemVariant {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system applied when placing each variant in a house.
    LilithResponseHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Echo of the birth moment and place used to compute both Lilith variants.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LilithResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Request body of `generateLilith`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct LilithRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// House system used to place each Lilith variant in a house. Placidus (default), Whole Sign, Equal, or Koch.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<LilithRequestHouseSystem>,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<LilithRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: LilithRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum LilithRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    LilithRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system used to place each Lilith variant in a house. Placidus (default), Whole Sign, Equal, or Koch.
    LilithRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Response body of `checkKalsarpaDosha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KalsarpaResponse {
    /// Human-readable Kalsarpa dosha analysis with Rahu-Ketu axis details
    pub description: String,
    /// Kalsarpa dosha effects on career, health, mindset, and relationships
    #[serde(skip_serializing_if = "Option::is_none")]
    pub effects: Option<KalsarpaResponseEffects>,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: KalsarpaResponseFrame,
    /// Whether Kalsarpa dosha (Kalsarpa yoga) is present, all planets hemmed between Rahu-Ketu axis
    pub present: bool,
    /// Traditional Vedic remedies for Kalsarpa dosha including puja, mantras, and spiritual practices
    #[serde(skip_serializing_if = "Option::is_none")]
    pub remedies: Option<Vec<String>>,
    /// Kalsarpa dosha intensity based on Rahu-Ketu house positions
    #[serde(skip_serializing_if = "Option::is_none")]
    pub severity: Option<KalsarpaResponseSeverity>,
    /// One of 12 Kalsarpa types based on Rahu house position (Ananta, Kulik, Vasuki, Shankhapala, Padma, Mahapadma, Takshak, Karkotak, Shankhachud, Ghatak, Vishdhar, Sheshnag)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub r#type: Option<String>,
}
string_enum! {
    /// Kalsarpa dosha intensity based on Rahu-Ketu house positions
    KalsarpaResponseSeverity {
        Mild = "Mild",
        Moderate = "Moderate",
        Severe = "Severe",
    }
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KalsarpaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Kalsarpa dosha effects on career, health, mindset, and relationships
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KalsarpaResponseEffects {
    /// Impact on professional growth and career progress
    pub career: String,
    /// When Kalsarpa effects are most active in Vimshottari dasha
    pub duration: String,
    /// Physical and mental health implications
    pub health: String,
    /// Psychological and emotional effects
    pub mindset: String,
    /// Potential spiritual and personal growth benefits
    pub positive: String,
    /// Impact on family bonds and personal relationships
    pub relationships: String,
}
/// Request body of `checkKalsarpaDosha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KalsarpaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KalsarpaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KalsarpaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KalsarpaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    KalsarpaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `getKpSublordChanges`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPSublordChangesResponse {
    /// Chronological list of KP sublord boundary crossings. Each entry marks when the tracked graha moves from one Krishnamurti subdivision to the next in the 249-part zodiac.
    pub changes: Vec<KPSublordChangesResponseChangesItem>,
    /// End of the sublord change search range (YYYY-MM-DD).
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic graha tracked for KP sublord transitions across the 249-division zodiac.
    pub planet: String,
    /// Beginning of the sublord change search range (YYYY-MM-DD).
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// Total Krishnamurti sublord transitions detected. The Moon, the fastest body, crosses about 9 sublords a day.
    #[serde(rename = "totalChanges")]
    pub total_changes: f64,
}
/// One entry of `changes`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPSublordChangesResponseChangesItem {
    /// Date of the sublord boundary crossing (YYYY-MM-DD). Adjusted to requested timezone.
    pub date: String,
    /// Full datetime of the KP sublord change. Adjusted to requested timezone for prashna kundali timing.
    pub datetime: String,
    /// Previous KP number (1-249) in the Vimshottari-based zodiac subdivision the planet occupied.
    #[serde(rename = "fromKp")]
    pub from_kp: f64,
    /// Nakshatra lord (star lord) before transition. Follows the Vimshottari dasha sequence of 9 planets.
    #[serde(rename = "fromNakshatraLord")]
    pub from_nakshatra_lord: String,
    /// KP sublord planet before transition. The sublord determines whether an event signified by the star lord will manifest.
    #[serde(rename = "fromSublord")]
    pub from_sublord: String,
    /// Sublord transition time (HH:MM, 24-hour): the instant is found to the second and shown rounded to the nearest minute. Adjusted to requested timezone.
    pub time: String,
    /// New KP number (1-249) the planet enters. Each number maps to a unique star lord and sublord combination.
    #[serde(rename = "toKp")]
    pub to_kp: f64,
    /// Nakshatra lord after transition. Changes only when the planet crosses a nakshatra boundary (every 13d20m).
    #[serde(rename = "toNakshatraLord")]
    pub to_nakshatra_lord: String,
    /// New KP sublord planet after transition. A change in sublord shifts the houses signified by the tracked planet.
    #[serde(rename = "toSublord")]
    pub to_sublord: String,
}
/// Request body of `getKpSublordChanges`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPSublordChangesRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPSublordChangesRequestAyanamsa>,
    /// Last day of the search, inclusive (YYYY-MM-DD), a calendar day in `timezone`. Not before startDate, at most 365 days after it.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<KPSublordChangesRequestNodeType>,
    /// Planet to track (case-insensitive). Valid values: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn
    pub planet: KPSublordChangesRequestPlanet,
    /// First day of the search (YYYY-MM-DD), a calendar day in `timezone`.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// IANA name (e.g. "America/New_York", "Europe/London"), a fixed offset like "+05:30", OR decimal hours from UTC. One offset is taken from startDate (DST-correct for that date) and used for the whole range, so a window crossing a daylight-saving change is read on the earlier offset throughout; send a fixed offset if you need that explicit. The two dates are read as calendar days in this timezone and output times are converted to it, so one date with 5.5 is that whole Indian day. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPSublordChangesRequestTimezone>,
}
/// IANA name (e.g. "America/New_York", "Europe/London"), a fixed offset like "+05:30", OR decimal hours from UTC. One offset is taken from startDate (DST-correct for that date) and used for the whole range, so a window crossing a daylight-saving change is read on the earlier offset throughout; send a fixed offset if you need that explicit. The two dates are read as calendar days in this timezone and output times are converted to it, so one date with 5.5 is that whole Indian day. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPSublordChangesRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Planet to track (case-insensitive). Valid values: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn
    KPSublordChangesRequestPlanet {
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Mercury = "Mercury",
        Jupiter = "Jupiter",
        Venus = "Venus",
        Saturn = "Saturn",
    }
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    KPSublordChangesRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    KPSublordChangesRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
    }
}
/// Response body of `getKpRulingPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsResponse {
    /// Calculation datetime (ISO 8601)
    pub datetime: String,
    /// Lord of the weekday (Sun=Sunday through Saturn=Saturday)
    #[serde(rename = "dayLord")]
    pub day_lord: String,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<KPRulingPlanetsResponseFocus>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes", skip_serializing_if = "Option::is_none")]
    pub house_themes: Option<KPRulingPlanetsResponseHouseThemes>,
    /// Lord of the rising zodiac sign (Ascendant)
    #[serde(rename = "lagnaSignLord")]
    pub lagna_sign_lord: String,
    /// Lord of the nakshatra where Ascendant falls
    #[serde(rename = "lagnaStarLord")]
    pub lagna_star_lord: String,
    /// Sub-sub lord (SSL) of the KP division where Ascendant falls
    #[serde(rename = "lagnaSubSublord")]
    pub lagna_sub_sublord: String,
    /// Sub-lord of the KP division where Ascendant falls
    #[serde(rename = "lagnaSublord")]
    pub lagna_sublord: String,
    /// Observer location coordinates
    pub location: KPRulingPlanetsResponseLocation,
    /// Lord of the zodiac sign where Moon is placed
    #[serde(rename = "moonSignLord")]
    pub moon_sign_lord: String,
    /// Lord of the nakshatra where Moon is placed
    #[serde(rename = "moonStarLord")]
    pub moon_star_lord: String,
    /// Sub-sub lord (SSL) of the KP division where Moon is placed
    #[serde(rename = "moonSubSublord")]
    pub moon_sub_sublord: String,
    /// Sub-lord of the KP division where Moon is placed
    #[serde(rename = "moonSublord")]
    pub moon_sublord: String,
    /// Unique ruling planets in order of strength. Strongest planet appears first.
    #[serde(rename = "rulingPlanets")]
    pub ruling_planets: Vec<String>,
    /// Houses signified by each ruling planet (only when birthDate and birthTime provided). Based on 4-level KP significator hierarchy from birth chart.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<Vec<KPRulingPlanetsResponseSignificatorsItem>>,
}
/// One entry of `significators`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsResponseSignificatorsItem {
    /// Planet abbreviation.
    pub planet: String,
    /// Houses this planet signifies, ordered by KP 4-level strength: L1 (planet in star of occupant, strongest), L2 (planet occupies), L3 (planet in star of owner), L4 (planet owns). First element is the strongest signification, not the occupied house.
    pub signifies: Vec<f64>,
}
/// Observer location coordinates
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsResponseLocation {
    /// Observer latitude in decimal degrees, echoed back from the request. Sets the local sidereal time behind the KP ascendant and therefore the Lagna sublord.
    pub latitude: f64,
    /// Observer longitude in decimal degrees, echoed back from the request. East is positive, west is negative.
    pub longitude: f64,
    /// Numeric UTC offset in decimal hours the calculation consumed. An IANA name sent on the request is resolved to its DST-correct offset upstream, so this is always a number.
    pub timezone: f64,
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    KPRulingPlanetsResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `getKpRulingInterval`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponse {
    /// End of the KP ruling planets interval range (ISO 8601).
    #[serde(rename = "endDatetime")]
    pub end_datetime: String,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    pub focus: KPRulingPlanetsIntervalResponseFocus,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes")]
    pub house_themes: KPRulingPlanetsIntervalResponseHouseThemes,
    /// Time gap between consecutive ruling planet calculations in minutes.
    #[serde(rename = "intervalMinutes")]
    pub interval_minutes: f64,
    /// Ruling planets with significators at each interval
    pub intervals: Vec<KPRulingPlanetsIntervalResponseIntervalsItem>,
    /// Observer location coordinates used for erecting the Placidus prashna chart at each interval.
    pub location: KPRulingPlanetsIntervalResponseLocation,
    /// Start of the KP ruling planets interval range (ISO 8601).
    #[serde(rename = "startDatetime")]
    pub start_datetime: String,
    /// Total number of intervals returned
    #[serde(rename = "totalIntervals")]
    pub total_intervals: f64,
}
/// Observer location coordinates used for erecting the Placidus prashna chart at each interval.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseLocation {
    /// Observer latitude used for Placidus house and Lagna (Ascendant) calculation.
    pub latitude: f64,
    /// Observer longitude used for local sidereal time and Ascendant degree.
    pub longitude: f64,
    /// Timezone offset applied to output times and sunrise-based Day Lord calculation.
    pub timezone: f64,
}
/// One entry of `intervals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseIntervalsItem {
    /// UTC date for this interval (YYYY-MM-DD).
    pub date: String,
    /// Full ISO 8601 timestamp for this interval.
    pub datetime: String,
    /// Ruling planet of the weekday based on Hindu sunrise Vara. Changes at local sunrise, not midnight.
    #[serde(rename = "dayLord")]
    pub day_lord: String,
    /// Lord of the Ascendant (Lagna) zodiac sign. Changes roughly every 2 hours as houses rotate.
    #[serde(rename = "lagnaSignLord")]
    pub lagna_sign_lord: String,
    /// Lord of the nakshatra where the Ascendant degree falls.
    #[serde(rename = "lagnaStarLord")]
    pub lagna_star_lord: String,
    /// KP sub-sublord of the Ascendant. Most granular level for pinpointing exact moments.
    #[serde(rename = "lagnaSubSublord")]
    pub lagna_sub_sublord: String,
    /// KP sublord of the Ascendant degree. Changes every few minutes. key for birth time rectification.
    #[serde(rename = "lagnaSublord")]
    pub lagna_sublord: String,
    /// Lord of the zodiac sign (rashi) where Moon is placed at this moment.
    #[serde(rename = "moonSignLord")]
    pub moon_sign_lord: String,
    /// KP 4-level significator breakdown for the Moon Sign Lord planet. Shows which houses the Moon rashi lord activates at this moment, broken down by strength tier.
    #[serde(rename = "moonSignLordSignifies")]
    pub moon_sign_lord_signifies: KPRulingPlanetsIntervalResponseIntervalsItemMoonSignLordSignifies,
    /// KP 4-level significator breakdown for Moon itself. Shows which bhavas Moon directly activates based on its position and star lord in the current moment chart.
    #[serde(rename = "moonSignifies")]
    pub moon_signifies: KPRulingPlanetsIntervalResponseIntervalsItemMoonSignifies,
    /// Lord of the nakshatra (star, 1 of 27) where Moon is placed. Follows Vimshottari dasha sequence.
    #[serde(rename = "moonStarLord")]
    pub moon_star_lord: String,
    /// KP 4-level significator breakdown for the Moon Star Lord (nakshatra lord) planet. The star lord determines the nature of results Moon delivers.
    #[serde(rename = "moonStarLordSignifies")]
    pub moon_star_lord_signifies: KPRulingPlanetsIntervalResponseIntervalsItemMoonStarLordSignifies,
    /// KP sub-sublord (SSL) of Moons position. Finest subdivision for precise timing.
    #[serde(rename = "moonSubSublord")]
    pub moon_sub_sublord: String,
    /// KP sublord of Moons exact position within the nakshatra subdivision (1 of 249).
    #[serde(rename = "moonSublord")]
    pub moon_sublord: String,
    /// KP 4-level significator breakdown for the Moon Sub Lord planet. The sub lord determines whether Moon-related events will manifest.
    #[serde(rename = "moonSublordSignifies")]
    pub moon_sublord_signifies: KPRulingPlanetsIntervalResponseIntervalsItemMoonSublordSignifies,
    /// Unique set of ruling planets derived from Day Lord, Moon Sign/Star Lords, and Lagna Sign/Star Lords. In KP astrology, events manifest when dasha/transit planets match these ruling planets.
    #[serde(rename = "rulingPlanets")]
    pub ruling_planets: Vec<String>,
    /// KP significators for each ruling planet calculated from this moments Placidus chart. Shows which houses (1-12) each ruling planet signifies right now. Significators change as the Ascendant rotates through signs.
    pub significators: Vec<
        KPRulingPlanetsIntervalResponseIntervalsItemSignificatorsItem,
    >,
    /// UTC time for this interval (HH:MM, 24-hour).
    pub time: String,
}
/// One entry of `significators`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseIntervalsItemSignificatorsItem {
    /// Ruling planet name.
    pub planet: String,
    /// Unique house numbers this planet signifies, ordered by strength. Uses 4-level KP hierarchy: Level 1 (strongest) planets in star of occupant, Level 2 occupants, Level 3 planets in star of owner, Level 4 owner.
    pub signifies: Vec<f64>,
}
/// KP 4-level significator breakdown for the Moon Sub Lord planet. The sub lord determines whether Moon-related events will manifest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseIntervalsItemMoonSublordSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
/// KP 4-level significator breakdown for the Moon Star Lord (nakshatra lord) planet. The star lord determines the nature of results Moon delivers.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseIntervalsItemMoonStarLordSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
/// KP 4-level significator breakdown for Moon itself. Shows which bhavas Moon directly activates based on its position and star lord in the current moment chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseIntervalsItemMoonSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
/// KP 4-level significator breakdown for the Moon Sign Lord planet. Shows which houses the Moon rashi lord activates at this moment, broken down by strength tier.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseIntervalsItemMoonSignLordSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRulingPlanetsIntervalResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    KPRulingPlanetsIntervalResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `getKpRasiChanges`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRasiChangesResponse {
    /// Chronological list of rasi parivartan (zodiac sign change) events with precise ingress timestamps. Each entry marks when the tracked graha crosses a 30-degree sign boundary.
    pub changes: Vec<KPRasiChangesResponseChangesItem>,
    /// End of the rasi change search range (YYYY-MM-DD).
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic graha being tracked for rasi parivartan (sign ingress) events.
    pub planet: String,
    /// Beginning of the rasi change search range (YYYY-MM-DD).
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// Total rasi parivartan events detected in the date range. Moon averages 12-13 per month, Sun once per month.
    #[serde(rename = "totalChanges")]
    pub total_changes: f64,
}
/// One entry of `changes`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRasiChangesResponseChangesItem {
    /// Date of the rasi ingress event (YYYY-MM-DD). Adjusted to requested timezone for local panchang use.
    pub date: String,
    /// Full rasi parivartan datetime. Adjusted to requested timezone for transit calendar integration.
    pub datetime: String,
    /// Zodiac sign (rashi) the planet is leaving. One of 12 sidereal signs using KP ayanamsa.
    #[serde(rename = "fromSign")]
    pub from_sign: String,
    /// Rashi lord (planetary ruler) of the departing sign. Determines the Vimshottari dasha connection.
    #[serde(rename = "fromSignLord")]
    pub from_sign_lord: String,
    /// Ingress time (HH:MM, 24-hour): the instant is found to the second and shown rounded to the nearest minute. Adjusted to requested timezone.
    pub time: String,
    /// New zodiac sign entered by the planet. Marks the beginning of a new transit phase in Vedic gochar analysis.
    #[serde(rename = "toSign")]
    pub to_sign: String,
    /// Rashi lord of the newly entered sign. Key for KP significator analysis and dasha-transit matching.
    #[serde(rename = "toSignLord")]
    pub to_sign_lord: String,
}
/// Request body of `getKpRasiChanges`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPRasiChangesRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPRasiChangesRequestAyanamsa>,
    /// Last day of the search, inclusive (YYYY-MM-DD), a calendar day in `timezone`. Not before startDate, at most 365 days after it.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<KPRasiChangesRequestNodeType>,
    /// Planet to track (case-insensitive). Valid values: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn
    pub planet: KPRasiChangesRequestPlanet,
    /// First day of the search (YYYY-MM-DD), a calendar day in `timezone`.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// IANA name (e.g. "America/New_York", "Europe/London"), a fixed offset like "+05:30", OR decimal hours from UTC. One offset is taken from startDate (DST-correct for that date) and used for the whole range, so a window crossing a daylight-saving change is read on the earlier offset throughout; send a fixed offset if you need that explicit. The two dates are read as calendar days in this timezone and output times are converted to it, so one date with 5.5 is that whole Indian day. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPRasiChangesRequestTimezone>,
}
/// IANA name (e.g. "America/New_York", "Europe/London"), a fixed offset like "+05:30", OR decimal hours from UTC. One offset is taken from startDate (DST-correct for that date) and used for the whole range, so a window crossing a daylight-saving change is read on the earlier offset throughout; send a fixed offset if you need that explicit. The two dates are read as calendar days in this timezone and output times are converted to it, so one date with 5.5 is that whole Indian day. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPRasiChangesRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Planet to track (case-insensitive). Valid values: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn
    KPRasiChangesRequestPlanet {
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Mercury = "Mercury",
        Jupiter = "Jupiter",
        Venus = "Venus",
        Saturn = "Saturn",
    }
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    KPRasiChangesRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    KPRasiChangesRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
    }
}
/// Response body of `getKpPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsResponse {
    /// Applied ayanamsa value in degrees
    pub ayanamsa: f64,
    /// The `planets` field.
    pub planets: Vec<KPPlanetsResponsePlanetsItem>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsResponsePlanetsItem {
    /// KP horary number (1-249)
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// KP sidereal longitude in degrees (0-360). Used to determine Placidus house placement and KP subdivision (sign, star, sub).
    pub longitude: f64,
    /// Nakshatra (lunar mansion) this planet occupies. One of 27 nakshatras, each spanning 13 degrees 20 minutes.
    pub nakshatra: String,
    /// Nakshatra lord (star ruler) from the Vimshottari dasha sequence. Determines the nature of results this planet delivers in KP.
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: String,
    /// Nakshatra sequence number (1-27). Ashwini=1 through Revati=27.
    #[serde(rename = "nakshatraNumber")]
    pub nakshatra_number: f64,
    /// Nakshatra pada/quarter (1-4)
    pub pada: f64,
    /// Vedic graha name (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu).
    pub planet: String,
    /// Whether planet is in retrograde motion
    pub retrograde: bool,
    /// Zodiac sign (rashi) this planet occupies in the sidereal zodiac.
    pub sign: String,
    /// Rashi lord (sign ruler). First level of the KP significator hierarchy. Its house ownership determines L4 significations.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// Star-lord (same as nakshatra lord in KP system)
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// Sub-lord based on 249-level KP subdivision
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// Sub-sub lord (SSL) based on 2241-level KP subdivision. Third level of Vimshottari dasha proportions.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Request body of `getKpPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPPlanetsRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format
    pub date: String,
    /// Birth location latitude in decimal degrees
    pub latitude: f64,
    /// Birth location longitude in decimal degrees
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<KPPlanetsRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST) for Vedic astrology.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPPlanetsRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST) for Vedic astrology.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPPlanetsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    KPPlanetsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    KPPlanetsRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `getKpPlanetsInterval`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsIntervalResponse {
    /// Ayanamsa system used for this calculation. "kp-newcomb" = KP-Newcomb (dynamic), "kp-old" = Krishnamurti original (constant rate), "lahiri" = Lahiri/Chitrapaksha.
    pub ayanamsa: String,
    /// Ayanamsa value in degrees used for sidereal conversion. Verify this against your reference source to confirm correct ayanamsa is applied.
    #[serde(rename = "ayanamsaValue")]
    pub ayanamsa_value: f64,
    /// End of the KP ephemeris interval range (ISO 8601).
    #[serde(rename = "endDatetime")]
    pub end_datetime: String,
    /// Time gap between consecutive planetary snapshots in minutes. Determines the granularity of the KP transit table.
    #[serde(rename = "intervalMinutes")]
    pub interval_minutes: f64,
    /// Array of planetary snapshots at each time interval
    pub intervals: Vec<KPPlanetsIntervalResponseIntervalsItem>,
    /// Start of the KP ephemeris interval range (ISO 8601).
    #[serde(rename = "startDatetime")]
    pub start_datetime: String,
    /// Total number of time points calculated (inclusive of both start and end).
    #[serde(rename = "totalIntervals")]
    pub total_intervals: f64,
}
/// One entry of `intervals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsIntervalResponseIntervalsItem {
    /// Date for this data point (YYYY-MM-DD). Adjusted to requested timezone.
    pub date: String,
    /// Full datetime for this data point. Adjusted to requested timezone.
    pub datetime: String,
    /// Planet positions keyed by planet name (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu)
    pub planets: KPPlanetsIntervalResponseIntervalsItemPlanets,
    /// Time for this data point (HH:MM). Adjusted to requested timezone.
    pub time: String,
}
/// Planet positions keyed by planet name (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu)
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsIntervalResponseIntervalsItemPlanets {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        KPPlanetsIntervalResponseIntervalsItemPlanetsAdditionalProperty,
    >,
}
/// The full KP hierarchy for one planet at this timestamp: sidereal longitude and rashi, sign lord, star lord, sublord and sub-sublord, and the 1 to 249 KP number that names the subdivision.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsIntervalResponseIntervalsItemPlanetsAdditionalProperty {
    /// Degree within the current rashi (0-30). Useful for gauging how far into a sign the planet has progressed.
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// True if the planet is in retrograde (vakri) motion. Rahu and Ketu are always retrograde. Retrograde planets deliver results differently in KP analysis.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// KP number (1-249) identifying the exact Vimshottari subdivision. Each number maps to a unique star lord and sublord combination.
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// Sidereal longitude in degrees (0-360) using KP ayanamsa. The primary coordinate for all KP sublord lookups.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) the planet occupies. One of 27 Vedic nakshatras spanning 13 degrees 20 minutes each.
    pub nakshatra: String,
    /// Star lord (nakshatra ruler) from Vimshottari dasha sequence. Determines the nature of results this planet delivers. Its occupied and owned houses become L1 and L3 significations.
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: String,
    /// Sidereal zodiac sign (rashi) the planet occupies at this interval.
    pub sign: String,
    /// Rashi lord (sign ruler). First level of the KP significator hierarchy. Its house ownership determines L4 significations for this planet.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// KP sub-sublord (SSL). Third level of Vimshottari subdivision (2,241 divisions). Refines timing within the sublord period for precise event prediction.
    #[serde(rename = "subSublord")]
    pub sub_sublord: String,
    /// KP sublord within the 249-part zodiac division. The deciding factor in KP predictions. An event manifests only if the sublord signifies the relevant house.
    pub sublord: String,
}
/// Request body of `getKpPlanetsInterval`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPPlanetsIntervalRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPPlanetsIntervalRequestAyanamsa>,
    /// End datetime in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Maximum 7 days from start. Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
    #[serde(rename = "endDatetime")]
    pub end_datetime: String,
    /// Time between calculations in minutes. Range: 15 (quarter-hourly) to 1440 (daily).
    #[serde(rename = "intervalMinutes")]
    pub interval_minutes: f64,
    /// Observer latitude in decimal degrees (for future Lagna calculations)
    pub latitude: f64,
    /// Observer longitude in decimal degrees (for future Lagna calculations)
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<KPPlanetsIntervalRequestNodeType>,
    /// Start datetime in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
    #[serde(rename = "startDatetime")]
    pub start_datetime: String,
    /// IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC. IANA resolved to the DST-correct offset for the startDatetime date. When non-zero, all datetimes are treated as local time in this timezone (Z suffix is ignored). Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPPlanetsIntervalRequestTimezone>,
}
/// IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC. IANA resolved to the DST-correct offset for the startDatetime date. When non-zero, all datetimes are treated as local time in this timezone (Z suffix is ignored). Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPPlanetsIntervalRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    KPPlanetsIntervalRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    KPPlanetsIntervalRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
    }
}
/// A complete KP horary (Prashna) chart: the Ascendant from the number, the cusps and planets from the moment of the question, plus ruling planets and four-level significators.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponse {
    /// The Ascendant the horary number produced. This is the ONLY part of the chart that comes from the number; everything else comes from the sky at the moment of the question.
    pub ascendant: KPHoraryResponseAscendant,
    /// Degrees subtracted from every tropical longitude to produce this chart. Compare it against your reference software before treating a placement difference as a disagreement.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
    /// Sidereal frame used, echoed back.
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: String,
    /// Twelve Placidus cusps, house 1 first. House 1 is the horary Ascendant; the other eleven follow from the house frame that Ascendant implies at this latitude.
    pub cusps: Vec<KPHoraryResponseCuspsItem>,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    pub focus: KPHoraryResponseFocus,
    /// The number that was asked for, echoed so a stored chart is self describing.
    #[serde(rename = "horaryNumber")]
    pub horary_number: i64,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes")]
    pub house_themes: KPHoraryResponseHouseThemes,
    /// The nine grahas at the moment of the question, placed against the horary cusps. These come from the real sky, not from the number.
    pub planets: Vec<KPHoraryResponsePlanetsItem>,
    /// UTC instant the chart was cast for, resolved from the date, time and timezone.
    #[serde(rename = "questionTime")]
    pub question_time: String,
    /// Ruling planets at the moment of the question. NOTE the lagna values here are from the TIME-based ascendant, which is the classical ruling-planet definition, not from the horary number.
    #[serde(rename = "rulingPlanets")]
    pub ruling_planets: KPHoraryResponseRulingPlanets,
    /// KP significators for event prediction and timing. Shows which planets signify each house (house-wise) and which houses each planet signifies (planet-wise). Strength order: Level 1 (planets in star of occupant) &gt; Level 2 (occupants) &gt; Level 3 (planets in star of owner) &gt; Level 4 (house owner).
    pub significators: KPHoraryResponseSignificators,
}
/// KP significators for event prediction and timing. Shows which planets signify each house (house-wise) and which houses each planet signifies (planet-wise). Strength order: Level 1 (planets in star of occupant) &gt; Level 2 (occupants) &gt; Level 3 (planets in star of owner) &gt; Level 4 (house owner).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseSignificators {
    /// The `houseWise` field.
    #[serde(rename = "houseWise")]
    pub house_wise: Vec<KPHoraryResponseSignificatorsHouseWiseItem>,
    /// The `planetWise` field.
    #[serde(rename = "planetWise")]
    pub planet_wise: Vec<KPHoraryResponseSignificatorsPlanetWiseItem>,
}
/// One entry of `planetWise`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseSignificatorsPlanetWiseItem {
    /// The four levels flattened, strongest first, repeats included: a house appears once per level the planet reaches it at, so the length counts level hits. The levels beside it are the per-level view.
    #[serde(rename = "allHouses")]
    pub all_houses: Vec<f64>,
    /// Vedic graha (planet) being analyzed for its house significations.
    pub planet: String,
    /// The `signifies` field.
    pub signifies: Vec<KPHoraryResponseSignificatorsPlanetWiseItemSignifiesItem>,
}
/// One entry of `signifies`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseSignificatorsPlanetWiseItemSignifiesItem {
    /// House numbers this planet signifies at this strength level.
    pub houses: Vec<f64>,
    /// KP significator strength level (1-4). L1 strongest, L4 weakest.
    pub level: f64,
}
/// One entry of `houseWise`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseSignificatorsHouseWiseItem {
    /// The four levels flattened, strongest first, repeats included: a planet that reaches the house at two levels appears once per level, so the length counts level hits. The levels beside it are the per-level view.
    pub all: Vec<String>,
    /// House number 1-12
    pub house: f64,
    /// The `significators` field.
    pub significators: Vec<KPHoraryResponseSignificatorsHouseWiseItemSignificatorsItem>,
}
/// One entry of `significators`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseSignificatorsHouseWiseItemSignificatorsItem {
    /// Human-readable label for this KP significator level.
    pub description: String,
    /// KP significator strength level (1-4). L1: planets in star of occupant (strongest). L2: occupant itself. L3: planets in star of owner. L4: sign owner. Lower number = stronger signification for this house.
    pub level: f64,
    /// Planets signifying this house at this strength level.
    pub planets: Vec<String>,
}
/// Ruling planets at the moment of the question. NOTE the lagna values here are from the TIME-based ascendant, which is the classical ruling-planet definition, not from the horary number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseRulingPlanets {
    /// Lord of the Hindu weekday, counted from sunrise.
    #[serde(rename = "dayLord")]
    pub day_lord: String,
    /// Sign lord of the ascendant at the question moment.
    #[serde(rename = "lagnaSignLord")]
    pub lagna_sign_lord: String,
    /// Star lord of that ascendant.
    #[serde(rename = "lagnaStarLord")]
    pub lagna_star_lord: String,
    /// Sub-sub lord of that ascendant.
    #[serde(rename = "lagnaSubSublord")]
    pub lagna_sub_sublord: String,
    /// Sub lord of that ascendant.
    #[serde(rename = "lagnaSublord")]
    pub lagna_sublord: String,
    /// Sign lord of the Moon.
    #[serde(rename = "moonSignLord")]
    pub moon_sign_lord: String,
    /// Star lord of the Moon.
    #[serde(rename = "moonStarLord")]
    pub moon_star_lord: String,
    /// Sub-sub lord of the Moon.
    #[serde(rename = "moonSubSublord")]
    pub moon_sub_sublord: String,
    /// Sub lord of the Moon.
    #[serde(rename = "moonSublord")]
    pub moon_sublord: String,
    /// The distinct ruling planets in KP order of strength. They validate the chart: when they repeat the significators of the houses the question needs, the judgment is considered reliable.
    #[serde(rename = "rulingPlanets")]
    pub ruling_planets: Vec<String>,
}
/// One graha at the moment of the question, with its full KP hierarchy.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponsePlanetsItem {
    /// Placidus house the graha occupies in this horary chart, counted against the cusps above rather than by whole sign.
    pub house: i64,
    /// Retrograde motion flag.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// KP horary number 1 to 249 of the sub division holding this point. Matches the standard published KP table.
    #[serde(rename = "kpNumber")]
    pub kp_number: i64,
    /// Sidereal longitude at the moment of the question.
    pub longitude: f64,
    /// Graha name.
    pub planet: String,
    /// Zodiac sign (rashi) of this point.
    pub sign: String,
    /// Nakshatra (star) this point falls in.
    pub star: String,
    /// Nakshatra lord (star lord), the second level of the KP hierarchy.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// Sub lord, the decisive level in KP. A cusp sub lord is what answers the question: it is read for whether the matter is promised, before any timing is attempted.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// Sub-sub lord, the fourth KP level, used to refine timing.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    KPHoraryResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// One Placidus cusp with its KP lords. The sub lord of the cusp relevant to the question is the value a KP practitioner reads first.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseCuspsItem {
    /// House (bhava) number 1 to 12.
    pub house: i64,
    /// KP horary number 1 to 249 of the sub division holding this point. Matches the standard published KP table.
    #[serde(rename = "kpNumber")]
    pub kp_number: i64,
    /// Sidereal longitude of the cusp.
    pub longitude: f64,
    /// Zodiac sign (rashi) of this point.
    pub sign: String,
    /// Nakshatra (star) this point falls in.
    pub star: String,
    /// Nakshatra lord (star lord), the second level of the KP hierarchy.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// Sub lord, the decisive level in KP. A cusp sub lord is what answers the question: it is read for whether the matter is promised, before any timing is attempted.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
}
/// The Ascendant the horary number produced. This is the ONLY part of the chart that comes from the number; everything else comes from the sky at the moment of the question.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryResponseAscendant {
    /// Degrees into the sign, 0 to 30, which is what a chart displays.
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// KP horary number 1 to 249 of the sub division holding this point. Matches the standard published KP table.
    #[serde(rename = "kpNumber")]
    pub kp_number: i64,
    /// Sidereal longitude of the horary Ascendant, taken as the MIDPOINT of the sub division the number names.
    pub longitude: f64,
    /// Zodiac sign (rashi) of this point.
    pub sign: String,
    /// Sidereal longitude where this numbered sub division begins.
    #[serde(rename = "spanFrom")]
    pub span_from: f64,
    /// Sidereal longitude where it ends. The Ascendant sits midway between this and spanFrom.
    #[serde(rename = "spanTo")]
    pub span_to: f64,
    /// Nakshatra (star) this point falls in.
    pub star: String,
    /// Nakshatra lord (star lord), the second level of the KP hierarchy.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// Sub lord, the decisive level in KP. A cusp sub lord is what answers the question: it is read for whether the matter is promised, before any timing is attempted.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
}
/// Request body of `castKpHoraryChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPHoraryRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPHoraryRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Date the question was taken up for judgment, YYYY-MM-DD. Not a birth date: a horary chart needs no birth details at all, which is the point of the method.
    pub date: String,
    /// Horary number from 1 to 249, given by the querent while focused on their question. It maps to one of the 249 KP sub divisions of the zodiac, and that division sets the Ascendant of the chart. The querent should give the first number that comes to mind and use it once for that question; the astrologer never chooses it. Numbers outside 1 to 249 are rejected rather than wrapped, because a wrapped number would silently answer a different question.
    #[serde(rename = "horaryNumber")]
    pub horary_number: i64,
    /// Latitude where the question is judged, decimal degrees. The house cusps are Placidus and therefore latitude dependent, so this is the place of judgment, not the querent birthplace.
    pub latitude: f64,
    /// Longitude where the question is judged, decimal degrees.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<KPHoraryRequestNodeType>,
    /// Time the question was taken up for judgment, 24-hour HH:MM:SS. In KP practice this is the moment the astrologer receives and understands the question, not the moment the querent first thought of it. It sets every planetary position and all twelve cusps except the Ascendant.
    pub time: String,
    /// Timezone: IANA name (e.g. "Asia/Kolkata") OR decimal hours from UTC. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPHoraryRequestTimezone>,
}
/// Timezone: IANA name (e.g. "Asia/Kolkata") OR decimal hours from UTC. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPHoraryRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    KPHoraryRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    KPHoraryRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `getKpDailyFinance`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponse {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPDailyFinanceResponseAyanamsa>,
    /// Degrees subtracted from the tropical longitudes, resolved at the birth date. One frame for the whole reading: cusps, significators, Vimshottari balance, ruling planets and Moon windows alike.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
    /// The score as one of five bands, each entered at its edge: "strong" from 70, "favourable" from 55, "mixed" from 45, "caution" from 30, "unfavourable" below 30. "mixed" is the ordinary day. Canonical English machine values.
    pub band: KPDailyFinanceResponseBand,
    /// The favourable Moon window of the day, the longest when several qualify, or null when the day has none. The one stretch the method backs outright.
    #[serde(rename = "bestWindow")]
    pub best_window: Option<KPDailyFinanceResponseBestWindow>,
    /// The civil date read.
    pub date: String,
    /// The `houses` field.
    pub houses: KPDailyFinanceResponseHouses,
    /// The `layers` field.
    pub layers: KPDailyFinanceResponseLayers,
    /// The reading moment, local datetime in the request timezone. The ruling planets and the dasha lords are read here.
    #[serde(rename = "readingAt")]
    pub reading_at: String,
    /// The weight-sum of the four layer scores, 0 to 100, one decimal: cusps 30, dasha 40, rulingPlanets 15, moonWindows 15, each divided by 100. Recomputable from the layers printed above. The house groups, the classification, the inversion on the loss cusps, the retrograde penalty, the level weights and the layer weights are a KP practitioner convention adopted as the published convention of this route: no classical KP text weighs these four layers against each other, and every table behind the number is printed so the result can be checked line by line rather than trusted. The score measures what the method outputs for the day, never the probability of a gain or a loss.
    pub score: f64,
    /// The `significators` field.
    pub significators: KPDailyFinanceResponseSignificators,
    /// Every unfavourable Moon window of the day, in clock order.
    #[serde(rename = "worstWindows")]
    pub worst_windows: Vec<KPDailyFinanceResponseWorstWindowsItem>,
}
/// One entry of `worstWindows`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseWorstWindowsItem {
    /// Local datetime the window opens, in the request timezone.
    pub from: String,
    /// Whether the planet signifies at least one gain house at any of the four tiers.
    #[serde(rename = "inGain")]
    pub in_gain: bool,
    /// Whether the planet signifies at least one loss house at any of the four tiers.
    #[serde(rename = "inLoss")]
    pub in_loss: bool,
    /// The verdict score of the window.
    pub score: f64,
    /// The KP sub lord the Moon holds through this window, the planet the row classifies.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// Local datetime the window closes. The last window of the day closes at the next midnight.
    pub to: String,
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    pub verdict: KPDailyFinanceResponseWorstWindowsItemVerdict,
}
string_enum! {
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    KPDailyFinanceResponseWorstWindowsItemVerdict {
        Favourable = "favourable",
        Mixed = "mixed",
        Unfavourable = "unfavourable",
        Neutral = "neutral",
    }
}
/// The `significators` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseSignificators {
    /// The per-house evidence the two sets are built from, so any row can be traced to the tier that put its planet in a set.
    #[serde(rename = "byHouse")]
    pub by_house: Vec<KPDailyFinanceResponseSignificatorsByHouseItem>,
    /// Every planet that signifies at least one gain house at any tier. The set every row is judged against.
    pub gain: Vec<String>,
    /// Every planet that signifies at least one loss house at any tier. A planet in both sets reads "mixed" everywhere.
    pub loss: Vec<String>,
}
/// One entry of `byHouse`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseSignificatorsByHouseItem {
    /// Which set this house feeds. Canonical English machine value.
    pub group: KPDailyFinanceResponseSignificatorsByHouseItemGroup,
    /// The house, 1 to 12.
    pub house: f64,
    /// The four tier significators of the house, strongest tier first: planets in the star of an occupant, occupants, planets in the star of the sign lord, the sign lord. A planet appears once per tier it reaches the house at, exactly as the KP chart route lists them.
    pub significators: Vec<String>,
}
string_enum! {
    /// Which set this house feeds. Canonical English machine value.
    KPDailyFinanceResponseSignificatorsByHouseItemGroup {
        Gain = "gain",
        Loss = "loss",
    }
}
/// The `layers` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayers {
    /// Structural promise: each cusp of the two groups judged by its sub lord, the loss cusps inverted, the mean over the rows.
    pub cusps: KPDailyFinanceResponseLayersCusps,
    /// Timing: the four running Vimshottari lords at the reading moment, in the same sidereal frame as the chart, each judged and penalised if retrograde, then weighed by level.
    pub dasha: KPDailyFinanceResponseLayersDasha,
    /// The hour hand: every stretch of the civil day over which the Moon holds one sub lord, each judged, the mean over the windows. Window boundaries are found by bisection and printed to the second.
    #[serde(rename = "moonWindows")]
    pub moon_windows: KPDailyFinanceResponseLayersMoonWindows,
    /// The pulse of the moment: the KP ruling planets at the reading moment, each once, judged and penalised if retrograde, the mean over the rows.
    #[serde(rename = "rulingPlanets")]
    pub ruling_planets: KPDailyFinanceResponseLayersRulingPlanets,
}
/// The pulse of the moment: the KP ruling planets at the reading moment, each once, judged and penalised if retrograde, the mean over the rows.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersRulingPlanets {
    /// Which layer this is. Canonical English machine value, the same as its key.
    pub layer: KPDailyFinanceResponseLayersRulingPlanetsLayer,
    /// The `rows` field.
    pub rows: Vec<KPDailyFinanceResponseLayersRulingPlanetsRowsItem>,
    /// The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
    pub score: f64,
    /// Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
    pub weight: f64,
}
/// One entry of `rows`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersRulingPlanetsRowsItem {
    /// Whether the planet signifies at least one gain house at any of the four tiers.
    #[serde(rename = "inGain")]
    pub in_gain: bool,
    /// Whether the planet signifies at least one loss house at any of the four tiers.
    #[serde(rename = "inLoss")]
    pub in_loss: bool,
    /// One ruling planet of the reading moment, listed once: the day lord, the sign and star lords of the Moon, and the sign and star lords of the ascendant.
    pub planet: String,
    /// Whether the planet is retrograde in transit at the reading moment. Costs 10 points, floored at 0.
    pub retrograde: bool,
    /// The verdict score after the penalty.
    pub score: f64,
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    pub verdict: KPDailyFinanceResponseLayersRulingPlanetsRowsItemVerdict,
}
string_enum! {
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    KPDailyFinanceResponseLayersRulingPlanetsRowsItemVerdict {
        Favourable = "favourable",
        Mixed = "mixed",
        Unfavourable = "unfavourable",
        Neutral = "neutral",
    }
}
string_enum! {
    /// Which layer this is. Canonical English machine value, the same as its key.
    KPDailyFinanceResponseLayersRulingPlanetsLayer {
        RulingPlanets = "rulingPlanets",
    }
}
/// The hour hand: every stretch of the civil day over which the Moon holds one sub lord, each judged, the mean over the windows. Window boundaries are found by bisection and printed to the second.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersMoonWindows {
    /// Which layer this is. Canonical English machine value, the same as its key.
    pub layer: KPDailyFinanceResponseLayersMoonWindowsLayer,
    /// The `rows` field.
    pub rows: Vec<KPDailyFinanceResponseLayersMoonWindowsRowsItem>,
    /// The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
    pub score: f64,
    /// Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
    pub weight: f64,
}
/// One entry of `rows`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersMoonWindowsRowsItem {
    /// Local datetime the window opens, in the request timezone.
    pub from: String,
    /// Whether the planet signifies at least one gain house at any of the four tiers.
    #[serde(rename = "inGain")]
    pub in_gain: bool,
    /// Whether the planet signifies at least one loss house at any of the four tiers.
    #[serde(rename = "inLoss")]
    pub in_loss: bool,
    /// The verdict score of the window.
    pub score: f64,
    /// The KP sub lord the Moon holds through this window, the planet the row classifies.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// Local datetime the window closes. The last window of the day closes at the next midnight.
    pub to: String,
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    pub verdict: KPDailyFinanceResponseLayersMoonWindowsRowsItemVerdict,
}
string_enum! {
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    KPDailyFinanceResponseLayersMoonWindowsRowsItemVerdict {
        Favourable = "favourable",
        Mixed = "mixed",
        Unfavourable = "unfavourable",
        Neutral = "neutral",
    }
}
string_enum! {
    /// Which layer this is. Canonical English machine value, the same as its key.
    KPDailyFinanceResponseLayersMoonWindowsLayer {
        MoonWindows = "moonWindows",
    }
}
/// Timing: the four running Vimshottari lords at the reading moment, in the same sidereal frame as the chart, each judged and penalised if retrograde, then weighed by level.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersDasha {
    /// Which layer this is. Canonical English machine value, the same as its key.
    pub layer: KPDailyFinanceResponseLayersDashaLayer,
    /// The `rows` field.
    pub rows: Vec<KPDailyFinanceResponseLayersDashaRowsItem>,
    /// The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
    pub score: f64,
    /// Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
    pub weight: f64,
}
/// One entry of `rows`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersDashaRowsItem {
    /// ISO instant the period ends.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Whether the planet signifies at least one gain house at any of the four tiers.
    #[serde(rename = "inGain")]
    pub in_gain: bool,
    /// Whether the planet signifies at least one loss house at any of the four tiers.
    #[serde(rename = "inLoss")]
    pub in_loss: bool,
    /// Which Vimshottari level this lord runs, outermost first.
    pub level: KPDailyFinanceResponseLayersDashaRowsItemLevel,
    /// The running lord at this level.
    pub lord: String,
    /// Whether the lord is retrograde in transit at the reading moment. Rahu and Ketu always are. Costs 10 points, floored at 0.
    pub retrograde: bool,
    /// The verdict score after the retrograde penalty.
    pub score: f64,
    /// ISO instant the period began.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    pub verdict: KPDailyFinanceResponseLayersDashaRowsItemVerdict,
    /// Percent of the dasha layer this level carries, the finer levels weighed more: mahadasha 10, antardasha 20, pratyantardasha 30, sookshmaDasha 40.
    pub weight: f64,
}
string_enum! {
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    KPDailyFinanceResponseLayersDashaRowsItemVerdict {
        Favourable = "favourable",
        Mixed = "mixed",
        Unfavourable = "unfavourable",
        Neutral = "neutral",
    }
}
string_enum! {
    /// Which Vimshottari level this lord runs, outermost first.
    KPDailyFinanceResponseLayersDashaRowsItemLevel {
        Mahadasha = "mahadasha",
        Antardasha = "antardasha",
        Pratyantardasha = "pratyantardasha",
        SookshmaDasha = "sookshmaDasha",
    }
}
string_enum! {
    /// Which layer this is. Canonical English machine value, the same as its key.
    KPDailyFinanceResponseLayersDashaLayer {
        Dasha = "dasha",
    }
}
/// Structural promise: each cusp of the two groups judged by its sub lord, the loss cusps inverted, the mean over the rows.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersCusps {
    /// Which layer this is. Canonical English machine value, the same as its key.
    pub layer: KPDailyFinanceResponseLayersCuspsLayer,
    /// The `rows` field.
    pub rows: Vec<KPDailyFinanceResponseLayersCuspsRowsItem>,
    /// The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
    pub score: f64,
    /// Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
    pub weight: f64,
}
/// One entry of `rows`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseLayersCuspsRowsItem {
    /// The cusp judged, 1 to 12.
    pub house: f64,
    /// Whether the planet signifies at least one gain house at any of the four tiers.
    #[serde(rename = "inGain")]
    pub in_gain: bool,
    /// Whether the planet signifies at least one loss house at any of the four tiers.
    #[serde(rename = "inLoss")]
    pub in_loss: bool,
    /// True on a loss house, where the verdict score is inverted: a loss cusp whose sub lord signifies only loss scores 100, because a denied loss is good news for the native.
    pub inverted: bool,
    /// Sidereal longitude of the cusp in the requested ayanamsa, degrees.
    pub longitude: f64,
    /// The verdict score, 100 / 50 / 0 / 50, after the inversion on a loss house.
    pub score: f64,
    /// Lord of the sign the cusp falls in.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// Lord of the nakshatra the cusp falls in.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// The KP sub lord of the cusp, the one lord that decides whether the house delivers. It is the planet the row classifies.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    pub verdict: KPDailyFinanceResponseLayersCuspsRowsItemVerdict,
}
string_enum! {
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    KPDailyFinanceResponseLayersCuspsRowsItemVerdict {
        Favourable = "favourable",
        Mixed = "mixed",
        Unfavourable = "unfavourable",
        Neutral = "neutral",
    }
}
string_enum! {
    /// Which layer this is. Canonical English machine value, the same as its key.
    KPDailyFinanceResponseLayersCuspsLayer {
        Cusps = "cusps",
    }
}
/// The `houses` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseHouses {
    /// The gain houses this reading used, the request override or the convention.
    pub gain: Vec<f64>,
    /// The loss houses this reading used, the request override or the convention.
    pub loss: Vec<f64>,
}
/// The favourable Moon window of the day, the longest when several qualify, or null when the day has none. The one stretch the method backs outright.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceResponseBestWindow {
    /// Local datetime the window opens, in the request timezone.
    pub from: String,
    /// Whether the planet signifies at least one gain house at any of the four tiers.
    #[serde(rename = "inGain")]
    pub in_gain: bool,
    /// Whether the planet signifies at least one loss house at any of the four tiers.
    #[serde(rename = "inLoss")]
    pub in_loss: bool,
    /// The verdict score of the window.
    pub score: f64,
    /// The KP sub lord the Moon holds through this window, the planet the row classifies.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// Local datetime the window closes. The last window of the day closes at the next midnight.
    pub to: String,
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    pub verdict: KPDailyFinanceResponseBestWindowVerdict,
}
string_enum! {
    /// The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
    KPDailyFinanceResponseBestWindowVerdict {
        Favourable = "favourable",
        Mixed = "mixed",
        Unfavourable = "unfavourable",
        Neutral = "neutral",
    }
}
string_enum! {
    /// The score as one of five bands, each entered at its edge: "strong" from 70, "favourable" from 55, "mixed" from 45, "caution" from 30, "unfavourable" below 30. "mixed" is the ordinary day. Canonical English machine values.
    KPDailyFinanceResponseBand {
        Strong = "strong",
        Favourable = "favourable",
        Mixed = "mixed",
        Caution = "caution",
        Unfavourable = "unfavourable",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    KPDailyFinanceResponseAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
    }
}
/// Request body of `getKpDailyFinance`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPDailyFinanceRequestAyanamsa>,
    /// Birth date, YYYY-MM-DD. Fixes the Placidus cusps, the four tier significators and the Vimshottari balance every layer reads.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Birth time, HH:MM:SS, 24 hour, local to the birth place. The cusp sub lords move about one sub every four minutes of clock time, so this is the input the whole reading is most sensitive to.
    #[serde(rename = "birthTime")]
    pub birth_time: String,
    /// Civil date to read, YYYY-MM-DD in the request timezone. Defaults to today (UTC). The Moon windows cover this date from midnight to midnight.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Houses whose significators count as gain, 1 to 12. Defaults to the convention, 2 and 11. Override it to run your own school: the two lists may not share a house.
    #[serde(rename = "gainHouses", skip_serializing_if = "Option::is_none")]
    pub gain_houses: Option<Vec<i64>>,
    /// Birth latitude in decimal degrees. Sets the Placidus cusps; also the place the ruling planets and the Moon windows are read at.
    pub latitude: f64,
    /// Birth longitude in decimal degrees, east positive.
    pub longitude: f64,
    /// Houses whose significators count as loss, 1 to 12. Defaults to the convention, 6 and 8 and 12. Override it to run your own school: the two lists may not share a house.
    #[serde(rename = "lossHouses", skip_serializing_if = "Option::is_none")]
    pub loss_houses: Option<Vec<i64>>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<KPDailyFinanceRequestNodeType>,
    /// Reading moment on that date, HH:MM:SS local. The ruling planets and the running sookshma lord are read at this instant. Defaults to 12:00:00; pass a market open or any hour for an intraday read.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub time: Option<String>,
    /// Timezone as an IANA name (Asia/Kolkata) or decimal hours from UTC. Applies to the birth time, to the reading date and time, and to every local timestamp in the response. IANA names resolve to the offset in force on the date being read.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPDailyFinanceRequestTimezone>,
    /// Layer weights in percent, all four required, summing to 100. Defaults to the convention, cusps 30, dasha 40, rulingPlanets 15, moonWindows 15. Seventy percent of the default sits on the cusps and the outer dasha levels, which hold for months, so a chart reads inside a narrow band all month and the bands separate charts more than days. Move weight onto rulingPlanets and moonWindows for a reading that turns with the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub weights: Option<KPDailyFinanceRequestWeights>,
}
/// Layer weights in percent, all four required, summing to 100. Defaults to the convention, cusps 30, dasha 40, rulingPlanets 15, moonWindows 15. Seventy percent of the default sits on the cusps and the outer dasha levels, which hold for months, so a chart reads inside a narrow band all month and the bands separate charts more than days. Move weight onto rulingPlanets and moonWindows for a reading that turns with the day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPDailyFinanceRequestWeights {
    /// Percent of the final score the cusps layer carries.
    pub cusps: f64,
    /// Percent of the final score the dasha layer carries.
    pub dasha: f64,
    /// Percent of the final score the moonWindows layer carries.
    #[serde(rename = "moonWindows")]
    pub moon_windows: f64,
    /// Percent of the final score the rulingPlanets layer carries.
    #[serde(rename = "rulingPlanets")]
    pub ruling_planets: f64,
}
/// Timezone as an IANA name (Asia/Kolkata) or decimal hours from UTC. Applies to the birth time, to the reading date and time, and to every local timestamp in the response. IANA names resolve to the offset in force on the date being read.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPDailyFinanceRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    KPDailyFinanceRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    KPDailyFinanceRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
    }
}
/// Response body of `getKpCusps`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPCuspsResponse {
    /// Applied ayanamsa value in degrees
    pub ayanamsa: f64,
    /// The `cusps` field.
    pub cusps: Vec<KPCuspsResponseCuspsItem>,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    pub focus: KPCuspsResponseFocus,
    /// House system used for calculations
    #[serde(rename = "houseSystem")]
    pub house_system: String,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes")]
    pub house_themes: KPCuspsResponseHouseThemes,
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPCuspsResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    KPCuspsResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// One entry of `cusps`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPCuspsResponseCuspsItem {
    /// House number (1-12)
    pub house: f64,
    /// KP horary number (1-249)
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// Cusp longitude in degrees (0-360)
    pub longitude: f64,
    /// Nakshatra (lunar mansion) at this cusp degree. The cusp nakshatra lord and sublord together determine the houses complete significator chain.
    pub nakshatra: String,
    /// Nakshatra lord (star ruler) of the cusp. One of 9 Vimshottari dasha lords. Determines which planet activates this cusp in KP predictions.
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: String,
    /// Nakshatra pada/quarter (1-4)
    pub pada: f64,
    /// Zodiac sign of the cusp
    pub sign: String,
    /// Rashi lord (sign ruler) of this cusp. In KP, the cusp sign lord is a significator for this house.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// Star-lord (nakshatra lord)
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// Sub-lord based on KP 249-level subdivision
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// Sub-sub lord (SSL) based on 2241-level KP subdivision. Third level of Vimshottari dasha proportions.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Request body of `getKpCusps`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPCuspsRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPCuspsRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format
    pub date: String,
    /// Birth location latitude in decimal degrees
    pub latitude: f64,
    /// Birth location longitude in decimal degrees
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST) for Vedic astrology.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPCuspsRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST) for Vedic astrology.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPCuspsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    KPCuspsRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `generateKpChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponse {
    /// Ascendant (Lagna) details with full KP stellar hierarchy.
    pub ascendant: KPChartResponseAscendant,
    /// All 12 Placidus house cusps with KP stellar hierarchy. Cusp sub lords are the primary predictive tool in KP astrology.
    pub cusps: Vec<KPChartResponseCuspsItem>,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    pub focus: KPChartResponseFocus,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes")]
    pub house_themes: KPChartResponseHouseThemes,
    /// Chart metadata including birth data, ayanamsa, and house system.
    pub meta: KPChartResponseMeta,
    /// Lunar nodes (Rahu and Ketu) with KP stellar hierarchy. Nodes are powerful agents that amplify the significations of their dispositors.
    pub nodes: KPChartResponseNodes,
    /// Positions of all 7 visible planets with complete KP stellar breakdown.
    pub planets: Vec<KPChartResponsePlanetsItem>,
    /// KP significators for event prediction and timing. Shows which planets signify each house (house-wise) and which houses each planet signifies (planet-wise). Strength order: Level 1 (planets in star of occupant) &gt; Level 2 (occupants) &gt; Level 3 (planets in star of owner) &gt; Level 4 (house owner).
    pub significators: KPChartResponseSignificators,
}
/// KP significators for event prediction and timing. Shows which planets signify each house (house-wise) and which houses each planet signifies (planet-wise). Strength order: Level 1 (planets in star of occupant) &gt; Level 2 (occupants) &gt; Level 3 (planets in star of owner) &gt; Level 4 (house owner).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseSignificators {
    /// The `houseWise` field.
    #[serde(rename = "houseWise")]
    pub house_wise: Vec<KPChartResponseSignificatorsHouseWiseItem>,
    /// The `planetWise` field.
    #[serde(rename = "planetWise")]
    pub planet_wise: Vec<KPChartResponseSignificatorsPlanetWiseItem>,
}
/// One entry of `planetWise`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseSignificatorsPlanetWiseItem {
    /// The four levels flattened, strongest first, repeats included: a house appears once per level the planet reaches it at, so the length counts level hits. The levels beside it are the per-level view.
    #[serde(rename = "allHouses")]
    pub all_houses: Vec<f64>,
    /// Vedic graha (planet) being analyzed for its house significations.
    pub planet: String,
    /// The `signifies` field.
    pub signifies: Vec<KPChartResponseSignificatorsPlanetWiseItemSignifiesItem>,
}
/// One entry of `signifies`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseSignificatorsPlanetWiseItemSignifiesItem {
    /// House numbers this planet signifies at this strength level.
    pub houses: Vec<f64>,
    /// KP significator strength level (1-4). L1 strongest, L4 weakest.
    pub level: f64,
}
/// One entry of `houseWise`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseSignificatorsHouseWiseItem {
    /// The four levels flattened, strongest first, repeats included: a planet that reaches the house at two levels appears once per level, so the length counts level hits. The levels beside it are the per-level view.
    pub all: Vec<String>,
    /// House number 1-12
    pub house: f64,
    /// The `significators` field.
    pub significators: Vec<KPChartResponseSignificatorsHouseWiseItemSignificatorsItem>,
}
/// One entry of `significators`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseSignificatorsHouseWiseItemSignificatorsItem {
    /// Human-readable label for this KP significator level.
    pub description: String,
    /// KP significator strength level (1-4). L1: planets in star of occupant (strongest). L2: occupant itself. L3: planets in star of owner. L4: sign owner. Lower number = stronger signification for this house.
    pub level: f64,
    /// Planets signifying this house at this strength level.
    pub planets: Vec<String>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponsePlanetsItem {
    /// House number (1-12) based on Placidus cusps.
    pub house: f64,
    /// KP number (1-249).
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// Sidereal longitude in degrees (KP ayanamsa corrected).
    pub longitude: f64,
    /// Nakshatra the planet occupies.
    pub nakshatra: String,
    /// Nakshatra lord (same as star lord).
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: String,
    /// Nakshatra pada (1-4).
    pub pada: f64,
    /// Planet name (Sun through Saturn, 7 visible planets).
    pub planet: String,
    /// True if planet is retrograde. Retrograde planets may delay or deny results in KP system.
    pub retrograde: bool,
    /// Zodiac sign the planet occupies.
    pub sign: String,
    /// Rashi lord (sign ruler). First level of the KP significator hierarchy. Its house ownership determines L4 significations.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// KP star lord, determines primary house signification.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// KP sub lord, the decisive factor. Planet gives results of the houses signified by its sub lord.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// KP sub-sub lord (SSL) of the planet. Third level of Vimshottari subdivision for precise timing analysis.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Lunar nodes (Rahu and Ketu) with KP stellar hierarchy. Nodes are powerful agents that amplify the significations of their dispositors.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseNodes {
    /// Ketu (South Lunar Node), shadow planet, spiritual karmic indicator.
    pub ketu: KPChartResponseNodesKetu,
    /// Rahu (North Lunar Node), shadow planet, always retrograde, acts as agent of its sign lord and star lord.
    pub rahu: KPChartResponseNodesRahu,
}
/// Rahu (North Lunar Node), shadow planet, always retrograde, acts as agent of its sign lord and star lord.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseNodesRahu {
    /// Occupied house number (1-12) based on Placidus cusps.
    pub house: f64,
    /// KP number (1-249) locating Rahu in the 249-division sub-lord scheme. Each of the 249 divisions maps to a unique sign, star lord and sub lord triple, so one integer pins the position precisely enough for KP event timing.
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// Sidereal longitude of Rahu (North Node).
    pub longitude: f64,
    /// Nakshatra of Rahu.
    pub nakshatra: String,
    /// Nakshatra pada (1-4) of Rahu.
    pub pada: f64,
    /// Zodiac sign Rahu occupies.
    pub sign: String,
    /// Rashi lord of the sign Rahu occupies. Rahu has no sign of its own and acts as agent of this lord.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// KP star lord of Rahu.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// KP sub lord of Rahu.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// KP sub-sub lord (SSL) of Rahu.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Ketu (South Lunar Node), shadow planet, spiritual karmic indicator.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseNodesKetu {
    /// Occupied house number (1-12) based on Placidus cusps.
    pub house: f64,
    /// KP number (1-249) locating Ketu in the 249-division sub-lord scheme. Each of the 249 divisions maps to a unique sign, star lord and sub lord triple, so one integer pins the position precisely enough for KP event timing.
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// Sidereal longitude of Ketu (South Node). Always 180 degrees from Rahu.
    pub longitude: f64,
    /// Nakshatra of Ketu.
    pub nakshatra: String,
    /// Nakshatra pada (1-4) of Ketu.
    pub pada: f64,
    /// Zodiac sign Ketu occupies.
    pub sign: String,
    /// Rashi lord of the sign Ketu occupies. Ketu has no sign of its own and acts as agent of this lord.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// KP star lord of Ketu.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// KP sub lord of Ketu.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// KP sub-sub lord (SSL) of Ketu.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Chart metadata including birth data, ayanamsa, and house system.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseMeta {
    /// KP Newcomb ayanamsa value in degrees. Precession correction applied to convert tropical to sidereal positions.
    pub ayanamsa: f64,
    /// Ayanamsa system used, echoing the ayanamsa field of the request: "kp-newcomb", "kp-old", "lahiri", "raman" or "custom".
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: String,
    /// Birth date in YYYY-MM-DD format used for this KP chart calculation.
    pub date: String,
    /// House system used (Placidus, standard for KP astrology).
    #[serde(rename = "houseSystem")]
    pub house_system: String,
    /// Birth location latitude in decimal degrees. Determines Placidus house cusps and Ascendant.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local sidereal time for house calculations.
    pub longitude: f64,
    /// Birth time in HH:MM:SS format used for Lagna and Placidus cusp calculations.
    pub time: String,
    /// Timezone offset from UTC in decimal hours used for time conversion.
    pub timezone: f64,
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    KPChartResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// One entry of `cusps`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseCuspsItem {
    /// House number (1-12).
    pub house: f64,
    /// KP number (1-249) for the cusp degree.
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// Placidus cusp longitude in sidereal degrees.
    pub longitude: f64,
    /// Nakshatra at the cusp degree.
    pub nakshatra: String,
    /// Lord of the nakshatra at the cusp.
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: String,
    /// Nakshatra pada (1-4) at the cusp.
    pub pada: f64,
    /// Zodiac sign at the cusp.
    pub sign: String,
    /// Lord of the zodiac sign at the cusp (house owner).
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// KP star lord of the cusp.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// KP sub lord of the cusp. the deciding factor for house-level predictions in KP astrology.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// KP sub-sub lord (SSL) of the cusp. Third level of Vimshottari subdivision for fine-grained cusp analysis.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Ascendant (Lagna) details with full KP stellar hierarchy.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartResponseAscendant {
    /// KP number (1-249) for the Ascendant degree.
    #[serde(rename = "kpNumber")]
    pub kp_number: f64,
    /// Sidereal longitude of Ascendant (Lagna) in degrees.
    pub longitude: f64,
    /// Nakshatra (star) of the Ascendant.
    pub nakshatra: String,
    /// Lord of the Ascendant nakshatra.
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: String,
    /// Nakshatra pada (1-4) of the Ascendant.
    pub pada: f64,
    /// Zodiac sign of the Ascendant.
    pub sign: String,
    /// Ruling planet of the Ascendant sign (the rashi lord). In KP this is the weakest of the four lords, ranked below the star lord and sub lord, but it still sets the broad temperament of the Lagna.
    #[serde(rename = "signLord")]
    pub sign_lord: String,
    /// KP star lord of the Ascendant position.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// KP sub lord of the Ascendant. crucial for KP predictions. The Ascendant sub lord determines overall life promise.
    #[serde(rename = "subLord")]
    pub sub_lord: String,
    /// KP sub-sub lord (SSL) of the Ascendant. Third level of the Vimshottari subdivision hierarchy, used for fine-tuning predictions.
    #[serde(rename = "subSubLord")]
    pub sub_sub_lord: String,
}
/// Request body of `generateKpChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPChartRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<KPChartRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format
    pub date: String,
    /// Birth location latitude in decimal degrees
    pub latitude: f64,
    /// Birth location longitude in decimal degrees
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<KPChartRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. CRITICAL for accurate Lagna and house calculations.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST) for Vedic astrology.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<KPChartRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST) for Vedic astrology.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum KPChartRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    KPChartRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa, about 1.45 degrees below Lahiri. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
    KPChartRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `calculateHouses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HousesResponse {
    /// Ascendant (rising sign) position. The eastern horizon point at the moment of birth, defining personality expression and physical appearance in Western astrology.
    pub ascendant: HousesResponseAscendant,
    /// Side-by-side house cusp comparison keyed by house system id: placidus, whole-sign, equal, koch. Only included when houseSystem is set to "all". A system that cannot be computed at the latitude (Placidus and Koch beyond 66 degrees 33 minutes north or south) is omitted, so every key present carries its own cusps, and the top level houses array is the first system present in that order. Useful for educational tools and system comparison.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub comparison: Option<HousesResponseComparison>,
    /// Input date used for this house cusp calculation.
    pub date: String,
    /// House system used for this calculation (placidus, whole-sign, equal, koch, or all).
    #[serde(rename = "houseSystem")]
    pub house_system: String,
    /// All 12 house cusps with their zodiac positions. House cusps divide the chart into life areas: identity (1st), resources (2nd), communication (3rd), home (4th), creativity (5th), health (6th), partnerships (7th), transformation (8th), philosophy (9th), career (10th), community (11th), spirituality (12th).
    pub houses: Vec<HousesResponseHousesItem>,
    /// Observer latitude used for horizon-based house calculations.
    pub latitude: f64,
    /// Observer longitude used for local sidereal time.
    pub longitude: f64,
    /// Midheaven (MC) position. The highest point of the ecliptic at birth, representing career aspirations and public image in natal astrology.
    pub midheaven: HousesResponseMidheaven,
    /// Input time used for this house cusp calculation.
    pub time: String,
    /// Timezone offset from UTC applied to this calculation.
    pub timezone: f64,
}
/// Midheaven (MC) position. The highest point of the ecliptic at birth, representing career aspirations and public image in natal astrology.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HousesResponseMidheaven {
    /// Degree within the Midheaven sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude of the Midheaven in degrees (0-360).
    pub longitude: f64,
    /// Zodiac sign on the Midheaven (MC). Indicates career direction and public reputation.
    pub sign: String,
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HousesResponseHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life areas.
    pub number: f64,
    /// Zodiac sign on this house cusp.
    pub sign: String,
}
/// Side-by-side house cusp comparison keyed by house system id: placidus, whole-sign, equal, koch. Only included when houseSystem is set to "all". A system that cannot be computed at the latitude (Placidus and Koch beyond 66 degrees 33 minutes north or south) is omitted, so every key present carries its own cusps, and the top level houses array is the first system present in that order. Useful for educational tools and system comparison.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HousesResponseComparison {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        HousesResponseComparisonAdditionalProperty,
    >,
}
/// The twelve cusps under the one house system this key names, in the same shape as the top level houses array, so a caller can render any system through the same component.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HousesResponseComparisonAdditionalProperty {
    /// All 12 house cusps as this system computes them. Compare the same house number across the four keys to see how far the systems disagree, which is largest at high latitudes and for the intermediate cusps.
    pub houses: Vec<HousesResponseComparisonAdditionalPropertyHousesItem>,
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HousesResponseComparisonAdditionalPropertyHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360), as this house system places it.
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life areas.
    pub number: f64,
    /// Zodiac sign on this house cusp in this house system.
    pub sign: String,
}
/// Ascendant (rising sign) position. The eastern horizon point at the moment of birth, defining personality expression and physical appearance in Western astrology.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HousesResponseAscendant {
    /// Degree within the Ascendant sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude of the Ascendant in degrees (0-360).
    pub longitude: f64,
    /// Zodiac sign on the Ascendant (rising sign). Determines the first house cusp.
    pub sign: String,
}
/// Heliacal rising and setting status of the six visible grahas.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HeliacalResponse {
    /// Local calendar date the verdicts were read for, echoed from the request.
    pub date: String,
    /// One entry per visible graha, in classical order. A graha is omitted only when no horizon crossing exists for it at this latitude on this day.
    pub grahas: Vec<HeliacalResponseGrahasItem>,
}
/// Heliacal visibility of one graha on the requested day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HeliacalResponseGrahasItem {
    /// Graha name. Only the six with a visible body appear: Moon, Mars, Mercury, Jupiter, Venus and Saturn. The Sun cannot be lost in his own glare, and Rahu and Ketu are computed points with nothing to see.
    pub graha: String,
    /// Horizon this graha is currently judged at. West means it sets after the Sun and is an evening object, east that it rises before him and is a morning one.
    pub horizon: HeliacalResponseGrahasItemHorizon,
    /// The limit in degrees of time this graha must clear to be seen, per Surya Siddhanta ch. IX vv.6-8 and ch. X.1: Moon 12, Jupiter 11, Saturn 15, Mars 17, Venus 10 or 8, Mercury 14 or 12. Larger means the graha is fainter and needs more distance from the Sun.
    pub kalamsa: f64,
    /// The event that produced the current state, or null when none falls inside the search horizon (up to about one synodic period, so Mars can legitimately have none).
    #[serde(rename = "lastEvent")]
    pub last_event: Option<HeliacalResponseGrahasItemLastEvent>,
    /// Plain angular separation of the two ecliptic longitudes, in degrees. Returned beside timeDegrees so the two measures can be compared: this is what a combustion flag on a birth chart uses, and the gap between them is precisely what a location-aware heliacal calculation adds.
    #[serde(rename = "longitudeSeparation")]
    pub longitude_separation: f64,
    /// The event that will end the current state, or null when none falls inside the search horizon. For an invisible graha this is the udaya a practitioner is waiting for, so it answers when Guru Asta or Shukra Asta lifts.
    #[serde(rename = "nextEvent")]
    pub next_event: Option<HeliacalResponseGrahasItemNextEvent>,
    /// Whether the graha is retrograde, which for Mercury and Venus tightens the limit (Venus 10 to 8, Mercury 14 to 12). Retrograde puts them near inferior conjunction where they are far closer to Earth, so the larger brighter disk survives closer to the Sun.
    pub retrograde: bool,
    /// Separation from the Sun in degrees of TIME (kalamsa), measured along the equator between the two bodies horizon crossings. This is the quantity Surya Siddhanta actually compares against the limit, and it is not the same as the difference of ecliptic longitudes: the two diverge by roughly 3 degrees at Mumbai and by more than 15 further north, because it accounts for the angle the ecliptic makes with the local horizon.
    #[serde(rename = "timeDegrees")]
    pub time_degrees: f64,
    /// Whether the graha clears the Sun glare on this day. False is the state a practitioner calls asta or combust, during which classical muhurta withholds auspicious ceremonies, most strictly marriage while Jupiter or Venus is invisible.
    pub visible: bool,
}
/// The event that will end the current state, or null when none falls inside the search horizon. For an invisible graha this is the udaya a practitioner is waiting for, so it answers when Guru Asta or Shukra Asta lifts.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HeliacalResponseGrahasItemNextEvent {
    /// Local civil datetime of the event (YYYY-MM-DDTHH:MM:SS), being the moment the graha itself crosses the horizon on the day its verdict changes. That instant, rather than sunrise or sunset, is what published Asta tables print.
    pub datetime: String,
    /// Horizon the event happens at. East means it is read before sunrise, so the graha is a morning object; west means after sunset, an evening object. A graha crosses to the other horizon as it passes the Sun, which is why an asta and the udaya that follows it are usually on opposite horizons.
    pub horizon: HeliacalResponseGrahasItemNextEventHorizon,
    /// The limit that was crossed. Can differ from the current reading limit for Mercury and Venus, whose limit tightens when they are retrograde, so an asta entered while retrograde may be left at a different threshold.
    pub kalamsa: f64,
    /// Separation from the Sun in degrees of time on the event day, measured the way the classical rule requires. Sits just either side of kalamsa, since that crossing is what defines the event.
    #[serde(rename = "timeDegrees")]
    pub time_degrees: f64,
    /// Udaya is heliacal rising, the graha re-emerging from the Sun rays and becoming visible again. Asta (also called lopa, moudhya or moudyami) is heliacal setting, the graha disappearing into them. Stable Sanskrit keys, never translated.
    pub r#type: HeliacalResponseGrahasItemNextEventType,
}
string_enum! {
    /// Udaya is heliacal rising, the graha re-emerging from the Sun rays and becoming visible again. Asta (also called lopa, moudhya or moudyami) is heliacal setting, the graha disappearing into them. Stable Sanskrit keys, never translated.
    HeliacalResponseGrahasItemNextEventType {
        Udaya = "udaya",
        Asta = "asta",
    }
}
string_enum! {
    /// Horizon the event happens at. East means it is read before sunrise, so the graha is a morning object; west means after sunset, an evening object. A graha crosses to the other horizon as it passes the Sun, which is why an asta and the udaya that follows it are usually on opposite horizons.
    HeliacalResponseGrahasItemNextEventHorizon {
        East = "east",
        West = "west",
    }
}
/// The event that produced the current state, or null when none falls inside the search horizon (up to about one synodic period, so Mars can legitimately have none).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HeliacalResponseGrahasItemLastEvent {
    /// Local civil datetime of the event (YYYY-MM-DDTHH:MM:SS), being the moment the graha itself crosses the horizon on the day its verdict changes. That instant, rather than sunrise or sunset, is what published Asta tables print.
    pub datetime: String,
    /// Horizon the event happens at. East means it is read before sunrise, so the graha is a morning object; west means after sunset, an evening object. A graha crosses to the other horizon as it passes the Sun, which is why an asta and the udaya that follows it are usually on opposite horizons.
    pub horizon: HeliacalResponseGrahasItemLastEventHorizon,
    /// The limit that was crossed. Can differ from the current reading limit for Mercury and Venus, whose limit tightens when they are retrograde, so an asta entered while retrograde may be left at a different threshold.
    pub kalamsa: f64,
    /// Separation from the Sun in degrees of time on the event day, measured the way the classical rule requires. Sits just either side of kalamsa, since that crossing is what defines the event.
    #[serde(rename = "timeDegrees")]
    pub time_degrees: f64,
    /// Udaya is heliacal rising, the graha re-emerging from the Sun rays and becoming visible again. Asta (also called lopa, moudhya or moudyami) is heliacal setting, the graha disappearing into them. Stable Sanskrit keys, never translated.
    pub r#type: HeliacalResponseGrahasItemLastEventType,
}
string_enum! {
    /// Udaya is heliacal rising, the graha re-emerging from the Sun rays and becoming visible again. Asta (also called lopa, moudhya or moudyami) is heliacal setting, the graha disappearing into them. Stable Sanskrit keys, never translated.
    HeliacalResponseGrahasItemLastEventType {
        Udaya = "udaya",
        Asta = "asta",
    }
}
string_enum! {
    /// Horizon the event happens at. East means it is read before sunrise, so the graha is a morning object; west means after sunset, an evening object. A graha crosses to the other horizon as it passes the Sun, which is why an asta and the udaya that follows it are usually on opposite horizons.
    HeliacalResponseGrahasItemLastEventHorizon {
        East = "east",
        West = "west",
    }
}
string_enum! {
    /// Horizon this graha is currently judged at. West means it sets after the Sun and is an evening object, east that it rises before him and is a morning one.
    HeliacalResponseGrahasItemHorizon {
        East = "east",
        West = "west",
    }
}
/// Request body of `getHeliacalVisibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct HeliacalRequest {
    /// Local calendar date to judge, in YYYY-MM-DD format. There is deliberately no time field: heliacal visibility is a once-a-day verdict read at that day sunrise or sunset, so a clock time could only pick a different day.
    pub date: String,
    /// Observer latitude in decimal degrees, restricted to -60 to 60. Visibility depends on the observer, unlike the longitude orb every chart API reports, because the angle the ecliptic makes with the horizon decides how long a graha lingers after the Sun. Beyond this band the classical rule stops describing solar glare and starts describing polar horizon geometry, so it is declined rather than answered wrongly.
    pub latitude: f64,
    /// Observer longitude in decimal degrees. Sets local sunrise and sunset, which are the instants the verdict is read at. Example: Mumbai 72.8777, Delhi 77.2090, London -0.1278.
    pub longitude: f64,
    /// Timezone: IANA name (e.g. "Asia/Kolkata", "Europe/London") OR decimal hours from UTC. Fixes which local day the date refers to, and every datetime in the response is returned in it. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<HeliacalRequestTimezone>,
}
/// Timezone: IANA name (e.g. "Asia/Kolkata", "Europe/London") OR decimal hours from UTC. Fixes which local day the date refers to, and every datetime in the response is returned in it. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum HeliacalRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Response body of `getZodiacSign`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacSignResponse {
    /// Greatest challenges and growth areas for this sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub challenges: Option<String>,
    /// Most compatible zodiac signs for this sign. Trine partners (same element, 120 degrees apart) listed first, followed by a sextile partner (complementary element, 60 degrees apart). Use for compatibility widgets, dating app onboarding, sign profile cards, and zodiac matchmaking.
    #[serde(rename = "compatibleSigns")]
    pub compatible_signs: Vec<String>,
    /// Tropical zodiac date range for this sign.
    pub dates: GetZodiacSignResponseDates,
    /// Sign description in short and long form.
    pub description: GetZodiacSignResponseDescription,
    /// Elemental classification: fire, earth, air, or water. Determines temperament and compatibility group. Always one of these four English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use elementLocalized for anything a reader sees.
    pub element: GetZodiacSignResponseElement,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Notable people born under this zodiac sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub famous: Option<Vec<String>>,
    /// Greatest gifts and natural talents of this sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gifts: Option<String>,
    /// Lowercase sign identifier.
    pub id: String,
    /// Key personality traits and descriptive words for this sign.
    pub keywords: Vec<String>,
    /// Quality/modality: cardinal (initiating), fixed (sustaining), or mutable (adapting). Always one of these three English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use modalityLocalized for anything a reader sees.
    pub modality: GetZodiacSignResponseModality,
    /// Modality name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "modalityLocalized", skip_serializing_if = "Option::is_none")]
    pub modality_localized: Option<String>,
    /// Signature motto or tagline for this sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub motto: Option<String>,
    /// Display name of the zodiac sign.
    pub name: String,
    /// Traditional ruling planet that governs this sign. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use rulingPlanetLocalized for anything a reader sees.
    #[serde(rename = "rulingPlanet")]
    pub ruling_planet: String,
    /// Ruling planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "rulingPlanetLocalized", skip_serializing_if = "Option::is_none")]
    pub ruling_planet_localized: Option<String>,
    /// Key strengths and lovable qualities of this sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub strengths: Option<Vec<String>>,
    /// Unicode zodiac symbol.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
    /// Symbol name or mascot associated with this sign.
    #[serde(rename = "symbolName")]
    pub symbol_name: String,
    /// Secret weapon or superpower of this sign.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub weapon: Option<String>,
}
string_enum! {
    /// Quality/modality: cardinal (initiating), fixed (sustaining), or mutable (adapting). Always one of these three English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use modalityLocalized for anything a reader sees.
    GetZodiacSignResponseModality {
        Cardinal = "cardinal",
        Fixed = "fixed",
        Mutable = "mutable",
    }
}
string_enum! {
    /// Elemental classification: fire, earth, air, or water. Determines temperament and compatibility group. Always one of these four English literals, whatever the lang parameter says, so it stays safe to compare against in code. Use elementLocalized for anything a reader sees.
    GetZodiacSignResponseElement {
        Fire = "fire",
        Earth = "earth",
        Air = "air",
        Water = "water",
    }
}
/// Sign description in short and long form.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacSignResponseDescription {
    /// Detailed multi-paragraph sign profile with personality analysis.
    pub long: String,
    /// Brief 1-2 sentence personality overview.
    pub short: String,
}
/// Tropical zodiac date range for this sign.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacSignResponseDates {
    /// End date of this sign season.
    pub end: String,
    /// Start date of this sign season.
    pub start: String,
}
/// Path and query parameters of `getZodiacSign`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacSignParams {
    /// Sign ID (lowercase, e.g., aries, taurus) or display name (case-insensitive, e.g., Aries, TAURUS).
    pub id: String,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetZodiacSignParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetZodiacSignParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getZodiacCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacCompatibilityResponse {
    /// The one thing worth doing differently, specific to this relation rather than generic relationship guidance.
    pub advice: String,
    /// Where the pair is most likely to grind, drawn from each sign own weaknesses. Difficult relations contribute from both signs; the rest from the first.
    pub frictions: Vec<String>,
    /// Which of the six classical branch relations the pair stands in. One of secret-friend (Liu He, the six harmonies), trine (San He, the three harmonies), same (both signs share a branch), neutral (no formal relation), harm (Liu Hai) or clash (Liu Chong, branches six apart). Exactly one applies to any pair, because no two of the conditions can hold at once. Always English so it stays safe to switch on.
    pub relationship: String,
    /// Classical name of the relation in traditional hanzi. Identical under every lang.
    #[serde(rename = "relationshipChinese")]
    pub relationship_chinese: String,
    /// Display name of the relation in English. Always English; use relationshipNameLocalized for anything a reader sees.
    #[serde(rename = "relationshipName")]
    pub relationship_name: String,
    /// Branch relation name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(
        rename = "relationshipNameLocalized",
        skip_serializing_if = "Option::is_none"
    )]
    pub relationship_name_localized: Option<String>,
    /// Tone-marked pinyin of the classical relation name.
    #[serde(rename = "relationshipPinyin")]
    pub relationship_pinyin: String,
    /// Compatibility score out of 100 for this relation. Fixed per relation rather than per pair, because the branch relation is what the tradition actually rates: 92 for a six-harmony pair, 85 for a trine, 65 for two of the same sign, 60 for no relation, 40 for a harm and 30 for a clash.
    pub score: f64,
    /// The Five Element phase the two branches combine into. Present only for a trine or a six-harmony pair, which are the two relations that combine; absent otherwise. This is generally neither animal own phase, which is the point of the combination.
    #[serde(rename = "sharedElement", skip_serializing_if = "Option::is_none")]
    pub shared_element: Option<String>,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "sharedElementLocalized", skip_serializing_if = "Option::is_none")]
    pub shared_element_localized: Option<String>,
    /// The two signs compared, in the order they were requested. Always one object, never an array.
    pub signs: GetZodiacCompatibilityResponseSigns,
    /// What the pair has going for it, drawn from what each sign does well. Favourable relations contribute from both signs; the rest from the first.
    pub strengths: Vec<String>,
    /// Composed reading of the pair. The branch relation supplies the shape and the two temperaments supply the substance, so the reading is specific to this pair without being authored for it.
    pub summary: String,
    /// Coarse band the score falls in: excellent, strong, workable, challenging or difficult. Built for badges and filters that should not hard-code score thresholds.
    pub verdict: String,
}
/// The two signs compared, in the order they were requested. Always one object, never an array.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacCompatibilityResponseSigns {
    /// The `first` field.
    pub first: GetZodiacCompatibilityResponseSignsFirst,
    /// The `second` field.
    pub second: GetZodiacCompatibilityResponseSignsSecond,
}
/// The `second` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacCompatibilityResponseSignsSecond {
    /// Earthly Branch this animal names, as its pinyin identifier. The twelve branches are zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai, and they run in the same order as the animals. Every animal element, polarity and double-hour is a property of this branch.
    pub branch: String,
    /// Traditional hanzi character for the animal itself, not for its Earthly Branch. Data rather than a translation, so it is identical under every lang.
    pub chinese: String,
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the animal in English. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked Hanyu Pinyin for the animal name. Data rather than a translation, so it is identical under every lang.
    pub pinyin: String,
    /// Yin or yang polarity of the branch. The twelve branches alternate, starting yang at zi, so the six odd-numbered animals are yang and the six even-numbered are yin.
    pub polarity: String,
}
/// The `first` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacCompatibilityResponseSignsFirst {
    /// Earthly Branch this animal names, as its pinyin identifier. The twelve branches are zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai, and they run in the same order as the animals. Every animal element, polarity and double-hour is a property of this branch.
    pub branch: String,
    /// Traditional hanzi character for the animal itself, not for its Earthly Branch. Data rather than a translation, so it is identical under every lang.
    pub chinese: String,
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the animal in English. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked Hanyu Pinyin for the animal name. Data rather than a translation, so it is identical under every lang.
    pub pinyin: String,
    /// Yin or yang polarity of the branch. The twelve branches alternate, starting yang at zi, so the six odd-numbered animals are yang and the six even-numbered are yin.
    pub polarity: String,
}
/// Path and query parameters of `getZodiacCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacCompatibilityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetZodiacCompatibilityParamsLang>,
    /// First animal id, case-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub sign1: GetZodiacCompatibilityParamsSign1,
    /// Second animal id, case-insensitive. The relation is symmetric, so swapping the two returns the same relationship and the same score, with the reading written from the first sign point of view.
    pub sign2: GetZodiacCompatibilityParamsSign2,
}
string_enum! {
    /// Second animal id, case-insensitive. The relation is symmetric, so swapping the two returns the same relationship and the same score, with the reading written from the first sign point of view.
    GetZodiacCompatibilityParamsSign2 {
        Rat = "rat",
        Ox = "ox",
        Tiger = "tiger",
        Rabbit = "rabbit",
        Dragon = "dragon",
        Snake = "snake",
        Horse = "horse",
        Goat = "goat",
        Monkey = "monkey",
        Rooster = "rooster",
        Dog = "dog",
        Pig = "pig",
    }
}
string_enum! {
    /// First animal id, case-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    GetZodiacCompatibilityParamsSign1 {
        Rat = "rat",
        Ox = "ox",
        Tiger = "tiger",
        Rabbit = "rabbit",
        Dragon = "dragon",
        Snake = "snake",
        Horse = "horse",
        Goat = "goat",
        Monkey = "monkey",
        Rooster = "rooster",
        Dog = "dog",
        Pig = "pig",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetZodiacCompatibilityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getZodiacAnimal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalResponse {
    /// Earthly Branch this animal names, as its pinyin identifier. The twelve branches are zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai, and they run in the same order as the animals. Every animal element, polarity and double-hour is a property of this branch.
    pub branch: String,
    /// Traditional hanzi character for the animal itself, not for its Earthly Branch. Data rather than a translation, so it is identical under every lang.
    pub chinese: String,
    /// The clashing animal (Liu Chong): the branch directly opposite, six positions away. The tradition reads this as the most charged pairing in the cycle and the least restful.
    #[serde(rename = "clashPartner")]
    pub clash_partner: GetZodiacAnimalResponseClashPartner,
    /// How the sign behaves toward the other eleven in general. For a specific pair, call /zodiac/compatibility/{sign1}/{sign2}.
    #[serde(rename = "compatibilitySummary")]
    pub compatibility_summary: String,
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// The five phase variants of this sign across the sixty-year cycle, listed over 1924 to 2043. Exactly five, always, because a branch pairs only with the five Heavenly Stems of its own polarity and those five carry one phase each. A year number here names the sexagenary year, not a calendar range: a birth in January or early February may still belong to the previous year, which is what /zodiac/sign resolves.
    #[serde(rename = "elementVariants")]
    pub element_variants: Vec<GetZodiacAnimalResponseElementVariantsItem>,
    /// The harming animal (Liu Hai). Treated as less violent than a clash and harder to spot, because it works through accumulation rather than confrontation.
    #[serde(rename = "harmPartner")]
    pub harm_partner: GetZodiacAnimalResponseHarmPartner,
    /// The two-hour period of the day this animal branch governs. Used for the hour pillar in a Four Pillars chart, which is always read on local time.
    pub hours: GetZodiacAnimalResponseHours,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the animal in English. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked Hanyu Pinyin for the animal name. Data rather than a translation, so it is identical under every lang.
    pub pinyin: String,
    /// Yin or yang polarity of the branch. The twelve branches alternate, starting yang at zi, so the six odd-numbered animals are yang and the six even-numbered are yin.
    pub polarity: String,
    /// The six-harmony partner (Liu He), traditionally called the secret friend because the support it gives arrives unasked. The element is the phase the two branches combine into, which is generally neither animal own phase.
    #[serde(rename = "secretFriend")]
    pub secret_friend: GetZodiacAnimalResponseSecretFriend,
    /// What the sign does well, as full sentences rather than keywords.
    pub strengths: Vec<String>,
    /// Character sketch of the sign, drawn from the season, the double-hour and the phase its branch occupies.
    pub summary: String,
    /// Short trait keywords for the sign, lowercase in English. Built for tag clouds, sign cards and compatibility widgets that need a glanceable character sketch rather than a paragraph.
    pub traits: Vec<String>,
    /// The three-harmony group (San He) this animal belongs to. Every animal belongs to exactly one.
    pub trine: GetZodiacAnimalResponseTrine,
    /// Where the same temperament costs the sign something. Each one is the shadow of a strength above rather than an unrelated flaw.
    pub weaknesses: Vec<String>,
}
/// The three-harmony group (San He) this animal belongs to. Every animal belongs to exactly one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalResponseTrine {
    /// The three Earthly Branches of the trine in classical notation, in the order the texts give them.
    pub chinese: String,
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Machine id of the trine: first, second, third or fourth. Always English.
    pub id: String,
    /// The three animal ids in this trine, including the one requested. Members sit four branches apart, so the four trines partition all twelve animals with none shared and none left over.
    pub members: Vec<String>,
    /// Position of the trine in the order the tradition lists them, 1 to 4. Not a ranking.
    pub number: f64,
    /// Tone-marked pinyin of the three branches.
    pub pinyin: String,
    /// What the alliance is traditionally said to produce. The three branches combine into the element above, which is not any one member own phase.
    pub theme: String,
}
/// The six-harmony partner (Liu He), traditionally called the secret friend because the support it gives arrives unasked. The element is the phase the two branches combine into, which is generally neither animal own phase.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalResponseSecretFriend {
    /// Traditional hanzi character for the related animal.
    pub chinese: String,
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the related animal in English. Always English; use nameLocalized for display.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the related animal.
    pub pinyin: String,
}
/// The two-hour period of the day this animal branch governs. Used for the hour pillar in a Four Pillars chart, which is always read on local time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalResponseHours {
    /// Hour the double-hour ends, exclusive, on a 24-hour local clock. Each branch governs exactly two hours.
    pub end: f64,
    /// First hour of the double-hour this branch governs, on a 24-hour local clock. The zi branch starts at 23, so the cycle begins the evening before midnight.
    pub start: f64,
}
/// The harming animal (Liu Hai). Treated as less violent than a clash and harder to spot, because it works through accumulation rather than confrontation.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalResponseHarmPartner {
    /// Traditional hanzi character for the related animal.
    pub chinese: String,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the related animal in English. Always English; use nameLocalized for display.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the related animal.
    pub pinyin: String,
}
/// One entry of `elementVariants`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalResponseElementVariantsItem {
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Sexagenary pillar id for this variant, stem then branch. This pair returns once every sixty years.
    pub pillar: String,
    /// Yin or yang polarity of the branch. The twelve branches alternate, starting yang at zi, so the six odd-numbered animals are yang and the six even-numbered are yin.
    pub polarity: String,
    /// Heavenly Stem of the year, as its pinyin identifier. The ten stems are jia, yi, bing, ding, wu, ji, geng, xin, ren, gui.
    pub stem: String,
    /// Gregorian years in the published window that carry this variant. Two per variant, sixty years apart.
    pub years: Vec<f64>,
}
/// The clashing animal (Liu Chong): the branch directly opposite, six positions away. The tradition reads this as the most charged pairing in the cycle and the least restful.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalResponseClashPartner {
    /// Traditional hanzi character for the related animal.
    pub chinese: String,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the related animal in English. Always English; use nameLocalized for display.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the related animal.
    pub pinyin: String,
}
/// Path and query parameters of `getZodiacAnimal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetZodiacAnimalParams {
    /// Animal id, case-insensitive and punctuation-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig. The sheep and the ram are the same animal as the goat and resolve to goat.
    pub id: GetZodiacAnimalParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetZodiacAnimalParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetZodiacAnimalParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Animal id, case-insensitive and punctuation-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig. The sheep and the ram are the same animal as the goat and resolve to goat.
    GetZodiacAnimalParamsId {
        Rat = "rat",
        Ox = "ox",
        Tiger = "tiger",
        Rabbit = "rabbit",
        Dragon = "dragon",
        Snake = "snake",
        Horse = "horse",
        Goat = "goat",
        Monkey = "monkey",
        Rooster = "rooster",
        Dog = "dog",
        Pig = "pig",
    }
}
/// Path and query parameters of `getYoga`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYogaParams {
    /// Yoga identifier (lowercase, hyphenated)
    pub id: GetYogaParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetYogaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetYogaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Yoga identifier (lowercase, hyphenated)
    GetYogaParamsId {
        Gajakesari = "gajakesari",
        Sunapha = "sunapha",
        Anapha = "anapha",
        Dhurdhura = "dhurdhura",
        Kemadruma = "kemadruma",
        Chandramangala = "chandramangala",
        Adhi = "adhi",
        Chatussagara = "chatussagara",
        Vasumathi = "vasumathi",
        Rajalakshana = "rajalakshana",
        Vanchanachorabheethi = "vanchanachorabheethi",
        Sakata = "sakata",
        Amala = "amala",
        Parvata = "parvata",
        Kahala = "kahala",
        Vesi = "vesi",
        Vasi = "vasi",
        Obhayachari = "obhayachari",
        Hamsa = "hamsa",
        Malavya = "malavya",
        Sasa = "sasa",
        Ruchaka = "ruchaka",
        Bhadra = "bhadra",
        Budhaaditya = "budhaaditya",
        Mahabhagya = "mahabhagya",
        Pushkala = "pushkala",
        Lakshmi = "lakshmi",
        Gauri = "gauri",
        Bharathi = "bharathi",
        Chapa = "chapa",
        Sreenatha = "sreenatha",
        Lagnamalika = "lagnamalika",
        Dhanamalika = "dhanamalika",
        Vikramamalika = "vikramamalika",
        Sukhamalika = "sukhamalika",
        Putramalika = "putramalika",
        Satrumalika = "satrumalika",
        Kalatramalika = "kalatramalika",
        Randhramalika = "randhramalika",
        Bhagyamalika = "bhagyamalika",
        Karmamalika = "karmamalika",
        Labhamalika = "labhamalika",
        Vrayamalika = "vrayamalika",
        Sankha = "sankha",
        Bheri = "bheri",
        Mridanga = "mridanga",
        Parijatha = "parijatha",
        Gaja = "gaja",
        Kalanidhi = "kalanidhi",
        Amsavatara = "amsavatara",
        Hariharabrahma = "hariharabrahma",
        Kusuma = "kusuma",
        Matsya = "matsya",
        Kurma = "kurma",
        Devendra = "devendra",
        Makuta = "makuta",
        Chandika = "chandika",
        Jaya = "jaya",
        Vidyut = "vidyut",
        Gandharva = "gandharva",
        Siva = "siva",
        Vishnu = "vishnu",
        Brahma = "brahma",
        Indra = "indra",
        Ravi = "ravi",
        Garuda = "garuda",
        Go = "go",
        Gola = "gola",
        Thrilochana = "thrilochana",
        Kulavardhana = "kulavardhana",
        Yupa = "yupa",
        Ishu = "ishu",
        Sakti = "sakti",
        Danda = "danda",
        Nav = "nav",
        Kuta = "kuta",
        Chhatra = "chhatra",
        Chapa2 = "chapa-2",
        Ardhachandra = "ardhachandra",
        Chandra = "chandra",
        Gada = "gada",
        Sakata2 = "sakata-2",
        Vihaga = "vihaga",
        Vajra = "vajra",
        Yava = "yava",
        Sringhataka = "sringhataka",
        Hala = "hala",
        Kamala = "kamala",
        Vapee = "vapee",
        Samudra = "samudra",
        Vallaki = "vallaki",
        Damni = "damni",
        Pasa = "pasa",
        Kedara = "kedara",
        Sula = "sula",
        Yuga = "yuga",
        Gola2 = "gola-2",
        Rajju = "rajju",
        Musala = "musala",
        Nala = "nala",
        Srik = "srik",
        Mala = "mala",
        Sarpa = "sarpa",
        Duryoga = "duryoga",
        Daridra = "daridra",
        Harsha = "harsha",
        Sarala = "sarala",
        Vimala = "vimala",
        Sareerasoukhya = "sareerasoukhya",
        Dehapushti = "dehapushti",
        Dehakashta = "dehakashta",
        Rogagrastha = "rogagrastha",
        Krisanga = "krisanga",
        Krisanga2 = "krisanga-2",
        Dehasthoulya = "dehasthoulya",
        Dehasthoulya2 = "dehasthoulya-2",
        Dehasthoulya3 = "dehasthoulya-3",
        Sadasanchara = "sadasanchara",
        Dhana = "dhana",
        Dhana2 = "dhana-2",
        Dhana3 = "dhana-3",
        Dhana4 = "dhana-4",
        Dhana5 = "dhana-5",
        Dhana6 = "dhana-6",
        Dhana7 = "dhana-7",
        Dhana8 = "dhana-8",
        Dhana9 = "dhana-9",
        Dhana10 = "dhana-10",
        Dhana11 = "dhana-11",
        Bahudravyarjana = "bahudravyarjana",
        Swaveeryaddhana = "swaveeryaddhana",
        Swaveeryaddhana2 = "swaveeryaddhana-2",
        Swaveeryaddhana3 = "swaveeryaddhana-3",
        Madhyavayasidhana = "madhyavayasidhana",
        Anthyavayasidhana = "anthyavayasidhana",
        Balyadhana = "balyadhana",
        Bhratrumooladdhanaprapti = "bhratrumooladdhanaprapti",
        Bhratrumooladdhanaprapti2 = "bhratrumooladdhanaprapti-2",
        Matrumooladdhana = "matrumooladdhana",
        Putramooladdhana = "putramooladdhana",
        Satrumooladdhana = "satrumooladdhana",
        Kalatramooladdhana = "kalatramooladdhana",
        Amarananthadhana = "amarananthadhana",
        Ayatnadhanalabha = "ayatnadhanalabha",
        Daridra2 = "daridra-2",
        Daridra3 = "daridra-3",
        Daridra4 = "daridra-4",
        Daridra5 = "daridra-5",
        Daridra6 = "daridra-6",
        Daridra7 = "daridra-7",
        Daridra8 = "daridra-8",
        Daridra9 = "daridra-9",
        Daridra10 = "daridra-10",
        Daridra11 = "daridra-11",
        Yukthisamanwithavagmi = "yukthisamanwithavagmi",
        Yukthisamanwithavagmi2 = "yukthisamanwithavagmi-2",
        Parihasaka = "parihasaka",
        Asatyavadi = "asatyavadi",
        Jada = "jada",
        Bhaskara = "bhaskara",
        Marud = "marud",
        Saraswathi = "saraswathi",
        Budha = "budha",
        Mooka = "mooka",
        Netranasa = "netranasa",
        Andha = "andha",
        Sumukha = "sumukha",
        Sumukha2 = "sumukha-2",
        Durmukha = "durmukha",
        Durmukha2 = "durmukha-2",
        Bhojanasoukhya = "bhojanasoukhya",
        Annadana = "annadana",
        Parannabhojana = "parannabhojana",
        Sraddhannabhuktha = "sraddhannabhuktha",
        Sarpaganda = "sarpaganda",
        Vakchalana = "vakchalana",
        Vishaprayoga = "vishaprayoga",
        Bhratruvriddhi = "bhratruvriddhi",
        Sodaranasa = "sodaranasa",
        Ekabhagini = "ekabhagini",
        Dwadasasahodara = "dwadasasahodara",
        Sapthasankhyasahodara = "sapthasankhyasahodara",
        Parakrama = "parakrama",
        Yuddhapraveena = "yuddhapraveena",
        Yuddhatpoorvadridhachitta = "yuddhatpoorvadridhachitta",
        Yuddhatpaschaddrudha = "yuddhatpaschaddrudha",
        Satkathadisravana = "satkathadisravana",
        Uttamagriha = "uttamagriha",
        Vichitrasaudhaprakara = "vichitrasaudhaprakara",
        Ayatnagrihaprapta = "ayatnagrihaprapta",
        Ayatnagrihaprapta2 = "ayatnagrihaprapta-2",
        Grihanasa = "grihanasa",
        Grihanasa2 = "grihanasa-2",
        Bandhupujya = "bandhupujya",
        Bandhupujya2 = "bandhupujya-2",
        Bandhubhisthyaktha = "bandhubhisthyaktha",
        Matrudeerghayur = "matrudeerghayur",
        Matrudeerghayur2 = "matrudeerghayur-2",
        Matrunasa = "matrunasa",
        Matrunasa2 = "matrunasa-2",
        Matrugami = "matrugami",
        Sahodareesangama = "sahodareesangama",
        Kapata = "kapata",
        Kapata2 = "kapata-2",
        Kapata3 = "kapata-3",
        Nishkapata = "nishkapata",
        Nishkapata2 = "nishkapata-2",
        Matrusatrutwa = "matrusatrutwa",
        Matrusneha = "matrusneha",
        Vahana = "vahana",
        Vahana2 = "vahana-2",
        Anapathya = "anapathya",
        Sarpasapa = "sarpasapa",
        Sarpasapa2 = "sarpasapa-2",
        Sarpasapa3 = "sarpasapa-3",
        Sarpasapa4 = "sarpasapa-4",
        Pitrusapasutakshaya = "pitrusapasutakshaya",
        Matrusapasutakshaya = "matrusapasutakshaya",
        Bhratrusapasutakshaya = "bhratrusapasutakshaya",
        Pretasapa = "pretasapa",
        Bahuputra = "bahuputra",
        Bahuputra2 = "bahuputra-2",
        Dattaputra = "dattaputra",
        Dattaputra2 = "dattaputra-2",
        Aputra = "aputra",
        Ekaputra = "ekaputra",
        Suputra = "suputra",
        Kalanirdesatputra = "kalanirdesatputra",
        Kalanirdesatputra2 = "kalanirdesatputra-2",
        Kalanirdesatputranasa = "kalanirdesatputranasa",
        Kalanirdesatputranasa2 = "kalanirdesatputranasa-2",
        Buddhimaturya = "buddhimaturya",
        Theevrabuddhi = "theevrabuddhi",
        Buddhijada = "buddhijada",
        Thrikalagnana = "thrikalagnana",
        Putrasukha = "putrasukha",
        Jara = "jara",
        Jarajaputra = "jarajaputra",
        Bahustree = "bahustree",
        Satkalatra = "satkalatra",
        Bhagachumbana = "bhagachumbana",
        Bhagya = "bhagya",
        Jananatpurvampitrumarana = "jananatpurvampitrumarana",
        Dhatrutwa = "dhatrutwa",
        Apakeerti = "apakeerti",
        Raja = "raja",
        Raja2 = "raja-2",
        Raja3 = "raja-3",
        Raja4 = "raja-4",
        Raja5 = "raja-5",
        Raja6 = "raja-6",
        Raja7 = "raja-7",
        Raja8 = "raja-8",
        Raja9 = "raja-9",
        Raja10 = "raja-10",
        Raja11 = "raja-11",
        Raja12 = "raja-12",
        Raja13 = "raja-13",
        Raja14 = "raja-14",
        Raja15 = "raja-15",
        Raja16 = "raja-16",
        Raja17 = "raja-17",
        Raja18 = "raja-18",
        Raja19 = "raja-19",
        Galakarna = "galakarna",
        Vrana = "vrana",
        Sisnavyadhi = "sisnavyadhi",
        Kalatrashanda = "kalatrashanda",
        Kushtaroga = "kushtaroga",
        Kushtaroga2 = "kushtaroga-2",
        Kshayaroga = "kshayaroga",
        Bandhana = "bandhana",
        Karascheda = "karascheda",
        Sirachcheda = "sirachcheda",
        Durmarana = "durmarana",
        Yuddhemarana = "yuddhemarana",
        Sanghatakamarana = "sanghatakamarana",
        Sanghatakamarana2 = "sanghatakamarana-2",
        Peenasaroga = "peenasaroga",
        Pittaroga = "pittaroga",
        Vikalangapatni = "vikalangapatni",
        Putrakalatraheena = "putrakalatraheena",
        Bharyasahavyabhichara = "bharyasahavyabhichara",
        Vamsacheda = "vamsacheda",
        Guhyaroga = "guhyaroga",
        Angaheena = "angaheena",
        Swetakushta = "swetakushta",
        Pisachagrastha = "pisachagrastha",
        Andha2 = "andha-2",
        Andha3 = "andha-3",
        Vatharoga = "vatharoga",
        Matibhramana = "matibhramana",
        Matibhramana2 = "matibhramana-2",
        Matibhramana3 = "matibhramana-3",
        Matibhramana4 = "matibhramana-4",
        Khalwata = "khalwata",
        Nishturabhashi = "nishturabhashi",
        Rajabhrashta = "rajabhrashta",
        Raja20 = "raja-20",
        Raja21 = "raja-21",
        Gohanta = "gohanta",
    }
}
/// Response body of `getYearlyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponse {
    /// The single actionable takeaway from the leading event of the period, read into the whole-sign houses of this sign and checkable against the events array. Drawn from the same event as overview, kept to a short, actionable pair of sentences rather than grown to match the other sections. Deterministic: the same sign and period always returns the same text.
    pub advice: String,
    /// The easiest month of the year for each of the four topic sections, by how many exact harmonious aspects (sextiles and trines) fall in that month and land in the houses that govern the area for this sign. An area is omitted only in the rare year that carries no harmonious aspect for it at all, so treat each key as optional. Use it for the best-months-for panel, and read the count as the evidence behind the word best.
    #[serde(rename = "bestPeriods")]
    pub best_periods: GetYearlyHoroscopeResponseBestPeriods,
    /// Yearly career and professional outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to career, work and reputation, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries career, work and reputation, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 150 to 260 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub career: String,
    /// The full column for this period, ready to run as one piece, with paragraphs separated by a blank line. Names the events driving it and the dates they fall on, read into the whole-sign houses of this sign. Typically 600 to 900 words. The six section fields read the same ranked events filtered to their own life area, each composed as a column of its own rather than an excerpt of this one, so render either shape and never both. Deterministic: the same sign and period always returns the same column.
    pub column: String,
    /// Most compatible zodiac signs for this sign. Trine partners (same element) followed by a sextile partner (complementary element).
    #[serde(rename = "compatibleSigns")]
    pub compatible_signs: Vec<String>,
    /// Every solar and lunar eclipse of the year, with the house each one falls in for this sign. Usually four to six, and the dates match the published eclipse canon.
    pub eclipses: Vec<GetYearlyHoroscopeResponseEclipsesItem>,
    /// The dated astronomical events this reading is built on, earliest first. Every field in every row can be checked against an independent authority, so a column can be fact-checked before it is published. Empty on a period in which nothing exact happens, where the reading falls back to the standing positions instead.
    pub events: Vec<GetYearlyHoroscopeResponseEventsItem>,
    /// Yearly financial outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to finance, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries finance, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 150 to 260 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub finance: String,
    /// Yearly health, energy, and wellness outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to health, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries health, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 150 to 260 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub health: String,
    /// The year as a calendar of life areas: for each whole-sign house, the single dated stretch that most strongly activates it, ordered by start date. Twelve rows in a full year, one per house, so every life area gets a date range and none is named twice. Periods overlap freely, because more than one body is always moving. Use it for the dates-to-circle panel of a year-ahead page.
    #[serde(rename = "keyPeriods")]
    pub key_periods: Vec<GetYearlyHoroscopeResponseKeyPeriodsItem>,
    /// Yearly love and relationship outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to romance and partnership, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries romance and partnership, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 150 to 260 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub love: String,
    /// Lucky color for the year, drawn from the three colors of the sign element and selected by the planet governing the reading.
    #[serde(rename = "luckyColor")]
    pub lucky_color: String,
    /// Four lucky numbers for the year, each 1 to 9 and all distinct, from the traditional planetary number correspondence applied to the four planets that govern this sign this year.
    #[serde(rename = "luckyNumbers")]
    pub lucky_numbers: Vec<f64>,
    /// The single most relevant event of the period, whichever life area it touches, read into the whole-sign houses of this sign. The same event that leads column, at lede length rather than developed into a full movement, and checkable against the events array. Typically 70 to 120 words. Join it with love, career, health and finance for a general reading built from the six sections. Deterministic: the same sign and period always returns the same text.
    pub overview: String,
    /// Every retrograde and direct station of the year, in order, with the house each falls in for this sign. Drives review windows and the not-yet warnings a yearly column is bought for.
    pub retrogrades: Vec<GetYearlyHoroscopeResponseRetrogradesItem>,
    /// Zodiac sign for this horoscope.
    pub sign: String,
    /// The backdrop of the year: which whole-sign house each slow-moving body occupies for this sign, Jupiter first and Pluto last. One row per unbroken stretch, so a body that stays put is a single row spanning the year and a body that changes sign is two rows with the exact date between them. Dates are the part of the stretch that falls inside this year; the full span of a change that happens inside the year is in the events array. Use it for the year-at-a-glance panel a year-ahead page opens with.
    pub themes: Vec<GetYearlyHoroscopeResponseThemesItem>,
    /// Calendar year this forecast covers. Echoes the year requested, or the current year when it was omitted.
    pub year: i64,
}
/// One entry of `themes`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseThemesItem {
    /// The slow-moving body holding this theme, canonical English regardless of the requested language: Jupiter, Saturn, Uranus, Neptune, or Pluto.
    pub body: String,
    /// First date of the stretch inside this year, in UTC (YYYY-MM-DD). January 1 when the body was already there when the year opened, otherwise the date it arrived.
    pub from: String,
    /// Whole-sign house that sign is for this sign, 1 to 12.
    pub house: i64,
    /// Sign the body occupies through this stretch, lowercase. Checkable against NASA JPL Horizons for any date inside from and to.
    pub sign: String,
    /// What that house governs, so the placement reads as a life area rather than a coordinate.
    pub theme: String,
    /// Last date of the stretch inside this year, in UTC (YYYY-MM-DD). December 31 when the body is still there when the year closes, otherwise the date it leaves.
    pub to: String,
}
/// One entry of `retrogrades`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseRetrogradesItem {
    /// Body making the station, canonical English.
    pub body: String,
    /// Date the body turns, in UTC (YYYY-MM-DD). The exact instant is in the events array.
    pub date: String,
    /// Which way it turns: retrograde when apparent motion reverses, direct when it resumes.
    pub direction: String,
    /// Whole-sign house the station falls in for this sign, 1 to 12.
    pub house: i64,
    /// What that house governs, so the station reads as a life area rather than a coordinate.
    pub theme: String,
}
/// One entry of `keyPeriods`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseKeyPeriodsItem {
    /// Body driving the period, canonical English regardless of the requested language: Mercury, Venus, or Mars. The slower bodies are in the themes array instead, because a stretch measured in years is a backdrop rather than a date to circle.
    pub body: String,
    /// The life area that period is about, from the house it activates.
    pub focus: String,
    /// Date the period opens, in UTC (YYYY-MM-DD). Always inside the year requested: this is the day the body enters the sign.
    pub from: String,
    /// Whole-sign house the period activates for this sign, 1 to 12. Unique within the array: each house appears at most once.
    pub house: i64,
    /// Date the period closes, in UTC (YYYY-MM-DD), which is the day the body leaves that sign. A period that opens late in the year closes in the next one, by at most about three months, so a reader knows what they are still in on January 1.
    pub to: String,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseEventsItem {
    /// Angle formed, on aspect events only: conjunction, sextile, square, trine, opposition, semi-sextile, quincunx, semi-square, or sesquiquadrate.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Exact instant the event perfects, UTC, to the second. Verifiable against NASA JPL Horizons for a position event and against the US Naval Observatory for a lunar phase or eclipse.
    pub at: String,
    /// Bodies involved, canonical English regardless of the requested language so the value stays safe to switch on. Two entries for an aspect, faster body first. One entry for an ingress, a station, a lunar phase, or an eclipse.
    pub bodies: Vec<String>,
    /// Whole-sign house the event falls in, counted from the queried sign, 1 to 12. This is what turns one global sky event into a statement about this reader.
    pub house: i64,
    /// Sign the event falls in, lowercase, where it has exactly one. Absent for an aspect whose two bodies stand in different signs.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sign: Option<String>,
    /// End of the window this event holds open, UTC, given only where a bounded window is a real fact about it: the orb span of an aspect, the sign span of an ingress or a season, the retrograde span of a station. Absent for a lunar phase or an eclipse, which are instants and not spans.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub through: Option<String>,
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    pub r#type: GetYearlyHoroscopeResponseEventsItemType,
}
string_enum! {
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    GetYearlyHoroscopeResponseEventsItemType {
        Aspect = "aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        LunarPhase = "lunar-phase",
        Eclipse = "eclipse",
        SolarSeason = "solar-season",
    }
}
/// One entry of `eclipses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseEclipsesItem {
    /// Date of the eclipse peak in UTC (YYYY-MM-DD). The exact instant is in the events array.
    pub date: String,
    /// Whole-sign house the eclipse falls in for this sign, 1 to 12.
    pub house: i64,
    /// Eclipse kind: total, annular, partial, or penumbral.
    pub kind: String,
    /// What that house governs, so the eclipse reads as a life area rather than a coordinate.
    pub theme: String,
}
/// The easiest month of the year for each of the four topic sections, by how many exact harmonious aspects (sextiles and trines) fall in that month and land in the houses that govern the area for this sign. An area is omitted only in the rare year that carries no harmonious aspect for it at all, so treat each key as optional. Use it for the best-months-for panel, and read the count as the evidence behind the word best.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseBestPeriods {
    /// Best month for career, work and reputation. Absent only if the whole year carries no harmonious aspect reaching this area.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub career: Option<GetYearlyHoroscopeResponseBestPeriodsCareer>,
    /// Best month for finance. Absent only if the whole year carries no harmonious aspect reaching this area.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub finance: Option<GetYearlyHoroscopeResponseBestPeriodsFinance>,
    /// Best month for health. Absent only if the whole year carries no harmonious aspect reaching this area.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub health: Option<GetYearlyHoroscopeResponseBestPeriodsHealth>,
    /// Best month for romance and partnership. Absent only if the whole year carries no harmonious aspect reaching this area.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub love: Option<GetYearlyHoroscopeResponseBestPeriodsLove>,
}
/// Best month for romance and partnership. Absent only if the whole year carries no harmonious aspect reaching this area.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseBestPeriodsLove {
    /// How many exact harmonious aspects fell in that month and reached this area. This is the measurement the month was chosen on, and every aspect behind it can be checked against NASA JPL Horizons.
    pub count: i64,
    /// First day of the month, in UTC (YYYY-MM-DD).
    pub from: String,
    /// Last day of the month, in UTC (YYYY-MM-DD).
    pub to: String,
}
/// Best month for health. Absent only if the whole year carries no harmonious aspect reaching this area.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseBestPeriodsHealth {
    /// How many exact harmonious aspects fell in that month and reached this area. This is the measurement the month was chosen on, and every aspect behind it can be checked against NASA JPL Horizons.
    pub count: i64,
    /// First day of the month, in UTC (YYYY-MM-DD).
    pub from: String,
    /// Last day of the month, in UTC (YYYY-MM-DD).
    pub to: String,
}
/// Best month for finance. Absent only if the whole year carries no harmonious aspect reaching this area.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseBestPeriodsFinance {
    /// How many exact harmonious aspects fell in that month and reached this area. This is the measurement the month was chosen on, and every aspect behind it can be checked against NASA JPL Horizons.
    pub count: i64,
    /// First day of the month, in UTC (YYYY-MM-DD).
    pub from: String,
    /// Last day of the month, in UTC (YYYY-MM-DD).
    pub to: String,
}
/// Best month for career, work and reputation. Absent only if the whole year carries no harmonious aspect reaching this area.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeResponseBestPeriodsCareer {
    /// How many exact harmonious aspects fell in that month and reached this area. This is the measurement the month was chosen on, and every aspect behind it can be checked against NASA JPL Horizons.
    pub count: i64,
    /// First day of the month, in UTC (YYYY-MM-DD).
    pub from: String,
    /// Last day of the month, in UTC (YYYY-MM-DD).
    pub to: String,
}
/// Path and query parameters of `getYearlyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetYearlyHoroscopeParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetYearlyHoroscopeParamsLang>,
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    pub sign: GetYearlyHoroscopeParamsSign,
    /// Selects which year counts as current when year is omitted. Defaults to UTC, so the forecast rolls over at 00:00 UTC on January 1. Pass the timezone of the end user to roll over on their local clock instead. Ignored when year is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
    /// Calendar year to forecast, 1900 to 2100. Defaults to the current year in the timezone parameter.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
string_enum! {
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    GetYearlyHoroscopeParamsSign {
        Aries = "aries",
        Taurus = "taurus",
        Gemini = "gemini",
        Cancer = "cancer",
        Leo = "leo",
        Virgo = "virgo",
        Libra = "libra",
        Scorpio = "scorpio",
        Sagittarius = "sagittarius",
        Capricorn = "capricorn",
        Aquarius = "aquarius",
        Pisces = "pisces",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetYearlyHoroscopeParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getWeeklyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetWeeklyHoroscopeResponse {
    /// The single actionable takeaway from the leading event of the period, read into the whole-sign houses of this sign and checkable against the events array. Drawn from the same event as overview, kept to a short, actionable pair of sentences rather than grown to match the other sections. Deterministic: the same sign and period always returns the same text.
    pub advice: String,
    /// Weekly career and professional outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to career, work and reputation, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries career, work and reputation, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 80 to 120 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub career: String,
    /// The full column for this period, ready to run as one piece, with paragraphs separated by a blank line. Names the events driving it and the dates they fall on, read into the whole-sign houses of this sign. Typically 250 to 450 words. The six section fields read the same ranked events filtered to their own life area, each composed as a column of its own rather than an excerpt of this one, so render either shape and never both. Deterministic: the same sign and period always returns the same column.
    pub column: String,
    /// Most compatible zodiac signs for this sign. Trine partners (same element) followed by a sextile partner (complementary element).
    #[serde(rename = "compatibleSigns")]
    pub compatible_signs: Vec<String>,
    /// The dated astronomical events this reading is built on, earliest first. Every field in every row can be checked against an independent authority, so a column can be fact-checked before it is published. Empty on a period in which nothing exact happens, where the reading falls back to the standing positions instead.
    pub events: Vec<GetWeeklyHoroscopeResponseEventsItem>,
    /// Weekly financial outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to finance, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries finance, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 80 to 120 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub finance: String,
    /// Weekly health, energy, and wellness guidance, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to health, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries health, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 80 to 120 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub health: String,
    /// Weekly love and relationship forecast, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to romance and partnership, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries romance and partnership, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 80 to 120 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub love: String,
    /// The three most favorable days this week, from the planetary rulers of the seven weekdays, ranked by how strongly each of those planets stands for this sign.
    #[serde(rename = "luckyDays")]
    pub lucky_days: Vec<String>,
    /// Three lucky numbers for the week, each 1 to 9 and all distinct, from the traditional planetary number correspondence applied to the three planets that govern this sign this week.
    #[serde(rename = "luckyNumbers")]
    pub lucky_numbers: Vec<f64>,
    /// The single most relevant event of the period, whichever life area it touches, read into the whole-sign houses of this sign. The same event that leads column, at lede length rather than developed into a full movement, and checkable against the events array. Typically 40 to 80 words. Join it with love, career, health and finance for a general reading built from the six sections. Deterministic: the same sign and period always returns the same text.
    pub overview: String,
    /// Zodiac sign for this horoscope.
    pub sign: String,
    /// Start date of the forecast week (Monday).
    pub week: String,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetWeeklyHoroscopeResponseEventsItem {
    /// Angle formed, on aspect events only: conjunction, sextile, square, trine, opposition, semi-sextile, quincunx, semi-square, or sesquiquadrate.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Exact instant the event perfects, UTC, to the second. Verifiable against NASA JPL Horizons for a position event and against the US Naval Observatory for a lunar phase or eclipse.
    pub at: String,
    /// Bodies involved, canonical English regardless of the requested language so the value stays safe to switch on. Two entries for an aspect, faster body first. One entry for an ingress, a station, a lunar phase, or an eclipse.
    pub bodies: Vec<String>,
    /// Whole-sign house the event falls in, counted from the queried sign, 1 to 12. This is what turns one global sky event into a statement about this reader.
    pub house: i64,
    /// Sign the event falls in, lowercase, where it has exactly one. Absent for an aspect whose two bodies stand in different signs.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sign: Option<String>,
    /// End of the window this event holds open, UTC, given only where a bounded window is a real fact about it: the orb span of an aspect, the sign span of an ingress or a season, the retrograde span of a station. Absent for a lunar phase or an eclipse, which are instants and not spans.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub through: Option<String>,
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    pub r#type: GetWeeklyHoroscopeResponseEventsItemType,
}
string_enum! {
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    GetWeeklyHoroscopeResponseEventsItemType {
        Aspect = "aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        LunarPhase = "lunar-phase",
        Eclipse = "eclipse",
        SolarSeason = "solar-season",
    }
}
/// Path and query parameters of `getWeeklyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetWeeklyHoroscopeParams {
    /// Any date inside the target week, in YYYY-MM-DD format. The forecast covers the Monday to Sunday week containing it. Defaults to the current period in the timezone parameter.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetWeeklyHoroscopeParamsLang>,
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    pub sign: GetWeeklyHoroscopeParamsSign,
    /// Selects which period counts as current when date is omitted. Defaults to UTC, so the forecast rolls over at 00:00 UTC on each Monday. Pass the timezone of the end user to roll over on their local clock instead. Ignored when date is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
string_enum! {
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    GetWeeklyHoroscopeParamsSign {
        Aries = "aries",
        Taurus = "taurus",
        Gemini = "gemini",
        Cancer = "cancer",
        Leo = "leo",
        Virgo = "virgo",
        Libra = "libra",
        Scorpio = "scorpio",
        Sagittarius = "sagittarius",
        Capricorn = "capricorn",
        Aquarius = "aquarius",
        Pisces = "pisces",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetWeeklyHoroscopeParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getVedicDailyReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponse {
    /// Life areas carried as a TYPED closed set rather than an open map, so every generated SDK knows which keys exist. Finance ships alone in this version, because an area is a named classical house group with a citation and not a life category invented for a dropdown. Widening it later adds a key and breaks nothing.
    pub areas: GetVedicDailyReadingResponseAreas,
    /// Chandrabala for THIS native, windowed for the same reason as the tarabala: the Moon can change rashi inside the panchanga day. Ashtama Chandra is a separate flag on each window.
    pub chandrabala: Vec<GetVedicDailyReadingResponseChandrabalaItem>,
    /// The running Vimshottari chain at sunrise, outermost first, three levels deep. This is the frame the day is read inside, and it is also what the finance area reads the significators off. Empty for a chart whose cycle cannot be resolved.
    pub dasha: Vec<GetVedicDailyReadingResponseDashaItem>,
    /// Civil date this reading covers, echoing the request field or the UTC date it defaulted to.
    pub date: String,
    /// ISO instant the panchanga day ends, which is the next sunrise.
    #[serde(rename = "dayEnd")]
    pub day_end: String,
    /// ISO instant the panchanga day begins, which is SUNRISE at the birth coordinates and not midnight. Every limb below is resolved at this instant. Where the Sun does not rise, local noon is used instead and the substitution is named in degraded rather than applied silently.
    #[serde(rename = "dayStart")]
    pub day_start: String,
    /// Components this request could not supply, named rather than silently defaulted. Empty on an ordinary reading. A polar chart degrades through here instead of failing, so the caller still gets the gochara, the panchanga, the dasha and the natal basis of the finance area, and is told exactly what is missing.
    pub degraded: Vec<GetVedicDailyReadingResponseDegradedItem>,
    /// How many members the score was taken over, and its denominator: the nine grahas put through the gates plus the two Moon tests read at sunrise, tara\[0\] and chandrabala\[0\]. Rahu and Ketu are among the nine: they skip the bindu gate because they have no Bhinnashtakavarga, and a skipped gate is not a failed one, so they still reach a state through the other three.
    pub evaluated: f64,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    pub focus: GetVedicDailyReadingResponseFocus,
    /// Every sidereal frame behind this reading, so a cached or forwarded payload is self describing and no number sits under a label it did not come from. TWO ayanamsas are in play by design: positions are Lahiri, and the Placidus cusps plus the KP significators are KP-Newcomb, which is the frame KP owns and the split a practitioner actually works in. The two differ by about 0.09 degrees, which is under a third of a KP sub-lord span and enough to move a placement near a boundary, so the reading declares which produced what rather than leaving a caller to guess. THREE entries for two ayanamsas, because Lahiri is read at two instants: the birth moment and the sunrise of the day being read, roughly half a degree apart on a chart forty years old, six times the gap between the two ayanamsas themselves. There is no ayanamsa request field on this route and there will not be one, since a single selector cannot honour two frames and accepting it would promise something the composition cannot deliver.
    pub frames: GetVedicDailyReadingResponseFrames,
    /// All nine transiting grahas, each with its four gate results and the ONE state they produced. The gates run in the order the sources give them: house from the natal Moon, then vedha, then the bindu gate, then the nullifiers of Phaladeepika XXVI.30 to XXVI.32. Obstruction is terminal, so a blocked transit is never rescued by the gates that follow it.
    pub grahas: Vec<GetVedicDailyReadingResponseGrahasItem>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes")]
    pub house_themes: GetVedicDailyReadingResponseHouseThemes,
    /// The four panchanga limbs, each resolved at sunrise and each carrying the instant it gives way, so a client can label the whole day rather than asserting one value for it.
    pub panchanga: GetVedicDailyReadingResponsePanchanga,
    /// Strength of this day for this native, 0 to 100, centred on 50, over eleven members: the nine transiting grahas and the two Moon tests of the day. Each graha counts +1 when its state is favourable, -1 when its state is unfavourable or aggravated, and 0 when it is underdelivered, obstructed, void. The tarabala window holding at sunrise, tara\[0\], counts +1 when its quality is favourable, -1 when unfavourable and 0 when neutral; the chandrabala window holding at sunrise, chandrabala\[0\], counts +1 when favourable and -1 otherwise. Then score = round(50 + 50 * (for minus against) / evaluated), so 50 is the balanced case with as many members for the native as against, 100 is every member for, 0 is every member against, and a member that is neither sits inside evaluated and pulls the result toward 50. Recompute it from this response: for is the favourable count in tally plus the Moon tests that are for, against is the unfavourable and aggravated counts plus the Moon tests that are against, evaluated is the field of that name. Worked example: 2 grahas for and 4 against, both Moon tests for, out of 11 evaluated is round(50 + 50 * (4 - 4) / 11) = 50. The Moon is counted three times on a day, through its own gochara row, its rashi test and its nakshatra test, because the gochara chapter and the muhurta chapter both weigh the Moon and ask different questions of it. The four gates that decide each graha state are classical, Phaladeepika XXVI.2 to XXVI.41 and B.V. Raman on Ashtakavarga, and each graha names the rule that decided it in stateSource; tarabala and chandrabala are the two per-native day tests of the muhurta genre. The count over all of them is a RoxyAPI convention, and it is a signed count rather than a weighted sum because the texts make a high bindu count an OVERRIDE and make aspect, dignity and combustion NULLIFIERS, not points to add. How to read it: an ordinary day sits in the 40s, because nine bodies casting drishti void most transits under XXVI.30, and the slow grahas hold one verdict for a year or more while the two Moon tests turn daily, so the day moves inside the month. Above 50 the day is in favour of the native, and the top band needs six more members for than against, which is rare. It measures support, never the outcome of a matter: whether the day suits a particular purpose depends on the purpose being judged.
    pub score: f64,
    /// The two natal reference points this whole reading is counted from, plus the longitude they come from.
    pub subject: GetVedicDailyReadingResponseSubject,
    /// The full per-state count over the nine grahas, always all six states including the zeros, so it sums to nine and not to evaluated. This is the graha part of the input to the score; the other two members are read from tara\[0\] and chandrabala\[0\]. Published so the number is reproducible by hand, and so a caller who reads the states differently can compute their own figure from this response.
    pub tally: Vec<GetVedicDailyReadingResponseTallyItem>,
    /// Tarabala for THIS native, as an array of windows rather than one value, because the Moon can change nakshatra inside a panchanga day and the reference panchangs print two windows when it does. Three windows happen and are returned when they do. One entry means the tara held all day.
    pub tara: Vec<GetVedicDailyReadingResponseTaraItem>,
    /// The score as one of four bands: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below. A band starts above its edge, so a balanced day at exactly 50 is "moderate" and "strong" means the net is in favour of the native. "moderate" is the ordinary day. "weak" needs the members against to outnumber the members for by more than half of those evaluated, which is six of eleven, and "very-strong" is the mirror of that and is rare. The same four words band the finance score, the composite and each of its layers, on the same edges, so one word means one thing everywhere in this response. Canonical English machine values, the same enum every KP significator route returns.
    pub verdict: GetVedicDailyReadingResponseVerdict,
}
string_enum! {
    /// The score as one of four bands: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below. A band starts above its edge, so a balanced day at exactly 50 is "moderate" and "strong" means the net is in favour of the native. "moderate" is the ordinary day. "weak" needs the members against to outnumber the members for by more than half of those evaluated, which is six of eleven, and "very-strong" is the mirror of that and is rare. The same four words band the finance score, the composite and each of its layers, on the same edges, so one word means one thing everywhere in this response. Canonical English machine values, the same enum every KP significator route returns.
    GetVedicDailyReadingResponseVerdict {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
/// One entry of `tara`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseTaraItem {
    /// Nakshatra the Moon occupies during this window. Canonical Sanskrit.
    #[serde(rename = "moonNakshatra")]
    pub moon_nakshatra: String,
    /// Name of the tara this native gets during this window, from the 9-tara cycle Janma through Parama Mitra. A Sanskrit proper noun and a canonical machine value, which is why the favourability is a separate field rather than something a caller has to infer from the word.
    pub name: GetVedicDailyReadingResponseTaraItemName,
    /// Tara number 1 to 9, counted inclusively from the Janma Nakshatra to the Moon nakshatra and folded by 9.
    pub number: f64,
    /// Where this tara falls in the three-way classical reading. Taras 2, 4, 6, 8 and 9 are favourable, 3, 5 and 7 are not, and the 1st (Janma) is neither.
    pub quality: GetVedicDailyReadingResponseTaraItemQuality,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponseTaraItemTimescale,
    /// ISO instant this tarabala window opens.
    #[serde(rename = "validFrom")]
    pub valid_from: String,
    /// ISO instant this tarabala window closes, which is when the Moon changes nakshatra.
    #[serde(rename = "validTo")]
    pub valid_to: String,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponseTaraItemTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
string_enum! {
    /// Where this tara falls in the three-way classical reading. Taras 2, 4, 6, 8 and 9 are favourable, 3, 5 and 7 are not, and the 1st (Janma) is neither.
    GetVedicDailyReadingResponseTaraItemQuality {
        Favourable = "favourable",
        Unfavourable = "unfavourable",
        Neutral = "neutral",
    }
}
string_enum! {
    /// Name of the tara this native gets during this window, from the 9-tara cycle Janma through Parama Mitra. A Sanskrit proper noun and a canonical machine value, which is why the favourability is a separate field rather than something a caller has to infer from the word.
    GetVedicDailyReadingResponseTaraItemName {
        Janma = "Janma",
        Sampat = "Sampat",
        Vipat = "Vipat",
        Kshema = "Kshema",
        Pratyari = "Pratyari",
        Sadhaka = "Sadhaka",
        Vadha = "Vadha",
        Mitra = "Mitra",
        ParamaMitra = "Parama Mitra",
    }
}
/// One entry of `tally`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseTallyItem {
    /// How many of the evaluated grahas reached that state.
    pub count: f64,
    /// One of the six outcomes a transiting graha can reach.
    pub state: GetVedicDailyReadingResponseTallyItemState,
}
string_enum! {
    /// One of the six outcomes a transiting graha can reach.
    GetVedicDailyReadingResponseTallyItemState {
        Favourable = "favourable",
        Underdelivered = "underdelivered",
        Obstructed = "obstructed",
        Void = "void",
        Aggravated = "aggravated",
        Unfavourable = "unfavourable",
    }
}
/// The two natal reference points this whole reading is counted from, plus the longitude they come from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseSubject {
    /// Natal Moon nakshatra, the reference point the tarabala is counted from. Canonical Sanskrit.
    #[serde(rename = "janmaNakshatra")]
    pub janma_nakshatra: String,
    /// Janma Nakshatra number 1 to 27, counted from Ashwini.
    #[serde(rename = "janmaNakshatraNumber")]
    pub janma_nakshatra_number: f64,
    /// Natal Moon rashi, the reference point every gochara house count in this response is taken from. Always English.
    #[serde(rename = "janmaRashi")]
    pub janma_rashi: String,
    /// Sidereal longitude of the natal Moon in degrees. The single value both reference points are derived from, so any disagreement with a reference chart can be traced to its source rather than to a verdict.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
}
/// The four panchanga limbs, each resolved at sunrise and each carrying the instant it gives way, so a client can label the whole day rather than asserting one value for it.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponsePanchanga {
    /// Karana running at sunrise, with the instant it ends. A karana is half a tithi, which is why it is the fastest of the four limbs.
    pub karana: GetVedicDailyReadingResponsePanchangaKarana,
    /// Nakshatra the Moon occupies at sunrise, with the instant it ends. This is the sky-wide limb; for what it means to THIS native, read the tara array.
    pub nakshatra: GetVedicDailyReadingResponsePanchangaNakshatra,
    /// Lunar fortnight at sunrise: Shukla for the waxing half, Krishna for the waning half.
    pub paksha: String,
    /// Tithi (lunar day) running at sunrise, with the instant it ends. The tithi is the 12-degree step of the Moon away from the Sun, so its length varies through the month.
    pub tithi: GetVedicDailyReadingResponsePanchangaTithi,
    /// Weekday of the panchanga day. The Hindu vara runs sunrise to sunrise, so it can differ from the civil weekday of the same date before dawn. Always English.
    pub vara: String,
    /// The same weekday under its Sanskrit name.
    #[serde(rename = "varaSanskrit")]
    pub vara_sanskrit: String,
    /// Nitya yoga running at sunrise, with the instant it ends. The 27 yogas step through the combined longitude of the Sun and the Moon.
    pub yoga: GetVedicDailyReadingResponsePanchangaYoga,
}
/// Nitya yoga running at sunrise, with the instant it ends. The 27 yogas step through the combined longitude of the Sun and the Moon.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponsePanchangaYoga {
    /// Name of the yoga running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
    pub name: String,
    /// The yoga that follows, so the rest of the day can be labelled without a second request.
    pub next: String,
    /// yoga number in its own cycle, resolved at sunrise.
    pub number: f64,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponsePanchangaYogaTimescale,
    /// ISO instant this yoga ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
    #[serde(rename = "validTo")]
    pub valid_to: String,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponsePanchangaYogaTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
/// Tithi (lunar day) running at sunrise, with the instant it ends. The tithi is the 12-degree step of the Moon away from the Sun, so its length varies through the month.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponsePanchangaTithi {
    /// Name of the tithi running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
    pub name: String,
    /// The tithi that follows, so the rest of the day can be labelled without a second request.
    pub next: String,
    /// tithi number in its own cycle, resolved at sunrise.
    pub number: f64,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponsePanchangaTithiTimescale,
    /// ISO instant this tithi ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
    #[serde(rename = "validTo")]
    pub valid_to: String,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponsePanchangaTithiTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
/// Nakshatra the Moon occupies at sunrise, with the instant it ends. This is the sky-wide limb; for what it means to THIS native, read the tara array.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponsePanchangaNakshatra {
    /// Name of the nakshatra running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
    pub name: String,
    /// The nakshatra that follows, so the rest of the day can be labelled without a second request.
    pub next: String,
    /// nakshatra number in its own cycle, resolved at sunrise.
    pub number: f64,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponsePanchangaNakshatraTimescale,
    /// ISO instant this nakshatra ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
    #[serde(rename = "validTo")]
    pub valid_to: String,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponsePanchangaNakshatraTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
/// Karana running at sunrise, with the instant it ends. A karana is half a tithi, which is why it is the fastest of the four limbs.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponsePanchangaKarana {
    /// Name of the karana running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
    pub name: String,
    /// The karana that follows, so the rest of the day can be labelled without a second request.
    pub next: String,
    /// karana number in its own cycle, resolved at sunrise.
    pub number: f64,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponsePanchangaKaranaTimescale,
    /// ISO instant this karana ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
    #[serde(rename = "validTo")]
    pub valid_to: String,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponsePanchangaKaranaTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
/// One entry of `grahas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseGrahasItem {
    /// Gate 4. Transiting natural benefics casting graha drishti on this graha. Under Phaladeepika XXVI.30 a benefic sight on a BAD result is what voids it. Read as drishti from the other TRANSITING grahas, which is a school choice this endpoint makes and states: the sloka sits between the vedha rules and the rules about the transiting graha own condition.
    #[serde(rename = "aspectedByBenefic")]
    pub aspected_by_benefic: Vec<String>,
    /// Gate 4. Transiting natural enemies of this graha casting graha drishti on it. Phaladeepika XXVI.30 voids the result either way for an enemy sight, whichever direction the baseline verdict pointed.
    #[serde(rename = "aspectedByEnemy")]
    pub aspected_by_enemy: Vec<String>,
    /// Gate 4. Transiting natural malefics casting graha drishti on this graha. A malefic sight on a GOOD result voids it under Phaladeepika XXVI.30. Rahu and Ketu never appear here: they cast no drishti in this package, which is its own documented school choice, although they can be aspected.
    #[serde(rename = "aspectedByMalefic")]
    pub aspected_by_malefic: Vec<String>,
    /// Gate 3. Bindus this graha holds in the whole sign it is transiting, 0 to 8, or null for Rahu and Ketu, which have no Bhinnashtakavarga and therefore SKIP this gate entirely rather than scoring zero. The gate reads the number two ways: a favourable house carrying fewer than 4 bindus under delivers, and an unfavourable house carrying a strict majority of the eight contributors, 5 or more, is turned good by Phaladeepika XXVI.41. Exactly 4 fires neither rule, which is the literal reading of both phrasings rather than a rounding choice. WHOSE READING THE NUMBER IS, stated because generalising it is ours: B.V. Raman prints 4 once and prints it about the MOON, then generalises the PRINCIPLE to every graha in the next sentence without repeating any number, and Phaladeepika XXVI.41 is general across grahas and also states no number. Applying 4 to all nine bodies is RoxyAPI reading the general rule through the one worked example the author gave it, and it is not a universally stated classical threshold.
    #[serde(rename = "binduCount")]
    pub bindu_count: Option<f64>,
    /// Gate 4. Whether the graha is combust at the transit moment, or null for the Sun and the two nodes where the question does not arise at all. Combustion voids a good transit under Phaladeepika XXVI.32 and aggravates a bad one.
    pub combust: Option<bool>,
    /// Gate 4. Dignity of the graha in the sign it is transiting, or null for Rahu and Ketu which have none. Feeds the Phaladeepika XXVI.31 shield ("exalted" or "own" does no harm in an untoward bhava) and the XXVI.32 weakness ("debilitated" or "enemy" voids a good transit). One of exalted, own, debilitated, enemy, neutral.
    pub dignity: Option<GetVedicDailyReadingResponseGrahasItemDignity>,
    /// Gate 1. Whether houseFromMoon is on this graha classical favourable list (Phaladeepika XXVI.2). The baseline verdict, before vedha, bindus or the nullifiers have had their say.
    pub favourable: bool,
    /// Gate 1 evidence: the whole favourable list for this graha, so the baseline verdict can be checked in place without a second request or a table lookup.
    #[serde(rename = "favourableHouses")]
    pub favourable_houses: Vec<f64>,
    /// Graha name, Sun through Ketu. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    pub graha: String,
    /// House this graha transits counted whole-sign and inclusively from the natal Moon rashi (Janma Rashi), so the Moon rashi itself is 1. This is the reference classical Gochara is reckoned in: Phaladeepika XXVI.1 opens the transit chapter by saying that of all the Lagnas only the Moon Lagna matters for transit results. A reading counted from the Lagna instead answers a different question and every verdict below would be wrong.
    #[serde(rename = "houseFromMoon")]
    pub house_from_moon: f64,
    /// Gochara Kaksha: the ashtakavarga-qualified reading of this transit. The sign says where a graha is, this says whether the exact stretch it currently occupies is one its own Bhinnashtakavarga supports, which is the classical way of refining a transit verdict from sign-level to under four degrees.
    pub kaksha: GetVedicDailyReadingResponseGrahasItemKaksha,
    /// Sidereal longitude of the transiting graha in degrees, 0 to 360, Lahiri frame.
    pub longitude: f64,
    /// Gate 2. Grahas actually standing in vedhaHouse, with the mutual exemptions already applied. Empty when nothing obstructs. A non-empty list makes the state "obstructed", which is a THIRD outcome rather than a smaller number: the texts cancel the promised good outright rather than discounting it.
    #[serde(rename = "obstructedBy")]
    pub obstructed_by: Vec<String>,
    /// Rashi this graha is transiting on the day being read. Always English.
    pub sign: String,
    /// The single outcome the four gates produced for this graha, and the only field the score counts. "favourable" is the house list holding with nothing cancelling it, "underdelivered" is a favourable house below the bindu delivery floor, "obstructed" is vedha, "void" is an aspect, a dignity shield or a weakness emptying the result of effect, "aggravated" is the one compounding rule in the chapter, and "unfavourable" is a house that was never on the list. Canonical English machine values: every one is a classical outcome word rather than an invented label, which is why none carries a translated sibling.
    pub state: GetVedicDailyReadingResponseGrahasItemState,
    /// The rule that decided the state, named so a verdict can be checked against its sloka without leaving the payload.
    #[serde(rename = "stateSource")]
    pub state_source: String,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponseGrahasItemTimescale,
    /// Gate 2. Grahas that cannot obstruct this one however they transit, from the two mutual exemptions the texts name: the Sun and Saturn do not obstruct each other, and neither do the Moon and Mercury.
    #[serde(rename = "vedhaExempt")]
    pub vedha_exempt: Vec<String>,
    /// Gate 2. The house whose occupation by another graha cancels this transit (Phaladeepika XXVI.3-8). Null when the transit is not favourable to begin with, since there is nothing for an obstruction to cancel.
    #[serde(rename = "vedhaHouse")]
    pub vedha_house: Option<f64>,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponseGrahasItemTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
string_enum! {
    /// The single outcome the four gates produced for this graha, and the only field the score counts. "favourable" is the house list holding with nothing cancelling it, "underdelivered" is a favourable house below the bindu delivery floor, "obstructed" is vedha, "void" is an aspect, a dignity shield or a weakness emptying the result of effect, "aggravated" is the one compounding rule in the chapter, and "unfavourable" is a house that was never on the list. Canonical English machine values: every one is a classical outcome word rather than an invented label, which is why none carries a translated sibling.
    GetVedicDailyReadingResponseGrahasItemState {
        Favourable = "favourable",
        Underdelivered = "underdelivered",
        Obstructed = "obstructed",
        Void = "void",
        Aggravated = "aggravated",
        Unfavourable = "unfavourable",
    }
}
/// Gochara Kaksha: the ashtakavarga-qualified reading of this transit. The sign says where a graha is, this says whether the exact stretch it currently occupies is one its own Bhinnashtakavarga supports, which is the classical way of refining a transit verdict from sign-level to under four degrees.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseGrahasItemKaksha {
    /// Whether this kaksha lord gave the transiting graha a bindu in the sign being transited, which is the Gochara Kaksha verdict: true reads as a favourable stretch of the transit, false as an unfavourable one. Null means the question does not apply rather than that the answer is no, because Rahu and Ketu have no Bhinnashtakavarga to read. Never render null as unfavourable.
    pub bindu: Option<bool>,
    /// Bindus the transiting graha holds in this whole sign, 0-8, or null for Rahu and Ketu. Context for the verdict, since the same kaksha reads differently in a sign worth 7 than in one worth 1.
    #[serde(rename = "binduCount")]
    pub bindu_count: Option<f64>,
    /// Degree within the sign where this kaksha ends.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Graha ruling this kaksha. The eight lords run Saturn, Jupiter, Mars, Sun, Venus, Mercury, Moon, Lagna from the start of every sign, ordered by how long each takes to cross a sign.
    pub lord: String,
    /// Kaksha number 1-8 within the current sign. Each sign divides into eight kakshas of 3 degrees 45 minutes, crossed in order, so this is how far through the sign the graha has travelled.
    pub number: f64,
    /// Degree within the sign where this kaksha begins (0, 3.75, 7.5 and so on).
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
}
string_enum! {
    /// Gate 4. Dignity of the graha in the sign it is transiting, or null for Rahu and Ketu which have none. Feeds the Phaladeepika XXVI.31 shield ("exalted" or "own" does no harm in an untoward bhava) and the XXVI.32 weakness ("debilitated" or "enemy" voids a good transit). One of exalted, own, debilitated, enemy, neutral.
    GetVedicDailyReadingResponseGrahasItemDignity {
        Exalted = "exalted",
        Own = "own",
        Debilitated = "debilitated",
        Enemy = "enemy",
        Neutral = "neutral",
        NullValue = "null",
    }
}
/// Every sidereal frame behind this reading, so a cached or forwarded payload is self describing and no number sits under a label it did not come from. TWO ayanamsas are in play by design: positions are Lahiri, and the Placidus cusps plus the KP significators are KP-Newcomb, which is the frame KP owns and the split a practitioner actually works in. The two differ by about 0.09 degrees, which is under a third of a KP sub-lord span and enough to move a placement near a boundary, so the reading declares which produced what rather than leaving a caller to guess. THREE entries for two ayanamsas, because Lahiri is read at two instants: the birth moment and the sunrise of the day being read, roughly half a degree apart on a chart forty years old, six times the gap between the two ayanamsas themselves. There is no ayanamsa request field on this route and there will not be one, since a single selector cannot honour two frames and accepting it would promise something the composition cannot deliver.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseFrames {
    /// KP-Newcomb, read at UTC midnight of the birth date. Produces the Placidus cusps behind the Ashtakavarga Lagna row and the KP significators behind the finance area, exactly as every KP route on this API computes them.
    pub kp: GetVedicDailyReadingResponseFramesKp,
    /// Lahiri at the birth instant. Produces the natal Moon this whole reading is counted from, the Vimshottari balance, and the natal graha rows of the Ashtakavarga scorecard the bindu gate reads.
    pub natal: GetVedicDailyReadingResponseFramesNatal,
    /// Lahiri at sunrise on the day being read. Produces every transiting longitude and every panchanga limb. Inside one day precession moves it 0.14 arcseconds, so this one value speaks for every limb resolved between the two sunrises.
    pub transit: GetVedicDailyReadingResponseFramesTransit,
}
/// Lahiri at sunrise on the day being read. Produces every transiting longitude and every panchanga limb. Inside one day precession moves it 0.14 arcseconds, so this one value speaks for every limb resolved between the two sunrises.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseFramesTransit {
    /// ISO instant the ayanamsa was read at. Part of the value, not metadata: an ayanamsa moves about 50.3 arcseconds a year, so the same frame read at a birth in 1984 and at a transit in 2026 differs by more than half a degree.
    pub at: String,
    /// Sidereal frame this part of the reading was cast in. Always "lahiri" here: it is not a caller choice, because the composition runs two frames at once and a single request field could only ever name one of them.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude this frame produced. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
    /// Response sections this frame is a determinant of, as paths into this payload. One of subject, grahas, panchanga, tara, chandrabala, dasha, areas.finance. A section appears under EVERY frame that feeds it, which is why grahas is listed three times: the transiting longitudes and the natal Moon they are counted from are both Lahiri read at different instants, while the Ashtakavarga Lagna row behind binduCount and kaksha is KP-Newcomb. Exactly two sections belong to one frame alone, subject to the natal frame and panchanga to the transit frame.
    pub governs: Vec<GetVedicDailyReadingResponseFramesTransitGovernsItem>,
}
string_enum! {
    /// One entry of `governs`.
    GetVedicDailyReadingResponseFramesTransitGovernsItem {
        Subject = "subject",
        Grahas = "grahas",
        Panchanga = "panchanga",
        Tara = "tara",
        Chandrabala = "chandrabala",
        Dasha = "dasha",
        AreasFinance = "areas.finance",
    }
}
/// Lahiri at the birth instant. Produces the natal Moon this whole reading is counted from, the Vimshottari balance, and the natal graha rows of the Ashtakavarga scorecard the bindu gate reads.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseFramesNatal {
    /// ISO instant the ayanamsa was read at. Part of the value, not metadata: an ayanamsa moves about 50.3 arcseconds a year, so the same frame read at a birth in 1984 and at a transit in 2026 differs by more than half a degree.
    pub at: String,
    /// Sidereal frame this part of the reading was cast in. Always "lahiri" here: it is not a caller choice, because the composition runs two frames at once and a single request field could only ever name one of them.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude this frame produced. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
    /// Response sections this frame is a determinant of, as paths into this payload. One of subject, grahas, panchanga, tara, chandrabala, dasha, areas.finance. A section appears under EVERY frame that feeds it, which is why grahas is listed three times: the transiting longitudes and the natal Moon they are counted from are both Lahiri read at different instants, while the Ashtakavarga Lagna row behind binduCount and kaksha is KP-Newcomb. Exactly two sections belong to one frame alone, subject to the natal frame and panchanga to the transit frame.
    pub governs: Vec<GetVedicDailyReadingResponseFramesNatalGovernsItem>,
}
string_enum! {
    /// One entry of `governs`.
    GetVedicDailyReadingResponseFramesNatalGovernsItem {
        Subject = "subject",
        Grahas = "grahas",
        Panchanga = "panchanga",
        Tara = "tara",
        Chandrabala = "chandrabala",
        Dasha = "dasha",
        AreasFinance = "areas.finance",
    }
}
/// KP-Newcomb, read at UTC midnight of the birth date. Produces the Placidus cusps behind the Ashtakavarga Lagna row and the KP significators behind the finance area, exactly as every KP route on this API computes them.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseFramesKp {
    /// ISO instant the ayanamsa was read at. Part of the value, not metadata: an ayanamsa moves about 50.3 arcseconds a year, so the same frame read at a birth in 1984 and at a transit in 2026 differs by more than half a degree.
    pub at: String,
    /// Sidereal frame this part of the reading was cast in. Always "kp-newcomb" here: it is not a caller choice, because the composition runs two frames at once and a single request field could only ever name one of them.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude this frame produced. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
    /// Response sections this frame is a determinant of, as paths into this payload. One of subject, grahas, panchanga, tara, chandrabala, dasha, areas.finance. A section appears under EVERY frame that feeds it, which is why grahas is listed three times: the transiting longitudes and the natal Moon they are counted from are both Lahiri read at different instants, while the Ashtakavarga Lagna row behind binduCount and kaksha is KP-Newcomb. Exactly two sections belong to one frame alone, subject to the natal frame and panchanga to the transit frame.
    pub governs: Vec<GetVedicDailyReadingResponseFramesKpGovernsItem>,
}
string_enum! {
    /// One entry of `governs`.
    GetVedicDailyReadingResponseFramesKpGovernsItem {
        Subject = "subject",
        Grahas = "grahas",
        Panchanga = "panchanga",
        Tara = "tara",
        Chandrabala = "chandrabala",
        Dasha = "dasha",
        AreasFinance = "areas.finance",
    }
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    GetVedicDailyReadingResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// One entry of `degraded`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseDegradedItem {
    /// Which part of the reading this location or date could not supply. "areas.finance.score" names the KP net by the member it is read through: the finance area itself always ships and its natal block is always populated, and it is the seven netted members that are null.
    pub component: GetVedicDailyReadingResponseDegradedItemComponent,
    /// Why it could not: "sun-does-not-rise" for a day with no sunrise at these coordinates, "polar-latitude" above 66.56 degrees where the Placidus cusps have no solution.
    pub reason: GetVedicDailyReadingResponseDegradedItemReason,
}
string_enum! {
    /// Why it could not: "sun-does-not-rise" for a day with no sunrise at these coordinates, "polar-latitude" above 66.56 degrees where the Placidus cusps have no solution.
    GetVedicDailyReadingResponseDegradedItemReason {
        SunDoesNotRise = "sun-does-not-rise",
        PolarLatitude = "polar-latitude",
    }
}
string_enum! {
    /// Which part of the reading this location or date could not supply. "areas.finance.score" names the KP net by the member it is read through: the finance area itself always ships and its natal block is always populated, and it is the seven netted members that are null.
    GetVedicDailyReadingResponseDegradedItemComponent {
        DayStart = "dayStart",
        DayEnd = "dayEnd",
        AreasFinanceScore = "areas.finance.score",
    }
}
/// One entry of `dasha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseDashaItem {
    /// ISO instant this period ends.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Which Vimshottari level this period is. Only mahadasha, antardasha, pratyantardasha are carried: the sookshma and prana lords turn over in hours and minutes, so embedding them would advertise a day-long cache lifetime over a value that is already stale. Use POST /dasha/current for those two.
    pub level: GetVedicDailyReadingResponseDashaItemLevel,
    /// Graha ruling this period. Always English.
    pub lord: String,
    /// ISO instant this period begins.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponseDashaItemTimescale,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponseDashaItemTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
string_enum! {
    /// Which Vimshottari level this period is. Only mahadasha, antardasha, pratyantardasha are carried: the sookshma and prana lords turn over in hours and minutes, so embedding them would advertise a day-long cache lifetime over a value that is already stale. Use POST /dasha/current for those two.
    GetVedicDailyReadingResponseDashaItemLevel {
        Mahadasha = "mahadasha",
        Antardasha = "antardasha",
        Pratyantardasha = "pratyantardasha",
    }
}
/// One entry of `chandrabala`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseChandrabalaItem {
    /// The Moon in the 8th from the Janma Rashi. Its OWN flag, printed beside chandrabala rather than folded into it, exactly as the reference panchangs print it. Folding it in would let a caller read one boolean and miss the warning the source deliberately separates.
    #[serde(rename = "ashtamaChandra")]
    pub ashtama_chandra: bool,
    /// Whether the Moon stands in one of the rashis that give this native chandrabala during this window.
    pub favourable: bool,
    /// House the Moon rashi makes from the Janma Rashi, counted whole-sign and inclusively, so the Janma Rashi itself is 1. This is the number chandrabala is read off.
    #[serde(rename = "houseFromMoon")]
    pub house_from_moon: f64,
    /// Rashi the Moon occupies during this window. Always English.
    #[serde(rename = "moonSign")]
    pub moon_sign: String,
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    pub timescale: GetVedicDailyReadingResponseChandrabalaItemTimescale,
    /// ISO instant this chandrabala window opens.
    #[serde(rename = "validFrom")]
    pub valid_from: String,
    /// ISO instant this chandrabala window closes, which is when the Moon changes rashi.
    #[serde(rename = "validTo")]
    pub valid_to: String,
}
string_enum! {
    /// How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
    GetVedicDailyReadingResponseChandrabalaItemTimescale {
        Hours = "hours",
        Days = "days",
        Months = "months",
        Years = "years",
    }
}
/// Life areas carried as a TYPED closed set rather than an open map, so every generated SDK knows which keys exist. Finance ships alone in this version, because an area is a named classical house group with a citation and not a life category invented for a dropdown. Widening it later adds a key and breaks nothing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseAreas {
    /// The finance area: the positive house group 2, 5, 11 netted against the negative group 6, 8, 12, read off the lords of the running dasha, bhukti and antara, because that is the KP rule for when a matter fructifies, plus the natal basis the day is read against. ALWAYS AN OBJECT. Above latitude 66.56 the seven netted members are null, because the Placidus cusps behind the significators have no solution there, while natal is still populated because it is a property of the birth chart and needs no cusps; the reading also still carries its gochara, panchanga and dasha and names the omission in degraded. The two house groups are Krishnamurti Paddhati practice, but the NET is a KP practitioner convention rather than a classical operation: the KP sources that carry these groups use them as a promise test and an avoidance test, never as arithmetic. The groups also vary by author, and TWO houses are live disagreements rather than one. The 6th: some KP authors place it on the POSITIVE side as service income and salary, the exact opposite of the assignment used here. The 5th: it is named as a speculative GAIN house in the same KP sources that elsewhere call it a negation house, reading it as the 12th from the 6th and therefore loss of earning capacity, and both readings appear in one publication. The 1st is treated as a negation house by some authors on the same logic, as the 12th from the 2nd, and is not on either side here. This is a six house net and it is NOT the focus=finance lens, which re-reads all twelve bhavas in money vocabulary and moves no number. The two are orthogonal and both ship.
    pub finance: GetVedicDailyReadingResponseAreasFinance,
}
/// The finance area: the positive house group 2, 5, 11 netted against the negative group 6, 8, 12, read off the lords of the running dasha, bhukti and antara, because that is the KP rule for when a matter fructifies, plus the natal basis the day is read against. ALWAYS AN OBJECT. Above latitude 66.56 the seven netted members are null, because the Placidus cusps behind the significators have no solution there, while natal is still populated because it is a property of the birth chart and needs no cusps; the reading also still carries its gochara, panchanga and dasha and names the omission in degraded. The two house groups are Krishnamurti Paddhati practice, but the NET is a KP practitioner convention rather than a classical operation: the KP sources that carry these groups use them as a promise test and an avoidance test, never as arithmetic. The groups also vary by author, and TWO houses are live disagreements rather than one. The 6th: some KP authors place it on the POSITIVE side as service income and salary, the exact opposite of the assignment used here. The 5th: it is named as a speculative GAIN house in the same KP sources that elsewhere call it a negation house, reading it as the 12th from the 6th and therefore loss of earning capacity, and both readings appear in one publication. The 1st is treated as a negation house by some authors on the same logic, as the 12th from the 2nd, and is not on either side here. This is a six house net and it is NOT the focus=finance lens, which re-reads all twelve bhavas in money vocabulary and moves no number. The two are orthogonal and both ship.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseAreasFinance {
    /// The band the finance score falls in, on the same ladder as the top-level verdict so the two can never disagree about what a word means: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
    pub band: Option<GetVedicDailyReadingResponseAreasFinanceBand>,
    /// Every negative-group connection, strongest KP level first. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
    pub cautions: Option<Vec<GetVedicDailyReadingResponseAreasFinanceCautionsItem>>,
    /// The equal-weight mean of the three day-level layer scores printed beside it, recomputable as round((day + finance + natal) / 3). WHICH LAYER IS WHICH: "day" is the top-level score of this reading, "finance" is areas.finance.score above, and "natal" is the four natal wealth yoga rows on the same signed net as the day, present positive yogas for the native, a present negative one against, an absent verdict of either kind neutral, over the four rows: round(50 + 50 * (for minus against) / evaluated), so 50 is the balanced case with as many members for the native as against, 100 is every member for, 0 is every member against, and a member that is neither sits inside evaluated and pulls the result toward 50, so it is 38, 50, 63, 75 or 88 and a chart with none of the four reads 50. Every layer is centred on 50 the same way, so the mean is too. Equal weights are a RoxyAPI convention: no classical authority weights the natal chart, the running dasha and the transiting sky against each other, so the three are averaged as they are and printed beside the result, and the band uses the same ladder as verdict. The composite measures how much of this reading backs the native on this day and never the outcome of any matter: read it as support, not as a prediction. NULL IN TWO CASES, and neither is a low score. Null when the running lords reach none of the six houses, because an absence of connection is not a verdict and must not be averaged as one. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
    pub composite: Option<GetVedicDailyReadingResponseAreasFinanceComposite>,
    /// Every positive-group connection, strongest KP level first. These are the specific lord-to-house links the score is made of, so the number can be audited rather than trusted. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
    pub drivers: Option<Vec<GetVedicDailyReadingResponseAreasFinanceDriversItem>>,
    /// The natal basis of this area: whether the chart is wealthy AT ALL, as the four classical wealth and poverty verdicts dhana, daridra, lakshmi, dhanamalika, each with the evidence that decided it. A PROPERTY OF THE BIRTH CHART AND NOT OF THE DAY, so it is the same block on every date this native is ever read for, which is exactly why it is CONTEXT rather than a term: it deliberately does not enter score, verdict, tally or evaluated, above or here, and the one number it does enter is the composite beside it, where it is printed as its own layer rather than folded in. Folding a constant into a per-day number would shift every day by the identical amount, carrying no information into the only comparison those numbers support, and it would break the published closed form that makes the top-level score reproducible by hand from grahas and the two sunrise windows alone. Read it as the standing question the day is being read against. The verdicts are the same ones POST /yoga/detect and POST /birth-chart return for this chart, computed in the Lahiri natal frame rather than in the KP-Newcomb frame the significators above use. PRESENT AT EVERY LATITUDE, including above the polar circle: these verdicts need only whole-sign houses from the Lagna, so nothing about them depends on the cusps the KP members above lose there.
    pub natal: Vec<GetVedicDailyReadingResponseAreasFinanceNatalItem>,
    /// How many connections land on the negative house group 6, 8, 12, which KP reads as debt, sudden loss and expenditure. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
    pub negative: Option<f64>,
    /// How many connections land on the positive house group 2, 5, 11, which KP reads as accumulated wealth, speculation and gains. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
    pub positive: Option<f64>,
    /// Share of the running lords six-house connections that land on the positive group, 0 to 100, rounded. A COUNT, so positive and negative below reproduce it in one division: round(positive / (positive + negative) * 100), which is the same signed net the top-level score uses with no neutral member, so 50 is as many connections on each side. Zero when the running lords reach none of the six houses, which is an ABSENCE of connection rather than a negative verdict. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score. The two house groups are Krishnamurti Paddhati practice, but the NET is a KP practitioner convention rather than a classical operation: the KP sources that carry these groups use them as a promise test and an avoidance test, never as arithmetic. The groups also vary by author, and TWO houses are live disagreements rather than one. The 6th: some KP authors place it on the POSITIVE side as service income and salary, the exact opposite of the assignment used here. The 5th: it is named as a speculative GAIN house in the same KP sources that elsewhere call it a negation house, reading it as the 12th from the 6th and therefore loss of earning capacity, and both readings appear in one publication. The 1st is treated as a negation house by some authors on the same logic, as the 12th from the 2nd, and is not on either side here. This is a six house net and it is NOT the focus=finance lens, which re-reads all twelve bhavas in money vocabulary and moves no number. The two are orthogonal and both ship.
    pub score: Option<f64>,
}
/// One entry of `natal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseAreasFinanceNatalItem {
    /// Why the verdict reads the way it does: every rule that matched, named by its own glossary id and its verse, with the exact condition it matched on, then the scope of the family. This is what makes the verdict checkable against a text rather than a label to be trusted, and it is also where the two excluded rules are declared: daridra-8 and daridra-9 rest on a single authority and are barred from deciding a verdict, though both still ship through GET /yoga/{id}. English in every language, like the per-graha stateSource, because it is provenance rather than display copy.
    pub evidence: String,
    /// Glossary id of the verdict, one of dhana, daridra, lakshmi, dhanamalika. Use it with GET /yoga/{id} for the full glossary entry, which carries the description and the classical result in every supported language. Canonical English, so it stays safe to switch on in code.
    pub id: String,
    /// Classical Sanskrit name of the combination. Canonical whatever the lang parameter says, exactly as the yoga endpoints return it.
    pub name: String,
    /// Whether the combination is on this chart. False means every rule in the family was evaluated and none held, which is a real answer rather than a missing one, and the evidence beside it names the full denominator.
    pub present: bool,
    /// Which way a present verdict points, carried because three of the four are wealth combinations and Daridra is a poverty one, so present alone does not tell a client whether to read it as support or as pressure. Canonical English machine value.
    pub quality: GetVedicDailyReadingResponseAreasFinanceNatalItemQuality,
}
string_enum! {
    /// Which way a present verdict points, carried because three of the four are wealth combinations and Daridra is a poverty one, so present alone does not tell a client whether to read it as support or as pressure. Canonical English machine value.
    GetVedicDailyReadingResponseAreasFinanceNatalItemQuality {
        Positive = "Positive",
        Negative = "Negative",
        Both = "Both",
    }
}
/// One entry of `drivers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseAreasFinanceDriversItem {
    /// Which of the running levels this graha rules. Carries the fact that one lord holds more than one level without letting it count twice.
    #[serde(rename = "dashaLevels")]
    pub dasha_levels: Vec<
        GetVedicDailyReadingResponseAreasFinanceDriversItemDashaLevelsItem,
    >,
    /// The KP letter for that level, on the standard A to D significator grading. A is the strongest connection.
    pub grade: GetVedicDailyReadingResponseAreasFinanceDriversItemGrade,
    /// The running dasha lord making this connection. A lord holding two of the three levels is listed once per house rather than twice, so nothing here is a hidden weight.
    pub graha: String,
    /// The finance house this lord reaches. One of the positive group 2, 5, 11 or the negative group 6, 8, 12.
    pub house: f64,
    /// Strongest KP significator level at which this lord reaches this house, 1 to 4. Level 1 is a planet in the constellation of the occupant, 2 the occupant, 3 a planet in the constellation of the house owner, 4 the house owner. Strongest level per house wins, which is step 1 of the published grading rule the dasha routes already use.
    pub level: i64,
}
string_enum! {
    /// The KP letter for that level, on the standard A to D significator grading. A is the strongest connection.
    GetVedicDailyReadingResponseAreasFinanceDriversItemGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
string_enum! {
    /// One entry of `dashaLevels`.
    GetVedicDailyReadingResponseAreasFinanceDriversItemDashaLevelsItem {
        Mahadasha = "mahadasha",
        Antardasha = "antardasha",
        Pratyantardasha = "pratyantardasha",
    }
}
/// The equal-weight mean of the three day-level layer scores printed beside it, recomputable as round((day + finance + natal) / 3). WHICH LAYER IS WHICH: "day" is the top-level score of this reading, "finance" is areas.finance.score above, and "natal" is the four natal wealth yoga rows on the same signed net as the day, present positive yogas for the native, a present negative one against, an absent verdict of either kind neutral, over the four rows: round(50 + 50 * (for minus against) / evaluated), so 50 is the balanced case with as many members for the native as against, 100 is every member for, 0 is every member against, and a member that is neither sits inside evaluated and pulls the result toward 50, so it is 38, 50, 63, 75 or 88 and a chart with none of the four reads 50. Every layer is centred on 50 the same way, so the mean is too. Equal weights are a RoxyAPI convention: no classical authority weights the natal chart, the running dasha and the transiting sky against each other, so the three are averaged as they are and printed beside the result, and the band uses the same ladder as verdict. The composite measures how much of this reading backs the native on this day and never the outcome of any matter: read it as support, not as a prediction. NULL IN TWO CASES, and neither is a low score. Null when the running lords reach none of the six houses, because an absence of connection is not a verdict and must not be averaged as one. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseAreasFinanceComposite {
    /// The band the composite falls in, on the same ladder the top-level verdict uses: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below.
    pub band: GetVedicDailyReadingResponseAreasFinanceCompositeBand,
    /// The three terms of the mean, always in the order day, finance, natal. Published so a caller who wants different weights can apply them to these same three numbers instead of asking for a second reading.
    pub layers: Vec<GetVedicDailyReadingResponseAreasFinanceCompositeLayersItem>,
    /// The mean itself, 0 to 100, rounded, centred on 50 like each of its terms. Every term is printed in the layers below, so the division can be redone rather than trusted.
    pub score: f64,
}
/// One entry of `layers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseAreasFinanceCompositeLayersItem {
    /// Where that one term lands on its own, on the same ladder as the composite band above: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below.
    pub band: GetVedicDailyReadingResponseAreasFinanceCompositeLayersItemBand,
    /// Which term this row carries: "day" the top-level score of this reading, "finance" the KP net score in this area, "natal" the natal wealth net over the four verdict rows. Canonical English machine value, so it stays safe to switch on in code.
    pub layer: GetVedicDailyReadingResponseAreasFinanceCompositeLayersItemLayer,
    /// The term that went into the mean, 0 to 100. Each one is either printed elsewhere in this response or counted off a block that is, so no number enters the average unseen.
    pub score: f64,
}
string_enum! {
    /// Which term this row carries: "day" the top-level score of this reading, "finance" the KP net score in this area, "natal" the natal wealth net over the four verdict rows. Canonical English machine value, so it stays safe to switch on in code.
    GetVedicDailyReadingResponseAreasFinanceCompositeLayersItemLayer {
        Day = "day",
        Finance = "finance",
        Natal = "natal",
    }
}
string_enum! {
    /// Where that one term lands on its own, on the same ladder as the composite band above: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below.
    GetVedicDailyReadingResponseAreasFinanceCompositeLayersItemBand {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// The band the composite falls in, on the same ladder the top-level verdict uses: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below.
    GetVedicDailyReadingResponseAreasFinanceCompositeBand {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
/// One entry of `cautions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingResponseAreasFinanceCautionsItem {
    /// Which of the running levels this graha rules. Carries the fact that one lord holds more than one level without letting it count twice.
    #[serde(rename = "dashaLevels")]
    pub dasha_levels: Vec<
        GetVedicDailyReadingResponseAreasFinanceCautionsItemDashaLevelsItem,
    >,
    /// The KP letter for that level, on the standard A to D significator grading. A is the strongest connection.
    pub grade: GetVedicDailyReadingResponseAreasFinanceCautionsItemGrade,
    /// The running dasha lord making this connection. A lord holding two of the three levels is listed once per house rather than twice, so nothing here is a hidden weight.
    pub graha: String,
    /// The finance house this lord reaches. One of the positive group 2, 5, 11 or the negative group 6, 8, 12.
    pub house: f64,
    /// Strongest KP significator level at which this lord reaches this house, 1 to 4. Level 1 is a planet in the constellation of the occupant, 2 the occupant, 3 a planet in the constellation of the house owner, 4 the house owner. Strongest level per house wins, which is step 1 of the published grading rule the dasha routes already use.
    pub level: i64,
}
string_enum! {
    /// The KP letter for that level, on the standard A to D significator grading. A is the strongest connection.
    GetVedicDailyReadingResponseAreasFinanceCautionsItemGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
string_enum! {
    /// One entry of `dashaLevels`.
    GetVedicDailyReadingResponseAreasFinanceCautionsItemDashaLevelsItem {
        Mahadasha = "mahadasha",
        Antardasha = "antardasha",
        Pratyantardasha = "pratyantardasha",
    }
}
string_enum! {
    /// The band the finance score falls in, on the same ladder as the top-level verdict so the two can never disagree about what a word means: "very-strong" above 75, "strong" above 50, "moderate" above 25, "weak" at 25 and below. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
    GetVedicDailyReadingResponseAreasFinanceBand {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
        NullValue = "null",
    }
}
/// Request body of `getVedicDailyReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetVedicDailyReadingRequest {
    /// Birth date in YYYY-MM-DD format. Fixes the Janma Rashi and Janma Nakshatra every part of this reading is counted from, and the natal Ashtakavarga the bindu gate reads.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Birth time in HH:MM:SS format (24-hour). The Moon moves about half a degree an hour, so an error here moves the Janma Rashi and Janma Nakshatra and therefore every gochara house count, the tarabala and the chandrabala in this response.
    #[serde(rename = "birthTime")]
    pub birth_time: String,
    /// Civil date to read, in YYYY-MM-DD format. Defaults to today (UTC). The panchanga day it names runs from sunrise at the birth coordinates to the next sunrise, not from midnight, so a reading for this date covers the night that follows it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Birth location latitude in decimal degrees. Sets the natal house cusps behind the Ashtakavarga scorecard and the KP significators, and the sunrise that opens the panchanga day.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local sidereal time for the natal cusps and the sunrise the reading is composed at.
    pub longitude: f64,
    /// Lunar node type for Rahu and Ketu. "mean" uses the smooth mean node, which is the traditional Vedic default and what printed panchangs use. "true" uses the osculating node, which swings up to 1.5 degrees either side of mean and can therefore move a node into a different rashi and change its gochara house. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetVedicDailyReadingRequestNodeType>,
    /// Timezone: IANA name (e.g. "Asia/Kolkata", "America/New_York") OR decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). IANA strings are resolved to the DST-correct offset for the date being read. Interprets the birth time and the civil date below. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetVedicDailyReadingRequestTimezone>,
}
/// Timezone: IANA name (e.g. "Asia/Kolkata", "America/New_York") OR decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). IANA strings are resolved to the DST-correct offset for the date being read. Interprets the birth time and the civil date below. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetVedicDailyReadingRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node type for Rahu and Ketu. "mean" uses the smooth mean node, which is the traditional Vedic default and what printed panchangs use. "true" uses the osculating node, which swings up to 1.5 degrees either side of mean and can therefore move a node into a different rashi and change its gochara house. Defaults to "mean".
    GetVedicDailyReadingRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `getVedicDailyReading`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetVedicDailyReadingParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetVedicDailyReadingParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetVedicDailyReadingParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetVedicDailyReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetVedicDailyReadingParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `getUpcomingMoonPhases`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetUpcomingMoonPhasesResponse {
    /// Upcoming moon phase transition dates in chronological order.
    pub phases: Vec<GetUpcomingMoonPhasesResponsePhasesItem>,
}
/// One entry of `phases`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetUpcomingMoonPhasesResponsePhasesItem {
    /// Date of this moon phase transition (YYYY-MM-DD).
    pub date: String,
    /// Lunar phase name (New Moon, First Quarter Moon, Full Moon, Third Quarter Moon).
    pub phase: String,
}
/// Path and query parameters of `getUpcomingMoonPhases`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetUpcomingMoonPhasesParams {
    /// Number of upcoming moon phase transitions to return (1-20). Defaults to 8.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub count: Option<i64>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetUpcomingMoonPhasesParamsLang>,
    /// Start date in YYYY-MM-DD format. Defaults to today if omitted.
    #[serde(rename = "startDate", skip_serializing_if = "Option::is_none")]
    pub start_date: Option<String>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetUpcomingMoonPhasesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `getTrigram`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTrigramParams {
    /// Trigram number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake).
    pub id: String,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetTrigramParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetTrigramParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getTreeOfLife`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTreeOfLifeResponse {
    /// The conventions this answer was computed under, echoed so it can be reproduced.
    pub conventions: GetTreeOfLifeResponseConventions,
    /// The order the emanation descends, top to bottom. Ten identifiers, no repeats.
    #[serde(rename = "lightningFlash")]
    pub lightning_flash: Vec<String>,
    /// The 22 paths, in path order.
    pub paths: Vec<GetTreeOfLifeResponsePathsItem>,
    /// The ten emanations in order, with Daat last.
    pub sephirot: Vec<GetTreeOfLifeResponseSephirotItem>,
    /// The four worlds, with both published mappings of the sephirot onto them.
    pub worlds: Vec<GetTreeOfLifeResponseWorldsItem>,
}
/// One entry of `worlds`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTreeOfLifeResponseWorldsItem {
    /// The English gloss, in the requested language.
    pub english: String,
    /// The name in Hebrew. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the world, an ASCII romanization.
    pub id: String,
    /// Latin transcription of the Hebrew, from the mechanical letter map.
    pub romanization: String,
    /// Which sephirot fall in this world under the Hermetic mapping, the one the world field on each sephirah uses.
    pub sephirot: Vec<String>,
    /// Which sephirot fall in this world under the second mapping in circulation. The two agree on Formation and Action and differ at the top, and neither is suppressed.
    #[serde(rename = "sephirotAlternate")]
    pub sephirot_alternate: Vec<String>,
}
/// One entry of `sephirot`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTreeOfLifeResponseSephirotItem {
    /// The sphere assigned to the sephirah under the requested system, in the requested language. This is the sephirot allotment and it is NOT the planet series the seven double letters carry.
    pub attribution: String,
    /// The English gloss of the name, in the requested language.
    pub english: String,
    /// The name in Hebrew, with vowel points. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the sephirah, an ASCII romanization, always English so it stays safe to compare against in code. Several romanizations of each name are in circulation and none is canonical, which is exactly why the id is fixed here.
    pub id: String,
    /// What the emanation is said to hold, in the requested language.
    pub meaning: String,
    /// Position in the emanation, 1 to 10. Null for Daat, which is counted in some diagrams and left out of others and is never an eleventh emanation.
    pub number: Option<f64>,
    /// Which of the three pillars the sephirah stands on: left, middle or right. Always English.
    pub pillar: String,
    /// Display name of the pillar, in the requested language.
    #[serde(rename = "pillarName")]
    pub pillar_name: String,
    /// Latin transcription of the Hebrew beside it, from the one mechanical letter map. A label for reading the string back, never a pronunciation claim and not the same thing as the id.
    pub romanization: String,
    /// Which of the four worlds the sephirah belongs to under the Hermetic mapping. Null for Daat. A second mapping is in circulation and both are returned in the worlds block.
    pub world: Option<String>,
}
/// One entry of `paths`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTreeOfLifeResponsePathsItem {
    /// The `attribution` field.
    pub attribution: GetTreeOfLifeResponsePathsItemAttribution,
    /// Machine identifier of the sephirah the path runs from.
    pub from: String,
    /// Machine identifier of the letter on the path. Each of the 22 appears exactly once.
    pub letter: String,
    /// The letter itself. Data, identical in every language.
    #[serde(rename = "letterGlyph")]
    pub letter_glyph: String,
    /// Path number, 11 to 32. The numbering continues the ten sephirot into the thirty two Paths of Wisdom, so path 11 is the eleventh Path and not the eleventh path.
    pub path: f64,
    /// Machine identifier of the sephirah the path runs to.
    pub to: String,
    /// The `trump` field.
    pub trump: GetTreeOfLifeResponsePathsItemTrump,
}
/// The `trump` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTreeOfLifeResponsePathsItemTrump {
    /// Identifier of the tarot trump on this path. It resolves in the Tarot API on the same key.
    pub id: String,
    /// Display name of the trump.
    pub name: String,
    /// The trump number as the deck prints it.
    pub number: String,
}
/// The `attribution` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTreeOfLifeResponsePathsItemAttribution {
    /// What the letter attribution names: element, planet or sign.
    pub kind: String,
    /// The element, planet or sign under the requested reading. Always English.
    pub value: String,
}
/// The conventions this answer was computed under, echoed so it can be reproduced.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTreeOfLifeResponseConventions {
    /// Which reading assigned the element, planet or sign on each path.
    #[serde(rename = "letterAttribution")]
    pub letter_attribution: String,
    /// Which reading assigned the spheres.
    #[serde(rename = "sephirotSystem")]
    pub sephirot_system: String,
    /// Which arrangement of the paths produced this answer.
    #[serde(rename = "treeVariant")]
    pub tree_variant: String,
}
/// Path and query parameters of `getTreeOfLife`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetTreeOfLifeParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetTreeOfLifeParamsLang>,
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    #[serde(rename = "letterAttribution", skip_serializing_if = "Option::is_none")]
    pub letter_attribution: Option<GetTreeOfLifeParamsLetterAttribution>,
    /// Which reading assigns a sphere to each sephirah. The two were compared row by row and agree on all ten, so the answer is the same either way; the parameter exists so a caller knows which one produced it rather than assuming.
    #[serde(rename = "sephirotSystem", skip_serializing_if = "Option::is_none")]
    pub sephirot_system: Option<GetTreeOfLifeParamsSephirotSystem>,
    /// Which arrangement of the twenty two paths. The 1652 arrangement, in which Malkuth carries three paths, is the only one with a published table that letters every path, so it is the only member.
    #[serde(rename = "treeVariant", skip_serializing_if = "Option::is_none")]
    pub tree_variant: Option<GetTreeOfLifeParamsTreeVariant>,
}
string_enum! {
    /// Which arrangement of the twenty two paths. The 1652 arrangement, in which Malkuth carries three paths, is the only one with a published table that letters every path, so it is the only member.
    GetTreeOfLifeParamsTreeVariant {
        Kircher = "kircher",
    }
}
string_enum! {
    /// Which reading assigns a sphere to each sephirah. The two were compared row by row and agree on all ten, so the answer is the same either way; the parameter exists so a caller knows which one produced it rather than assuming.
    GetTreeOfLifeParamsSephirotSystem {
        Classical = "classical",
        GoldenDawn = "golden-dawn",
    }
}
string_enum! {
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    GetTreeOfLifeParamsLetterAttribution {
        SeferYetzirahGra = "sefer-yetzirah-gra",
        SeferYetzirahShort = "sefer-yetzirah-short",
        SeferYetzirahSaadia = "sefer-yetzirah-saadia",
        GoldenDawn = "golden-dawn",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetTreeOfLifeParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `getTrecena`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTrecenaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetTrecenaParamsLang>,
    /// Trecena number, 1 to 20. Trecena 1 opens on 1 Imix, trecena 2 on 1 Ix, and each subsequent period opens thirteen signs further round the twenty.
    pub number: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetTrecenaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getSymbolLetterCounts`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSymbolLetterCountsResponse {
    /// Map of starting letter to symbol count. Use to build A-Z dream dictionary navigation showing how many dream meanings exist per letter.
    pub letters: GetSymbolLetterCountsResponseLetters,
    /// Total number of dream symbols in the complete dream interpretation database.
    pub total: f64,
}
/// Map of starting letter to symbol count. Use to build A-Z dream dictionary navigation showing how many dream meanings exist per letter.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSymbolLetterCountsResponseLetters {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// Response body of `getSubDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponse {
    /// Antardasha (bhukti) sub-periods within this Mahadasha, proportional to each planet Vimshottari years, sorted chronologically. Nine for any Mahadasha the native lived through in full. FEWER than nine for the first Mahadasha in the chart, because the Vimshottari cycle was already running at birth: the Antardashas that ended before the birth date are not part of the chart, and the one in force at birth starts on the birth date.
    pub antardashas: Vec<GetSubDashasResponseAntardashasItem>,
    /// Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
    pub ayanamsa: f64,
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: GetSubDashasResponseAyanamsaType,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetSubDashasResponseFocus>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes", skip_serializing_if = "Option::is_none")]
    pub house_themes: Option<GetSubDashasResponseHouseThemes>,
    /// Ruling planet of the requested Mahadasha period.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetSubDashasResponseMahadashaLord,
    /// Full details of the parent Mahadasha including start/end dates and duration.
    #[serde(rename = "mahadashaPeriod")]
    pub mahadasha_period: GetSubDashasResponseMahadashaPeriod,
    /// Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
}
/// Full details of the parent Mahadasha including start/end dates and duration.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseMahadashaPeriod {
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetSubDashasResponseMahadashaPeriodPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetSubDashasResponseMahadashaPeriodSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseMahadashaPeriodSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetSubDashasResponseMahadashaPeriodSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetSubDashasResponseMahadashaPeriodSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseMahadashaPeriodSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetSubDashasResponseMahadashaPeriodSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetSubDashasResponseMahadashaPeriodSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetSubDashasResponseMahadashaPeriodSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetSubDashasResponseMahadashaPeriodSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseMahadashaPeriodSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetSubDashasResponseMahadashaPeriodPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Mahadasha period.
    GetSubDashasResponseMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    GetSubDashasResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
string_enum! {
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    GetSubDashasResponseAyanamsaType {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Antardasha (bhukti), sub-period within a Mahadasha. Each Mahadasha contains 9 Antardashas proportional to the Vimshottari years of each planet.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseAntardashasItem {
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetSubDashasResponseAntardashasItemMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetSubDashasResponseAntardashasItemPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetSubDashasResponseAntardashasItemSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseAntardashasItemSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetSubDashasResponseAntardashasItemSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetSubDashasResponseAntardashasItemSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseAntardashasItemSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetSubDashasResponseAntardashasItemSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetSubDashasResponseAntardashasItemSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetSubDashasResponseAntardashasItemSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetSubDashasResponseAntardashasItemSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasResponseAntardashasItemSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetSubDashasResponseAntardashasItemPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetSubDashasResponseAntardashasItemMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Request body of `getSubDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasRequest {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<GetSubDashasRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetSubDashasRequestNodeType>,
    /// Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<bool>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetSubDashasRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetSubDashasRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    GetSubDashasRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    GetSubDashasRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `getSubDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSubDashasParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetSubDashasParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetSubDashasParamsLang>,
    /// Mahadasha planet name, case-insensitive (e.g., jupiter, Jupiter, JUPITER all work). Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    pub mahadasha: GetSubDashasParamsMahadasha,
}
string_enum! {
    /// Mahadasha planet name, case-insensitive (e.g., jupiter, Jupiter, JUPITER all work). Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    GetSubDashasParamsMahadasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetSubDashasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetSubDashasParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `getSookshmaDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponse {
    /// Ruling planet of the requested Antardasha sub-period.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetSookshmaDashasResponseAntardashaLord,
    /// Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
    pub ayanamsa: f64,
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: GetSookshmaDashasResponseAyanamsaType,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetSookshmaDashasResponseFocus>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes", skip_serializing_if = "Option::is_none")]
    pub house_themes: Option<GetSookshmaDashasResponseHouseThemes>,
    /// Ruling planet of the requested Mahadasha period.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetSookshmaDashasResponseMahadashaLord,
    /// Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
    /// Ruling planet of the requested Pratyantardasha sub-sub-period.
    #[serde(rename = "pratyantardashaLord")]
    pub pratyantardasha_lord: GetSookshmaDashasResponsePratyantardashaLord,
    /// Full details of the parent Pratyantardasha including start/end dates and duration.
    #[serde(rename = "pratyantardashaPeriod")]
    pub pratyantardasha_period: GetSookshmaDashasResponsePratyantardashaPeriod,
    /// Sookshma dasha periods within this Pratyantardasha, proportional to each planet Vimshottari years, sorted chronologically and starting with the Pratyantardasha lord. Fewer than nine only when the parent Pratyantardasha is the one that was already running at birth, in which case the periods that ended before the birth date are omitted.
    #[serde(rename = "sookshmaDashas")]
    pub sookshma_dashas: Vec<GetSookshmaDashasResponseSookshmaDashasItem>,
}
/// Sookshma dasha (sookshma antardasha), the fourth level of the Vimshottari dasha hierarchy. Each Pratyantardasha divides into 9 Sookshma periods running roughly 3 to 30 days each, used for day-level event timing and muhurta style selection.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponseSookshmaDashasItem {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetSookshmaDashasResponseSookshmaDashasItemAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetSookshmaDashasResponseSookshmaDashasItemMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetSookshmaDashasResponseSookshmaDashasItemPlanet,
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    #[serde(rename = "pratyantardashaLord")]
    pub pratyantardasha_lord: GetSookshmaDashasResponseSookshmaDashasItemPratyantardashaLord,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetSookshmaDashasResponseSookshmaDashasItemSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponseSookshmaDashasItemSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetSookshmaDashasResponseSookshmaDashasItemSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetSookshmaDashasResponseSookshmaDashasItemSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponseSookshmaDashasItemSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetSookshmaDashasResponseSookshmaDashasItemSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetSookshmaDashasResponseSookshmaDashasItemSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetSookshmaDashasResponseSookshmaDashasItemSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetSookshmaDashasResponseSookshmaDashasItemSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponseSookshmaDashasItemSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    GetSookshmaDashasResponseSookshmaDashasItemPratyantardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetSookshmaDashasResponseSookshmaDashasItemPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetSookshmaDashasResponseSookshmaDashasItemMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetSookshmaDashasResponseSookshmaDashasItemAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Full details of the parent Pratyantardasha including start/end dates and duration.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponsePratyantardashaPeriod {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetSookshmaDashasResponsePratyantardashaPeriodAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetSookshmaDashasResponsePratyantardashaPeriodMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetSookshmaDashasResponsePratyantardashaPeriodPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<
        GetSookshmaDashasResponsePratyantardashaPeriodSignificators,
    >,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponsePratyantardashaPeriodSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponsePratyantardashaPeriodSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetSookshmaDashasResponsePratyantardashaPeriodPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetSookshmaDashasResponsePratyantardashaPeriodMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetSookshmaDashasResponsePratyantardashaPeriodAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Pratyantardasha sub-sub-period.
    GetSookshmaDashasResponsePratyantardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Mahadasha period.
    GetSookshmaDashasResponseMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    GetSookshmaDashasResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
string_enum! {
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    GetSookshmaDashasResponseAyanamsaType {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
string_enum! {
    /// Ruling planet of the requested Antardasha sub-period.
    GetSookshmaDashasResponseAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Request body of `getSookshmaDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasRequest {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<GetSookshmaDashasRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetSookshmaDashasRequestNodeType>,
    /// Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<bool>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetSookshmaDashasRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetSookshmaDashasRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    GetSookshmaDashasRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    GetSookshmaDashasRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `getSookshmaDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSookshmaDashasParams {
    /// Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive.
    pub antardasha: GetSookshmaDashasParamsAntardasha,
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetSookshmaDashasParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetSookshmaDashasParamsLang>,
    /// Mahadasha planet name, case-insensitive. Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    pub mahadasha: GetSookshmaDashasParamsMahadasha,
    /// Pratyantardasha (antara) planet name inside that Antardasha, case-insensitive.
    pub pratyantardasha: GetSookshmaDashasParamsPratyantardasha,
}
string_enum! {
    /// Pratyantardasha (antara) planet name inside that Antardasha, case-insensitive.
    GetSookshmaDashasParamsPratyantardasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Mahadasha planet name, case-insensitive. Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    GetSookshmaDashasParamsMahadasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetSookshmaDashasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetSookshmaDashasParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
string_enum! {
    /// Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive.
    GetSookshmaDashasParamsAntardasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Response body of `getShemName`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetShemNameResponse {
    /// Last degree of the arc, EXCLUSIVE. Seventy two arcs of five degrees tile the circle exactly, which only works if the upper bound is exclusive.
    #[serde(rename = "arcEnd")]
    pub arc_end: f64,
    /// First degree of the ecliptic arc this name governs, measured from 0 Aries. Inclusive.
    #[serde(rename = "arcStart")]
    pub arc_start: f64,
    /// The angelic choir this name belongs to under the published Renaissance table. Nine choirs of exactly eight names each.
    pub choir: String,
    /// Where the arc opens inside its sign, 0 to 25 in steps of five.
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// The three letters read out of the verses, with any word final form written as its base letter, which is how every published list prints them.
    pub letters: String,
    /// The three letters exactly as they stand in the verses. Eighteen of the seventy two pick up a word final form because the source letter falls at a word end, and keeping this beside the normalized form is what makes the rule auditable.
    #[serde(rename = "lettersAsWritten")]
    pub letters_as_written: String,
    /// The suffixed name in Hebrew. Data, identical in every language.
    pub name: String,
    /// Index of the name, 1 to 72. The index is the identifier here, because the Latin spellings differ between published tables while the index never does.
    pub number: f64,
    /// Present only on the rows where a named published list differs from the derivation. Recorded rather than silently corrected, because a reader comparing two sources deserves to know which one moved. Absent on every other row, so a caller can branch on presence.
    #[serde(rename = "publishedDisagreement", skip_serializing_if = "Option::is_none")]
    pub published_disagreement: Option<GetShemNameResponsePublishedDisagreement>,
    /// Latin transcription of the Hebrew, from the one mechanical letter map. A label for reading the string back, and NOT the spelling the published tables print, which is in traditionalName.
    pub romanization: String,
    /// Which sign the arc falls in. Always English lowercase, so it stays safe to compare against in code. Six names fall in each sign.
    pub sign: String,
    /// The divine name suffix added to make the triplet pronounceable. Forty of the seventy two take one and thirty two take the other.
    pub suffix: String,
    /// The Latin spelling the published tables print. This is the search term a reader knows the name by. Several rows have two attested spellings across tables and the one used here is stated on the methodology page.
    #[serde(rename = "traditionalName")]
    pub traditional_name: String,
}
/// Present only on the rows where a named published list differs from the derivation. Recorded rather than silently corrected, because a reader comparing two sources deserves to know which one moved. Absent on every other row, so a caller can branch on presence.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetShemNameResponsePublishedDisagreement {
    /// Which published list prints something different on this row.
    pub list: String,
    /// What that list prints, so a caller matching against it can see why.
    pub prints: String,
}
/// Path and query parameters of `getShemName`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetShemNameParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetShemNameParamsLang>,
    /// Index of the name, 1 to 72.
    pub number: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetShemNameParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getSephirah`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSephirahResponse {
    /// The sphere assigned to the sephirah under the requested system, in the requested language. This is the sephirot allotment and it is NOT the planet series the seven double letters carry.
    pub attribution: String,
    /// The conventions this answer was computed under.
    pub conventions: GetSephirahResponseConventions,
    /// The English gloss of the name, in the requested language.
    pub english: String,
    /// The name in Hebrew, with vowel points. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the sephirah, an ASCII romanization, always English so it stays safe to compare against in code. Several romanizations of each name are in circulation and none is canonical, which is exactly why the id is fixed here.
    pub id: String,
    /// What the emanation is said to hold, in the requested language.
    pub meaning: String,
    /// Position in the emanation, 1 to 10. Null for Daat, which is counted in some diagrams and left out of others and is never an eleventh emanation.
    pub number: Option<f64>,
    /// Every path that runs to or from this sephirah, in path order. Malkuth carries three under the arrangement this API ships, which is the whole difference between the two arrangements in circulation.
    pub paths: Vec<GetSephirahResponsePathsItem>,
    /// Which of the three pillars the sephirah stands on: left, middle or right. Always English.
    pub pillar: String,
    /// Display name of the pillar, in the requested language.
    #[serde(rename = "pillarName")]
    pub pillar_name: String,
    /// Latin transcription of the Hebrew beside it, from the one mechanical letter map. A label for reading the string back, never a pronunciation claim and not the same thing as the id.
    pub romanization: String,
    /// Which of the four worlds the sephirah belongs to under the Hermetic mapping. Null for Daat. A second mapping is in circulation and both are returned in the worlds block.
    pub world: Option<String>,
}
/// One entry of `paths`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSephirahResponsePathsItem {
    /// The `attribution` field.
    pub attribution: GetSephirahResponsePathsItemAttribution,
    /// Machine identifier of the sephirah the path runs from.
    pub from: String,
    /// Machine identifier of the letter on the path. Each of the 22 appears exactly once.
    pub letter: String,
    /// The letter itself. Data, identical in every language.
    #[serde(rename = "letterGlyph")]
    pub letter_glyph: String,
    /// Path number, 11 to 32. The numbering continues the ten sephirot into the thirty two Paths of Wisdom, so path 11 is the eleventh Path and not the eleventh path.
    pub path: f64,
    /// Machine identifier of the sephirah the path runs to.
    pub to: String,
    /// The `trump` field.
    pub trump: GetSephirahResponsePathsItemTrump,
}
/// The `trump` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSephirahResponsePathsItemTrump {
    /// Identifier of the tarot trump on this path. It resolves in the Tarot API on the same key.
    pub id: String,
    /// Display name of the trump.
    pub name: String,
    /// The trump number as the deck prints it.
    pub number: String,
}
/// The `attribution` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSephirahResponsePathsItemAttribution {
    /// What the letter attribution names: element, planet or sign.
    pub kind: String,
    /// The element, planet or sign under the requested reading. Always English.
    pub value: String,
}
/// The conventions this answer was computed under.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSephirahResponseConventions {
    /// Which reading assigned the element, planet or sign on each path.
    #[serde(rename = "letterAttribution")]
    pub letter_attribution: String,
    /// Which reading assigned the sphere.
    #[serde(rename = "sephirotSystem")]
    pub sephirot_system: String,
}
/// Path and query parameters of `getSephirah`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetSephirahParams {
    /// Sephirah identifier, one of keter, chokhmah, binah, chesed, gevurah, tiferet, netzach, hod, yesod, malkuth, daat. Matching folds case and punctuation.
    pub id: GetSephirahParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetSephirahParamsLang>,
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    #[serde(rename = "letterAttribution", skip_serializing_if = "Option::is_none")]
    pub letter_attribution: Option<GetSephirahParamsLetterAttribution>,
    /// Which reading assigns a sphere to each sephirah. The two were compared row by row and agree on all ten, so the answer is the same either way; the parameter exists so a caller knows which one produced it rather than assuming.
    #[serde(rename = "sephirotSystem", skip_serializing_if = "Option::is_none")]
    pub sephirot_system: Option<GetSephirahParamsSephirotSystem>,
}
string_enum! {
    /// Which reading assigns a sphere to each sephirah. The two were compared row by row and agree on all ten, so the answer is the same either way; the parameter exists so a caller knows which one produced it rather than assuming.
    GetSephirahParamsSephirotSystem {
        Classical = "classical",
        GoldenDawn = "golden-dawn",
    }
}
string_enum! {
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    GetSephirahParamsLetterAttribution {
        SeferYetzirahGra = "sefer-yetzirah-gra",
        SeferYetzirahShort = "sefer-yetzirah-short",
        SeferYetzirahSaadia = "sefer-yetzirah-saadia",
        GoldenDawn = "golden-dawn",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetSephirahParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Sephirah identifier, one of keter, chokhmah, binah, chesed, gevurah, tiferet, netzach, hod, yesod, malkuth, daat. Matching folds case and punctuation.
    GetSephirahParamsId {
        Keter = "keter",
        Chokhmah = "chokhmah",
        Binah = "binah",
        Chesed = "chesed",
        Gevurah = "gevurah",
        Tiferet = "tiferet",
        Netzach = "netzach",
        Hod = "hod",
        Yesod = "yesod",
        Malkuth = "malkuth",
        Daat = "daat",
    }
}
/// Response body of `getRitucharya`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponse {
    /// Which course the sun is in.
    pub ayana: GetRitucharyaResponseAyana,
    /// The conventions this reading was produced under.
    pub conventions: GetRitucharyaResponseConventions,
    /// The date this reading is for, echoing the request.
    pub date: String,
    /// Which humours the season moves, and how. A season moves at most three of the nine slots and often fewer, so an empty entry for a humour means the cycle simply says nothing about it in this season.
    #[serde(rename = "doshaCycle")]
    pub dosha_cycle: Vec<GetRitucharyaResponseDoshaCycleItem>,
    /// Scope of the response.
    pub meta: GetRitucharyaResponseMeta,
    /// The taking or giving half of the year.
    pub phase: GetRitucharyaResponsePhase,
    /// What the chapter states for this season. Roughly half its verses leave no item here once substances and clinical procedures are set aside, and those verses are absent rather than padded.
    pub regimen: Vec<GetRitucharyaResponseRegimenItem>,
    /// The season in force on this date.
    pub ritu: GetRitucharyaResponseRitu,
    /// Every work behind this response, once each.
    pub sources: Vec<GetRitucharyaResponseSourcesItem>,
    /// Where the season sits in the strength cycle.
    pub strength: GetRitucharyaResponseStrength,
    /// The season in prose, composed and translated in place.
    pub summary: String,
    /// The taste that grows IN NATURE across this season. It is not the taste to favour: the regimen for the same season is broadly the opposite, which is why this field is never named for a recommendation.
    #[serde(rename = "tasteIncreasing")]
    pub taste_increasing: GetRitucharyaResponseTasteIncreasing,
}
/// The taste that grows IN NATURE across this season. It is not the taste to favour: the regimen for the same season is broadly the opposite, which is why this field is never named for a recommendation.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseTasteIncreasing {
    /// The taste in the requested language. This is the gloss and it does translate.
    pub english: String,
    /// The taste as a Sanskrit identifier. Never translated, so it stays safe to compare against and joins straight to the tastes catalogue.
    pub id: String,
    /// The same taste in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// Where one claim in this response comes from.
    pub source: GetRitucharyaResponseTasteIncreasingSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseTasteIncreasingSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Where the season sits in the strength cycle.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseStrength {
    /// Bodily strength in this season: highest, moderate or lowest. Always English so it stays safe to switch on. The strongest pair is the cold season and the dewy season, which are adjacent in the cycle but sit at opposite ends of the two courses, and that wrap-around is the part a positional reading of the verse gets wrong.
    pub level: String,
    /// Where one claim in this response comes from.
    pub source: GetRitucharyaResponseStrengthSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseStrengthSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseSourcesItem {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// The season in force on this date.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseRitu {
    /// The default-scheme season the classical layer was read from. Equal to the id in the ordinary case, and different under the alternate scheme, whose own verse states no strength cycle, taste cycle or dosha cycle for its seasons.
    #[serde(rename = "classicalRitu")]
    pub classical_ritu: String,
    /// The season in Devanagari. Data rather than a translation, so it is identical under every language.
    pub devanagari: String,
    /// When the season closes, as an ISO 8601 instant in UTC. It is the ingress that opens the next season, so two consecutive calls join without a gap.
    pub end: String,
    /// What the season is called in the requested language. This is the gloss and it does translate; the identifier above does not.
    pub gloss: String,
    /// The season as a Sanskrit identifier, always English-safe and never translated. One of sisira, vasanta, grisma, varsa, sarad and hemanta, plus pravrt which only the alternate scheme carries.
    pub id: String,
    /// The season in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// The two solar months the season spans, in order. A solar month is the interval the sun spends inside one rasi, which is why every boundary above is an ingress instant.
    #[serde(rename = "solarMonths")]
    pub solar_months: Vec<GetRitucharyaResponseRituSolarMonthsItem>,
    /// When the season opened, as an ISO 8601 instant in UTC. This is the ingress into the first of its two solar months, computed rather than tabulated, so it is exact to the second.
    pub start: String,
}
/// One of the two solar months the season spans.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseRituSolarMonthsItem {
    /// The rasi as the lowercase English sign id every other RoxyAPI domain uses.
    pub id: String,
    /// Zero-based rasi index, 0 for Aries, so a caller can order the twelve without a name table.
    pub index: f64,
    /// The solar month under the name a panchang prints for it. Data, identical in every language.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// One item of the seasonal regimen.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseRegimenItem {
    /// The behaviour item, written from the source and translated in place. Behaviours, qualities and tastes only: the chapter also names specific substances and prescribes clinical procedures, and neither is carried here.
    pub guidance: String,
    /// Stable identifier for the item. Always English and lowercase, so it is safe to compare against.
    pub id: String,
    /// Where one claim in this response comes from.
    pub source: GetRitucharyaResponseRegimenItemSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseRegimenItemSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// The taking or giving half of the year.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponsePhase {
    /// Whether the sun is taking or giving across this half of the year, as a Sanskrit identifier. Never translated, and deliberately so: the published translations render the two terms with four different English words between them, so an English value would not be stable enough to compare against.
    pub id: String,
    /// Where one claim in this response comes from.
    pub source: GetRitucharyaResponsePhaseSource,
    /// The three tastes that grow across this half of the year, in the order the verse gives them, one per season. This is the sequence the season taste below is one member of.
    pub tastes: Vec<GetRitucharyaResponsePhaseTastesItem>,
}
/// One of the six tastes, referenced from the seasonal cycle.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponsePhaseTastesItem {
    /// The taste in the requested language. This is the gloss and it does translate.
    pub english: String,
    /// The taste as a Sanskrit identifier. Never translated, so it stays safe to compare against and joins straight to the tastes catalogue.
    pub id: String,
    /// The same taste in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponsePhaseSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// One humour and where the season puts it.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseDoshaCycleItem {
    /// The humour, as a Sanskrit identifier. Never translated.
    pub dosha: String,
    /// What the state is, in the requested language, defined by where the humour sits and how it behaves.
    pub meaning: String,
    /// A recorded disagreement about this row, present only where one exists.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Where the humour stands: accumulating, aggravated or settling. Always English so it stays safe to switch on. The three are positions and qualities rather than complaints, which is what the definitions below say.
    pub state: String,
}
/// The conventions this reading was produced under.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseConventions {
    /// Which half of the world the season names are stated for. Echoes the request and is never inferred from a latitude.
    pub hemisphere: String,
    /// Which zodiac the boundaries were measured in. Echoes the request, and the two answers can differ by about 24 days.
    #[serde(rename = "rituZodiac")]
    pub ritu_zodiac: String,
    /// Which six-season division was applied. Echoes the request.
    #[serde(rename = "ritucharyaScheme")]
    pub ritucharya_scheme: String,
}
/// Which course the sun is in.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseAyana {
    /// The half-year course of the sun, as a Sanskrit identifier. Never translated. It names what the sun is doing rather than what the weather is, so it is the same for every observer on the same day and is never rotated for the hemisphere.
    pub id: String,
    /// Where one claim in this response comes from.
    pub source: GetRitucharyaResponseAyanaSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRitucharyaResponseAyanaSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Path and query parameters of `getRitucharya`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetRitucharyaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetRitucharyaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetRitucharyaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetReadingResponse {
    /// Actionable 1-2 sentence guidance for the day based on the combined cycle analysis.
    pub advice: String,
    /// Birth date used for this calculation (YYYY-MM-DD).
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Critical day alerts. Present only when one or more primary cycles are at or near zero crossing.
    #[serde(rename = "criticalAlerts")]
    pub critical_alerts: Vec<GetReadingResponseCriticalAlertsItem>,
    /// All 10 biorhythm cycle readings. Keys: physical, emotional, intellectual, intuitive, aesthetic, awareness, spiritual, passion, mastery, wisdom.
    pub cycles: GetReadingResponseCycles,
    /// Total days alive from birth date to target date. This is the basis for all cycle calculations.
    #[serde(rename = "daysSinceBirth")]
    pub days_since_birth: f64,
    /// Overall energy score from 1 (deep recovery) to 10 (peak performance), derived from the three primary cycle positions.
    #[serde(rename = "energyRating")]
    pub energy_rating: f64,
    /// Editorial 3-5 sentence reading combining all cycle states into a coherent daily assessment.
    pub interpretation: String,
    /// Summary phase across every cycle for the day. One of: high_energy, mixed, recovery, critical.
    #[serde(rename = "overallPhase")]
    pub overall_phase: GetReadingResponseOverallPhase,
    /// Date this reading is for (YYYY-MM-DD).
    #[serde(rename = "targetDate")]
    pub target_date: String,
}
string_enum! {
    /// Summary phase across every cycle for the day. One of: high_energy, mixed, recovery, critical.
    GetReadingResponseOverallPhase {
        HighEnergy = "high_energy",
        Mixed = "mixed",
        Recovery = "recovery",
        Critical = "critical",
    }
}
/// All 10 biorhythm cycle readings. Keys: physical, emotional, intellectual, intuitive, aesthetic, awareness, spiritual, passion, mastery, wisdom.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetReadingResponseCycles {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        GetReadingResponseCyclesAdditionalProperty,
    >,
}
/// One cycle read for the target date: its position and raw sine value, phase and trend, day within the period, the distance to the next peak, trough and critical day, and a short reading.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetReadingResponseCyclesAdditionalProperty {
    /// Current day position within the cycle (1-based). Ranges from 1 to the cycle period length.
    #[serde(rename = "dayInCycle")]
    pub day_in_cycle: f64,
    /// Number of days until the next zero crossing in this cycle.
    #[serde(rename = "daysUntilCritical")]
    pub days_until_critical: f64,
    /// Number of days until the next peak (100%) in this cycle.
    #[serde(rename = "daysUntilPeak")]
    pub days_until_peak: f64,
    /// Number of days until the next trough (-100%) in this cycle.
    #[serde(rename = "daysUntilTrough")]
    pub days_until_trough: f64,
    /// Editorial 2-3 sentence reading specific to this cycle at its current phase position.
    pub interpretation: String,
    /// Current phase of the cycle. One of: peak, high, rising, critical_ascending, critical_descending, falling, low, trough. Canonical English whatever the lang parameter says, so it stays safe to compare against in code; phaseLabel carries the reader-facing form and IS translated.
    pub phase: GetReadingResponseCyclesAdditionalPropertyPhase,
    /// Human-readable phase name for display in UIs, dashboards, and reports.
    #[serde(rename = "phaseLabel")]
    pub phase_label: String,
    /// Raw sine wave value before percentage conversion, ranging from -1.0 to 1.0.
    #[serde(rename = "rawValue")]
    pub raw_value: f64,
    /// Short-term direction of the cycle, which is its SLOPE rather than its band, so it moves independently of phase. One of: rising, falling, peaking, bottoming. Canonical English, like phase.
    pub trend: GetReadingResponseCyclesAdditionalPropertyTrend,
    /// Percentage position in the cycle from -100 (trough) to 100 (peak). 0 represents a critical zero crossing.
    pub value: f64,
}
string_enum! {
    /// Short-term direction of the cycle, which is its SLOPE rather than its band, so it moves independently of phase. One of: rising, falling, peaking, bottoming. Canonical English, like phase.
    GetReadingResponseCyclesAdditionalPropertyTrend {
        Rising = "rising",
        Falling = "falling",
        Peaking = "peaking",
        Bottoming = "bottoming",
    }
}
string_enum! {
    /// Current phase of the cycle. One of: peak, high, rising, critical_ascending, critical_descending, falling, low, trough. Canonical English whatever the lang parameter says, so it stays safe to compare against in code; phaseLabel carries the reader-facing form and IS translated.
    GetReadingResponseCyclesAdditionalPropertyPhase {
        Peak = "peak",
        High = "high",
        Rising = "rising",
        CriticalAscending = "critical_ascending",
        CriticalDescending = "critical_descending",
        Falling = "falling",
        Low = "low",
        Trough = "trough",
    }
}
/// One entry of `criticalAlerts`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetReadingResponseCriticalAlertsItem {
    /// Specific advisory text for this critical alert.
    pub advisory: String,
    /// Which cycle is at or near zero crossing.
    pub cycle: GetReadingResponseCriticalAlertsItemCycle,
    /// Whether the cycle is rising through zero (ascending) or falling through zero (descending).
    pub direction: GetReadingResponseCriticalAlertsItemDirection,
    /// Alert type. One of: zero_crossing. Raised once for the whole critical band, when the cycle sits within 9 points of zero in either direction.
    pub r#type: GetReadingResponseCriticalAlertsItemType,
}
string_enum! {
    /// Alert type. One of: zero_crossing. Raised once for the whole critical band, when the cycle sits within 9 points of zero in either direction.
    GetReadingResponseCriticalAlertsItemType {
        ZeroCrossing = "zero_crossing",
    }
}
string_enum! {
    /// Whether the cycle is rising through zero (ascending) or falling through zero (descending).
    GetReadingResponseCriticalAlertsItemDirection {
        Ascending = "ascending",
        Descending = "descending",
    }
}
string_enum! {
    /// Which cycle is at or near zero crossing.
    GetReadingResponseCriticalAlertsItemCycle {
        Physical = "physical",
        Emotional = "emotional",
        Intellectual = "intellectual",
        Intuitive = "intuitive",
        Aesthetic = "aesthetic",
        Awareness = "awareness",
        Spiritual = "spiritual",
        Passion = "passion",
        Mastery = "mastery",
        Wisdom = "wisdom",
    }
}
/// Path and query parameters of `getReading`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetReadingParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetReadingParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `getRashi`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRashiParams {
    /// Rashi ID slug. One of: mesha, vrishabha, mithun, karka, simha, kanya, tula, vrischika, dhanu, makar, kumbha, meen.
    pub id: GetRashiParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetRashiParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetRashiParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Rashi ID slug. One of: mesha, vrishabha, mithun, karka, simha, kanya, tula, vrischika, dhanu, makar, kumbha, meen.
    GetRashiParamsId {
        Mesha = "mesha",
        Vrishabha = "vrishabha",
        Mithun = "mithun",
        Karka = "karka",
        Simha = "simha",
        Kanya = "kanya",
        Tula = "tula",
        Vrischika = "vrischika",
        Dhanu = "dhanu",
        Makar = "makar",
        Kumbha = "kumbha",
        Meen = "meen",
    }
}
/// Response body of `getRandomSymbols`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRandomSymbolsResponse {
    /// The `symbols` field.
    pub symbols: Vec<DreamSymbol>,
}
/// Response body of `getDreamSymbol`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DreamSymbol {
    /// Unique symbol identifier in kebab-case. Use this to fetch full interpretation via /symbols/{id}.
    pub id: String,
    /// Starting letter (a-z) for alphabetical dream dictionary navigation.
    pub letter: String,
    /// Full psychological dream interpretation explaining the subconscious symbolism, emotional significance, and waking-life connections of this dream symbol.
    pub meaning: String,
    /// Display name of the dream symbol.
    pub name: String,
}
/// Path and query parameters of `getRandomHexagram`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetRandomHexagramParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetRandomHexagramParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetRandomHexagramParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `getRandomCrystal`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetRandomCrystalParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetRandomCrystalParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetRandomCrystalParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getPratyantardashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponse {
    /// Ruling planet of the requested Antardasha sub-period.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetPratyantardashasResponseAntardashaLord,
    /// Full details of the parent Antardasha including start/end dates and duration.
    #[serde(rename = "antardashaPeriod")]
    pub antardasha_period: GetPratyantardashasResponseAntardashaPeriod,
    /// Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
    pub ayanamsa: f64,
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: GetPratyantardashasResponseAyanamsaType,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetPratyantardashasResponseFocus>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes", skip_serializing_if = "Option::is_none")]
    pub house_themes: Option<GetPratyantardashasResponseHouseThemes>,
    /// Ruling planet of the requested Mahadasha period.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetPratyantardashasResponseMahadashaLord,
    /// Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
    /// Pratyantardasha (antara) periods within this Antardasha, proportional to each planet Vimshottari years, sorted chronologically and starting with the Antardasha lord. Fewer than nine only when the parent Antardasha is the one that was already running at birth, in which case the periods that ended before the birth date are omitted.
    pub pratyantardashas: Vec<GetPratyantardashasResponsePratyantardashasItem>,
}
/// Pratyantardasha (sub-sub-period), the third level of the Vimshottari dasha hierarchy, Provides finer timing within each Antardasha for event prediction.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponsePratyantardashasItem {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetPratyantardashasResponsePratyantardashasItemAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetPratyantardashasResponsePratyantardashasItemMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetPratyantardashasResponsePratyantardashasItemPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<
        GetPratyantardashasResponsePratyantardashasItemSignificators,
    >,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponsePratyantardashasItemSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetPratyantardashasResponsePratyantardashasItemSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetPratyantardashasResponsePratyantardashasItemSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponsePratyantardashasItemSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetPratyantardashasResponsePratyantardashasItemSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetPratyantardashasResponsePratyantardashasItemSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetPratyantardashasResponsePratyantardashasItemSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetPratyantardashasResponsePratyantardashasItemSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponsePratyantardashasItemSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetPratyantardashasResponsePratyantardashasItemPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetPratyantardashasResponsePratyantardashasItemMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetPratyantardashasResponsePratyantardashasItemAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Mahadasha period.
    GetPratyantardashasResponseMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    GetPratyantardashasResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
string_enum! {
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    GetPratyantardashasResponseAyanamsaType {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Full details of the parent Antardasha including start/end dates and duration.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponseAntardashaPeriod {
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetPratyantardashasResponseAntardashaPeriodMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetPratyantardashasResponseAntardashaPeriodPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetPratyantardashasResponseAntardashaPeriodSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponseAntardashaPeriodSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetPratyantardashasResponseAntardashaPeriodSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetPratyantardashasResponseAntardashaPeriodSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponseAntardashaPeriodSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetPratyantardashasResponseAntardashaPeriodSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetPratyantardashasResponseAntardashaPeriodSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetPratyantardashasResponseAntardashaPeriodSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetPratyantardashasResponseAntardashaPeriodSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasResponseAntardashaPeriodSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetPratyantardashasResponseAntardashaPeriodPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetPratyantardashasResponseAntardashaPeriodMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Antardasha sub-period.
    GetPratyantardashasResponseAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Request body of `getPratyantardashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasRequest {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<GetPratyantardashasRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetPratyantardashasRequestNodeType>,
    /// Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<bool>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetPratyantardashasRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetPratyantardashasRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    GetPratyantardashasRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    GetPratyantardashasRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `getPratyantardashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPratyantardashasParams {
    /// Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive. Every Mahadasha contains all 9 lords, so a repeat such as saturn/saturn is valid.
    pub antardasha: GetPratyantardashasParamsAntardasha,
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetPratyantardashasParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetPratyantardashasParamsLang>,
    /// Mahadasha planet name, case-insensitive (e.g. saturn, Saturn, SATURN all work). Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    pub mahadasha: GetPratyantardashasParamsMahadasha,
}
string_enum! {
    /// Mahadasha planet name, case-insensitive (e.g. saturn, Saturn, SATURN all work). Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    GetPratyantardashasParamsMahadasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetPratyantardashasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetPratyantardashasParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
string_enum! {
    /// Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive. Every Mahadasha contains all 9 lords, so a repeat such as saturn/saturn is valid.
    GetPratyantardashasParamsAntardasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Response body of `getPranaDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponse {
    /// Ruling planet of the requested Antardasha sub-period.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetPranaDashasResponseAntardashaLord,
    /// Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
    pub ayanamsa: f64,
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: GetPranaDashasResponseAyanamsaType,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetPranaDashasResponseFocus>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes", skip_serializing_if = "Option::is_none")]
    pub house_themes: Option<GetPranaDashasResponseHouseThemes>,
    /// Ruling planet of the requested Mahadasha period.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetPranaDashasResponseMahadashaLord,
    /// Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
    /// Prana dasha periods within this Sookshma dasha, proportional to each planet Vimshottari years, sorted chronologically and starting with the Sookshma lord. Fewer than nine only when the parent Sookshma dasha is the one that was already running at birth, in which case the periods that ended before the birth date are omitted.
    #[serde(rename = "pranaDashas")]
    pub prana_dashas: Vec<GetPranaDashasResponsePranaDashasItem>,
    /// Ruling planet of the requested Pratyantardasha sub-sub-period.
    #[serde(rename = "pratyantardashaLord")]
    pub pratyantardasha_lord: GetPranaDashasResponsePratyantardashaLord,
    /// Ruling planet of the requested Sookshma dasha.
    #[serde(rename = "sookshmaLord")]
    pub sookshma_lord: GetPranaDashasResponseSookshmaLord,
    /// Full details of the parent Sookshma dasha including start/end dates and duration.
    #[serde(rename = "sookshmaPeriod")]
    pub sookshma_period: GetPranaDashasResponseSookshmaPeriod,
}
/// Full details of the parent Sookshma dasha including start/end dates and duration.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponseSookshmaPeriod {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetPranaDashasResponseSookshmaPeriodAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetPranaDashasResponseSookshmaPeriodMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetPranaDashasResponseSookshmaPeriodPlanet,
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    #[serde(rename = "pratyantardashaLord")]
    pub pratyantardasha_lord: GetPranaDashasResponseSookshmaPeriodPratyantardashaLord,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetPranaDashasResponseSookshmaPeriodSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponseSookshmaPeriodSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetPranaDashasResponseSookshmaPeriodSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetPranaDashasResponseSookshmaPeriodSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponseSookshmaPeriodSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetPranaDashasResponseSookshmaPeriodSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetPranaDashasResponseSookshmaPeriodSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetPranaDashasResponseSookshmaPeriodSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetPranaDashasResponseSookshmaPeriodSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponseSookshmaPeriodSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    GetPranaDashasResponseSookshmaPeriodPratyantardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetPranaDashasResponseSookshmaPeriodPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetPranaDashasResponseSookshmaPeriodMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetPranaDashasResponseSookshmaPeriodAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Sookshma dasha.
    GetPranaDashasResponseSookshmaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Pratyantardasha sub-sub-period.
    GetPranaDashasResponsePratyantardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Prana dasha (praana antardasha), the fifth and finest level of the Vimshottari dasha hierarchy. Each Sookshma dasha divides into 9 Prana periods, running from about 20 minutes inside a Sun Mahadasha to about 4 days inside a Saturn one. This is the level that takes Vimshottari from day-level to hour-level timing, used for muhurta selection and pinpointing the trigger inside an already identified window.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponsePranaDashasItem {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetPranaDashasResponsePranaDashasItemAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetPranaDashasResponsePranaDashasItemMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetPranaDashasResponsePranaDashasItemPlanet,
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    #[serde(rename = "pratyantardashaLord")]
    pub pratyantardasha_lord: GetPranaDashasResponsePranaDashasItemPratyantardashaLord,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetPranaDashasResponsePranaDashasItemSignificators>,
    /// Parent Sookshma dasha lord under which this Prana dasha runs.
    #[serde(rename = "sookshmaLord")]
    pub sookshma_lord: GetPranaDashasResponsePranaDashasItemSookshmaLord,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
string_enum! {
    /// Parent Sookshma dasha lord under which this Prana dasha runs.
    GetPranaDashasResponsePranaDashasItemSookshmaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponsePranaDashasItemSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetPranaDashasResponsePranaDashasItemSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetPranaDashasResponsePranaDashasItemSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponsePranaDashasItemSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetPranaDashasResponsePranaDashasItemSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetPranaDashasResponsePranaDashasItemSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetPranaDashasResponsePranaDashasItemSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetPranaDashasResponsePranaDashasItemSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponsePranaDashasItemSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    GetPranaDashasResponsePranaDashasItemPratyantardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetPranaDashasResponsePranaDashasItemPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetPranaDashasResponsePranaDashasItemMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetPranaDashasResponsePranaDashasItemAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling planet of the requested Mahadasha period.
    GetPranaDashasResponseMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    GetPranaDashasResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
string_enum! {
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    GetPranaDashasResponseAyanamsaType {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
string_enum! {
    /// Ruling planet of the requested Antardasha sub-period.
    GetPranaDashasResponseAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Request body of `getPranaDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasRequest {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<GetPranaDashasRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetPranaDashasRequestNodeType>,
    /// Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<bool>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetPranaDashasRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetPranaDashasRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    GetPranaDashasRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    GetPranaDashasRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `getPranaDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPranaDashasParams {
    /// Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive.
    pub antardasha: GetPranaDashasParamsAntardasha,
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetPranaDashasParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetPranaDashasParamsLang>,
    /// Mahadasha planet name, case-insensitive. Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    pub mahadasha: GetPranaDashasParamsMahadasha,
    /// Pratyantardasha (antara) planet name inside that Antardasha, case-insensitive.
    pub pratyantardasha: GetPranaDashasParamsPratyantardasha,
    /// Sookshma dasha planet name inside that Pratyantardasha, case-insensitive. Every full period contains all 9 lords, so a repeat such as saturn/saturn/saturn/saturn is valid.
    pub sookshma: GetPranaDashasParamsSookshma,
}
string_enum! {
    /// Sookshma dasha planet name inside that Pratyantardasha, case-insensitive. Every full period contains all 9 lords, so a repeat such as saturn/saturn/saturn/saturn is valid.
    GetPranaDashasParamsSookshma {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Pratyantardasha (antara) planet name inside that Antardasha, case-insensitive.
    GetPranaDashasParamsPratyantardasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Mahadasha planet name, case-insensitive. Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
    GetPranaDashasParamsMahadasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetPranaDashasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetPranaDashasParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
string_enum! {
    /// Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive.
    GetPranaDashasParamsAntardasha {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Response body of `getPlanetaryPositions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetaryPositionsResponse {
    /// All 14 celestial bodies (10 classical planets, lunar nodes, Chiron, Black Moon Lilith) with zodiac signs, speeds, retrograde status, meanings, and interpretations.
    pub planets: Vec<GetPlanetaryPositionsResponsePlanetsItem>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetaryPositionsResponsePlanetsItem {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Brief description of this planet in astrological context.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    /// Planet-in-sign interpretation. How this planet expresses through the zodiac sign it currently occupies.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<GetPlanetaryPositionsResponsePlanetsItemInterpretation>,
    /// Whether the planet is in apparent retrograde motion.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Key themes and traits associated with this planet.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub keywords: Option<Vec<String>>,
    /// Apparent geocentric ecliptic latitude of date, in degrees.
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either.
    pub longitude: f64,
    /// Planet name (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, North Node, South Node, Chiron, Black Moon Lilith). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected. Black Moon Lilith is always the mean lunar apogee, whatever nodeType says. POST /lilith returns the mean and the true (osculating) apogee side by side, each labelled by its variant.
    pub name: String,
    /// Tropical zodiac sign this planet occupies.
    pub sign: String,
    /// Daily motion in degrees per day. Negative values indicate retrograde.
    pub speed: f64,
    /// Unicode astronomical symbol for this planet.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
    /// Short tagline summarizing what this planet governs.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub tagline: Option<String>,
}
/// Planet-in-sign interpretation. How this planet expresses through the zodiac sign it currently occupies.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetaryPositionsResponsePlanetsItemInterpretation {
    /// Keywords for this specific planet-in-sign combination.
    pub keywords: Vec<String>,
    /// General meaning of this planet in astrology.
    #[serde(rename = "planetMeaning")]
    pub planet_meaning: String,
    /// How this planet expresses through the current sign.
    #[serde(rename = "signExpression")]
    pub sign_expression: String,
    /// Interpretation of this planet in its current zodiac sign.
    pub summary: String,
}
/// Request body of `getPlanetaryPositions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetaryPositionsRequest {
    /// Target date for planetary positions in YYYY-MM-DD format. Use current date for transit positions, or any historical/future date for research. Planets move daily, so this date determines their zodiac positions.
    pub date: String,
    /// Observer latitude in decimal degrees (-90 to 90). While planetary longitudes are geocentric (same worldwide), this is needed for house calculations if extending functionality. For basic ephemeris, use 0 as default.
    pub latitude: f64,
    /// Observer longitude in decimal degrees (-180 to 180). Used for precise local time conversion. For basic planetary positions, this has minimal impact but ensures accuracy.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetPlanetaryPositionsRequestNodeType>,
    /// Time in 24-hour HH:MM:SS format for precise calculations. Moon moves ~13° per day, so time matters for accurate lunar position. Use 12:00:00 (noon) as default if exact time not needed.
    pub time: String,
    /// Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST, 5.75 for NPT) OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the chart date.
    pub timezone: GetPlanetaryPositionsRequestTimezone,
}
/// Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST, 5.75 for NPT) OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the chart date.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetPlanetaryPositionsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GetPlanetaryPositionsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `getPlanetaryPositions`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetPlanetaryPositionsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetPlanetaryPositionsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetPlanetaryPositionsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getPlanetaryNodePassages`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetaryNodePassagesResponse {
    /// Every node passage in the year, in chronological order across all bodies. The fast bodies dominate: a slow body can go years or decades between node passages, so an absent planet means it did not cross that year rather than that it was not checked.
    pub events: Vec<GetPlanetaryNodePassagesResponseEventsItem>,
    /// Timezone the dates and times are reported in. Echoes the request.
    pub timezone: f64,
    /// Year that was scanned. Echoes the request.
    pub year: f64,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetaryNodePassagesResponseEventsItem {
    /// Date of the crossing in the requested timezone (YYYY-MM-DD).
    pub date: String,
    /// Combined crossing timestamp in the requested timezone.
    pub datetime: String,
    /// ascending is the crossing from south of the ecliptic to north, at the body north node. descending is the reverse, at its south node.
    pub direction: GetPlanetaryNodePassagesResponseEventsItemDirection,
    /// Tropical ecliptic longitude of the body at the crossing, in degrees. This is the only value in the response that depends on the zodiac frame.
    pub longitude: f64,
    /// Body making the crossing. Always canonical English whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Body name in the requested language. Present only when lang is supplied.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Tropical sign the body occupies at the crossing. Canonical English.
    pub sign: String,
    /// Sign in the requested language. Present only when lang is supplied.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Time of the crossing in the requested timezone (HH:MM).
    pub time: String,
}
string_enum! {
    /// ascending is the crossing from south of the ecliptic to north, at the body north node. descending is the reverse, at its south node.
    GetPlanetaryNodePassagesResponseEventsItemDirection {
        Ascending = "ascending",
        Descending = "descending",
    }
}
/// Request body of `getPlanetaryNodePassages`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetaryNodePassagesRequest {
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Crossing dates and times are reported in this zone. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetPlanetaryNodePassagesRequestTimezone>,
    /// Year to scan for node passages (1551 to 2649).
    pub year: i64,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Crossing dates and times are reported in this zone. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetPlanetaryNodePassagesRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `getPlanetaryNodePassages`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetPlanetaryNodePassagesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetPlanetaryNodePassagesParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetPlanetaryNodePassagesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `getPlanetPositions`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetPlanetPositionsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetPlanetPositionsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetPlanetPositionsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getPlanetMeaning`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetMeaningResponse {
    /// Planet classification: personal (Sun-Mars), social (Jupiter-Saturn), or generational (Uranus-Pluto).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub category: Option<String>,
    /// Planet description in short and long form.
    pub description: GetPlanetMeaningResponseDescription,
    /// Sign of detriment. Opposite the rulership sign, where the planet struggles. Absent for the lunar nodes, Chiron, and Black Moon Lilith.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub detriment: Option<String>,
    /// Sign of exaltation. Where the planet is honored and amplified. Absent for the lunar nodes, Chiron, and Black Moon Lilith.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub exaltation: Option<String>,
    /// Deprecated: use exaltation. Retained for backward compatibility, scheduled for removal in v3. Sign of exaltation, carrying the same value as the exaltation field.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub exultation: Option<String>,
    /// Sign of fall. Opposite the exaltation sign, where the planet is weakened. Absent for the lunar nodes, Chiron, and Black Moon Lilith.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub fall: Option<String>,
    /// Lowercase planet identifier.
    pub id: String,
    /// Positive and negative keyword associations for this planet.
    pub keywords: GetPlanetMeaningResponseKeywords,
    /// Display name of the planet.
    pub name: String,
    /// Orbital period around the Sun or zodiac cycle length.
    pub orbit: String,
    /// Whether this planet can appear retrograde. Always false for Sun and Moon.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub retrograde: Option<bool>,
    /// Zodiac sign this planet rules (domicile). Where the planet operates most naturally. Absent for the lunar nodes, Chiron, and Black Moon Lilith.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub rulership: Option<String>,
    /// Unicode astronomical symbol.
    pub symbol: String,
    /// Short tagline summarizing this planet.
    pub tagline: String,
    /// Traditional planet temperature (Hot, Cold, or Neutral).
    pub temperature: String,
}
/// Positive and negative keyword associations for this planet.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetMeaningResponseKeywords {
    /// Shadow traits when this planet is challenged or afflicted.
    pub negative: Vec<String>,
    /// Positive traits and keywords when this planet is well-aspected.
    pub positive: Vec<String>,
}
/// Planet description in short and long form.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetMeaningResponseDescription {
    /// Detailed multi-paragraph description of the planet, its symbolism, and astrological meaning.
    pub long: String,
    /// Brief 1-2 sentence overview of the planet.
    pub short: String,
}
/// Path and query parameters of `getPlanetMeaning`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPlanetMeaningParams {
    /// Planet ID (lowercase, e.g., sun, moon, mercury) or display name (case-insensitive, e.g., Sun, MOON). Spaces, hyphens and underscores are interchangeable, so the two lunar nodes answer to north-node and south-node as well as to their ids north node and south node, and Black Moon Lilith answers to black-moon-lilith as well as to lilith.
    pub id: String,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetPlanetMeaningParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetPlanetMeaningParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getPhases`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPhasesResponse {
    /// Birth date used for this calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Total days alive from birth date to target date.
    #[serde(rename = "daysSinceBirth")]
    pub days_since_birth: f64,
    /// Phase information for all 10 cycles keyed by cycle ID.
    pub phases: GetPhasesResponsePhases,
    /// Quick overview string summarizing the current state of all cycles.
    pub summary: String,
    /// Date this phase info is for.
    #[serde(rename = "targetDate")]
    pub target_date: String,
}
/// Phase information for all 10 cycles keyed by cycle ID.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPhasesResponsePhases {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        GetPhasesResponsePhasesAdditionalProperty,
    >,
}
/// Where one cycle stands on the target date: its value, phase and trend, the day it has reached inside a period of totalDays, and how many days remain to the next zero crossing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPhasesResponsePhasesAdditionalProperty {
    /// Current day position within the cycle.
    #[serde(rename = "dayInCycle")]
    pub day_in_cycle: f64,
    /// Days until next zero crossing.
    #[serde(rename = "daysUntilCritical")]
    pub days_until_critical: f64,
    /// Current phase identifier.
    pub phase: GetPhasesResponsePhasesAdditionalPropertyPhase,
    /// Human-readable phase label.
    #[serde(rename = "phaseLabel")]
    pub phase_label: String,
    /// Cycle period in days. 0 for composite cycles (passion, mastery, wisdom).
    #[serde(rename = "totalDays")]
    pub total_days: f64,
    /// Short-term direction: rising, falling, peaking, or bottoming.
    pub trend: GetPhasesResponsePhasesAdditionalPropertyTrend,
    /// Cycle value from -100 to 100.
    pub value: f64,
}
string_enum! {
    /// Short-term direction: rising, falling, peaking, or bottoming.
    GetPhasesResponsePhasesAdditionalPropertyTrend {
        Rising = "rising",
        Falling = "falling",
        Peaking = "peaking",
        Bottoming = "bottoming",
    }
}
string_enum! {
    /// Current phase identifier.
    GetPhasesResponsePhasesAdditionalPropertyPhase {
        Peak = "peak",
        High = "high",
        Rising = "rising",
        CriticalAscending = "critical_ascending",
        CriticalDescending = "critical_descending",
        Falling = "falling",
        Low = "low",
        Trough = "trough",
    }
}
/// Path and query parameters of `getPhases`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetPhasesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetPhasesParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetPhasesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getNumberMeaning`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetNumberMeaningResponse {
    /// The `meaning` field.
    pub meaning: GetNumberMeaningResponseMeaning,
    /// Requested number
    pub number: f64,
    /// Number type
    pub r#type: GetNumberMeaningResponseType,
}
string_enum! {
    /// Number type
    GetNumberMeaningResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetNumberMeaningResponseMeaning {
    /// Tailored career guidance with specific job titles, industries, and work environments. Explains why certain professional paths resonate with this number.
    pub career: String,
    /// Growth areas and shadow qualities. Each entry explains the root cause, how it surfaces, and constructive strategies for working through it.
    pub challenges: Vec<String>,
    /// Core interpretation of the number covering personality, life purpose and core themes. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Ten defining personality traits and energetic themes. Useful for personality snapshots, compatibility matching, and building numerology profile summaries.
    pub keywords: Vec<String>,
    /// Love, friendship, and family dynamics. Covers romantic compatibility with other numbers, communication style, and the key relationship lessons.
    pub relationships: String,
    /// Spiritual path, soul lessons, and recommended practices. Explores the deeper purpose behind this number and guidance for personal growth.
    pub spirituality: String,
    /// Core strengths and positive qualities. Each entry pairs a trait name with a detailed explanation of how it manifests in real life.
    pub strengths: Vec<String>,
    /// Numerology archetype name. A single phrase capturing the core identity of this number, such as "The Leader" for 1 or "The Master Builder" for 22.
    pub title: String,
}
/// Path and query parameters of `getNumberMeaning`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetNumberMeaningParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetNumberMeaningParamsLang>,
    /// Numerology number (1-9, 11, 22, 33)
    pub number: String,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetNumberMeaningParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `getNakshatra`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetNakshatraParams {
    /// Nakshatra ID slug. Examples: ashwini, bharani, krittika, rohini, mrigashira, ardra, punarvasu, pushya, ashlesha, magha, etc.
    pub id: GetNakshatraParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetNakshatraParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetNakshatraParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Nakshatra ID slug. Examples: ashwini, bharani, krittika, rohini, mrigashira, ardra, punarvasu, pushya, ashlesha, magha, etc.
    GetNakshatraParamsId {
        Ashwini = "ashwini",
        Bharani = "bharani",
        Krittika = "krittika",
        Rohini = "rohini",
        Mrigashira = "mrigashira",
        Ardra = "ardra",
        Punarvasu = "punarvasu",
        Pushya = "pushya",
        Ashlesha = "ashlesha",
        Magha = "magha",
        PurvaPhalguni = "purva-phalguni",
        UttaraPhalguni = "uttara-phalguni",
        Hasta = "hasta",
        Chitra = "chitra",
        Swati = "swati",
        Vishakha = "vishakha",
        Anuradha = "anuradha",
        Jyeshtha = "jyeshtha",
        Moola = "moola",
        PurvaAshadha = "purva-ashadha",
        UttaraAshadha = "uttara-ashadha",
        Shravana = "shravana",
        Dhanishta = "dhanishta",
        Shatabhisha = "shatabhisha",
        PurvaBhadrapada = "purva-bhadrapada",
        UttaraBhadrapada = "uttara-bhadrapada",
        Revati = "revati",
    }
}
/// Response body of `getMoonCalendar`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMoonCalendarResponse {
    /// Daily moon phase and illumination for every day of the month.
    pub calendar: Vec<GetMoonCalendarResponseCalendarItem>,
    /// Calendar month for this lunar calendar.
    pub month: f64,
    /// Month name, localized to the requested language. Saves the caller a lookup table when labelling a calendar heading, since the numeric month alone cannot be rendered without one.
    #[serde(rename = "monthName")]
    pub month_name: String,
    /// Calendar year for this lunar calendar.
    pub year: f64,
}
/// One entry of `calendar`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMoonCalendarResponseCalendarItem {
    /// Calendar date (YYYY-MM-DD).
    pub date: String,
    /// Moon illumination percentage (0-100) at noon on this date.
    pub illumination: f64,
    /// Lunar phase name for this date.
    pub phase: String,
}
/// Path and query parameters of `getMoonCalendar`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMoonCalendarParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMoonCalendarParamsLang>,
    /// Calendar month (1-12). 1 = January, 12 = December.
    pub month: i64,
    /// Calendar year, 1551 to 2649.
    pub year: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMoonCalendarParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyTzolkinCalendar`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTzolkinCalendarResponse {
    /// The conventions this grid was computed under, echoed so the result is self describing.
    pub conventions: GetMonthlyTzolkinCalendarResponseConventions,
    /// The days of the month in calendar order, one row per day. Every date in the month is present exactly once, which is what makes this safe to render straight into a grid.
    pub days: Vec<GetMonthlyTzolkinCalendarResponseDaysItem>,
    /// Month of the grid, echoed or defaulted to the current month in UTC.
    pub month: f64,
    /// Number of days in the grid, which is the length of the civil month. Every day of the month appears exactly once and none is repeated.
    pub total: f64,
    /// Year of the grid, echoed or defaulted to the current year in UTC.
    pub year: f64,
}
/// One entry of `days`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTzolkinCalendarResponseDaysItem {
    /// Calendar date of this row, in proleptic Gregorian.
    pub date: String,
    /// Machine identifier of the Tzolkin day sign, always lowercase ASCII Yucatec, so it stays safe to compare against in code.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// Display name of the day sign. A proper noun carried as data, identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// The Haab date, written as the day inside its period followed by the period name. Day 0 is the seating of a period and is a real date.
    pub haab: String,
    /// The dotted Long Count for this day. Consecutive rows differ by exactly one kin.
    #[serde(rename = "longCount")]
    pub long_count: String,
    /// The Tzolkin coefficient for this day, 1 to 13.
    pub number: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20. Consecutive rows share a trecena until the period turns.
    pub trecena: f64,
}
/// The conventions this grid was computed under, echoed so the result is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTzolkinCalendarResponseConventions {
    /// The correlation constant actually applied, whether it was requested or defaulted. Store this beside any Maya date you persist: the same civil date resolves to a different Long Count under each constant, and a date with no correlation recorded cannot be reproduced.
    pub correlation: String,
}
/// Path and query parameters of `getMonthlyTzolkinCalendar`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTzolkinCalendarParams {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub correlation: Option<GetMonthlyTzolkinCalendarParamsCorrelation>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyTzolkinCalendarParamsLang>,
    /// Calendar month of the grid, 1 to 12. Defaults to the current month in UTC.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Gregorian year of the grid, 1900 to 2100. Defaults to the current year in UTC. Wider historical ranges are available on the single date routes, which are not bounded to this window.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyTzolkinCalendarParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    GetMonthlyTzolkinCalendarParamsCorrelation {
        Gmt584283 = "gmt-584283",
        MartinezHernandez584281 = "martinez-hernandez-584281",
        Astronomical584285 = "astronomical-584285",
        MartinSkidmore584286 = "martin-skidmore-584286",
    }
}
/// Response body of `getMonthlyTropicalTransits`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalTransitsResponse {
    /// Month of the table. Echoes the month requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Where every body stands as the month opens, so a calendar can show the run-in as well as the changes.
    #[serde(rename = "startingPositions")]
    pub starting_positions: Vec<GetMonthlyTropicalTransitsResponseStartingPositionsItem>,
    /// Timezone the ingress dates and times are reported in. Echoes the request.
    pub timezone: f64,
    /// Every sign change in the month, in chronological order across all bodies. Empty only for a month in which nothing changes sign, which cannot happen while the Moon is included.
    #[serde(rename = "transitEvents")]
    pub transit_events: Vec<GetMonthlyTropicalTransitsResponseTransitEventsItem>,
    /// Year of the table. Echoes the year requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `transitEvents`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalTransitsResponseTransitEventsItem {
    /// Date of the ingress in the requested timezone (YYYY-MM-DD).
    pub date: String,
    /// Combined ingress timestamp in the requested timezone.
    pub datetime: String,
    /// Tropical sign the body leaves. Canonical English.
    #[serde(rename = "fromSign")]
    pub from_sign: String,
    /// Sign left, in the requested language. Present only when lang is supplied.
    #[serde(rename = "fromSignLocalized", skip_serializing_if = "Option::is_none")]
    pub from_sign_localized: Option<String>,
    /// Whether the body was retrograde at the moment it crossed. A retrograde ingress is the body re-entering a sign it already left, which is why the same body can appear more than once in a month.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Body that changes sign during the month. One of the 14 Western bodies. Always canonical English whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Body name in the requested language. Present only when lang is supplied.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Time of the ingress in the requested timezone (HH:MM).
    pub time: String,
    /// Tropical sign the body enters. Canonical English.
    #[serde(rename = "toSign")]
    pub to_sign: String,
    /// Sign entered, in the requested language. Present only when lang is supplied.
    #[serde(rename = "toSignLocalized", skip_serializing_if = "Option::is_none")]
    pub to_sign_localized: Option<String>,
}
/// One entry of `startingPositions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalTransitsResponseStartingPositionsItem {
    /// Tropical ecliptic longitude in degrees at 00:00 UTC on the first of the month.
    pub longitude: f64,
    /// Body name, canonical English.
    pub planet: String,
    /// Body name in the requested language.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Tropical sign the body occupies at the start of the month.
    pub sign: String,
    /// Sign in the requested language.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Request body of `getMonthlyTropicalTransits`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTropicalTransitsRequest {
    /// Month number (1-12). Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetMonthlyTropicalTransitsRequestNodeType>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Ingress dates and times are reported in this zone, which is what makes a published calendar read correctly for its audience. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetMonthlyTropicalTransitsRequestTimezone>,
    /// Year for the monthly transit table (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Ingress dates and times are reported in this zone, which is what makes a published calendar read correctly for its audience. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetMonthlyTropicalTransitsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GetMonthlyTropicalTransitsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `getMonthlyTropicalTransits`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTropicalTransitsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyTropicalTransitsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyTropicalTransitsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyTropicalEphemeris`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalEphemerisResponse {
    /// Daily planetary position entries for the entire month.
    pub days: Vec<GetMonthlyTropicalEphemerisResponseDaysItem>,
    /// Month of the ephemeris. Echoes the month that was requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Year of the ephemeris. Echoes the year that was requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `days`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalEphemerisResponseDaysItem {
    /// Date in YYYY-MM-DD format.
    pub date: String,
    /// Tropical positions of all 14 Western bodies on this date at noon UTC.
    pub positions: Vec<GetMonthlyTropicalEphemerisResponseDaysItemPositionsItem>,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalEphemerisResponseDaysItemPositionsItem {
    /// Degrees traversed within the current sign (0-30). Useful for precise transit tracking and for printing a position as sign plus degree.
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// Whether the body is in apparent retrograde motion on this date. The lunar nodes are always retrograde and Black Moon Lilith is always direct.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Tropical ecliptic longitude in degrees (0-360), measured from the vernal equinox. This is the Western zodiac, not the sidereal one, so the two differ by the ayanamsa of roughly 24 degrees.
    pub longitude: f64,
    /// Body name, one of the 14 bodies Western astrology reads: Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, North Node, South Node, Chiron, Black Moon Lilith. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Body name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat planet exactly.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Tropical zodiac sign the body occupies on this date. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat sign exactly.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Path and query parameters of `getMonthlyTropicalEphemeris`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTropicalEphemerisParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyTropicalEphemerisParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyTropicalEphemerisParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyTropicalAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalAspectsResponse {
    /// Every aspect event in the month, in chronological order across all body pairs.
    pub events: Vec<GetMonthlyTropicalAspectsResponseEventsItem>,
    /// Month of the calendar. Echoes the month requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Timezone the event dates and times are reported in. Echoes the request.
    pub timezone: f64,
    /// Year of the calendar. Echoes the year requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTropicalAspectsResponseEventsItem {
    /// Aspect type, canonical English. One of conjunction (0 deg), semi-sextile (30 deg), semi-square (45 deg), sextile (60 deg), square (90 deg), trine (120 deg), sesquiquadrate (135 deg), quincunx (150 deg), opposition (180 deg).
    pub aspect: String,
    /// Aspect name in the requested language. Present only when lang is supplied.
    #[serde(rename = "aspectLocalized", skip_serializing_if = "Option::is_none")]
    pub aspect_localized: Option<String>,
    /// Date the aspect is closest to exact, in the requested timezone (YYYY-MM-DD).
    pub date: String,
    /// Combined timestamp of closest approach, in the requested timezone.
    pub datetime: String,
    /// Whether the aspect is harmonious, challenging or neutral. Canonical English, so a calendar can color or filter on it directly. natureLocalized carries the reader-facing form.
    pub nature: String,
    /// Nature in the requested language. Present only when lang is supplied.
    #[serde(rename = "natureLocalized", skip_serializing_if = "Option::is_none")]
    pub nature_localized: Option<String>,
    /// Distance from exact in degrees at the reported instant. Effectively zero for an aspect that perfects inside the month, and larger only where the pair turns before reaching exact.
    pub orb: f64,
    /// First body forming the aspect. Always canonical English whatever the lang parameter says, so it stays safe to compare against in code. Use planet1Localized for anything a reader sees.
    pub planet1: String,
    /// First body in the requested language. Present only when lang is supplied.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Tropical ecliptic longitude of the first body at the reported instant.
    #[serde(rename = "planet1Longitude")]
    pub planet1_longitude: f64,
    /// Second body forming the aspect. Always canonical English.
    pub planet2: String,
    /// Second body in the requested language. Present only when lang is supplied.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Tropical ecliptic longitude of the second body at the reported instant.
    #[serde(rename = "planet2Longitude")]
    pub planet2_longitude: f64,
    /// Actual angular separation between the two bodies in degrees at the reported instant, measured the short way round the circle.
    pub separation: f64,
    /// Time the aspect is closest to exact, in the requested timezone (HH:MM).
    pub time: String,
}
/// Request body of `getMonthlyTropicalAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTropicalAspectsRequest {
    /// Month number (1-12). Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetMonthlyTropicalAspectsRequestNodeType>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Event dates and times are reported in this zone, which is what makes a published calendar read correctly for its audience. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetMonthlyTropicalAspectsRequestTimezone>,
    /// Year for the aspect calendar (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Event dates and times are reported in this zone, which is what makes a published calendar read correctly for its audience. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetMonthlyTropicalAspectsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GetMonthlyTropicalAspectsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `getMonthlyTropicalAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTropicalAspectsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyTropicalAspectsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyTropicalAspectsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyTransits`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTransitsResponse {
    /// Month of the monthly transit analysis. Echoes the month that was requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Planetary positions at the beginning of the month (day 1, 00:00 UTC).
    #[serde(rename = "startingPositions")]
    pub starting_positions: Vec<GetMonthlyTransitsResponseStartingPositionsItem>,
    /// Timezone offset from UTC in hours that the event dates and times are reported in. Echoes the requested timezone.
    pub timezone: f64,
    /// All sign change events during the month, sorted chronologically. Moon changes sign roughly every 2.25 days, Sun once a month, slow planets less frequently.
    #[serde(rename = "transitEvents")]
    pub transit_events: Vec<GetMonthlyTransitsResponseTransitEventsItem>,
    /// Year of the monthly transit analysis. Echoes the year that was requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `transitEvents`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTransitsResponseTransitEventsItem {
    /// Date of the sign change (YYYY-MM-DD). Adjusted to requested timezone.
    pub date: String,
    /// Full datetime of the sign change. Adjusted to requested timezone.
    pub datetime: String,
    /// Zodiac sign the planet is leaving (previous rashi). Always English. Use fromSignLocalized for anything a reader sees.
    #[serde(rename = "fromSign")]
    pub from_sign: String,
    /// Name of the sign being left, in the requested language, for display. Present only when lang is set to a language other than English.
    #[serde(rename = "fromSignLocalized", skip_serializing_if = "Option::is_none")]
    pub from_sign_localized: Option<String>,
    /// Whether the planet is in retrograde motion (vakri) at the time of sign change. A retrograde ingress means the planet is moving backward into the previous sign, which carries different astrological significance than a direct (forward) ingress. Rahu and Ketu are always retrograde.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Planet that changes sign (rashi) during this month. One of the Navagraha: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Planet name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat planet exactly.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Time of the sign change (HH:MM, 24-hour). Adjusted to requested timezone. Precise to ~1 minute via binary search.
    pub time: String,
    /// Zodiac sign the planet is entering (new rashi transit). Always English. Use toSignLocalized for anything a reader sees.
    #[serde(rename = "toSign")]
    pub to_sign: String,
    /// Name of the sign being entered, in the requested language, for display. Present only when lang is set to a language other than English.
    #[serde(rename = "toSignLocalized", skip_serializing_if = "Option::is_none")]
    pub to_sign_localized: Option<String>,
}
/// One entry of `startingPositions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyTransitsResponseStartingPositionsItem {
    /// Sidereal longitude at the start of the month.
    pub longitude: f64,
    /// Planet (graha) name. One of the 9 Navagraha used in Vedic transit (Gochar) analysis. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Planet name in the requested language, for display. Present only when lang is set to a language other than English.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Zodiac sign (rashi) the planet occupies at the start of the month. Always English. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display. Present only when lang is set to a language other than English.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Request body of `getMonthlyTransits`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTransitsRequest {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    #[serde(rename = "coordinateSystem", skip_serializing_if = "Option::is_none")]
    pub coordinate_system: Option<GetMonthlyTransitsRequestCoordinateSystem>,
    /// Month number (1-12) for transit analysis. Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetMonthlyTransitsRequestTimezone>,
    /// Year for monthly transit analysis (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetMonthlyTransitsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    GetMonthlyTransitsRequestCoordinateSystem {
        Sidereal = "sidereal",
        Tropical = "tropical",
    }
}
/// Path and query parameters of `getMonthlyTransits`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTransitsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyTransitsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyTransitsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyParallels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyParallelsResponse {
    /// All parallel and contraparallel events detected during the month, sorted chronologically.
    pub events: Vec<GetMonthlyParallelsResponseEventsItem>,
    /// Month of the parallel analysis. Echoes the month that was requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Year of the parallel analysis. Echoes the year that was requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyParallelsResponseEventsItem {
    /// Date of closest declination match (YYYY-MM-DD). Adjusted to requested timezone.
    pub date: String,
    /// Full datetime of closest declination match. Adjusted to requested timezone.
    pub datetime: String,
    /// Declination of the first planet in degrees.
    pub dec1: f64,
    /// Declination of the second planet in degrees.
    pub dec2: f64,
    /// Declination difference from exact parallel/contraparallel in degrees. Smaller = stronger.
    pub orb: f64,
    /// First planet in the parallel or contraparallel pair. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planet1Localized for anything a reader sees.
    pub planet1: String,
    /// First planet name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat planet1 exactly.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Second planet in the pair. Always English, whatever the lang parameter says. Use planet2Localized for anything a reader sees.
    pub planet2: String,
    /// Second planet name in the requested language, for display. Present only when lang is set to a language other than English.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Time of closest declination match (HH:MM, 24-hour). Adjusted to requested timezone.
    pub time: String,
    /// Parallel = same declination (acts like conjunction in strength). Contraparallel = opposite declination (acts like opposition).
    pub r#type: GetMonthlyParallelsResponseEventsItemType,
}
string_enum! {
    /// Parallel = same declination (acts like conjunction in strength). Contraparallel = opposite declination (acts like opposition).
    GetMonthlyParallelsResponseEventsItemType {
        Parallel = "parallel",
        Contraparallel = "contraparallel",
    }
}
/// Request body of `getMonthlyParallels`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyParallelsRequest {
    /// Month number (1-12) for parallel analysis. Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetMonthlyParallelsRequestTimezone>,
    /// Year for monthly parallel analysis (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetMonthlyParallelsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `getMonthlyParallels`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyParallelsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyParallelsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyParallelsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyHoroscopeResponse {
    /// The single actionable takeaway from the leading event of the period, read into the whole-sign houses of this sign and checkable against the events array. Drawn from the same event as overview, kept to a short, actionable pair of sentences rather than grown to match the other sections. Deterministic: the same sign and period always returns the same text.
    pub advice: String,
    /// Monthly career and professional outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to career, work and reputation, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries career, work and reputation, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 120 to 200 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub career: String,
    /// The full column for this period, ready to run as one piece, with paragraphs separated by a blank line. Names the events driving it and the dates they fall on, read into the whole-sign houses of this sign. Typically 400 to 700 words. The six section fields read the same ranked events filtered to their own life area, each composed as a column of its own rather than an excerpt of this one, so render either shape and never both. Deterministic: the same sign and period always returns the same column.
    pub column: String,
    /// Most compatible zodiac signs for this sign. Trine partners (same element) followed by a sextile partner (complementary element).
    #[serde(rename = "compatibleSigns")]
    pub compatible_signs: Vec<String>,
    /// The dated astronomical events this reading is built on, earliest first. Every field in every row can be checked against an independent authority, so a column can be fact-checked before it is published. Empty on a period in which nothing exact happens, where the reading falls back to the standing positions instead.
    pub events: Vec<GetMonthlyHoroscopeResponseEventsItem>,
    /// Monthly financial outlook and guidance, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to finance, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries finance, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 120 to 200 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub finance: String,
    /// Monthly health and wellness guidance, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to health, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries health, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 120 to 200 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub health: String,
    /// The dates to circle this month, earliest first: every lunation and eclipse of the month, plus the headline movements the reading is built on, which are the sign changes of the slower planets and every station with the direction it turns. Each is placed in the whole-sign house it reaches for this sign. Every row is an instant the ephemeris gives, checkable against NASA JPL Horizons or the US Naval Observatory, and every row that is not a lunation or an eclipse is also a row of events\[\], so the list cannot contradict the reading beside it.
    #[serde(rename = "keyDates")]
    pub key_dates: Vec<GetMonthlyHoroscopeResponseKeyDatesItem>,
    /// Monthly love and relationship forecast, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to romance and partnership, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries romance and partnership, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 120 to 200 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub love: String,
    /// Lucky color for the month, drawn from the three colors of the sign element and selected by the planet governing the reading.
    #[serde(rename = "luckyColor")]
    pub lucky_color: String,
    /// Four lucky numbers for the month, each 1 to 9 and all distinct, from the traditional planetary number correspondence applied to the four planets that govern this sign this month.
    #[serde(rename = "luckyNumbers")]
    pub lucky_numbers: Vec<f64>,
    /// Month of this forecast (YYYY-MM).
    pub month: String,
    /// The single most relevant event of the period, whichever life area it touches, read into the whole-sign houses of this sign. The same event that leads column, at lede length rather than developed into a full movement, and checkable against the events array. Typically 55 to 100 words. Join it with love, career, health and finance for a general reading built from the six sections. Deterministic: the same sign and period always returns the same text.
    pub overview: String,
    /// Zodiac sign for this horoscope.
    pub sign: String,
    /// The month read one calendar week at a time, off the same ranked events as column and events\[\]: the life area each week turns on, and the one thing that area asks for. Two weeks may land in the same area, because two events of a month often do; the sentence beside it is always different. Use it for the week strip of a monthly page.
    #[serde(rename = "weekByWeek")]
    pub week_by_week: Vec<GetMonthlyHoroscopeResponseWeekByWeekItem>,
}
/// One entry of `weekByWeek`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyHoroscopeResponseWeekByWeekItem {
    /// What that house asks for, as one sentence in the requested language. No two weeks of one month repeat a sentence.
    pub advice: String,
    /// The life area the week turns on, in the requested language: the theme of the whole-sign house holding the strongest event the reading names inside that week, or of the strongest standing placement where the week holds no dated event. Same values as the life areas of the yearly key periods.
    pub focus: String,
    /// Position of the week inside the month, 1 first. The rows are calendar weeks, Monday to Sunday, clipped to the month at each end, so a month carries four, five or six of them. Row N is therefore the same week the weekly forecast covers, which is what lets a monthly page link straight into it.
    pub week: f64,
}
/// One entry of `keyDates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyHoroscopeResponseKeyDatesItem {
    /// UTC date of the event (YYYY-MM-DD). The exact instant, to the second, is on the matching row of events\[\].
    pub date: String,
    /// The event as one sentence in the requested language, placed in the whole-sign house it reaches for this sign.
    pub event: String,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyHoroscopeResponseEventsItem {
    /// Angle formed, on aspect events only: conjunction, sextile, square, trine, opposition, semi-sextile, quincunx, semi-square, or sesquiquadrate.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Exact instant the event perfects, UTC, to the second. Verifiable against NASA JPL Horizons for a position event and against the US Naval Observatory for a lunar phase or eclipse.
    pub at: String,
    /// Bodies involved, canonical English regardless of the requested language so the value stays safe to switch on. Two entries for an aspect, faster body first. One entry for an ingress, a station, a lunar phase, or an eclipse.
    pub bodies: Vec<String>,
    /// Whole-sign house the event falls in, counted from the queried sign, 1 to 12. This is what turns one global sky event into a statement about this reader.
    pub house: i64,
    /// Sign the event falls in, lowercase, where it has exactly one. Absent for an aspect whose two bodies stand in different signs.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sign: Option<String>,
    /// End of the window this event holds open, UTC, given only where a bounded window is a real fact about it: the orb span of an aspect, the sign span of an ingress or a season, the retrograde span of a station. Absent for a lunar phase or an eclipse, which are instants and not spans.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub through: Option<String>,
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    pub r#type: GetMonthlyHoroscopeResponseEventsItemType,
}
string_enum! {
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    GetMonthlyHoroscopeResponseEventsItemType {
        Aspect = "aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        LunarPhase = "lunar-phase",
        Eclipse = "eclipse",
        SolarSeason = "solar-season",
    }
}
/// Path and query parameters of `getMonthlyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyHoroscopeParams {
    /// Any date inside the target month, in YYYY-MM-DD format. The forecast covers the whole calendar month containing it. Defaults to the current period in the timezone parameter.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyHoroscopeParamsLang>,
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    pub sign: GetMonthlyHoroscopeParamsSign,
    /// Selects which period counts as current when date is omitted. Defaults to UTC, so the forecast rolls over at 00:00 UTC on the 1st. Pass the timezone of the end user to roll over on their local clock instead. Ignored when date is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
string_enum! {
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    GetMonthlyHoroscopeParamsSign {
        Aries = "aries",
        Taurus = "taurus",
        Gemini = "gemini",
        Cancer = "cancer",
        Leo = "leo",
        Virgo = "virgo",
        Libra = "libra",
        Scorpio = "scorpio",
        Sagittarius = "sagittarius",
        Capricorn = "capricorn",
        Aquarius = "aquarius",
        Pisces = "pisces",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyHoroscopeParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyFlyingStars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyFlyingStarsResponse {
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    #[serde(rename = "centerStar")]
    pub center_star: f64,
    /// Solar month of the plate, 1 to 12, where 1 is the month that begins at Li Chun in early February. Echoes the month requested, or the solar month in progress when it was omitted.
    pub month: f64,
    /// All nine palaces of the monthly plate, centre first and then along the Lo Shu path.
    pub palaces: Vec<GetMonthlyFlyingStarsResponsePalacesItem>,
    /// Solar year of the plate. Echoes the year requested, or the solar year in progress when it was omitted.
    pub year: f64,
    /// Earthly Branch of the solar year, which decides where the monthly sequence starts. Rat, Horse, Rabbit and Rooster years open on 8; Dragon, Dog, Ox and Goat years on 5; Tiger, Monkey, Snake and Pig years on 2.
    #[serde(rename = "yearBranch")]
    pub year_branch: String,
}
/// One entry of `palaces`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyFlyingStarsResponsePalacesItem {
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub enhancer: String,
    /// What the star does in the sector it has flown to this period.
    pub meaning: String,
    /// Display name of the star in this palace. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Star name in the requested language, for display only. Present only when lang is set to a language other than English.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// The untimely reading of the star, auspicious or inauspicious.
    pub nature: String,
    /// Palace of the Lo Shu grid: one of the eight compass sectors, or Center. Always English, safe to compare against and to key a grid cell on.
    pub palace: String,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub remedy: String,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub star: f64,
}
/// Path and query parameters of `getMonthlyFlyingStars`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyFlyingStarsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyFlyingStarsParamsLang>,
    /// Solar month, 1 to 12, where 1 begins at Li Chun in early February. This is NOT the calendar month: solar month 1 covers roughly 4 February to 5 March. Defaults to the solar month in progress.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Solar year, 1900 to 2100. Defaults to the solar year in progress, which changes at Li Chun rather than on 1 January.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyFlyingStarsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyEphemeris`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyEphemerisResponse {
    /// Daily planetary position entries for the entire month.
    pub days: Vec<GetMonthlyEphemerisResponseDaysItem>,
    /// Month of the ephemeris. Echoes the month that was requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Year of the ephemeris. Echoes the year that was requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `days`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyEphemerisResponseDaysItem {
    /// Date in YYYY-MM-DD format.
    pub date: String,
    /// Sidereal positions of all 9 Vedic planets on this date at noon UTC.
    pub positions: Vec<GetMonthlyEphemerisResponseDaysItemPositionsItem>,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyEphemerisResponseDaysItemPositionsItem {
    /// Degrees traversed within the current sign (0-30). Useful for precise transit tracking.
    #[serde(rename = "degreeInSign")]
    pub degree_in_sign: f64,
    /// Whether the planet is in retrograde motion (vakri) on this date.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Sidereal ecliptic longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// Planet name, one of the Navagraha (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu). Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Planet name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat planet exactly. Rahu and Ketu are rendered as the lunar nodes they are, so Spanish returns Nodo Norte and Nodo Sur while Hindi returns their Sanskrit names.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Zodiac sign (rashi) the planet occupies on this date. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat sign exactly.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Request body of `getMonthlyEphemeris`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyEphemerisRequest {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    #[serde(rename = "coordinateSystem", skip_serializing_if = "Option::is_none")]
    pub coordinate_system: Option<GetMonthlyEphemerisRequestCoordinateSystem>,
    /// Month number (1-12) for ephemeris. Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Year for monthly ephemeris (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
string_enum! {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    GetMonthlyEphemerisRequestCoordinateSystem {
        Sidereal = "sidereal",
        Tropical = "tropical",
    }
}
/// Path and query parameters of `getMonthlyEphemeris`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyEphemerisParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyEphemerisParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyEphemerisParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyDeclinationParallels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyDeclinationParallelsResponse {
    /// Every declination contact in the month, in chronological order across all body pairs.
    pub events: Vec<GetMonthlyDeclinationParallelsResponseEventsItem>,
    /// Month of the calendar. Echoes the month requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Orb in degrees that was applied. Echoes the request.
    pub orb: f64,
    /// Timezone the event dates and times are reported in. Echoes the request.
    pub timezone: f64,
    /// Year of the calendar. Echoes the year requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyDeclinationParallelsResponseEventsItem {
    /// Date the contact is closest to exact, in the requested timezone (YYYY-MM-DD).
    pub date: String,
    /// Combined timestamp of closest approach, in the requested timezone.
    pub datetime: String,
    /// Geocentric declination of the first body at the reported instant, in degrees. Positive is north of the celestial equator, negative south.
    pub declination1: f64,
    /// Geocentric declination of the second body at the reported instant, in degrees.
    pub declination2: f64,
    /// Distance from exact in degrees at the reported instant. Effectively zero for a contact that perfects inside the month, and larger only where the pair turns before reaching exact.
    pub orb: f64,
    /// First body in the contact. Always canonical English whatever the lang parameter says, so it stays safe to compare against in code. Use planet1Localized for anything a reader sees.
    pub planet1: String,
    /// First body in the requested language. Present only when lang is supplied.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Second body in the contact. Always canonical English.
    pub planet2: String,
    /// Second body in the requested language. Present only when lang is supplied.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Time the contact is closest to exact, in the requested timezone (HH:MM).
    pub time: String,
    /// parallel means both bodies stand at the same declination, the same distance north or south of the celestial equator, and reads much like a conjunction. contraparallel means equal and opposite declinations, one as far north as the other is south, and reads much like an opposition. Neither depends on how far apart the two bodies are along the zodiac, which is what makes them worth tracking alongside ordinary aspects.
    pub r#type: GetMonthlyDeclinationParallelsResponseEventsItemType,
}
string_enum! {
    /// parallel means both bodies stand at the same declination, the same distance north or south of the celestial equator, and reads much like a conjunction. contraparallel means equal and opposite declinations, one as far north as the other is south, and reads much like an opposition. Neither depends on how far apart the two bodies are along the zodiac, which is what makes them worth tracking alongside ordinary aspects.
    GetMonthlyDeclinationParallelsResponseEventsItemType {
        Parallel = "parallel",
        Contraparallel = "contraparallel",
    }
}
/// Request body of `getMonthlyDeclinationParallels`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyDeclinationParallelsRequest {
    /// Month number (1-12). Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetMonthlyDeclinationParallelsRequestNodeType>,
    /// How far from exact still counts, in degrees. The traditional orb for a declination contact is tighter than for a zodiacal aspect because declination changes slowly. Defaults to 1.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub orb: Option<f64>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Event dates and times are reported in this zone, which is what makes a published calendar read correctly for its audience. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetMonthlyDeclinationParallelsRequestTimezone>,
    /// Year for the declination calendar (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Event dates and times are reported in this zone, which is what makes a published calendar read correctly for its audience. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetMonthlyDeclinationParallelsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GetMonthlyDeclinationParallelsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `getMonthlyDeclinationParallels`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyDeclinationParallelsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyDeclinationParallelsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyDeclinationParallelsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAspectsResponse {
    /// All planetary aspect events detected during the month, sorted chronologically by closest approach date.
    pub events: Vec<GetMonthlyAspectsResponseEventsItem>,
    /// Month of the aspect analysis. Echoes the month that was requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Timezone offset from UTC in hours that the event dates and times are reported in. Echoes the requested timezone.
    pub timezone: f64,
    /// Year of the aspect analysis. Echoes the year that was requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAspectsResponseEventsItem {
    /// Aspect type. major: conjunction (0 deg), opposition (180 deg), trine (120 deg), square (90 deg), sextile (60 deg). Minor: vigintile (18 deg), semi-sextile (30 deg), undecile (32.73 deg), semi-quintile (36 deg), novile (40 deg), semi-square (45 deg), septile (51.43 deg), quintile (72 deg), binovile (80 deg), centile (100 deg), biseptile (102.86 deg), tredecile (108 deg), sesqui-square (135 deg), bi-quintile (144 deg), quincunx (150 deg), triseptile (154.29 deg), quadranovile (160 deg).
    pub aspect: String,
    /// Date when the aspect is closest to exact (YYYY-MM-DD). Adjusted to requested timezone.
    pub date: String,
    /// Full datetime when aspect is closest to exact. Adjusted to requested timezone.
    pub datetime: String,
    /// Actual angular distance between the two planets in degrees at closest approach.
    pub distance: f64,
    /// Angular distance from exact aspect in degrees at closest approach. Smaller orb indicates a more powerful aspect.
    pub orb: f64,
    /// First planet forming the aspect. One of the Navagraha, Sun through Ketu. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planet1Localized for anything a reader sees.
    pub planet1: String,
    /// First planet name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat planet1 exactly.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Sidereal longitude of the first planet at time of aspect (Lahiri ayanamsa).
    #[serde(rename = "planet1Longitude")]
    pub planet1_longitude: f64,
    /// Second planet forming the aspect. Always English, whatever the lang parameter says. Use planet2Localized for anything a reader sees.
    pub planet2: String,
    /// Second planet name in the requested language, for display. Present only when lang is set to a language other than English.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Sidereal longitude of the second planet at time of aspect.
    #[serde(rename = "planet2Longitude")]
    pub planet2_longitude: f64,
    /// Time when the aspect is closest to exact (HH:MM, 24-hour). Adjusted to requested timezone.
    pub time: String,
}
/// Request body of `getMonthlyAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyAspectsRequest {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    #[serde(rename = "coordinateSystem", skip_serializing_if = "Option::is_none")]
    pub coordinate_system: Option<GetMonthlyAspectsRequestCoordinateSystem>,
    /// Month number (1-12). Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetMonthlyAspectsRequestTimezone>,
    /// Year for monthly analysis (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetMonthlyAspectsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    GetMonthlyAspectsRequestCoordinateSystem {
        Sidereal = "sidereal",
        Tropical = "tropical",
    }
}
/// Path and query parameters of `getMonthlyAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyAspectsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyAspectsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyAspectsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMonthlyAlmanac`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponse {
    /// Every day of the month, in order.
    pub days: Vec<GetMonthlyAlmanacResponseDaysItem>,
    /// Month returned, 1 to 12. Echoes the month requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// The `solarTerms` field.
    #[serde(rename = "solarTerms")]
    pub solar_terms: Vec<GetMonthlyAlmanacResponseSolarTermsItem>,
    /// Number of days in the month.
    pub total: f64,
    /// Year of the month returned. Echoes the year requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `solarTerms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseSolarTermsItem {
    /// Date the term falls on at the reference meridian.
    pub date: String,
    /// Solar term identifier in kebab case pinyin.
    pub id: String,
    /// The exact instant of the term, in UTC.
    #[serde(rename = "instantUtc")]
    pub instant_utc: String,
    /// Display name of the term.
    pub name: String,
    /// Either minor or major. A minor term inside the month is where the month pillar changes and where the day officer repeats for a day.
    pub r#type: String,
}
/// One entry of `days`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseDaysItem {
    /// Activity identifiers, always English kebab case so they stay safe to compare against in code. Use the /calendar/auspicious-days endpoint to search a date range for one of them.
    pub avoids: Vec<String>,
    /// The zodiac animal the day clashes with, which is the animal six branches away from the day branch. Anyone born in that animal year traditionally avoids the day for anything important.
    #[serde(rename = "clashAnimal")]
    pub clash_animal: String,
    /// Display name of the clashing animal in the requested language. Absent when lang is en, so an English response is unchanged.
    #[serde(rename = "clashAnimalLocalized", skip_serializing_if = "Option::is_none")]
    pub clash_animal_localized: Option<String>,
    /// The Gregorian date of the day, at the reference meridian.
    pub date: String,
    /// The `dayOfficer` field.
    #[serde(rename = "dayOfficer")]
    pub day_officer: GetMonthlyAlmanacResponseDaysItemDayOfficer,
    /// The `dayPillar` field.
    #[serde(rename = "dayPillar")]
    pub day_pillar: GetMonthlyAlmanacResponseDaysItemDayPillar,
    /// Activity identifiers, always English kebab case so they stay safe to compare against in code. Use the /calendar/auspicious-days endpoint to search a date range for one of them.
    pub favours: Vec<String>,
    /// The `lunar` field.
    pub lunar: GetMonthlyAlmanacResponseDaysItemLunar,
    /// The `mansion` field.
    pub mansion: GetMonthlyAlmanacResponseDaysItemMansion,
    /// Sexagenary month pillar of the day, and the pillar the day officer is counted from. Attributed by whole days like the year pillar, so the day a minor solar term falls on belongs to the new month even when the term arrives late in the evening. This is what an almanac prints, and it is not the same as the month pillar of a birth moment inside that day.
    #[serde(rename = "monthPillar")]
    pub month_pillar: GetMonthlyAlmanacResponseDaysItemMonthPillar,
    /// Sexagenary year pillar of the day. Attributed by whole days, so the day Li Chun falls on belongs to the new year for its whole length. A BaZi chart built from a birth TIME uses the term instant instead, so a birth in the hours before the term on that same day carries the previous year pillar.
    #[serde(rename = "yearPillar")]
    pub year_pillar: GetMonthlyAlmanacResponseDaysItemYearPillar,
}
/// Sexagenary year pillar of the day. Attributed by whole days, so the day Li Chun falls on belongs to the new year for its whole length. A BaZi chart built from a birth TIME uses the term instant instead, so a birth in the hours before the term on that same day carries the previous year pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseDaysItemYearPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// Sexagenary month pillar of the day, and the pillar the day officer is counted from. Attributed by whole days like the year pillar, so the day a minor solar term falls on belongs to the new month even when the term arrives late in the evening. This is what an almanac prints, and it is not the same as the month pillar of a birth moment inside that day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseDaysItemMonthPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// The `mansion` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseDaysItemMansion {
    /// Animal emblem of the mansion, the third character of its full Chinese name. English and canonical, identical in every language, matching how clashAnimal behaves on the same response. The translation is in animalLocalized.
    pub animal: String,
    /// Animal emblem in the requested language. Absent when lang is en, and absent when a language has no entry, so a caller falls back to animal.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The mansion in Chinese. A data field, identical in every language.
    pub chinese: String,
    /// English display name of the mansion. Canonical, identical in every language. The translation is in nameLocalized. Note the mansion has no string id: number is the stable 1 to 28 key, because five of the 28 share a pinyin spelling.
    pub name: String,
    /// Display name of the mansion in the requested language. Absent when lang is en, and absent when a language has no entry for this mansion, so a caller falls back to name rather than rendering a blank.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Mansion number, 1 to 28, counted from the Horn. This is the identifier: three mansions share the pinyin wei and two share bi, so there is no unique pinyin key.
    pub number: f64,
    /// One of the four palaces, seven mansions each: azure-dragon, black-tortoise, white-tiger, vermilion-bird. Always English, so it stays safe to compare against in code.
    pub palace: String,
    /// Tone marked pinyin for the character.
    pub pinyin: String,
    /// The luminary the mansion belongs to, one of Wood Metal Earth Sun Moon Fire Water. Twenty eight mansions over seven luminaries is four weeks exactly, which is why a mansion always falls on the same weekday.
    pub planet: String,
}
/// The `lunar` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseDaysItemLunar {
    /// The Gregorian date this lunar day covers, evaluated at the reference meridian.
    pub date: String,
    /// Day of the lunar month, 1 to 30. A lunar month never has 31 days.
    pub day: f64,
    /// True when this is the leap repetition of the month number rather than the first pass through it.
    #[serde(rename = "isLeapMonth")]
    pub is_leap_month: bool,
    /// Lunar month, 1 to 12. A leap month repeats the number of the month it follows.
    pub month: f64,
    /// Days in this lunar month, 29 for a short month or 30 for a long one. It is the interval between two new moons, so it varies month to month.
    #[serde(rename = "monthLength")]
    pub month_length: f64,
    /// Lunisolar year. It advances on the first day of month 1, not at Li Chun, so it can lag the Gregorian year by up to seven weeks.
    pub year: f64,
}
/// The `dayPillar` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseDaysItemDayPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// The `dayOfficer` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacResponseDaysItemDayOfficer {
    /// The officer in Chinese. A data field, identical in every language.
    pub chinese: String,
    /// Day officer identifier, one of jian chu man ping ding zhi po wei cheng shou kai bi. Always English pinyin, so it stays safe to compare against in code.
    pub id: String,
    /// What the officer means, in the terms a date choice uses it in.
    pub meaning: String,
    /// English display name of the officer. Canonical, identical in every language, so it stays safe to compare against in code. The translation is in nameLocalized.
    pub name: String,
    /// Display name of the officer in the requested language. Absent when lang is en, so an English response is unchanged.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone marked pinyin for the character.
    pub pinyin: String,
    /// Whether the officer falls on the auspicious or the inauspicious side of the coarse yellow and black split. Read favours and avoids for what the day actually rules on.
    pub quality: String,
}
/// Path and query parameters of `getMonthlyAlmanac`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyAlmanacParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMonthlyAlmanacParamsLang>,
    /// Gregorian month, 1 to 12. Defaults to the current UTC month when omitted, together with year.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Gregorian year, 1900 to 2100. Defaults to the current UTC year when omitted, together with month.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMonthlyAlmanacParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getMayanDaySign`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMayanDaySignResponse {
    /// Where the same temperament costs the sign something. Each one is the shadow of a strength above rather than an unrelated flaw.
    pub challenges: Vec<String>,
    /// Colour paired with the direction: red for east, white for north, black for west, yellow for south. Always English so it stays safe to key a palette off.
    pub color: String,
    /// The conventions this profile was served under.
    pub conventions: GetMayanDaySignResponseConventions,
    /// World direction this sign belongs to under the requested scheme: east, north, west or south. The twenty signs divide evenly into four groups of five, so exactly five signs share each quarter.
    pub direction: String,
    /// The world direction in prose, followed by a line naming which of the two published readings produced it. The two sit one quarter turn apart on all twenty signs.
    #[serde(rename = "directionReading")]
    pub direction_reading: String,
    /// What the sign is about, as a clause rather than a sentence, because it is spliced into composed prose elsewhere in the API. Translated in place.
    pub essence: String,
    /// The short day-name association, translated in place because it is a common noun rather than a name. Two published readings of the twenty signs disagree on six of them, so the alternate reading ships beside this one rather than one being resolved away.
    pub gloss: String,
    /// The glyph-table reading of the same sign, translated in place. On the six signs where the two readings disagree this is the one the composed prose follows, so a reading that seems to ignore the gloss above is doing so deliberately.
    #[serde(rename = "glossAlternate")]
    pub gloss_alternate: String,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// Machine identifier of the day sign, always lowercase ASCII Yucatec whatever the lang parameter says, so it stays safe to compare against in code and to use as a path parameter. The twenty ids run imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    pub id: String,
    /// The sign in one composed sentence: both names, what it is about and the glyph reading behind it.
    pub keynote: String,
    /// The sixteenth century Yucatec spelling of the same sign, which is the form most printed reference tables and older books use.
    #[serde(rename = "nameClassic")]
    pub name_classic: String,
    /// The Kʼicheʼ name from the living highland daykeeping tradition, which is the vocabulary a nawal reading in Guatemala uses. A parallel naming tradition rather than a translation, so it is identical under every lang.
    #[serde(rename = "nameKiche")]
    pub name_kiche: String,
    /// Display name in the standard Maya orthography, where an ejective is written with a modifier letter rather than a typewriter quote. A proper noun carried as data, identical under every lang.
    #[serde(rename = "nameYucatec")]
    pub name_yucatec: String,
    /// Place in the twenty sign sequence, 1 to 20, counting Imix as 1. The sequence never varies and is what every other cycle in the domain is indexed against.
    pub position: f64,
    /// What the sign does well, as full sentences rather than keywords.
    pub strengths: Vec<String>,
    /// The thirteen day period this sign opens. Composed from the sign rather than stored, so the two can never disagree.
    pub trecena: GetMayanDaySignResponseTrecena,
}
/// The thirteen day period this sign opens. Composed from the sign rather than stored, so the two can never disagree.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMayanDaySignResponseTrecena {
    /// The trecena this sign opens, 1 to 20. Every sign opens exactly one trecena, because 13 and 20 share no factor.
    pub number: f64,
    /// The composed reading of the thirteen day period this sign opens.
    pub reading: String,
}
/// The conventions this profile was served under.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMayanDaySignResponseConventions {
    /// The direction reading actually applied. The two readings sit one quarter turn apart, so a direction stored without this value is ambiguous.
    #[serde(rename = "directionScheme")]
    pub direction_scheme: String,
}
/// Path and query parameters of `getMayanDaySign`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMayanDaySignParams {
    /// Which reading of the world direction and colour to serve for a day sign. The two published assignments differ by exactly one quarter turn on all twenty signs, so neither is a rounding of the other and a silent pick would be a school choice. "madrid-codex" is the codex reading and the default; "landa" is the sixteenth century assignment recorded beside it.
    #[serde(rename = "directionScheme", skip_serializing_if = "Option::is_none")]
    pub direction_scheme: Option<GetMayanDaySignParamsDirectionScheme>,
    /// Day sign id, case-insensitive and punctuation-insensitive. One of imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    pub id: GetMayanDaySignParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMayanDaySignParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMayanDaySignParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Day sign id, case-insensitive and punctuation-insensitive. One of imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    GetMayanDaySignParamsId {
        Imix = "imix",
        Ik = "ik",
        Akbal = "akbal",
        Kan = "kan",
        Chikchan = "chikchan",
        Kimi = "kimi",
        Manik = "manik",
        Lamat = "lamat",
        Muluk = "muluk",
        Ok = "ok",
        Chuwen = "chuwen",
        Eb = "eb",
        Ben = "ben",
        Ix = "ix",
        Men = "men",
        Kib = "kib",
        Kaban = "kaban",
        Etznab = "etznab",
        Kawak = "kawak",
        Ajaw = "ajaw",
    }
}
string_enum! {
    /// Which reading of the world direction and colour to serve for a day sign. The two published assignments differ by exactly one quarter turn on all twenty signs, so neither is a rounding of the other and a silent pick would be a school choice. "madrid-codex" is the codex reading and the default; "landa" is the sixteenth century assignment recorded beside it.
    GetMayanDaySignParamsDirectionScheme {
        MadridCodex = "madrid-codex",
        Landa = "landa",
    }
}
/// Response body of `getMajorDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasResponse {
    /// Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
    pub ayanamsa: f64,
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: GetMajorDashasResponseAyanamsaType,
    /// Remaining balance of the first Mahadasha at birth. Based on Moon degree within the birth nakshatra. partial dasha already elapsed before birth.
    #[serde(rename = "birthDashaBalance")]
    pub birth_dasha_balance: GetMajorDashasResponseBirthDashaBalance,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetMajorDashasResponseFocus>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes", skip_serializing_if = "Option::is_none")]
    pub house_themes: Option<GetMajorDashasResponseHouseThemes>,
    /// Complete sequence of all 9 Mahadasha periods spanning 120 years from birth. Follows the Vimshottari order: Ketu(7), Venus(20), Sun(6), Moon(10), Mars(7), Rahu(18), Jupiter(16), Saturn(19), Mercury(17).
    pub mahadashas: Vec<GetMajorDashasResponseMahadashasItem>,
    /// Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
    /// Birth Moon nakshatra number (1-27) that determines the Vimshottari starting point.
    #[serde(rename = "moonNakshatra")]
    pub moon_nakshatra: i64,
    /// Dasha lord of the birth nakshatra, rules the first Mahadasha.
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: GetMajorDashasResponseNakshatraLord,
    /// Birth Moon nakshatra name, one of 27 Vedic lunar mansions.
    #[serde(rename = "nakshatraName")]
    pub nakshatra_name: String,
    /// Total Vimshottari cycle length in years (always 120).
    #[serde(rename = "totalYears")]
    pub total_years: f64,
}
string_enum! {
    /// Dasha lord of the birth nakshatra, rules the first Mahadasha.
    GetMajorDashasResponseNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Mahadasha (major planetary period) in the 120-year Vimshottari dasha cycle. Start and end dates are determined by Moon nakshatra at birth.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasResponseMahadashasItem {
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetMajorDashasResponseMahadashasItemPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetMajorDashasResponseMahadashasItemSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasResponseMahadashasItemSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetMajorDashasResponseMahadashasItemSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetMajorDashasResponseMahadashasItemSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasResponseMahadashasItemSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetMajorDashasResponseMahadashasItemSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetMajorDashasResponseMahadashasItemSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetMajorDashasResponseMahadashasItemSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetMajorDashasResponseMahadashasItemSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasResponseMahadashasItemSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetMajorDashasResponseMahadashasItemPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    GetMajorDashasResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Remaining balance of the first Mahadasha at birth. Based on Moon degree within the birth nakshatra. partial dasha already elapsed before birth.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasResponseBirthDashaBalance {
    /// Additional days remaining beyond full months.
    pub days: f64,
    /// Additional months remaining beyond full years.
    pub months: f64,
    /// Total remaining days in this dasha period. Useful for progress calculations.
    #[serde(rename = "totalDays")]
    pub total_days: f64,
    /// Full years remaining in this Vimshottari dasha period.
    pub years: f64,
}
string_enum! {
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    GetMajorDashasResponseAyanamsaType {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Request body of `getMajorDashas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetMajorDashasRequest {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<GetMajorDashasRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetMajorDashasRequestNodeType>,
    /// Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<bool>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetMajorDashasRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetMajorDashasRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    GetMajorDashasRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    GetMajorDashasRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `getMajorDashas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMajorDashasParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetMajorDashasParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetMajorDashasParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetMajorDashasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetMajorDashasParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `getLunarAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetLunarAspectsResponse {
    /// All Moon aspect events during the month, sorted chronologically. Moon completes one full cycle in approximately 27 days.
    pub events: Vec<GetLunarAspectsResponseEventsItem>,
    /// Month of the lunar aspect analysis. Echoes the month that was requested, or the current UTC month when it was omitted.
    pub month: f64,
    /// Timezone offset from UTC in hours that the event dates and times are reported in. Echoes the requested timezone.
    pub timezone: f64,
    /// Year of the lunar aspect analysis. Echoes the year that was requested, or the current UTC year when it was omitted.
    pub year: f64,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetLunarAspectsResponseEventsItem {
    /// Aspect type. major: conjunction, opposition, trine, square, sextile. Minor: vigintile, semi-sextile, undecile, semi-quintile, novile, semi-square, septile, quintile, binovile, centile, biseptile, tredecile, sesqui-square, bi-quintile, quincunx, triseptile, quadranovile.
    pub aspect: String,
    /// Date of closest approach for this lunar aspect (YYYY-MM-DD). Adjusted to requested timezone.
    pub date: String,
    /// Full datetime of closest approach. Adjusted to requested timezone.
    pub datetime: String,
    /// Actual angular distance between Moon and the aspected planet in degrees.
    pub distance: f64,
    /// Sidereal longitude of the Moon at the time of aspect (Lahiri ayanamsa).
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
    /// Angular distance from exact lunar aspect in degrees. Smaller orb = stronger Moon influence.
    pub orb: f64,
    /// Planet that the Moon forms an aspect with. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Planet name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat planet exactly.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Sidereal longitude of the aspected planet at the time of aspect.
    #[serde(rename = "planetLongitude")]
    pub planet_longitude: f64,
    /// Time of closest approach for this lunar aspect (HH:MM, 24-hour). Adjusted to requested timezone.
    pub time: String,
}
/// Request body of `getLunarAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetLunarAspectsRequest {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    #[serde(rename = "coordinateSystem", skip_serializing_if = "Option::is_none")]
    pub coordinate_system: Option<GetLunarAspectsRequestCoordinateSystem>,
    /// Month number (1-12). Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetLunarAspectsRequestTimezone>,
    /// Year for monthly analysis (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetLunarAspectsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    GetLunarAspectsRequestCoordinateSystem {
        Sidereal = "sidereal",
        Tropical = "tropical",
    }
}
/// Path and query parameters of `getLunarAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetLunarAspectsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetLunarAspectsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetLunarAspectsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getKuaNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetKuaNumberResponse {
    /// Life group, east or west. Always English, safe to compare against and to key styling on.
    pub group: String,
    /// Kua number, 1 to 9.
    pub number: f64,
    /// All eight sectors classified for this Kua, in compass order from North.
    pub sectors: Vec<GetKuaNumberResponseSectorsItem>,
    /// The `trigram` field.
    pub trigram: GetKuaNumberResponseTrigram,
}
/// The `trigram` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetKuaNumberResponseTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// One entry of `sectors`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetKuaNumberResponseSectorsItem {
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// The life domain this sector governs, in a few words, written in the requested language.
    pub domain: String,
    /// Whether the sector helps or harms: auspicious or inauspicious.
    pub nature: String,
    /// Order within its nature, 1 to 4. Among auspicious sectors 1 is the strongest; among inauspicious sectors 1 is the mildest and 4 the most serious, which is what tells you which affliction to accept when no favourable sector is reachable.
    pub rank: f64,
    /// Eight Mansions star for this sector, one of sheng-chi, tian-yi, yan-nian, fu-wei, huo-hai, wu-gui, liu-sha, jue-ming. Always English, safe to compare against and to key styling on.
    pub star: String,
    /// Display name of the star. Always English, whatever the lang parameter says. Use starNameLocalized for anything a reader sees.
    #[serde(rename = "starName")]
    pub star_name: String,
    /// Star name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat starName exactly. Never compare against this value.
    #[serde(rename = "starNameLocalized", skip_serializing_if = "Option::is_none")]
    pub star_name_localized: Option<String>,
}
/// Path and query parameters of `getKuaNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetKuaNumberParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetKuaNumberParamsLang>,
    /// Kua number, 1 to 9.
    pub number: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetKuaNumberParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `getKpRulingPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetKpRulingPlanetsRequest {
    /// Birth date (YYYY-MM-DD) to calculate significators. If provided with birthTime, response includes which houses each ruling planet signifies.
    #[serde(rename = "birthDate", skip_serializing_if = "Option::is_none")]
    pub birth_date: Option<String>,
    /// Birth time (HH:MM:SS) for significator calculation. Required if birthDate is provided.
    #[serde(rename = "birthTime", skip_serializing_if = "Option::is_none")]
    pub birth_time: Option<String>,
    /// ISO 8601 datetime (YYYY-MM-DDTHH:MM:SS) for ruling planets. Defaults to current time. Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub datetime: Option<String>,
    /// Observer latitude in decimal degrees
    pub latitude: f64,
    /// Observer longitude in decimal degrees
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetKpRulingPlanetsRequestNodeType>,
    /// Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC. IANA resolved to the DST-correct offset based on birthDate or datetime. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetKpRulingPlanetsRequestTimezone>,
}
/// Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC. IANA resolved to the DST-correct offset based on birthDate or datetime. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetKpRulingPlanetsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    GetKpRulingPlanetsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `getKpRulingPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetKpRulingPlanetsParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetKpRulingPlanetsParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetKpRulingPlanetsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetKpRulingPlanetsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetKpRulingPlanetsParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Request body of `getKpRulingInterval`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetKpRulingIntervalRequest {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<GetKpRulingIntervalRequestAyanamsa>,
    /// End of the interval range in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
    #[serde(rename = "endDatetime")]
    pub end_datetime: String,
    /// Interval between calculations in minutes (1-1440). Use 1-5 for birth time rectification.
    #[serde(rename = "intervalMinutes")]
    pub interval_minutes: i64,
    /// Observer latitude in decimal degrees
    pub latitude: f64,
    /// Observer longitude in decimal degrees
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetKpRulingIntervalRequestNodeType>,
    /// Start of the interval range in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
    #[serde(rename = "startDatetime")]
    pub start_datetime: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. When non-zero, all datetimes are treated as local time in this timezone (Z suffix is ignored). Output times are also converted to this timezone. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetKpRulingIntervalRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. When non-zero, all datetimes are treated as local time in this timezone (Z suffix is ignored). Output times are also converted to this timezone. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetKpRulingIntervalRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
    GetKpRulingIntervalRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
    GetKpRulingIntervalRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
    }
}
/// Path and query parameters of `getKpRulingInterval`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetKpRulingIntervalParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetKpRulingIntervalParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetKpRulingIntervalParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetKpRulingIntervalParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetKpRulingIntervalParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Path and query parameters of `getKpCusps`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetKpCuspsParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetKpCuspsParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetKpCuspsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetKpCuspsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetKpCuspsParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `getHora`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHoraResponse {
    /// Date for which hora periods were calculated.
    pub date: String,
    /// 12 daytime hora periods from sunrise to sunset. Duration varies by season.
    #[serde(rename = "dayHoras")]
    pub day_horas: Vec<GetHoraResponseDayHorasItem>,
    /// 12 nighttime hora periods from sunset to next sunrise. Duration varies by season.
    #[serde(rename = "nightHoras")]
    pub night_horas: Vec<GetHoraResponseNightHorasItem>,
}
/// One entry of `nightHoras`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHoraResponseNightHorasItem {
    /// End time of the hora period in ISO 8601 format.
    pub end: String,
    /// Hora period number within the day or night segment (1-12).
    pub number: f64,
    /// Ruling planet of this hora period. Follows the Chaldean planetary order: Sun, Venus, Mercury, Moon, Saturn, Jupiter, Mars.
    pub planet: String,
    /// Start time of the hora period in ISO 8601 format.
    pub start: String,
}
/// One entry of `dayHoras`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHoraResponseDayHorasItem {
    /// End time of the hora period in ISO 8601 format.
    pub end: String,
    /// Hora period number within the day or night segment (1-12).
    pub number: f64,
    /// Ruling planet of this hora period. Follows the Chaldean planetary order: Sun, Venus, Mercury, Moon, Saturn, Jupiter, Mars.
    pub planet: String,
    /// Start time of the hora period in ISO 8601 format.
    pub start: String,
}
/// Request body of `getHora`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHoraRequest {
    /// Date in YYYY-MM-DD format. A single-digit month or day is accepted and zero-padded (2026-3-5 becomes 2026-03-05). Impossible calendar dates are rejected. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
    pub date: String,
    /// Observer latitude in decimal degrees. Determines sunrise and sunset times which define day/night boundaries for muhurta calculations.
    pub latitude: f64,
    /// Observer longitude in decimal degrees. Affects local time calculations for sunrise, sunset, and muhurta period boundaries.
    pub longitude: f64,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Used for accurate sunrise/sunset calculation and output time formatting. Essential for correct Hora periods outside IST. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetHoraRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Used for accurate sunrise/sunset calculation and output time formatting. Essential for correct Hora periods outside IST. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetHoraRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `getHexagram`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHexagramParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetHexagramParamsLang>,
    /// Hexagram number in King Wen sequence (1-64).
    pub number: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetHexagramParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getHebrewLetter`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHebrewLetterResponse {
    /// The `attribution` field.
    pub attribution: GetHebrewLetterResponseAttribution,
    /// What the class means, in the requested language.
    #[serde(rename = "classReading")]
    pub class_reading: String,
    /// The word final glyph, or null for the seventeen letters that have none. Five letters change shape at the end of a word and score differently there under one reading of mispar gadol.
    pub r#final: Option<String>,
    /// Value in final position under the finals-500-900 reading of mispar gadol, or null where the letter has no final form.
    #[serde(rename = "finalValue")]
    pub final_value: Option<f64>,
    /// Machine identifier of the letter, always English romanization so it stays safe to compare against in code.
    pub id: String,
    /// The base glyph. Data, identical in every language.
    pub letter: String,
    /// Sefer Yetzirah class: mother, double or simple. Three mothers take an element, seven doubles take a planet, twelve simples take a sign, and the three counts are the structure of the whole letter tradition.
    #[serde(rename = "letterClass")]
    pub letter_class: String,
    /// What the letter name means as an ordinary word, in the requested language. The names are object names, which is what the shapes were drawn from.
    pub meaning: String,
    /// Display name of the letter, in the requested language.
    pub name: String,
    /// Position in the alphabet, 1 to 22. A property of the letter, not a cipher reading.
    pub ordinal: f64,
    /// The path this letter sits on, numbered 11 to 32 to continue the ten sephirot into the thirty two Paths of Wisdom. Never null in practice: all 22 letters carry a path.
    pub path: Option<f64>,
    /// Latin transcription of the glyph, from the one mechanical letter map this API uses in both directions. A label, never a pronunciation claim.
    pub romanization: String,
    /// The `trump` field.
    pub trump: GetHebrewLetterResponseTrump,
    /// Value under the standard reading. The 22 letters cover 1 to 9, 10 to 90 and 100 to 400.
    pub value: f64,
}
/// The `trump` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHebrewLetterResponseTrump {
    /// Identifier of the tarot trump on this letter path. It resolves in the Tarot API on the same key, so a caller can follow it straight to the card.
    pub id: String,
    /// Display name of the trump.
    pub name: String,
    /// The trump number as the deck prints it, in Roman numerals.
    pub number: String,
}
/// The `attribution` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHebrewLetterResponseAttribution {
    /// What the attribution names: element, planet or sign. Always English.
    pub kind: String,
    /// The element, planet or sign under the requested reading. Always English, so it stays safe to compare against in code.
    pub value: String,
}
/// Path and query parameters of `getHebrewLetter`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHebrewLetterParams {
    /// Letter identifier, one of alef, bet, gimel, dalet, he, vav, zayin, chet, tet, yod, kaf, lamed, mem, nun, samekh, ayin, pe, tzadi, qof, resh, shin, tav. Matching folds case and punctuation.
    pub id: GetHebrewLetterParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetHebrewLetterParamsLang>,
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    #[serde(rename = "letterAttribution", skip_serializing_if = "Option::is_none")]
    pub letter_attribution: Option<GetHebrewLetterParamsLetterAttribution>,
}
string_enum! {
    /// Which reading assigns the element, planet or sign to each letter. The seven double letters are the contested column and the four readings genuinely disagree on them; the twelve simple letters run in natural zodiacal order in all four. The golden-dawn member does NOT exchange He and Tzade, which is a later change from a different author.
    GetHebrewLetterParamsLetterAttribution {
        SeferYetzirahGra = "sefer-yetzirah-gra",
        SeferYetzirahShort = "sefer-yetzirah-short",
        SeferYetzirahSaadia = "sefer-yetzirah-saadia",
        GoldenDawn = "golden-dawn",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetHebrewLetterParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Letter identifier, one of alef, bet, gimel, dalet, he, vav, zayin, chet, tet, yod, kaf, lamed, mem, nun, samekh, ayin, pe, tzadi, qof, resh, shin, tav. Matching folds case and punctuation.
    GetHebrewLetterParamsId {
        Alef = "alef",
        Bet = "bet",
        Gimel = "gimel",
        Dalet = "dalet",
        He = "he",
        Vav = "vav",
        Zayin = "zayin",
        Chet = "chet",
        Tet = "tet",
        Yod = "yod",
        Kaf = "kaf",
        Lamed = "lamed",
        Mem = "mem",
        Nun = "nun",
        Samekh = "samekh",
        Ayin = "ayin",
        Pe = "pe",
        Tzadi = "tzadi",
        Qof = "qof",
        Resh = "resh",
        Shin = "shin",
        Tav = "tav",
    }
}
/// Path and query parameters of `getHaabMonth`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHaabMonthParams {
    /// Haab period id, case-insensitive and punctuation-insensitive. One of pop, wo, sip, sotz, sek, xul, yaxkin, mol, chen, yax, sak, keh, mak, kankin, muwan, pax, kayab, kumku, wayeb.
    pub id: GetHaabMonthParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetHaabMonthParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetHaabMonthParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Haab period id, case-insensitive and punctuation-insensitive. One of pop, wo, sip, sotz, sek, xul, yaxkin, mol, chen, yax, sak, keh, mak, kankin, muwan, pax, kayab, kumku, wayeb.
    GetHaabMonthParamsId {
        Pop = "pop",
        Wo = "wo",
        Sip = "sip",
        Sotz = "sotz",
        Sek = "sek",
        Xul = "xul",
        Yaxkin = "yaxkin",
        Mol = "mol",
        Chen = "chen",
        Yax = "yax",
        Sak = "sak",
        Keh = "keh",
        Mak = "mak",
        Kankin = "kankin",
        Muwan = "muwan",
        Pax = "pax",
        Kayab = "kayab",
        Kumku = "kumku",
        Wayeb = "wayeb",
    }
}
/// Response body of `getGate`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetGateResponse {
    /// Center the gate sits in.
    pub center: String,
    /// Display name of the center. Always English, whatever the lang parameter says. Use centerNameLocalized for anything a reader sees.
    #[serde(rename = "centerName")]
    pub center_name: String,
    /// Center name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "centerNameLocalized", skip_serializing_if = "Option::is_none")]
    pub center_name_localized: Option<String>,
    /// Gates that form a channel with this gate, with the channel name for each.
    #[serde(rename = "channelPartners")]
    pub channel_partners: Vec<GetGateResponseChannelPartnersItem>,
    /// The I-Ching hexagram that shares this gate number.
    #[serde(rename = "ichingHexagram")]
    pub iching_hexagram: GetGateResponseIchingHexagram,
    /// Human Design keynote name of the gate. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Gate keynote name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Gate number from 1 to 64.
    pub number: f64,
}
/// The I-Ching hexagram that shares this gate number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetGateResponseIchingHexagram {
    /// Hexagram name.
    pub english: String,
    /// I-Ching hexagram number.
    pub number: f64,
}
/// One entry of `channelPartners`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetGateResponseChannelPartnersItem {
    /// Name of the shared channel. Always English, whatever the lang parameter says. Use channelLocalized for anything a reader sees.
    pub channel: String,
    /// Channel name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "channelLocalized", skip_serializing_if = "Option::is_none")]
    pub channel_localized: Option<String>,
    /// Partner gate number.
    pub gate: f64,
}
/// Path and query parameters of `getGate`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetGateParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetGateParamsLang>,
    /// Gate number from 1 to 64.
    pub number: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetGateParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getForecast`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetForecastResponse {
    /// Birth date used for this calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Array of daily readings, one per day in the forecast range.
    pub days: Vec<GetForecastResponseDaysItem>,
    /// Last day of the forecast range.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// First day of the forecast range.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// The `summary` field.
    pub summary: GetForecastResponseSummary,
    /// Number of days in the forecast range.
    #[serde(rename = "totalDays")]
    pub total_days: f64,
}
/// The `summary` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetForecastResponseSummary {
    /// Average energy rating (1-10) across the entire forecast period.
    #[serde(rename = "averageEnergy")]
    pub average_energy: f64,
    /// Date with the highest average primary cycle values in the range. Best day for demanding activities.
    #[serde(rename = "bestDay")]
    pub best_day: String,
    /// Total number of days where at least one primary cycle crosses zero in the range.
    #[serde(rename = "criticalDayCount")]
    pub critical_day_count: f64,
    /// Overview guidance for the entire forecast period based on average energy and cycle patterns.
    #[serde(rename = "periodAdvice")]
    pub period_advice: String,
    /// Date with the lowest average primary cycle values in the range. Best scheduled as a rest day.
    #[serde(rename = "worstDay")]
    pub worst_day: String,
}
/// One entry of `days`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetForecastResponseDaysItem {
    /// Which primary cycles are critical on this day. Empty array if none.
    #[serde(rename = "criticalCycles")]
    pub critical_cycles: Vec<String>,
    /// Date of this daily reading (YYYY-MM-DD).
    pub date: String,
    /// Days from birth date to this date.
    #[serde(rename = "daysSinceBirth")]
    pub days_since_birth: f64,
    /// Emotional cycle value (-100 to 100).
    pub emotional: f64,
    /// Energy rating for this day (1-10).
    #[serde(rename = "energyRating")]
    pub energy_rating: f64,
    /// Intellectual cycle value (-100 to 100).
    pub intellectual: f64,
    /// Intuitive cycle value (-100 to 100).
    pub intuitive: f64,
    /// True if any primary cycle crosses zero on this day.
    #[serde(rename = "isCritical")]
    pub is_critical: bool,
    /// Physical cycle value (-100 to 100).
    pub physical: f64,
}
/// Path and query parameters of `getForecast`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetForecastParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetForecastParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetForecastParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getFieldLabels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetFieldLabelsResponse {
    /// Label per selectable option, keyed `{fieldName}.{value}` so the same value can read differently under different fields. For example `nodeType.mean`, `houseSystem.whole-sign` and `id.rat`. An id shared by collections with different display names is omitted. Split on the first dot: the field name is before it, and everything after it is the value you send back unchanged.
    pub enums: GetFieldLabelsResponseEnums,
    /// Label per request field or parameter name. Keys are the wire names used in request bodies, query parameters and path parameters, such as `birthDate`, `timezone` or `houseSystem`.
    pub fields: GetFieldLabelsResponseFields,
    /// Language these labels resolved to. Echoes the `lang` query parameter, or `en` when it is omitted.
    pub lang: GetFieldLabelsResponseLang,
}
string_enum! {
    /// Language these labels resolved to. Echoes the `lang` query parameter, or `en` when it is omitted.
    GetFieldLabelsResponseLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Label per request field or parameter name. Keys are the wire names used in request bodies, query parameters and path parameters, such as `birthDate`, `timezone` or `houseSystem`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetFieldLabelsResponseFields {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, String>,
}
/// Label per selectable option, keyed `{fieldName}.{value}` so the same value can read differently under different fields. For example `nodeType.mean`, `houseSystem.whole-sign` and `id.rat`. An id shared by collections with different display names is omitted. Split on the first dot: the field name is before it, and everything after it is the value you send back unchanged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetFieldLabelsResponseEnums {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, String>,
}
/// Path and query parameters of `getFieldLabels`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetFieldLabelsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetFieldLabelsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetFieldLabelsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getEclipticCrossings`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetEclipticCrossingsResponse {
    /// All ecliptic crossing events for visible planets during the year, sorted chronologically.
    pub events: Vec<GetEclipticCrossingsResponseEventsItem>,
    /// Timezone offset from UTC in hours that the event dates and times are reported in. Echoes the requested timezone.
    pub timezone: f64,
    /// Year scanned for ecliptic crossings.
    pub year: f64,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetEclipticCrossingsResponseEventsItem {
    /// Date of the ecliptic crossing (YYYY-MM-DD). Adjusted to requested timezone.
    pub date: String,
    /// Full datetime of the ecliptic crossing. Adjusted to requested timezone.
    pub datetime: String,
    /// Ascending = planet moves from south to north of the ecliptic. Descending = north to south.
    pub direction: GetEclipticCrossingsResponseEventsItemDirection,
    /// Longitude of the planet at the moment of crossing, in the requested coordinateSystem: sidereal (Lahiri ayanamsa) by default, tropical when asked.
    pub longitude: f64,
    /// Planet crossing the ecliptic plane. Sun is excluded (always on the ecliptic by definition). Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Planet name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat planet exactly.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Zodiac sign the planet occupies at the crossing, read in the same coordinateSystem as longitude: the rashi under sidereal, the tropical sign under tropical. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display. Present only when lang is set to a language other than English, since in English it would repeat sign exactly.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Time of the ecliptic crossing (HH:MM, 24-hour). Adjusted to requested timezone.
    pub time: String,
}
string_enum! {
    /// Ascending = planet moves from south to north of the ecliptic. Descending = north to south.
    GetEclipticCrossingsResponseEventsItemDirection {
        Ascending = "ascending",
        Descending = "descending",
    }
}
/// Request body of `getEclipticCrossings`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetEclipticCrossingsRequest {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    #[serde(rename = "coordinateSystem", skip_serializing_if = "Option::is_none")]
    pub coordinate_system: Option<GetEclipticCrossingsRequestCoordinateSystem>,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetEclipticCrossingsRequestTimezone>,
    /// Year to scan for ecliptic crossings (1551 to 2649).
    pub year: i64,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved once, at the start of the window, and that offset applies to every time in the response. Output times are converted to this timezone. Defaults to 0 (UTC).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetEclipticCrossingsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    GetEclipticCrossingsRequestCoordinateSystem {
        Sidereal = "sidereal",
        Tropical = "tropical",
    }
}
/// Path and query parameters of `getEclipticCrossings`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetEclipticCrossingsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetEclipticCrossingsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetEclipticCrossingsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDosha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponse {
    /// One dosha with its qualities, seats, pentad and states.
    pub dosha: GetDoshaResponseDosha,
    /// Scope of the response.
    pub meta: GetDoshaResponseMeta,
    /// Every work behind this response, once each.
    pub sources: Vec<GetDoshaResponseSourcesItem>,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseSourcesItem {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// One dosha with its qualities, seats, pentad and states.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseDosha {
    /// Other names the primary texts use for the same dosha. Data rather than translations, and useful when reading a verse that names one of them instead.
    #[serde(rename = "alsoCalled")]
    pub also_called: Vec<String>,
    /// The same name in Devanagari. Data, identical in every language.
    pub devanagari: String,
    /// The single mahabhuta the classical verses give this dosha. Classically each dosha gets one element, not a pair.
    pub element: String,
    /// What the dosha does when it is even. For vata the text states this for the dosha as a whole; for the other two it states it only through the five sub-doshas, and those are what appear here.
    pub functions: Vec<String>,
    /// The dosha as a Sanskrit identifier: vata, pitta or kapha. Never translated in any language, because a caller switches on it, and a translated dosha name is a different concept rather than the same one in another language.
    pub id: String,
    /// The two-element pairing in general modern circulation. It carries no classical citation in this API, which is why it travels in its own field instead of inside the cited one.
    #[serde(rename = "modernElementPair")]
    pub modern_element_pair: String,
    /// The qualities the frame chapter gives this dosha, each as its Sanskrit word and its gloss. The three sets overlap, so the twenty gunas are not partitioned three ways between them.
    pub qualities: Vec<String>,
    /// Identifiers from the twenty gunas for the qualities the guna verse names with the SAME Sanskrit word, so this joins straight to the qualities endpoint. Where the dosha chapter uses a synonym, or a word the guna verse does not carry, the entry is absent rather than mapped by resemblance.
    #[serde(rename = "qualityGunas")]
    pub quality_gunas: Vec<String>,
    /// The same name in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// Where the dosha sits, in the requested language.
    pub seats: Vec<String>,
    /// How the second primary text reads the same list. The two are recorded side by side and never merged, because the special seat of pitta genuinely differs between them.
    #[serde(rename = "seatsVariant")]
    pub seats_variant: String,
    /// Where one claim in this response comes from.
    pub source: GetDoshaResponseDoshaSource,
    /// The seat the chapter singles out above the others.
    #[serde(rename = "specialSeat")]
    pub special_seat: String,
    /// The three states, as positions and qualities.
    pub states: GetDoshaResponseDoshaStates,
    /// The five sub-doshas, each with its seat and its work. The five vata NAMES are carried by two texts; every seat and function of the fifteen rests on one chapter alone.
    #[serde(rename = "subDoshas")]
    pub sub_doshas: Vec<GetDoshaResponseDoshaSubDoshasItem>,
}
/// One of the five sub-doshas.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseDoshaSubDoshasItem {
    /// The same name in Devanagari. Data rather than a translation, so it is identical under every language.
    pub devanagari: String,
    /// What the sub-dosha does, in the requested language.
    pub function: String,
    /// Stable identifier for the sub-dosha. Always English-safe and lowercase, and never translated, so it is safe to compare against.
    pub id: String,
    /// Where the sub-dosha moves, where the chapter states one. Present on the five vatas and absent elsewhere, because the chapter gives a range of movement only for those.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub moves: Option<String>,
    /// The same name in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// Where the sub-dosha sits, in the requested language.
    pub seat: String,
    /// Where one claim in this response comes from.
    pub source: GetDoshaResponseDoshaSubDoshasItemSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseDoshaSubDoshasItemSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// The three states, as positions and qualities.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseDoshaStates {
    /// The first state of the seasonal cycle, described the same way.
    pub accumulating: String,
    /// The second state of the seasonal cycle, described the same way.
    pub aggravated: String,
    /// The even state, described as a position and a quality rather than as an absence of complaints.
    pub balanced: String,
    /// The qualities that bring the dosha back to even, which is the like-increases-like rule applied in reverse.
    #[serde(rename = "settlesWith")]
    pub settles_with: String,
    /// Where one claim in this response comes from.
    pub source: GetDoshaResponseDoshaStatesSource,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseDoshaStatesSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaResponseDoshaSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Path and query parameters of `getDosha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDoshaParams {
    /// Dosha identifier, case-insensitive. One of vata, pitta or kapha.
    pub id: GetDoshaParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDoshaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDoshaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Dosha identifier, case-insensitive. One of vata, pitta or kapha.
    GetDoshaParamsId {
        Vata = "vata",
        Pitta = "pitta",
        Kapha = "kapha",
    }
}
/// Response body of `getDinacharyaSchedule`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponse {
    /// The same six blocks under the other convention, so a caller can show one and reconcile against the other without a second call.
    #[serde(rename = "alternatePeriods")]
    pub alternate_periods: Vec<GetDinacharyaScheduleResponseAlternatePeriodsItem>,
    /// The pre-dawn window, as a fixed offset from sunrise. It is not scaled to the length of the night, and calculators that scale it are following a reading the commentary rejects.
    #[serde(rename = "brahmaMuhurta")]
    pub brahma_muhurta: GetDinacharyaScheduleResponseBrahmaMuhurta,
    /// The conventions this schedule was produced under.
    pub conventions: GetDinacharyaScheduleResponseConventions,
    /// The local date this schedule is for, echoing the request.
    pub date: String,
    /// The six blocks under the convention that was requested, in chronological order.
    #[serde(rename = "doshaPeriods")]
    pub dosha_periods: Vec<GetDinacharyaScheduleResponseDoshaPeriodsItem>,
    /// Scope of the response.
    pub meta: GetDinacharyaScheduleResponseMeta,
    /// The following sunrise, as an ISO 8601 instant in UTC. It closes the night, so the three night blocks are cut between this and the sunset above.
    #[serde(rename = "nextSunrise")]
    pub next_sunrise: String,
    /// The daily sequence the chapter gives, in its own order.
    pub routine: Vec<GetDinacharyaScheduleResponseRoutineItem>,
    /// Every work behind this response, once each.
    pub sources: Vec<GetDinacharyaScheduleResponseSourcesItem>,
    /// The day in prose, composed and translated in place.
    pub summary: String,
    /// Sunrise at this place on this date, as an ISO 8601 instant in UTC. The day begins here, which is why every block below is measured from it rather than from midnight.
    pub sunrise: String,
    /// Sunset at this place on this date, as an ISO 8601 instant in UTC.
    pub sunset: String,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseSourcesItem {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// One step of the daily routine.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseRoutineItem {
    /// What the step is, written from the source and translated in place. The chapter also names specific substances and gives lists of who should abstain; neither is carried here.
    pub guidance: String,
    /// Stable identifier for the step. Always English and lowercase, so it is safe to compare against and to key a translation off.
    pub id: String,
    /// Position in the sequence the chapter gives, starting at 1.
    pub order: f64,
    /// The step under its Sanskrit name, in the standard diacritic transliteration. Data rather than a translation, so it is identical under every language.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// Where one claim in this response comes from.
    pub source: GetDinacharyaScheduleResponseRoutineItemSource,
    /// Where the step sits in the sequence. Only the first step carries a real offset, because the chapter orders the day rather than scheduling it; the clock for this place is in the fields above.
    pub timing: String,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseRoutineItemSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// One of the six dosha periods.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseDoshaPeriodsItem {
    /// The humour this block belongs to, as the Sanskrit identifier. Never translated, so it stays safe to compare against and to use as a style key.
    pub dosha: String,
    /// When the block closes, as an ISO 8601 instant in UTC.
    pub end: String,
    /// Whether the block sits in the day or the night. Always English, so it stays safe to switch on.
    pub span: String,
    /// When the block opens, as an ISO 8601 instant in UTC.
    pub start: String,
    /// Which third of its half the block is, 1 for the first, 2 for the middle and 3 for the last. Present only on the sunrise-anchored division, because the clock grid divides no actual day and has no thirds to report.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub third: Option<f64>,
}
/// The conventions this schedule was produced under.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseConventions {
    /// Which division the doshaPeriods array holds. Echoes the request; the other one is in alternatePeriods.
    #[serde(rename = "doshaClock")]
    pub dosha_clock: String,
}
/// The pre-dawn window, as a fixed offset from sunrise. It is not scaled to the length of the night, and calculators that scale it are following a reading the commentary rejects.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseBrahmaMuhurta {
    /// When the window closes, 48 minutes before sunrise.
    pub end: String,
    /// Length of one muhurta in minutes. Thirty of them make one day AND night together, not thirty in the daylight alone, and reading it the other way doubles every number here.
    #[serde(rename = "muhurtaMinutes")]
    pub muhurta_minutes: f64,
    /// Muhurtas in one full day and night. Two texts state this and agree exactly on it while differing on the smaller units.
    #[serde(rename = "muhurtasPerAhoratra")]
    pub muhurtas_per_ahoratra: f64,
    /// Where one claim in this response comes from.
    pub source: GetDinacharyaScheduleResponseBrahmaMuhurtaSource,
    /// When the window opens, 96 minutes before sunrise.
    pub start: String,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseBrahmaMuhurtaSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// One of the six dosha periods.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleResponseAlternatePeriodsItem {
    /// The humour this block belongs to, as the Sanskrit identifier. Never translated, so it stays safe to compare against and to use as a style key.
    pub dosha: String,
    /// When the block closes, as an ISO 8601 instant in UTC.
    pub end: String,
    /// Whether the block sits in the day or the night. Always English, so it stays safe to switch on.
    pub span: String,
    /// When the block opens, as an ISO 8601 instant in UTC.
    pub start: String,
    /// Which third of its half the block is, 1 for the first, 2 for the middle and 3 for the last. Present only on the sunrise-anchored division, because the clock grid divides no actual day and has no thirds to report.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub third: Option<f64>,
}
/// Path and query parameters of `getDinacharyaSchedule`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDinacharyaScheduleParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDinacharyaScheduleParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDinacharyaScheduleParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDikpalaDirection`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDikpalaDirectionResponse {
    /// The devatas of the squares this direction covers, in the same order as the squares list.
    pub devatas: Vec<GetDikpalaDirectionResponseDevatasItem>,
    /// The lord of this quarter of the horizon, per Brihat Samhita 54.3. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi. Compare on id, never on this. These are NOT the 45 mandala devatas and the two sets must not be merged: Agni is the north-east mandala square and the south-east dikpala.
    pub dikpala: String,
    /// The element conventionally assigned to this quarter: fire, earth, air or water. Present only on the four intercardinal quarters, because the cardinal ones carry none in this scheme, and it is labelled convention because the Brihat Samhita assigns no element to any direction at all.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<String>,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against and against the same value on the feng shui and I Ching endpoints.
    pub id: String,
    /// Whether this is one of the four cardinal directions or one of the four intercardinal quarters. Always English.
    pub kind: String,
    /// What Brihat Samhita 53.118 puts on this side, in the chapter own terms. Present on the four intercardinal quarters, which are the only ones that verse places anything on.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub places: Option<String>,
    /// The verses behind each part of this entry, and the convention label on the element where no verse gives one.
    pub sources: Vec<GetDikpalaDirectionResponseSourcesItem>,
    /// The squares of the 81 pada grid this direction covers. For a cardinal direction those are its eight perimeter squares in the order the verses enumerate them; for an intercardinal quarter they are the corner square and the four single pada squares gathered around it.
    pub squares: Vec<f64>,
    /// What the chapter says about standing water here, which it gives for all eight directions.
    pub water: GetDikpalaDirectionResponseWater,
}
/// What the chapter says about standing water here, which it gives for all eight directions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDikpalaDirectionResponseWater {
    /// Whether that effect is a gain or a harm. Only the north and the north-east are gains. Always English.
    pub auspiciousness: String,
    /// What 53.119 says follows from standing water in this quarter, as original prose.
    pub effect: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDikpalaDirectionResponseSourcesItem {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// One entry of `devatas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDikpalaDirectionResponseDevatasItem {
    /// Identifier of the devata holding it. Always English transliteration, safe to compare against and to look up on the devatas endpoint.
    pub id: String,
    /// Display name of the devata. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi.
    pub name: String,
    /// Square number in the 81 pada grid.
    pub square: f64,
}
/// Path and query parameters of `getDikpalaDirection`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDikpalaDirectionParams {
    /// Direction id, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Case and punctuation are folded.
    pub id: GetDikpalaDirectionParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDikpalaDirectionParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDikpalaDirectionParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Direction id, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Case and punctuation are folded.
    GetDikpalaDirectionParamsId {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
/// Response body of `getDevata`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDevataResponse {
    /// The same squares as row and column pairs, which is what you draw with. The corners of the grid are 1 north-east, 9 south-east, 73 north-west and 81 south-west.
    pub cells: Vec<GetDevataResponseCellsItem>,
    /// Which ring of the mandala the devata belongs to: perimeter for the outer 32, innerRing for the eight around Brahma, innerCorner for the four on the inner diagonals, center for Brahma alone. 32 plus 8 plus 4 plus 1 is 45. Always English.
    pub class: GetDevataResponseClass,
    /// The entrance pada this devata governs, 1 to 32. Present only on the outer 32, since only a perimeter square can hold a main door.
    #[serde(rename = "entrancePada", skip_serializing_if = "Option::is_none")]
    pub entrance_pada: Option<f64>,
    /// How many squares the devata holds under 53.49 to 50: padika for one, dvipada for two, tripada for three. Absent for Brahma, whom those verses leave outside the scheme while enumerating 44 devatas.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub group: Option<String>,
    /// Identifier of the devata, lower case transliteration. Always English, safe to compare against. Indra appears twice in the chapter, on the east perimeter and on the inner ring, so those two carry the ids indra-outer and indra-inner, which are ours: no source read for this package prints a distinguishing name for either.
    pub id: String,
    /// Display name of the devata. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi. Compare on id, never on this.
    pub name: String,
    /// Where the sources disagree or contradict themselves about this row, and where Brahma sits outside the pada-count scheme. Present on the six rows that carry a recorded divergence: the two Indras, the north-east and south-east corner devatas where the Manasara differs from the Brihat Samhita, Prthvidhara, whom the chapter places on two different squares in two different verses, and Brahma. Original prose, translated in place when lang is set.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// How many squares the devata holds: one, two or three for the 44 enumerated devatas, and nine for Brahma.
    #[serde(rename = "padaCount")]
    pub pada_count: f64,
    /// Which quarter of the mandala the devata occupies, where it sits in one. Absent for a devata spread along a side rather than gathered in a corner.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub quadrant: Option<String>,
    /// What the devata holds, as a sentence composed from the sourced structure. There is deliberately no meaning field: no source read for this package gives a devata a meaning, and inventing one would be unsourced content on a route that sells a citation per verdict. Translated in place when lang is set.
    pub role: String,
    /// Which side of the perimeter the devata sits on. Present only on the outer 32, which are the ones the verses enumerate side by side.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub side: Option<String>,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: GetDevataResponseSource,
    /// Which of the 81 squares the devata holds. The verses name one square per devata and fix the pada count of each, and the remaining squares follow from that count: a dvipada takes its named square plus the one a step inward, a tripada the three cell cardinal run of the second ring.
    pub squares: Vec<f64>,
    /// Which verses of chapter 53 place this devata and fix its pada count, so a report can print the citation.
    pub verses: Vec<String>,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDevataResponseSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
string_enum! {
    /// Which ring of the mandala the devata belongs to: perimeter for the outer 32, innerRing for the eight around Brahma, innerCorner for the four on the inner diagonals, center for Brahma alone. 32 plus 8 plus 4 plus 1 is 45. Always English.
    GetDevataResponseClass {
        Perimeter = "perimeter",
        InnerRing = "innerRing",
        InnerCorner = "innerCorner",
        Center = "center",
    }
}
/// One entry of `cells`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDevataResponseCellsItem {
    /// Column of the grid, 1 at the western edge and 9 at the eastern one.
    #[serde(rename = "columnFromWest")]
    pub column_from_west: f64,
    /// Row of the grid, 1 at the northern edge and 9 at the southern one.
    #[serde(rename = "rowFromNorth")]
    pub row_from_north: f64,
}
/// Path and query parameters of `getDevata`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDevataParams {
    /// Devata id, lower case transliteration. The two Indras are indra-outer for the east perimeter square and indra-inner for the inner ring one. Case and punctuation are folded.
    pub id: GetDevataParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDevataParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDevataParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Devata id, lower case transliteration. The two Indras are indra-outer for the east perimeter square and indra-inner for the inner ring one. Case and punctuation are folded.
    GetDevataParamsId {
        Agni = "agni",
        Parjanya = "parjanya",
        Jayanta = "jayanta",
        IndraOuter = "indra-outer",
        Surya = "surya",
        Satya = "satya",
        Bhrisa = "bhrisa",
        Antariksha = "antariksha",
        Vayu = "vayu",
        Pusha = "pusha",
        Vitatha = "vitatha",
        Brihatkshata = "brihatkshata",
        Yama = "yama",
        Gandharva = "gandharva",
        Bhringaraja = "bhringaraja",
        Mriga = "mriga",
        Pitri = "pitri",
        Dauvarika = "dauvarika",
        Sugriva = "sugriva",
        Kusumadanta = "kusumadanta",
        Varuna = "varuna",
        Asura = "asura",
        Sosha = "sosha",
        Papayakshma = "papayakshma",
        Roga = "roga",
        Ahi = "ahi",
        Mukhya = "mukhya",
        Bhallata = "bhallata",
        Soma = "soma",
        Bhujaga = "bhujaga",
        Aditi = "aditi",
        Diti = "diti",
        Aryaman = "aryaman",
        Savita = "savita",
        Vivasvan = "vivasvan",
        IndraInner = "indra-inner",
        Mitra = "mitra",
        Rajayakshma = "rajayakshma",
        Prthvidhara = "prthvidhara",
        Apavatsa = "apavatsa",
        Apa = "apa",
        Savitra = "savitra",
        Jaya = "jaya",
        Rudra = "rudra",
        Brahma = "brahma",
    }
}
/// Response body of `getDetailedPanchang`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponse {
    /// Abhijit Muhurta (Abhijit Muhurat), the most auspicious ~48-minute window around solar noon, the 8th of 15 day muhurtas. Ideal for starting new ventures, signing contracts, and performing rituals when no other shubh muhurat is available. Null on Wednesdays because Abhijit coincides with Dur Muhurta on that weekday per Muhurta Chintamani.
    #[serde(rename = "abhijitMuhurta")]
    pub abhijit_muhurta: Option<GetDetailedPanchangResponseAbhijitMuhurta>,
    /// Amrit Kalam (Amrit Ghati, Amrita Yoga), the most auspicious ~96-minute period based on Moon transit through specific ghati fractions within the current nakshatra. Each of the 27 nakshatras has a fixed Amrit window. Activities initiated during Amrit Kalam are believed to yield excellent, lasting results. Highly recommended for muhurta selection when other auspicious yogas are absent. Usually 1-2 periods per panchang day.
    #[serde(rename = "amritKalam")]
    pub amrit_kalam: Vec<GetDetailedPanchangResponseAmritKalamItem>,
    /// Bhadra (Vishti Karana), the 7th movable karana, avoided for all auspicious activities. Bhadra recurs roughly every 3 to 5 days and lasts about half a tithi. active is true whenever a Bhadra is attributed to this date; startsAt and endsAt give the window, which may end on the next calendar day.
    pub bhadra: GetDetailedPanchangResponseBhadra,
    /// Brahma Muhurta, sacred pre-dawn period approximately 96 minutes before sunrise (14th of 15 night muhurtas). Considered the best time for meditation, mantra japa, Vedic study, and spiritual sadhana. Referenced in Ashtanga Hridaya and Dharmashastra texts.
    #[serde(rename = "brahmaMuhurta")]
    pub brahma_muhurta: GetDetailedPanchangResponseBrahmaMuhurta,
    /// Chandrabalam (Moon strength). indicates auspiciousness of Moon transit for each birth rashi. Essential for muhurta selection in Vedic electional astrology.
    pub chandrabalam: GetDetailedPanchangResponseChandrabalam,
    /// Date for which panchang is calculated.
    pub date: String,
    /// Dur Muhurta (Dur Muhurtam), inauspicious muhurta periods determined by the weekday. The daytime is divided into 15 muhurtas from sunrise to sunset. Specific muhurta numbers are inauspicious each weekday per Muhurta Chintamani. Each period lasts ~48 minutes. Most days have 2 Dur Muhurtas, Wednesday and Sunday have 1. Avoid initiating important activities during these periods.
    #[serde(rename = "durMuhurta")]
    pub dur_muhurta: Vec<GetDetailedPanchangResponseDurMuhurtaItem>,
    /// Godhuli Muhurta (cow dust time), 12 minutes before sunset to 12 minutes after sunset. Universally auspicious for any activity, especially marriages and grihapravesha. No blemish from tithi, vara, nakshatra, karana, or yoga applies during Godhuli. Null only in polar regions where sun does not set.
    #[serde(rename = "godhuliMuhurta")]
    pub godhuli_muhurta: Option<GetDetailedPanchangResponseGodhuliMuhurta>,
    /// Gulika Kaal, inauspicious period ruled by Saturn son Gulika. Considered harmful for initiating work.
    pub gulika: GetDetailedPanchangResponseGulika,
    /// Current planetary hora. Used for electional astrology and muhurta selection.
    pub hora: GetDetailedPanchangResponseHora,
    /// Karana (half-tithi) information. Fourth panchang element, changes twice per tithi.
    pub karana: GetDetailedPanchangResponseKarana,
    /// Location coordinates used for all time-based calculations.
    pub location: GetDetailedPanchangResponseLocation,
    /// Moon sign (Chandra Rashi) at sunrise. Central to Vedic astrology. determines daily emotional tone, Chandrabalam, and Tarabalam.
    #[serde(rename = "moonSign")]
    pub moon_sign: GetDetailedPanchangResponseMoonSign,
    /// Moonrise time in the requested timezone. Can be null if Moon does not rise on this date.
    pub moonrise: Option<String>,
    /// Moonset time in the requested timezone. Can be null if Moon does not set on this date.
    pub moonset: Option<String>,
    /// Nakshatra (lunar mansion) information with interpretations
    pub nakshatra: GetDetailedPanchangResponseNakshatra,
    /// Nishita Muhurta (Nishith Kaal), the 8th of 15 night muhurtas from sunset to next sunrise, occurring around midnight. Sacred period for worship of Lord Shiva, especially on Maha Shivaratri. Also significant for Janmashtami midnight celebrations and tantric sadhana.
    #[serde(rename = "nishitaMuhurta")]
    pub nishita_muhurta: GetDetailedPanchangResponseNishitaMuhurta,
    /// Panchaka, the inauspicious ~5-day window while the Moon transits the last five nakshatras (Dhanishta 3rd pada through Revati, 300 to 360 degrees sidereal). The dosha type depends on the weekday it begins; startsAt and endsAt report the period in force at sunrise or beginning later this day. Avoid major activities during Panchaka.
    pub panchaka: GetDetailedPanchangResponsePanchaka,
    /// Pratah Sandhya, morning twilight junction period for Sandhyavandanam prayer. Spans 3 night ghatis before sunrise to sunrise. Duration varies by location and season based on ratrimana (night duration). One of the three daily Sandhya prayer times prescribed in Dharmashastra.
    #[serde(rename = "pratahSandhya")]
    pub pratah_sandhya: Option<GetDetailedPanchangResponsePratahSandhya>,
    /// Rahu Kaal, inauspicious period ruled by Rahu. Avoid starting new ventures. Calculated from sunrise duration divided into 8 parts.
    #[serde(rename = "rahuKaal")]
    pub rahu_kaal: GetDetailedPanchangResponseRahuKaal,
    /// Sayahna Sandhya, evening twilight junction period for Sandhyavandanam prayer. Spans sunset to 3 night ghatis after sunset. Duration varies by location and season based on ratrimana (night duration). One of the three daily Sandhya prayer times prescribed in Dharmashastra.
    #[serde(rename = "sayahnaSandhya")]
    pub sayahna_sandhya: Option<GetDetailedPanchangResponseSayahnaSandhya>,
    /// Sun nakshatra at sunrise. The Sun spends approximately 13-14 days in each nakshatra. Used for Surya-based muhurta and festival calculations.
    #[serde(rename = "sunNakshatra")]
    pub sun_nakshatra: GetDetailedPanchangResponseSunNakshatra,
    /// Sun sign (Surya Rashi) at sunrise. Determines the solar month (Saura Masa) in the Hindu calendar. Changes approximately once a month (Sankranti).
    #[serde(rename = "sunSign")]
    pub sun_sign: GetDetailedPanchangResponseSunSign,
    /// Local sunrise in the requested timezone as YYYY-MM-DDTHH:MM:SS, with no zone suffix. Marks the start of the Hindu day.
    pub sunrise: String,
    /// Local sunset in the requested timezone as YYYY-MM-DDTHH:MM:SS, with no zone suffix. Marks the transition to night muhurtas.
    pub sunset: String,
    /// Tarabalam (Star strength). based on the 9-Tara nakshatra cycle. Determines favorability of Moon nakshatra transit relative to each of the 27 birth nakshatras.
    pub tarabalam: GetDetailedPanchangResponseTarabalam,
    /// Lunar day (tithi) information with interpretations. Central panchang element for determining auspicious timings.
    pub tithi: GetDetailedPanchangResponseTithi,
    /// Panchang element transition times: when each element (tithi, yoga, karana, nakshatra, Moon sign) changes, found to the second. Essential for precise muhurta determination and panchang calendars.
    pub transitions: GetDetailedPanchangResponseTransitions,
    /// Vara (weekday) information based on Hindu sunrise calendar.
    pub vara: GetDetailedPanchangResponseVara,
    /// Varjyam (Thyajyam, Vishghati, Nakshatra Thyajyam), inauspicious ~96-minute period based on Moon transit through specific ghati fractions within the current nakshatra. Each of the 27 nakshatras has a fixed Varjyam window measured in ghatikas (1 ghati = 24 minutes). Avoid starting new ventures, travel, or auspicious ceremonies during Varjyam. Usually 1-2 periods per panchang day.
    pub varjyam: Vec<GetDetailedPanchangResponseVarjyamItem>,
    /// Vijaya Muhurta (Vijay Muhurat), the 11th of 15 day muhurtas between sunrise and sunset. Auspicious for journeys, legal proceedings, competitions, warfare, and any activity requiring victory or success. Used in electional astrology (muhurta shastra) for timing important undertakings.
    #[serde(rename = "vijayaMuhurta")]
    pub vijaya_muhurta: GetDetailedPanchangResponseVijayaMuhurta,
    /// Yamaganda, inauspicious period ruled by Yama (lord of death). Avoid important activities.
    pub yamaganda: GetDetailedPanchangResponseYamaganda,
    /// Nitya Yoga information. Yoga is the third panchang element, derived from combined Sun-Moon longitude.
    pub yoga: GetDetailedPanchangResponseYoga,
}
/// Nitya Yoga information. Yoga is the third panchang element, derived from combined Sun-Moon longitude.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseYoga {
    /// Characteristics and auspiciousness of this yoga for activity planning.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Sanskrit name of the Nitya Yoga. One of 27 yogas formed by combined Sun-Moon motion, each with distinct auspiciousness.
    pub name: String,
    /// Nitya Yoga index (1-27). Calculated from the sum of Sun and Moon sidereal longitudes divided by 13 degrees 20 minutes.
    pub number: i64,
}
/// Yamaganda, inauspicious period ruled by Yama (lord of death). Avoid important activities.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseYamaganda {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Vijaya Muhurta (Vijay Muhurat), the 11th of 15 day muhurtas between sunrise and sunset. Auspicious for journeys, legal proceedings, competitions, warfare, and any activity requiring victory or success. Used in electional astrology (muhurta shastra) for timing important undertakings.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseVijayaMuhurta {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// One entry of `varjyam`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseVarjyamItem {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Vara (weekday) information based on Hindu sunrise calendar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseVara {
    /// Ruling planet of the day (Vara lord). Influences day-level auspiciousness.
    pub lord: String,
    /// Weekday name in English. Vara begins at local sunrise, not at midnight, so a time before sunrise belongs to the previous vara.
    pub name: String,
    /// Vara name transliterated from Sanskrit: Ravivara, Somavara, Mangalavara, Budhavara, Guruvara, Shukravara, Shanivara. Use this rather than name for a Jyotish-facing reading, since it is the form the classical texts use and it does not change with the lang parameter.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// Panchang element transition times: when each element (tithi, yoga, karana, nakshatra, Moon sign) changes, found to the second. Essential for precise muhurta determination and panchang calendars.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTransitions {
    /// Karana (half-tithi) transition. karanas change twice per tithi. Important for muhurta timing.
    pub karana: GetDetailedPanchangResponseTransitionsKarana,
    /// Moon sign (Chandra rashi) transition, when Moon changes zodiac sign. Affects Chandrabalam, Tarabalam, and daily horoscope predictions.
    #[serde(rename = "moonSign")]
    pub moon_sign: GetDetailedPanchangResponseTransitionsMoonSign,
    /// Nakshatra (lunar mansion) transition timing: when Moon moves to the next nakshatra. Critical for muhurta and Tarabalam calculations.
    pub nakshatra: GetDetailedPanchangResponseTransitionsNakshatra,
    /// Tithi (lunar day) transition timing: when the current tithi ends and the next one begins.
    pub tithi: GetDetailedPanchangResponseTransitionsTithi,
    /// Nitya Yoga transition timing: when the current yoga period ends. Based on combined Sun-Moon motion.
    pub yoga: GetDetailedPanchangResponseTransitionsYoga,
}
/// Nitya Yoga transition timing: when the current yoga period ends. Based on combined Sun-Moon motion.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTransitionsYoga {
    /// Local time in the requested timezone (ISO 8601, no offset suffix) when the current yoga ends.
    #[serde(rename = "endsAt")]
    pub ends_at: String,
    /// Name of the next yoga.
    pub next: String,
}
/// Tithi (lunar day) transition timing: when the current tithi ends and the next one begins.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTransitionsTithi {
    /// Local time in the requested timezone (ISO 8601, no offset suffix) when the current tithi ends. Precise to ~1 minute via binary search.
    #[serde(rename = "endsAt")]
    pub ends_at: String,
    /// Name of the next tithi that begins after the transition.
    pub next: String,
}
/// Nakshatra (lunar mansion) transition timing: when Moon moves to the next nakshatra. Critical for muhurta and Tarabalam calculations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTransitionsNakshatra {
    /// Local time in the requested timezone (ISO 8601, no offset suffix) when the Moon leaves the current nakshatra.
    #[serde(rename = "endsAt")]
    pub ends_at: String,
    /// Name of the next nakshatra the Moon will enter.
    pub next: String,
    /// Pada (quarter, 1-4) of the next nakshatra. Each nakshatra has 4 padas spanning 3 degrees 20 minutes each.
    #[serde(rename = "nextPada")]
    pub next_pada: f64,
}
/// Moon sign (Chandra rashi) transition, when Moon changes zodiac sign. Affects Chandrabalam, Tarabalam, and daily horoscope predictions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTransitionsMoonSign {
    /// Local time in the requested timezone (ISO 8601, no offset suffix) when Moon enters the next rashi. Moon changes sign approximately every 2.25 days.
    #[serde(rename = "changesAt")]
    pub changes_at: String,
    /// Current Moon rashi (zodiac sign).
    pub current: String,
    /// Next rashi the Moon will enter.
    pub next: String,
}
/// Karana (half-tithi) transition. karanas change twice per tithi. Important for muhurta timing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTransitionsKarana {
    /// Local time in the requested timezone (ISO 8601, no offset suffix) when the current karana ends.
    #[serde(rename = "endsAt")]
    pub ends_at: String,
    /// Name of the next karana (half-tithi).
    pub next: String,
}
/// Lunar day (tithi) information with interpretations. Central panchang element for determining auspicious timings.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTithi {
    /// Presiding deity of this tithi from Vedic tradition.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deity: Option<String>,
    /// Elemental quality of this tithi (Fire, Earth, Air, Water, Ether).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<String>,
    /// Sanskrit name of the tithi (lunar day). One of 30 tithis in the lunar month cycle.
    pub name: String,
    /// Tithi number (1-30). 1-15 are Shukla Paksha (waxing), 16-30 are Krishna Paksha (waning). Purnima is 15, Amavasya is 30.
    pub number: i64,
    /// Lunar fortnight: Shukla (waxing, bright half) or Krishna (waning, dark half).
    pub paksha: GetDetailedPanchangResponseTithiPaksha,
    /// Percentage of the current tithi elapsed (0-100). Useful for determining tithi strength and transition proximity.
    pub percent: f64,
    /// Planetary ruler of this tithi. Influences the day energy and activities.
    #[serde(rename = "rulingPlanet", skip_serializing_if = "Option::is_none")]
    pub ruling_planet: Option<String>,
}
string_enum! {
    /// Lunar fortnight: Shukla (waxing, bright half) or Krishna (waning, dark half).
    GetDetailedPanchangResponseTithiPaksha {
        Shukla = "Shukla",
        Krishna = "Krishna",
    }
}
/// Tarabalam (Star strength). based on the 9-Tara nakshatra cycle. Determines favorability of Moon nakshatra transit relative to each of the 27 birth nakshatras.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseTarabalam {
    /// Birth nakshatras with favorable Tarabalam based on Moon nakshatra transit. Derived from the 9-Tara system. taras Sampat, Kshema, Sadhaka, Mitra, and Parama Mitra are favorable.
    #[serde(rename = "favorableNakshatras")]
    pub favorable_nakshatras: Vec<String>,
    /// Birth nakshatras with unfavorable Tarabalam (Vipat, Pratyari, Vadha taras). Natives of these birth nakshatras should exercise caution.
    #[serde(rename = "unfavorableNakshatras")]
    pub unfavorable_nakshatras: Vec<String>,
}
/// Sun sign (Surya Rashi) at sunrise. Determines the solar month (Saura Masa) in the Hindu calendar. Changes approximately once a month (Sankranti).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseSunSign {
    /// Sun rashi (sidereal zodiac sign) at sunrise.
    pub name: String,
    /// Sanskrit name of the Sun rashi.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// Sun nakshatra at sunrise. The Sun spends approximately 13-14 days in each nakshatra. Used for Surya-based muhurta and festival calculations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseSunNakshatra {
    /// Ruling planet (lord) of the Sun nakshatra.
    pub lord: String,
    /// Name of the nakshatra the Sun occupies.
    pub name: String,
    /// Sun nakshatra number (1-27).
    pub number: i64,
    /// Pada (quarter) of the Sun nakshatra.
    pub pada: i64,
}
/// Sayahna Sandhya, evening twilight junction period for Sandhyavandanam prayer. Spans sunset to 3 night ghatis after sunset. Duration varies by location and season based on ratrimana (night duration). One of the three daily Sandhya prayer times prescribed in Dharmashastra.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseSayahnaSandhya {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Rahu Kaal, inauspicious period ruled by Rahu. Avoid starting new ventures. Calculated from sunrise duration divided into 8 parts.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseRahuKaal {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Pratah Sandhya, morning twilight junction period for Sandhyavandanam prayer. Spans 3 night ghatis before sunrise to sunrise. Duration varies by location and season based on ratrimana (night duration). One of the three daily Sandhya prayer times prescribed in Dharmashastra.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponsePratahSandhya {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Panchaka, the inauspicious ~5-day window while the Moon transits the last five nakshatras (Dhanishta 3rd pada through Revati, 300 to 360 degrees sidereal). The dosha type depends on the weekday it begins; startsAt and endsAt report the period in force at sunrise or beginning later this day. Avoid major activities during Panchaka.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponsePanchaka {
    /// True when Panchaka is in effect on this date, whether it is already running at sunrise or begins later in the day, in which case startsAt and endsAt give the window. False only when no Panchaka touches this date.
    pub active: bool,
    /// When the Panchaka period ends (Moon exits Revati at 360 degrees), about five days after it starts. Null when no Panchaka. In requested timezone.
    #[serde(rename = "endsAt")]
    pub ends_at: Option<String>,
    /// When the Panchaka period starts (Moon enters 300 degrees, Dhanishta 3rd pada). May predate this date when Panchaka is already running. Null when no Panchaka is in force or begins on this date. In requested timezone.
    #[serde(rename = "startsAt")]
    pub starts_at: Option<String>,
    /// Panchaka dosha, set by the weekday the period BEGINS (not the nakshatra): Roga (Sunday, disease), Raja (Monday, government), Agni (Tuesday, fire), Chora (Friday, theft), Mrityu (Saturday, death). Null when Panchaka begins on Wednesday or Thursday (no dosha) or when no Panchaka touches this date.
    pub r#type: Option<String>,
}
/// Nishita Muhurta (Nishith Kaal), the 8th of 15 night muhurtas from sunset to next sunrise, occurring around midnight. Sacred period for worship of Lord Shiva, especially on Maha Shivaratri. Also significant for Janmashtami midnight celebrations and tantric sadhana.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseNishitaMuhurta {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Nakshatra (lunar mansion) information with interpretations
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseNakshatra {
    /// Personality traits and behavioral tendencies when the Moon occupies this nakshatra. Useful for daily panchang readings.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Presiding deity of this nakshatra from Vedic mythology. Influences spiritual qualities and karmic themes.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deity: Option<String>,
    /// Planetary ruler of this nakshatra. Determines Vimshottari dasha lord and influences nakshatra characteristics.
    pub lord: String,
    /// Sanskrit name of the nakshatra (lunar mansion). One of 27 nakshatras spanning the zodiac belt.
    pub name: String,
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini. Each nakshatra spans 13 degrees 20 minutes.
    pub number: i64,
    /// Pada (quarter, 1-4) of the nakshatra. Each nakshatra has 4 padas spanning 3 degrees 20 minutes each. Determines the navamsha sign and fine-tunes nakshatra predictions.
    pub pada: i64,
    /// Traditional symbol representing this nakshatra. Reflects core energy and life themes.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
}
/// Moon sign (Chandra Rashi) at sunrise. Central to Vedic astrology. determines daily emotional tone, Chandrabalam, and Tarabalam.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseMoonSign {
    /// Moon rashi (sidereal zodiac sign) at sunrise.
    pub name: String,
    /// Sanskrit name of the Moon rashi.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// Location coordinates used for all time-based calculations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseLocation {
    /// Observer latitude used for sunrise/sunset calculation.
    pub latitude: f64,
    /// Observer longitude used for sunrise/sunset calculation.
    pub longitude: f64,
    /// Timezone offset from UTC in hours.
    pub timezone: f64,
}
/// Karana (half-tithi) information. Fourth panchang element, changes twice per tithi.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseKarana {
    /// Activity suitability and characteristics of this karana for muhurta selection.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Sanskrit name of the karana. 7 movable karanas (Bava through Naga) repeat 8 times, plus 4 fixed karanas.
    pub name: String,
    /// Karana index. There are 11 karanas total (4 fixed + 7 movable) cycling through 60 half-tithis per lunar month.
    pub number: i64,
    /// Karana type: Movable (repeating, generally auspicious) or Fixed (occur once per month).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub r#type: Option<String>,
}
/// Current planetary hora. Used for electional astrology and muhurta selection.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseHora {
    /// Planet ruling the current hora (planetary hour). Each hora lasts ~1 hour.
    pub current: String,
    /// End time of the current hora, as local civil time in the requested timezone offset. Day horas and night horas have different lengths, so a hora is only approximately 60 minutes.
    pub end: String,
    /// Hora number within the day sequence (1-24).
    pub number: f64,
    /// Start time of the current hora, as local civil time in the requested timezone offset. The first hora of any day begins at local sunrise, so this equals the sunrise field when the hora number is 1.
    pub start: String,
}
/// Gulika Kaal, inauspicious period ruled by Saturn son Gulika. Considered harmful for initiating work.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseGulika {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Godhuli Muhurta (cow dust time), 12 minutes before sunset to 12 minutes after sunset. Universally auspicious for any activity, especially marriages and grihapravesha. No blemish from tithi, vara, nakshatra, karana, or yoga applies during Godhuli. Null only in polar regions where sun does not set.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseGodhuliMuhurta {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// One entry of `durMuhurta`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseDurMuhurtaItem {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Chandrabalam (Moon strength). indicates auspiciousness of Moon transit for each birth rashi. Essential for muhurta selection in Vedic electional astrology.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseChandrabalam {
    /// Rashi for which Moon is in Ashtama (8th house) position. highly inauspicious. Natives of this rashi should avoid important activities.
    #[serde(rename = "ashtamaChandraRashi")]
    pub ashtama_chandra_rashi: String,
    /// Rashis (zodiac signs) for which Moon transit is favorable today. Chandrabalam is positive when Moon transits 1st, 3rd, 6th, 7th, 10th, or 11th house from birth rashi.
    #[serde(rename = "favorableRashis")]
    pub favorable_rashis: Vec<String>,
}
/// Brahma Muhurta, sacred pre-dawn period approximately 96 minutes before sunrise (14th of 15 night muhurtas). Considered the best time for meditation, mantra japa, Vedic study, and spiritual sadhana. Referenced in Ashtanga Hridaya and Dharmashastra texts.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseBrahmaMuhurta {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Bhadra (Vishti Karana), the 7th movable karana, avoided for all auspicious activities. Bhadra recurs roughly every 3 to 5 days and lasts about half a tithi. active is true whenever a Bhadra is attributed to this date; startsAt and endsAt give the window, which may end on the next calendar day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseBhadra {
    /// True when a Bhadra (Vishti Karana) occurs on this date, in which case startsAt and endsAt give its window. False only when no Bhadra begins on this date.
    pub active: bool,
    /// When the Bhadra (Vishti) period that begins on this date ends. May fall on the next calendar day. Null when no Bhadra begins on this date. In requested timezone.
    #[serde(rename = "endsAt")]
    pub ends_at: Option<String>,
    /// When the Bhadra (Vishti) period that begins on this date starts. Null when no Bhadra begins on this date. In requested timezone.
    #[serde(rename = "startsAt")]
    pub starts_at: Option<String>,
}
/// One entry of `amritKalam`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseAmritKalamItem {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Abhijit Muhurta (Abhijit Muhurat), the most auspicious ~48-minute window around solar noon, the 8th of 15 day muhurtas. Ideal for starting new ventures, signing contracts, and performing rituals when no other shubh muhurat is available. Null on Wednesdays because Abhijit coincides with Dur Muhurta on that weekday per Muhurta Chintamani.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangResponseAbhijitMuhurta {
    /// Period end time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub end: String,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on the input timezone offset.
    pub start: String,
}
/// Request body of `getDetailedPanchang`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDetailedPanchangRequest {
    /// Date in YYYY-MM-DD format. A single-digit month or day is accepted and zero-padded (2026-3-5 becomes 2026-03-05). Impossible calendar dates are rejected. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
    pub date: String,
    /// Observer latitude in decimal degrees. Determines sunrise and sunset times which define day/night boundaries for muhurta calculations.
    pub latitude: f64,
    /// Observer longitude in decimal degrees. Affects local time calculations for sunrise, sunset, and muhurta period boundaries.
    pub longitude: f64,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Send the timezone that matches the coordinates: sunrise, sunset and every muhurta boundary are found by searching forward from local midnight, so the default anchors the search to an Indian day. Omitting it for a location outside IST returns a correctly ordered set of periods for the wrong window, shifted by the difference between 5.5 and the real offset. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetDetailedPanchangRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Send the timezone that matches the coordinates: sunrise, sunset and every muhurta boundary are found by searching forward from local midnight, so the default anchors the search to an Indian day. Omitting it for a location outside IST returns a correctly ordered set of periods for the wrong window, shifted by the difference between 5.5 and the real offset. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetDetailedPanchangRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `getDetailedPanchang`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDetailedPanchangParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDetailedPanchangParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDetailedPanchangParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyZodiacReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyZodiacReadingResponse {
    /// The one thing worth doing differently today, drawn from the relation and from this sign own habitual weak point.
    pub advice: String,
    /// The sign this reading was requested for.
    pub animal: GetDailyZodiacReadingResponseAnimal,
    /// True when the year animal is the same as the requested sign, the return of your own branch that comes round every twelve years. The tradition treats a Ben Ming Nian as a year to be deliberate in rather than one to fear, because the sign own qualities run at full strength and that cuts both ways.
    #[serde(rename = "benMingNian")]
    pub ben_ming_nian: bool,
    /// Work guidance for the day. Clash and harm days carry the traditional cautions about signings and launches.
    pub career: String,
    /// Date of this reading in YYYY-MM-DD format. Echoes the date requested, or the current day in the timezone parameter when it was omitted.
    pub date: String,
    /// The sexagenary pillar of this calendar day, evaluated at the reference meridian for the Chinese calendar.
    #[serde(rename = "dayPillar")]
    pub day_pillar: GetDailyZodiacReadingResponseDayPillar,
    /// Overall energy for this sign on this day, 1 to 10. Derived from the branch relation plus how the day phase treats the sign phase on the generating and controlling cycles, so a favourable relation in a draining phase lands lower than a favourable relation in a supporting one. Built for content widgets and visual indicators.
    #[serde(rename = "energyRating")]
    pub energy_rating: f64,
    /// Relationship guidance for the day, specific to the branch relation.
    pub love: String,
    /// What the day does to this sign, from the branch relation and the phase of the day stem.
    pub overview: String,
    /// How the day branch stands to the sign branch. One of secret-friend, trine, same, neutral, harm or clash. Exactly one applies, because no two of the conditions can hold at once. Always English so it stays safe to switch on, and the same vocabulary /zodiac/compatibility returns.
    pub relationship: String,
    /// The sexagenary year this date falls in, resolved on the LUNAR NEW YEAR rule to match the folk zodiac this route family answers. The Four Pillars routes use the classical Li Chun rule and can name a different year for dates in early February.
    pub year: GetDailyZodiacReadingResponseYear,
}
/// The sexagenary year this date falls in, resolved on the LUNAR NEW YEAR rule to match the folk zodiac this route family answers. The Four Pillars routes use the classical Li Chun rule and can name a different year for dates in early February.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyZodiacReadingResponseYear {
    /// Animal of the year in force. Always English so it stays safe to compare against.
    pub animal: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// One line on the year relationship, or on the Ben Ming Nian year when the year animal matches the sign.
    pub note: String,
    /// Sexagenary year pillar in force on this date, resolved on the lunar new year rule.
    pub pillar: String,
    /// How the year branch stands to the requested sign, from the same six-value vocabulary as the daily relationship. This is the slower background the day sits inside.
    pub relationship: String,
}
/// The sexagenary pillar of this calendar day, evaluated at the reference meridian for the Chinese calendar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyZodiacReadingResponseDayPillar {
    /// The animal the day branch carries, which the tradition calls the day animal. This is what the requested sign is being read against.
    pub animal: String,
    /// Earthly Branch of the day, as its pinyin identifier.
    pub branch: String,
    /// Five Element phase of the day Heavenly Stem. Together with the sign own phase this sets the energy rating, through the classical generating and controlling cycles.
    pub element: String,
    /// Sexagenary day pillar id, Heavenly Stem then Earthly Branch. Always English pinyin.
    pub id: String,
    /// Position of this pillar in the sixty-day sexagenary cycle, 1 to 60, where jia-zi is 1. The day cycle runs unbroken and is independent of the lunar and solar calendars.
    pub number: f64,
    /// Heavenly Stem of the day, as its pinyin identifier.
    pub stem: String,
}
/// The sign this reading was requested for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyZodiacReadingResponseAnimal {
    /// Earthly Branch this animal names, as its pinyin identifier.
    pub branch: String,
    /// Traditional hanzi character for the animal. Identical under every lang.
    pub chinese: String,
    /// Fixed Five Element phase of the sign own branch. Always English so it stays safe to compare against.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Machine identifier of the sign this reading is for. Always English and lowercase, so it stays safe to compare against in code.
    pub id: String,
    /// Display name of the sign in English. Always English; use nameLocalized for anything a reader sees.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the animal name.
    pub pinyin: String,
    /// Yin or yang polarity of the branch.
    pub polarity: String,
}
/// Path and query parameters of `getDailyZodiacReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyZodiacReadingParams {
    /// Reading date in YYYY-MM-DD format. Past and future dates are both supported, for editorial scheduling and backfill. Defaults to the current day in the timezone parameter.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Animal id, case-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: GetDailyZodiacReadingParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyZodiacReadingParamsLang>,
    /// Selects which day counts as current when date is omitted. Defaults to UTC, so the reading rolls over at 00:00 UTC each day. Pass the timezone of the end user to roll over on their local clock instead. Ignored when date is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyZodiacReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Animal id, case-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    GetDailyZodiacReadingParamsId {
        Rat = "rat",
        Ox = "ox",
        Tiger = "tiger",
        Rabbit = "rabbit",
        Dragon = "dragon",
        Snake = "snake",
        Horse = "horse",
        Goat = "goat",
        Monkey = "monkey",
        Rooster = "rooster",
        Dog = "dog",
        Pig = "pig",
    }
}
/// Response body of `getDailySephirah`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailySephirahResponse {
    /// The date this answer is for. Echoes the request or the resolved date.
    pub date: String,
    /// Day of the count, 1 to 49. Absent when the count is not running.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub day: Option<f64>,
    /// Which day inside that week, 1 to 7. Absent outside the count.
    #[serde(rename = "dayInWeek", skip_serializing_if = "Option::is_none")]
    pub day_in_week: Option<f64>,
    /// The sephirah of the DAY inside the week, which is the inner half of the label and is named first. Absent outside the count.
    #[serde(rename = "daySephirah", skip_serializing_if = "Option::is_none")]
    pub day_sephirah: Option<GetDailySephirahResponseDaySephirah>,
    /// The Hebrew month and day of this Omer day. Day 1 is 16 Nisan, the second day of Passover, on the reckoning this API uses. Absent outside the count.
    #[serde(rename = "hebrewDate", skip_serializing_if = "Option::is_none")]
    pub hebrew_date: Option<String>,
    /// The label as the printed text carries it, inner then outer. Absent outside the count.
    #[serde(rename = "hebrewLabel", skip_serializing_if = "Option::is_none")]
    pub hebrew_label: Option<String>,
    /// Whether the count is running on this date. False outside the forty nine days, and the fields below the count are then absent.
    #[serde(rename = "inOmer")]
    pub in_omer: bool,
    /// The date the count next opens. Present only when the count is not running, so a caller can branch on presence.
    #[serde(rename = "nextStart", skip_serializing_if = "Option::is_none")]
    pub next_start: Option<String>,
    /// The composed reading for the day, in the requested language.
    pub reading: String,
    /// Which of the seven weeks the day falls in. Absent outside the count.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub week: Option<f64>,
    /// The sephirah of the WEEK, which is the outer half of the label. Absent outside the count.
    #[serde(rename = "weekSephirah", skip_serializing_if = "Option::is_none")]
    pub week_sephirah: Option<GetDailySephirahResponseWeekSephirah>,
}
/// The sephirah of the WEEK, which is the outer half of the label. Absent outside the count.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailySephirahResponseWeekSephirah {
    /// The English gloss of the name, in the requested language.
    pub english: String,
    /// The name in Hebrew, unpointed. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the sephirah, always English so it stays safe to compare against in code.
    pub id: String,
    /// Latin transcription of the Hebrew, from the one mechanical letter map.
    pub romanization: String,
}
/// The sephirah of the DAY inside the week, which is the inner half of the label and is named first. Absent outside the count.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailySephirahResponseDaySephirah {
    /// The English gloss of the name, in the requested language.
    pub english: String,
    /// The name in Hebrew, unpointed. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the sephirah, always English so it stays safe to compare against in code.
    pub id: String,
    /// Latin transcription of the Hebrew, from the one mechanical letter map.
    pub romanization: String,
}
/// Path and query parameters of `getDailySephirah`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailySephirahParams {
    /// Set true when the moment falls after nightfall, which advances the Hebrew date by one day because the Hebrew day begins in the evening. It is a caller assertion rather than a computation, since sunset depends on a place and this route takes none.
    #[serde(rename = "afterSunset", skip_serializing_if = "Option::is_none")]
    pub after_sunset: Option<String>,
    /// Date in YYYY-MM-DD. Defaults to the current UTC date when omitted, so a caller that wants a fixed answer should send one.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailySephirahParamsLang>,
    /// IANA name or decimal offset, used only to decide which calendar date it is where the caller is when date is omitted. It does not move the count, which is a calendar count rather than a clock one.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailySephirahParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyNumberResponse {
    /// Concise daily guidance message combining the number archetype with practical advice for the day.
    #[serde(rename = "dailyMessage")]
    pub daily_message: String,
    /// Date this daily number is for (YYYY-MM-DD, UTC).
    pub date: String,
    /// The `meaning` field.
    pub meaning: GetDailyNumberResponseMeaning,
    /// Daily numerology number (1-9, 11, 22, 33). Represents the dominant energy and theme for this day.
    pub number: f64,
    /// Computed seed used for this reading. Same seed always produces the same number.
    pub seed: String,
    /// Whether this is a single-digit number (1-9) or a Master Number (11, 22, 33). Master Number days carry amplified spiritual significance.
    pub r#type: GetDailyNumberResponseType,
}
string_enum! {
    /// Whether this is a single-digit number (1-9) or a Master Number (11, 22, 33). Master Number days carry amplified spiritual significance.
    GetDailyNumberResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyNumberResponseMeaning {
    /// Professional guidance tuned to the daily energy. Suggests optimal work strategies, meeting approaches, and productivity focus areas.
    pub career: String,
    /// Shadow patterns to watch for today. Awareness of these helps navigate the day with intention and balance.
    pub challenges: Vec<String>,
    /// Core interpretation of the number of the day: its personality resonance, life themes and how it colors the day. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Defining traits and energetic themes active today. Useful for daily affirmations, journaling prompts, and focus areas.
    pub keywords: Vec<String>,
    /// Relationship dynamics influenced by the daily number. Covers communication style, social energy, and partnership awareness for the day.
    pub relationships: String,
    /// Spiritual theme of the day. Suggests meditation focus, contemplative practices, and the deeper lesson available today.
    pub spirituality: String,
    /// Qualities that are amplified and accessible today. Lean into these for maximum alignment with the daily energy.
    pub strengths: Vec<String>,
    /// Numerology archetype for this number. Captures the core energy of the day in a single phrase.
    pub title: String,
}
/// Path and query parameters of `getDailyNumber`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyNumberParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyNumberParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyNumberParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyMayanReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyMayanReadingResponse {
    /// The conventions this reading was computed under, echoed so the result is self describing.
    pub conventions: GetDailyMayanReadingResponseConventions,
    /// Date of this reading. Echoes the date requested, or the current day in UTC when it was omitted.
    pub date: String,
    /// Machine identifier of the Tzolkin day sign, always lowercase ASCII Yucatec whatever the lang parameter says, so it stays safe to compare against in code. The twenty ids run imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// The sixteenth century Yucatec spelling of the same sign, which is the form most printed reference tables and older sources use. Useful for matching a name a reader copied out of a book.
    #[serde(rename = "daySignClassic")]
    pub day_sign_classic: String,
    /// The Kʼicheʼ name of the same day from the living highland daykeeping tradition, which is the vocabulary a nawal reading in Guatemala uses. A parallel naming tradition rather than a translation, so it is identical under every lang.
    #[serde(rename = "daySignKiche")]
    pub day_sign_kiche: String,
    /// Display name of the day sign in the standard Maya orthography, where the ejective is written with a modifier letter rather than a typewriter quote. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// The Tzolkin coefficient, 1 to 13. This is the classical day number that runs alongside the twenty signs; it is not a rank and a 13 is not better than a 1. Nine of the thirteen carry a recorded character, which is returned separately.
    pub number: f64,
    /// What the day carries, placing it inside its trecena as well as naming it. Composed per request, so it stays consistent with the reading below rather than being a second opinion.
    pub overview: String,
    /// The composed nawal reading for the day sign in force.
    pub reading: GetDailyMayanReadingResponseReading,
    /// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
    pub trecena: GetDailyMayanReadingResponseTrecena,
}
/// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyMayanReadingResponseTrecena {
    /// Position of this day inside its trecena, 1 to 13. Always equal to the coefficient, because a trecena is exactly one run of the coefficient.
    #[serde(rename = "dayOfTrecena")]
    pub day_of_trecena: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20. Trecena 1 opens on 1 Imix.
    pub number: f64,
    /// Machine identifier of the day sign the trecena opens on, which the tradition reads as colouring all thirteen of its days.
    #[serde(rename = "rulingSign")]
    pub ruling_sign: String,
    /// Display name of the sign the trecena opens on. A proper noun carried as data.
    #[serde(rename = "rulingSignName")]
    pub ruling_sign_name: String,
}
/// The composed nawal reading for the day sign in force.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyMayanReadingResponseReading {
    /// Where the same temperament costs the sign something. Each one is the shadow of a strength above rather than an unrelated flaw.
    pub challenges: Vec<String>,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// The sign in one composed sentence: its name in both naming traditions, what it is about, and the glyph reading behind it. Composed per request from the sign components rather than stored whole, which is why it stays consistent with every other reading in the response.
    pub keynote: String,
    /// Machine identifier of the recorded character of the coefficient: gentle, indifferent or violent. ABSENT for coefficients 4, 5, 6 and 10, which have no recorded character in any consulted source. Always English so it stays safe to switch on.
    #[serde(rename = "numberBand", skip_serializing_if = "Option::is_none")]
    pub number_band: Option<String>,
    /// What the coefficient contributes. Nine of the thirteen carry a recorded character, banded as gentle, indifferent or violent; the other four carry none and this field says so rather than inventing one. The band ids are the source vocabulary, so violent names the days reserved for strong ceremony and defence and is not a warning.
    #[serde(rename = "numberReading")]
    pub number_reading: String,
    /// What the sign does well, as full sentences rather than keywords.
    pub strengths: Vec<String>,
}
/// The conventions this reading was computed under, echoed so the result is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyMayanReadingResponseConventions {
    /// The correlation constant actually applied, whether it was requested or defaulted. Store this beside any Maya date you persist: the same civil date resolves to a different Long Count under each constant, and a date with no correlation recorded cannot be reproduced.
    pub correlation: String,
}
/// Path and query parameters of `getDailyMayanReading`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyMayanReadingParams {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub correlation: Option<GetDailyMayanReadingParamsCorrelation>,
    /// Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform. Years 1 to 4000 are accepted. A reference converter that switches to the Julian calendar below the reform will disagree with a date before 15 October 1582 by ten or eleven days; that is a difference of input convention rather than of arithmetic, and passing the Julian equivalent to such a tool reproduces these values exactly. A single-digit month or day is accepted and zero padded. Defaults to the current day in UTC.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyMayanReadingParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyMayanReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    GetDailyMayanReadingParamsCorrelation {
        Gmt584283 = "gmt-584283",
        MartinezHernandez584281 = "martinez-hernandez-584281",
        Astronomical584285 = "astronomical-584285",
        MartinSkidmore584286 = "martin-skidmore-584286",
    }
}
/// Response body of `getDailyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyHoroscopeResponse {
    /// Active planetary transits affecting this sign today, with house activations. Each transit shows the planet, its current sign, and which house it activates for the queried sign. The sign and the house phrase translate with the lang parameter; the planet name stays canonical English so a caller can match on it whatever the language.
    #[serde(rename = "activeTransits")]
    pub active_transits: Vec<String>,
    /// The single actionable takeaway from the leading event of the period, read into the whole-sign houses of this sign and checkable against the events array. Drawn from the same event as overview, kept to a short, actionable pair of sentences rather than grown to match the other sections. Deterministic: the same sign and period always returns the same text.
    pub advice: String,
    /// Career and professional outlook, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to career, work and reputation, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries career, work and reputation, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 50 to 90 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub career: String,
    /// The full column for this period, ready to run as one piece, with paragraphs separated by a blank line. Names the events driving it and the dates they fall on, read into the whole-sign houses of this sign. Typically 120 to 180 words. The six section fields read the same ranked events filtered to their own life area, each composed as a column of its own rather than an excerpt of this one, so render either shape and never both. Deterministic: the same sign and period always returns the same column.
    pub column: String,
    /// Most compatible zodiac signs for this sign. Trine partners (same element) followed by a sextile partner (complementary element). Use for compatibility widgets, dating app onboarding, and horoscope cards.
    #[serde(rename = "compatibleSigns")]
    pub compatible_signs: Vec<String>,
    /// Date of this daily horoscope (YYYY-MM-DD).
    pub date: String,
    /// Overall energy for this sign today (1-10). Derived from how many aspects are in force between the planets, how tight they are, whether they are harmonious or challenging, and which houses they fall in for this sign, so a busy day rates higher than a quiet one and a harmonious day higher than a hostile one of the same weight. Useful for content widgets and visual indicators.
    #[serde(rename = "energyRating")]
    pub energy_rating: f64,
    /// The dated astronomical events this reading is built on, earliest first. Every field in every row can be checked against an independent authority, so a column can be fact-checked before it is published. Empty on a period in which nothing exact happens, where the reading falls back to the standing positions instead.
    pub events: Vec<GetDailyHoroscopeResponseEventsItem>,
    /// Financial outlook and money-related guidance, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to finance, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries finance, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 50 to 90 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub finance: String,
    /// Health, energy, and wellness guidance, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to health, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries health, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 50 to 90 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub health: String,
    /// Love and relationship forecast, read into the whole-sign houses of this sign. The same ranked events that drive column, filtered to romance and partnership, plus the standing placements that reach it. Every event named here is in the events array, so a piece can be fact-checked before it runs; this section reads an event through whichever of its houses carries romance and partnership, which for an aspect between two houses can be the other one from the house the events array leads with, and both are whole-sign houses of the bodies involved counted from this sign. Typically 50 to 90 words. Render it alone for a single-topic page, or alongside the other five sections for a general reading; column is the same material woven into one piece instead of split by topic. Deterministic: the same sign and period always returns the same text.
    pub love: String,
    /// Lucky color for the day, drawn from the three colors of the sign element and selected by the planet governing the reading.
    #[serde(rename = "luckyColor")]
    pub lucky_color: String,
    /// Lucky number for the day, 1 to 9, from the traditional planetary number correspondence applied to the planet that governs this sign today. Not a random draw and not a function of the date.
    #[serde(rename = "luckyNumber")]
    pub lucky_number: f64,
    /// Display name of the current lunar phase, one of the eight standard phases from New Moon through Waning Crescent. Translates in place with the lang parameter, like the moonSign beside it, so render it directly.
    #[serde(rename = "moonPhase")]
    pub moon_phase: String,
    /// Current Moon sign. Changes every 2-3 days, sets the emotional tone for all signs.
    #[serde(rename = "moonSign")]
    pub moon_sign: String,
    /// The single most relevant event of the period, whichever life area it touches, read into the whole-sign houses of this sign. The same event that leads column, at lede length rather than developed into a full movement, and checkable against the events array. Typically 30 to 60 words. Join it with love, career, health and finance for a general reading built from the six sections. Deterministic: the same sign and period always returns the same text.
    pub overview: String,
    /// Zodiac sign for this horoscope.
    pub sign: String,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyHoroscopeResponseEventsItem {
    /// Angle formed, on aspect events only: conjunction, sextile, square, trine, opposition, semi-sextile, quincunx, semi-square, or sesquiquadrate.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Exact instant the event perfects, UTC, to the second. Verifiable against NASA JPL Horizons for a position event and against the US Naval Observatory for a lunar phase or eclipse.
    pub at: String,
    /// Bodies involved, canonical English regardless of the requested language so the value stays safe to switch on. Two entries for an aspect, faster body first. One entry for an ingress, a station, a lunar phase, or an eclipse.
    pub bodies: Vec<String>,
    /// Whole-sign house the event falls in, counted from the queried sign, 1 to 12. This is what turns one global sky event into a statement about this reader.
    pub house: i64,
    /// Sign the event falls in, lowercase, where it has exactly one. Absent for an aspect whose two bodies stand in different signs.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sign: Option<String>,
    /// End of the window this event holds open, UTC, given only where a bounded window is a real fact about it: the orb span of an aspect, the sign span of an ingress or a season, the retrograde span of a station. Absent for a lunar phase or an eclipse, which are instants and not spans.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub through: Option<String>,
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    pub r#type: GetDailyHoroscopeResponseEventsItemType,
}
string_enum! {
    /// Kind of event. aspect is an exact angle between two moving bodies, sign-ingress a body entering a new sign, retrograde-station a body turning retrograde or direct, lunar-phase one of the four quarters, eclipse a solar or lunar eclipse, and solar-season the Sun entering a sign.
    GetDailyHoroscopeResponseEventsItemType {
        Aspect = "aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        LunarPhase = "lunar-phase",
        Eclipse = "eclipse",
        SolarSeason = "solar-season",
    }
}
/// Path and query parameters of `getDailyHoroscope`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyHoroscopeParams {
    /// Forecast date in YYYY-MM-DD format. Past and future dates are both supported, for editorial scheduling and backfill. Defaults to the current period in the timezone parameter.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyHoroscopeParamsLang>,
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    pub sign: GetDailyHoroscopeParamsSign,
    /// Selects which period counts as current when date is omitted. Defaults to UTC, so the forecast rolls over at 00:00 UTC on each day. Pass the timezone of the end user to roll over on their local clock instead. Ignored when date is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
string_enum! {
    /// Zodiac sign, case-insensitive (e.g., aries, Aries, ARIES all work).
    GetDailyHoroscopeParamsSign {
        Aries = "aries",
        Taurus = "taurus",
        Gemini = "gemini",
        Cancer = "cancer",
        Leo = "leo",
        Virgo = "virgo",
        Libra = "libra",
        Scorpio = "scorpio",
        Sagittarius = "sagittarius",
        Capricorn = "capricorn",
        Aquarius = "aquarius",
        Pisces = "pisces",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyHoroscopeParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyHexagram`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyHexagramResponse {
    /// Concise daily message summarizing the hexagram guidance
    #[serde(rename = "dailyMessage")]
    pub daily_message: String,
    /// Date this daily hexagram is for (YYYY-MM-DD, UTC).
    pub date: String,
    /// The `hexagram` field.
    pub hexagram: GetDailyHexagramResponseHexagram,
    /// Computed seed used for this reading. Same seed always produces the same hexagram.
    pub seed: String,
}
/// The `hexagram` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyHexagramResponseHexagram {
    /// Original Chinese name.
    pub chinese: String,
    /// English translation of the hexagram name.
    pub english: String,
    /// The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal action.
    pub image: String,
    /// Modern interpretations across life areas based on ancient I-Ching wisdom.
    pub interpretation: GetDailyHexagramResponseHexagramInterpretation,
    /// The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance.
    pub judgment: String,
    /// Lower trigram (lines 1-3).
    #[serde(rename = "lowerTrigram")]
    pub lower_trigram: String,
    /// Hexagram number in King Wen sequence (1-64).
    pub number: f64,
    /// Pinyin romanization with tone marks.
    pub pinyin: String,
    /// Unicode hexagram symbol for display.
    pub symbol: String,
    /// Upper trigram (lines 4-6).
    #[serde(rename = "upperTrigram")]
    pub upper_trigram: String,
}
/// Modern interpretations across life areas based on ancient I-Ching wisdom.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyHexagramResponseHexagramInterpretation {
    /// Practical wisdom and actionable advice.
    pub advice: String,
    /// Career and professional interpretation.
    pub career: String,
    /// Decision-making guidance for whether to act, wait, or change course.
    pub decision: String,
    /// General life situation interpretation.
    pub general: String,
    /// Love and relationship guidance.
    pub love: String,
}
/// Path and query parameters of `getDailyHexagram`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyHexagramParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyHexagramParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyHexagramParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyDreamSymbol`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyDreamSymbolResponse {
    /// Concise daily message summarizing the dream symbol and its key themes for quick reflection.
    #[serde(rename = "dailyMessage")]
    pub daily_message: String,
    /// Date of the daily dream symbol in YYYY-MM-DD format (UTC). Determines which symbol is selected for seeded readings.
    pub date: String,
    /// Seed used for this daily reading. Same seed on the same date always produces the identical symbol.
    pub seed: String,
    /// The `symbol` field.
    pub symbol: GetDailyDreamSymbolResponseSymbol,
}
/// The `symbol` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyDreamSymbolResponseSymbol {
    /// Unique symbol identifier in kebab-case. Use this to fetch full details via /symbols/{id}.
    pub id: String,
    /// Starting letter (a-z) for alphabetical navigation.
    pub letter: String,
    /// Full psychological dream interpretation explaining the subconscious symbolism, emotional significance, and waking-life connections.
    pub meaning: String,
    /// Display name of the dream symbol.
    pub name: String,
}
/// Path and query parameters of `getDailyCrystal`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyCrystalParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyCrystalParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyCrystalParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyCard`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyCardResponse {
    /// The `card` field.
    pub card: DrawnCard,
    /// Concise daily tarot message summarizing the card, its orientation, key themes, and brief guidance for the day.
    #[serde(rename = "dailyMessage")]
    pub daily_message: String,
    /// Date of the daily tarot reading in YYYY-MM-DD format (UTC). Determines which card is drawn for seeded readings.
    pub date: String,
    /// Seed used for this daily reading. Same seed on the same date always produces the identical card for reproducible daily divination.
    pub seed: String,
}
/// Path and query parameters of `getDailyCard`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyCardParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyCardParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyCardParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyBiorhythm`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyBiorhythmResponse {
    /// Actionable 1-2 sentence guidance for the day.
    pub advice: String,
    /// Concise daily biorhythm message combining energy rating and spotlight cycle.
    #[serde(rename = "dailyMessage")]
    pub daily_message: String,
    /// Date this daily reading is for (YYYY-MM-DD, UTC).
    pub date: String,
    /// Overall energy score from 1 to 10.
    #[serde(rename = "energyRating")]
    pub energy_rating: f64,
    /// Summary phase across every cycle for the day. One of: high_energy, mixed, recovery, critical.
    #[serde(rename = "overallPhase")]
    pub overall_phase: GetDailyBiorhythmResponseOverallPhase,
    /// The `quickRead` field.
    #[serde(rename = "quickRead")]
    pub quick_read: GetDailyBiorhythmResponseQuickRead,
    /// Computed seed used for this reading. Same seed always produces the same reading.
    pub seed: String,
    /// The `spotlight` field.
    pub spotlight: GetDailyBiorhythmResponseSpotlight,
}
/// The `spotlight` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyBiorhythmResponseSpotlight {
    /// Which primary cycle is featured as the daily spotlight. One of: physical, emotional, intellectual.
    pub cycle: GetDailyBiorhythmResponseSpotlightCycle,
    /// Personalized message about the spotlight cycle and what it means for today.
    pub message: String,
    /// Current phase of the spotlight cycle.
    pub phase: GetDailyBiorhythmResponseSpotlightPhase,
    /// Current value of the spotlight cycle (-100 to 100).
    pub value: f64,
}
string_enum! {
    /// Current phase of the spotlight cycle.
    GetDailyBiorhythmResponseSpotlightPhase {
        Peak = "peak",
        High = "high",
        Rising = "rising",
        CriticalAscending = "critical_ascending",
        CriticalDescending = "critical_descending",
        Falling = "falling",
        Low = "low",
        Trough = "trough",
    }
}
string_enum! {
    /// Which primary cycle is featured as the daily spotlight. One of: physical, emotional, intellectual.
    GetDailyBiorhythmResponseSpotlightCycle {
        Physical = "physical",
        Emotional = "emotional",
        Intellectual = "intellectual",
    }
}
/// The `quickRead` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyBiorhythmResponseQuickRead {
    /// Emotional cycle value (-100 to 100).
    pub emotional: f64,
    /// Intellectual cycle value (-100 to 100).
    pub intellectual: f64,
    /// Physical cycle value (-100 to 100).
    pub physical: f64,
}
string_enum! {
    /// Summary phase across every cycle for the day. One of: high_energy, mixed, recovery, critical.
    GetDailyBiorhythmResponseOverallPhase {
        HighEnergy = "high_energy",
        Mixed = "mixed",
        Recovery = "recovery",
        Critical = "critical",
    }
}
/// Path and query parameters of `getDailyBiorhythm`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyBiorhythmParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyBiorhythmParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyBiorhythmParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyAztecReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAztecReadingResponse {
    /// The conventions this reading was computed under, echoed so the result is self describing.
    pub conventions: GetDailyAztecReadingResponseConventions,
    /// Date of this reading. Echoes the date requested, or the current day in UTC when it was omitted.
    pub date: String,
    /// Machine identifier of the tonalpohualli day sign, always lowercase ASCII Nahuatl whatever the lang parameter says, so it stays safe to compare against in code. The twenty ids run cipactli, ehecatl, calli, cuetzpalin, coatl, miquiztli, mazatl, tochtli, atl, itzcuintli, ozomahtli, malinalli, acatl, ocelotl, cuauhtli, cozcacuauhtli, ollin, tecpatl, quiahuitl, xochitl.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// Display name in Nahuatl with the vowel length marks the reference tables print. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// World direction the sign belongs to: east, north, west or south. The twenty run through the four quarters in order, so the direction is a property of the position as much as of the sign.
    pub direction: String,
    /// What the sign name means, translated in place because it is a common noun. Several English renderings are in circulation for some signs and all of them are given rather than one being picked.
    pub gloss: String,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// The sign in one composed sentence. Composed per request from the sign components rather than stored whole.
    pub keynote: String,
    /// The tonalpohualli coefficient, 1 to 13. Structurally the same count as the Maya coefficient and read the same way: a rank it is not.
    pub number: f64,
    /// What the day carries, placing it inside its trecena as well as naming it. Composed per request, so it stays consistent with the keynote rather than being a second opinion.
    pub overview: String,
    /// A plain statement of what this family covers and what it deliberately leaves out. Present on every response so nobody has to guess whether a missing field is an outage or a decision.
    pub scope: String,
    /// The thirteen day period this day belongs to, named by the sign it opens on. No patron deity is returned: the published patron column carries an unresolved disagreement on two of the twenty rows, and a column that is right for eighteen and guessed for two is worse than none.
    pub trecena: GetDailyAztecReadingResponseTrecena,
}
/// The thirteen day period this day belongs to, named by the sign it opens on. No patron deity is returned: the published patron column carries an unresolved disagreement on two of the twenty rows, and a column that is right for eighteen and guessed for two is worse than none.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAztecReadingResponseTrecena {
    /// Position of this day inside its trecena, 1 to 13. Always equal to the coefficient.
    #[serde(rename = "dayOfTrecena")]
    pub day_of_trecena: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20.
    pub number: f64,
    /// Machine identifier of the day sign the trecena opens on.
    #[serde(rename = "startSign")]
    pub start_sign: String,
    /// Display name of the sign the trecena opens on. A proper noun carried as data.
    #[serde(rename = "startSignName")]
    pub start_sign_name: String,
}
/// The conventions this reading was computed under, echoed so the result is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAztecReadingResponseConventions {
    /// The correlation this count runs on, anchored on the recorded day 1 Coatl at the fall of Tenochtitlan, 13 August 1521 in the Julian calendar and 23 August 1521 in the proleptic Gregorian calendar this API takes. It is echoed rather than requested because it is not a switch: the anchor is a civil date, so no correlation constant enters the arithmetic, and the published alternatives for this calendar move the solar year alignment rather than the day count. The count was verified to run in step with the Maya count under the default constant, on the anchor and on two modern dates.
    pub correlation: String,
}
/// Path and query parameters of `getDailyAztecReading`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyAztecReadingParams {
    /// Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform. Years 1 to 4000 are accepted. A reference converter that switches to the Julian calendar below the reform will disagree with a date before 15 October 1582 by ten or eleven days; that is a difference of input convention rather than of arithmetic, and passing the Julian equivalent to such a tool reproduces these values exactly. A single-digit month or day is accepted and zero padded. Defaults to the current day in UTC.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyAztecReadingParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyAztecReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyAyurvedaReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponse {
    /// The pre-dawn window as a fixed offset from sunrise, not a share of the night.
    #[serde(rename = "brahmaMuhurta")]
    pub brahma_muhurta: GetDailyAyurvedaReadingResponseBrahmaMuhurta,
    /// The conventions this reading was produced under. All four are the defaults, stated rather than assumed.
    pub conventions: GetDailyAyurvedaReadingResponseConventions,
    /// The date of this reading. Echoes the date requested, or the current day in the timezone parameter when it was omitted.
    pub date: String,
    /// Which humours this season moves, and how. A season moves at most three of the nine slots and often fewer.
    #[serde(rename = "doshaCycle")]
    pub dosha_cycle: Vec<GetDailyAyurvedaReadingResponseDoshaCycleItem>,
    /// The six blocks, cut from the actual day and night at this place into thirds.
    #[serde(rename = "doshaPeriods")]
    pub dosha_periods: Vec<GetDailyAyurvedaReadingResponseDoshaPeriodsItem>,
    /// Scope of the response.
    pub meta: GetDailyAyurvedaReadingResponseMeta,
    /// The season this date falls in.
    pub ritu: GetDailyAyurvedaReadingResponseRitu,
    /// Every work behind this response, once each.
    pub sources: Vec<GetDailyAyurvedaReadingResponseSourcesItem>,
    /// The day in prose, composed and translated in place.
    pub summary: String,
    /// Sunrise at this place, as an ISO 8601 instant in UTC.
    pub sunrise: String,
    /// Sunset at this place, as an ISO 8601 instant in UTC.
    pub sunset: String,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponseSourcesItem {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// The season this date falls in.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponseRitu {
    /// The half-year course of the sun, as a Sanskrit identifier. It names what the sun is doing, so it is the same for every observer on the same day.
    pub ayana: String,
    /// When it closes, as an ISO 8601 instant in UTC.
    pub end: String,
    /// What the season is called in the requested language.
    pub gloss: String,
    /// The season as a Sanskrit identifier. Never translated.
    pub id: String,
    /// Whether the sun is taking or giving across this half of the year, as a Sanskrit identifier.
    pub phase: String,
    /// The season in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// When the season opened, as an ISO 8601 instant in UTC.
    pub start: String,
    /// Bodily strength in this season: highest, moderate or lowest. Always English so it stays safe to switch on.
    pub strength: String,
    /// The taste that grows in nature across this season, as a Sanskrit identifier. It is what the season brings rather than what to favour in it.
    #[serde(rename = "tasteIncreasing")]
    pub taste_increasing: String,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// One of the six dosha periods.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponseDoshaPeriodsItem {
    /// The humour this block belongs to, as a Sanskrit identifier.
    pub dosha: String,
    /// When the block closes, as an ISO 8601 instant in UTC.
    pub end: String,
    /// Whether the block sits in the day or the night.
    pub span: String,
    /// When the block opens, as an ISO 8601 instant in UTC.
    pub start: String,
}
/// One humour and where the season puts it.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponseDoshaCycleItem {
    /// The humour, as a Sanskrit identifier.
    pub dosha: String,
    /// Where the season puts it: accumulating, aggravated or settling. Always English so it stays safe to switch on.
    pub state: String,
}
/// The conventions this reading was produced under. All four are the defaults, stated rather than assumed.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponseConventions {
    /// How the six periods were cut. This route always uses the default; the routine route takes the choice.
    #[serde(rename = "doshaClock")]
    pub dosha_clock: String,
    /// Which half of the world the season name is stated for. This route always uses the default and never infers it from the latitude.
    pub hemisphere: String,
    /// Which zodiac the season boundaries were measured in. This route always uses the default.
    #[serde(rename = "rituZodiac")]
    pub ritu_zodiac: String,
    /// Which six-season division was applied. This route always uses the default; the season route takes the choice.
    #[serde(rename = "ritucharyaScheme")]
    pub ritucharya_scheme: String,
}
/// The pre-dawn window as a fixed offset from sunrise, not a share of the night.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingResponseBrahmaMuhurta {
    /// When the window closes, 48 minutes before sunrise.
    pub end: String,
    /// When the window opens, 96 minutes before sunrise.
    pub start: String,
}
/// Path and query parameters of `getDailyAyurvedaReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAyurvedaReadingParams {
    /// Reading date in YYYY-MM-DD format. Past and future dates are both supported, for editorial scheduling and backfill. Defaults to the current day in the timezone parameter.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyAyurvedaReadingParamsLang>,
    /// Latitude in decimal degrees. It sets how long the day and the night actually are, which is what the dosha periods are cut from.
    pub latitude: f64,
    /// Longitude in decimal degrees. It sets the clock time of sunrise at this place.
    pub longitude: f64,
    /// Selects which day counts as current when date is omitted, and which local day sunrise is computed for. Defaults to UTC, so the reading rolls over at 00:00 UTC. Accepts an IANA name (e.g. "Europe/London"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyAyurvedaReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getDailyAngelNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAngelNumberResponse {
    /// Three to five specific, actionable steps to take today based on the angel number guidance. Practical spiritual advice for daily life.
    #[serde(rename = "actionSteps")]
    pub action_steps: Vec<String>,
    /// Positive affirmation aligned with the daily angel number. Use for daily affirmation features, meditation guidance, or spiritual journal prompts.
    pub affirmation: String,
    /// Biblical and religious perspective on the daily sequence, framed honestly.
    pub biblical: String,
    /// One to two sentence summary of the divine message for today. Ideal for push notifications, daily guidance widgets, and quick reference.
    #[serde(rename = "coreMessage")]
    pub core_message: String,
    /// The date used for angel number selection (UTC).
    pub date: String,
    /// Numerology digit root calculated by summing all digits and reducing to a single digit. Links the daily angel number to its foundational numerology meaning.
    #[serde(rename = "digitRoot")]
    pub digit_root: f64,
    /// Overall energy classification. "positive" indicates encouraging, uplifting energy. "neutral" indicates transitional energy. "cautionary" indicates a gentle warning to rebalance or pay attention.
    pub energy: String,
    /// Five to eight keywords capturing the spiritual themes and energy of the daily angel number. Useful for search, filtering, and content generation.
    pub keywords: Vec<String>,
    /// Detailed interpretations across life areas for the daily angel number.
    pub meaning: GetDailyAngelNumberResponseMeaning,
    /// Angel number sequence selected for today. Three or more digit repeating, sequential, or mirror pattern (e.g., 111, 444, 1212).
    pub number: String,
    /// Computed seed used for this reading. Same seed always produces the same angel number.
    pub seed: String,
    /// Shadow or cautionary reading for the daily sequence. Complements the energy classification.
    pub shadow: String,
    /// Short descriptive title capturing the core theme and spiritual significance of the daily angel number.
    pub title: String,
    /// Pattern classification of the daily angel number. "repeating" means all digits are the same (111, 4444). "sequential" means consecutive digits (1234). "mirror" means palindrome or alternating pattern (1212, 1221).
    pub r#type: String,
}
/// Detailed interpretations across life areas for the daily angel number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyAngelNumberResponseMeaning {
    /// Career and vocation guidance: professional opportunities, calling, and practical work advice. Money and finances are returned separately in the money field.
    pub career: String,
    /// Love and relationship interpretation covering singles, couples, and those healing from past relationships. Includes romantic guidance and partnership advice.
    pub love: String,
    /// Money, finances, and material abundance guidance, kept distinct from career and vocation.
    pub money: String,
    /// Two to three paragraph spiritual interpretation covering divine guidance, higher purpose, and the metaphysical significance of the angel number selected for this date.
    pub spiritual: String,
    /// Twin flame connection interpretation covering union, separation, and spiritual growth within the twin flame journey.
    #[serde(rename = "twinFlame")]
    pub twin_flame: String,
}
/// Path and query parameters of `getDailyAngelNumber`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyAngelNumberParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetDailyAngelNumberParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetDailyAngelNumberParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCurrentMoonPhase`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentMoonPhaseResponse {
    /// Lunar age in days since the last New Moon. Full lunation cycle is ~29.53 days.
    pub age: f64,
    /// Date of this moon phase calculation (YYYY-MM-DD).
    pub date: String,
    /// Degree of the Moon within its current zodiac sign (0-29.999).
    pub degree: f64,
    /// Distance from Earth to the Moon in kilometers.
    pub distance: f64,
    /// Moon illumination percentage (0-100). 0 = New Moon, 100 = Full Moon.
    pub illumination: f64,
    /// Moon phase meaning and astrological interpretation. Includes energy direction, keywords, and guidance for this lunar phase.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub meaning: Option<GetCurrentMoonPhaseResponseMeaning>,
    /// Current lunar phase name. One of: New Moon, Waxing Crescent Moon, First Quarter Moon, Waxing Gibbous Moon, Full Moon, Waning Gibbous Moon, Last Quarter Moon, Waning Crescent Moon.
    pub phase: String,
    /// Tropical zodiac sign the Moon currently occupies.
    pub sign: String,
}
/// Moon phase meaning and astrological interpretation. Includes energy direction, keywords, and guidance for this lunar phase.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentMoonPhaseResponseMeaning {
    /// Astrological interpretation of this lunar phase and its influence on activities, emotions, and intentions.
    pub description: String,
    /// Lunar energy direction: waxing (building), waning (releasing), new (beginning), or full (culmination).
    pub energy: GetCurrentMoonPhaseResponseMeaningEnergy,
    /// Illumination range description for this phase.
    pub illumination: String,
    /// Key themes and activities aligned with this moon phase.
    pub keywords: Vec<String>,
    /// Moon phase display name.
    pub name: String,
    /// Moon phase emoji symbol.
    pub symbol: String,
}
string_enum! {
    /// Lunar energy direction: waxing (building), waning (releasing), new (beginning), or full (culmination).
    GetCurrentMoonPhaseResponseMeaningEnergy {
        Waxing = "waxing",
        Waning = "waning",
        New = "new",
        Full = "full",
    }
}
/// Path and query parameters of `getCurrentMoonPhase`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetCurrentMoonPhaseParams {
    /// Date in YYYY-MM-DD format. Defaults to today if omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCurrentMoonPhaseParamsLang>,
    /// Time in 24-hour HH:MM:SS format. Defaults to 12:00:00 (noon). Moon moves ~13 degrees per day so time affects phase precision.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub time: Option<String>,
    /// IANA name (e.g. "America/New_York", "Europe/London"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00"). IANA resolved to the DST-correct offset for the given date. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCurrentMoonPhaseParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCurrentDasha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponse {
    /// Antardasha (bhukti), sub-period within a Mahadasha. Each Mahadasha contains 9 Antardashas proportional to the Vimshottari years of each planet.
    pub antardasha: GetCurrentDashaResponseAntardasha,
    /// Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
    pub ayanamsa: f64,
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    #[serde(rename = "ayanamsaType")]
    pub ayanamsa_type: GetCurrentDashaResponseAyanamsaType,
    /// Houses common to the significators of the running dasha lords. In KP a matter fructifies under lords that jointly signify the houses of that matter, so these two sets are what a prediction is checked against.
    #[serde(rename = "commonHouses", skip_serializing_if = "Option::is_none")]
    pub common_houses: Option<GetCurrentDashaResponseCommonHouses>,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetCurrentDashaResponseFocus>,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes", skip_serializing_if = "Option::is_none")]
    pub house_themes: Option<GetCurrentDashaResponseHouseThemes>,
    /// Mahadasha (major planetary period) in the 120-year Vimshottari dasha cycle. Start and end dates are determined by Moon nakshatra at birth.
    pub mahadasha: GetCurrentDashaResponseMahadasha,
    /// Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
    /// Birth Moon nakshatra number (1-27). This nakshatra determines the starting dasha lord in the Vimshottari 120-year cycle.
    #[serde(rename = "moonNakshatra")]
    pub moon_nakshatra: i64,
    /// Vimshottari dasha lord of the birth nakshatra. This planet rules the first Mahadasha in the native life cycle.
    #[serde(rename = "nakshatraLord")]
    pub nakshatra_lord: GetCurrentDashaResponseNakshatraLord,
    /// Name of the birth Moon nakshatra (lunar mansion). One of 27 Vedic nakshatras from Ashwini to Revati.
    #[serde(rename = "nakshatraName")]
    pub nakshatra_name: String,
    /// Prana dasha (praana antardasha), the fifth and finest level of the Vimshottari dasha hierarchy. Each Sookshma dasha divides into 9 Prana periods, running from about 20 minutes inside a Sun Mahadasha to about 4 days inside a Saturn one. This is the level that takes Vimshottari from day-level to hour-level timing, used for muhurta selection and pinpointing the trigger inside an already identified window.
    #[serde(rename = "pranaDasha")]
    pub prana_dasha: GetCurrentDashaResponsePranaDasha,
    /// Pratyantardasha (sub-sub-period), the third level of the Vimshottari dasha hierarchy, Provides finer timing within each Antardasha for event prediction.
    pub pratyantardasha: GetCurrentDashaResponsePratyantardasha,
    /// Time remaining in the currently running Antardasha (sub-period) within the Mahadasha.
    #[serde(rename = "remainingInAntardasha")]
    pub remaining_in_antardasha: GetCurrentDashaResponseRemainingInAntardasha,
    /// Time remaining in the currently running Mahadasha (major period).
    #[serde(rename = "remainingInMahadasha")]
    pub remaining_in_mahadasha: GetCurrentDashaResponseRemainingInMahadasha,
    /// Time remaining in the currently running Prana dasha (fifth level). Prana periods run hours to days, so totalDays is often 0 or 1 and the years and months fields are almost always zero.
    #[serde(rename = "remainingInPrana")]
    pub remaining_in_prana: GetCurrentDashaResponseRemainingInPrana,
    /// Time remaining in the currently running Pratyantardasha (sub-sub-period).
    #[serde(rename = "remainingInPratyantardasha")]
    pub remaining_in_pratyantardasha: GetCurrentDashaResponseRemainingInPratyantardasha,
    /// Time remaining in the currently running Sookshma dasha (fourth level). Sookshma periods last days rather than months, so this value turns over quickly.
    #[serde(rename = "remainingInSookshma")]
    pub remaining_in_sookshma: GetCurrentDashaResponseRemainingInSookshma,
    /// Sookshma dasha (sookshma antardasha), the fourth level of the Vimshottari dasha hierarchy. Each Pratyantardasha divides into 9 Sookshma periods running roughly 3 to 30 days each, used for day-level event timing and muhurta style selection.
    #[serde(rename = "sookshmaDasha")]
    pub sookshma_dasha: GetCurrentDashaResponseSookshmaDasha,
}
/// Sookshma dasha (sookshma antardasha), the fourth level of the Vimshottari dasha hierarchy. Each Pratyantardasha divides into 9 Sookshma periods running roughly 3 to 30 days each, used for day-level event timing and muhurta style selection.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseSookshmaDasha {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetCurrentDashaResponseSookshmaDashaAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetCurrentDashaResponseSookshmaDashaMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetCurrentDashaResponseSookshmaDashaPlanet,
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    #[serde(rename = "pratyantardashaLord")]
    pub pratyantardasha_lord: GetCurrentDashaResponseSookshmaDashaPratyantardashaLord,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetCurrentDashaResponseSookshmaDashaSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseSookshmaDashaSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetCurrentDashaResponseSookshmaDashaSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetCurrentDashaResponseSookshmaDashaSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseSookshmaDashaSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetCurrentDashaResponseSookshmaDashaSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetCurrentDashaResponseSookshmaDashaSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetCurrentDashaResponseSookshmaDashaSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetCurrentDashaResponseSookshmaDashaSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseSookshmaDashaSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    GetCurrentDashaResponseSookshmaDashaPratyantardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetCurrentDashaResponseSookshmaDashaPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetCurrentDashaResponseSookshmaDashaMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetCurrentDashaResponseSookshmaDashaAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Time remaining in the currently running Sookshma dasha (fourth level). Sookshma periods last days rather than months, so this value turns over quickly.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseRemainingInSookshma {
    /// Additional days remaining beyond full months.
    pub days: f64,
    /// Additional months remaining beyond full years.
    pub months: f64,
    /// Total remaining days in this dasha period. Useful for progress calculations.
    #[serde(rename = "totalDays")]
    pub total_days: f64,
    /// Full years remaining in this Vimshottari dasha period.
    pub years: f64,
}
/// Time remaining in the currently running Pratyantardasha (sub-sub-period).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseRemainingInPratyantardasha {
    /// Additional days remaining beyond full months.
    pub days: f64,
    /// Additional months remaining beyond full years.
    pub months: f64,
    /// Total remaining days in this dasha period. Useful for progress calculations.
    #[serde(rename = "totalDays")]
    pub total_days: f64,
    /// Full years remaining in this Vimshottari dasha period.
    pub years: f64,
}
/// Time remaining in the currently running Prana dasha (fifth level). Prana periods run hours to days, so totalDays is often 0 or 1 and the years and months fields are almost always zero.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseRemainingInPrana {
    /// Additional days remaining beyond full months.
    pub days: f64,
    /// Additional months remaining beyond full years.
    pub months: f64,
    /// Total remaining days in this dasha period. Useful for progress calculations.
    #[serde(rename = "totalDays")]
    pub total_days: f64,
    /// Full years remaining in this Vimshottari dasha period.
    pub years: f64,
}
/// Time remaining in the currently running Mahadasha (major period).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseRemainingInMahadasha {
    /// Additional days remaining beyond full months.
    pub days: f64,
    /// Additional months remaining beyond full years.
    pub months: f64,
    /// Total remaining days in this dasha period. Useful for progress calculations.
    #[serde(rename = "totalDays")]
    pub total_days: f64,
    /// Full years remaining in this Vimshottari dasha period.
    pub years: f64,
}
/// Time remaining in the currently running Antardasha (sub-period) within the Mahadasha.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseRemainingInAntardasha {
    /// Additional days remaining beyond full months.
    pub days: f64,
    /// Additional months remaining beyond full years.
    pub months: f64,
    /// Total remaining days in this dasha period. Useful for progress calculations.
    #[serde(rename = "totalDays")]
    pub total_days: f64,
    /// Full years remaining in this Vimshottari dasha period.
    pub years: f64,
}
/// Pratyantardasha (sub-sub-period), the third level of the Vimshottari dasha hierarchy, Provides finer timing within each Antardasha for event prediction.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePratyantardasha {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetCurrentDashaResponsePratyantardashaAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetCurrentDashaResponsePratyantardashaMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetCurrentDashaResponsePratyantardashaPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetCurrentDashaResponsePratyantardashaSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePratyantardashaSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetCurrentDashaResponsePratyantardashaSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetCurrentDashaResponsePratyantardashaSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePratyantardashaSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetCurrentDashaResponsePratyantardashaSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetCurrentDashaResponsePratyantardashaSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetCurrentDashaResponsePratyantardashaSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetCurrentDashaResponsePratyantardashaSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePratyantardashaSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetCurrentDashaResponsePratyantardashaPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetCurrentDashaResponsePratyantardashaMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetCurrentDashaResponsePratyantardashaAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Prana dasha (praana antardasha), the fifth and finest level of the Vimshottari dasha hierarchy. Each Sookshma dasha divides into 9 Prana periods, running from about 20 minutes inside a Sun Mahadasha to about 4 days inside a Saturn one. This is the level that takes Vimshottari from day-level to hour-level timing, used for muhurta selection and pinpointing the trigger inside an already identified window.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePranaDasha {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    #[serde(rename = "antardashaLord")]
    pub antardasha_lord: GetCurrentDashaResponsePranaDashaAntardashaLord,
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetCurrentDashaResponsePranaDashaMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetCurrentDashaResponsePranaDashaPlanet,
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    #[serde(rename = "pratyantardashaLord")]
    pub pratyantardasha_lord: GetCurrentDashaResponsePranaDashaPratyantardashaLord,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetCurrentDashaResponsePranaDashaSignificators>,
    /// Parent Sookshma dasha lord under which this Prana dasha runs.
    #[serde(rename = "sookshmaLord")]
    pub sookshma_lord: GetCurrentDashaResponsePranaDashaSookshmaLord,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
string_enum! {
    /// Parent Sookshma dasha lord under which this Prana dasha runs.
    GetCurrentDashaResponsePranaDashaSookshmaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePranaDashaSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetCurrentDashaResponsePranaDashaSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetCurrentDashaResponsePranaDashaSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePranaDashaSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetCurrentDashaResponsePranaDashaSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetCurrentDashaResponsePranaDashaSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetCurrentDashaResponsePranaDashaSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetCurrentDashaResponsePranaDashaSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponsePranaDashaSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Parent Pratyantardasha lord under which this Sookshma dasha runs.
    GetCurrentDashaResponsePranaDashaPratyantardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetCurrentDashaResponsePranaDashaPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetCurrentDashaResponsePranaDashaMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Antardasha lord under which this Pratyantardasha runs.
    GetCurrentDashaResponsePranaDashaAntardashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Vimshottari dasha lord of the birth nakshatra. This planet rules the first Mahadasha in the native life cycle.
    GetCurrentDashaResponseNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Mahadasha (major planetary period) in the 120-year Vimshottari dasha cycle. Start and end dates are determined by Moon nakshatra at birth.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseMahadasha {
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetCurrentDashaResponseMahadashaPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetCurrentDashaResponseMahadashaSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseMahadashaSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetCurrentDashaResponseMahadashaSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetCurrentDashaResponseMahadashaSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseMahadashaSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetCurrentDashaResponseMahadashaSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetCurrentDashaResponseMahadashaSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetCurrentDashaResponseMahadashaSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetCurrentDashaResponseMahadashaSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseMahadashaSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetCurrentDashaResponseMahadashaPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    GetCurrentDashaResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Houses common to the significators of the running dasha lords. In KP a matter fructifies under lords that jointly signify the houses of that matter, so these two sets are what a prediction is checked against.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseCommonHouses {
    /// Houses signified by ALL FIVE running lords at once (Mahadasha through Prana). The tightest reading available: a house every active level carries is the one the current moment is pointed at. Often empty, which is itself informative, it means the five levels do not converge on a single house.
    #[serde(rename = "allLevels")]
    pub all_levels: Vec<i64>,
    /// Houses signified by the Mahadasha, Antardasha and Pratyantardasha lords together, the classical KP three-lord test used to decide whether a matter fructifies in the running period. Wider than allLevels because it ignores the two fastest levels, which is what makes it the practical filter for month-scale predictions.
    #[serde(rename = "dashaBhuktiAntara")]
    pub dasha_bhukti_antara: Vec<i64>,
}
string_enum! {
    /// Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
    GetCurrentDashaResponseAyanamsaType {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Antardasha (bhukti), sub-period within a Mahadasha. Each Mahadasha contains 9 Antardashas proportional to the Vimshottari years of each planet.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseAntardasha {
    /// Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
    #[serde(rename = "durationYears")]
    pub duration_years: f64,
    /// End datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interpretation: Option<String>,
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    #[serde(rename = "mahadashaLord")]
    pub mahadasha_lord: GetCurrentDashaResponseAntardashaMahadashaLord,
    /// Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
    #[serde(rename = "nominalStartDate", skip_serializing_if = "Option::is_none")]
    pub nominal_start_date: Option<String>,
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    pub planet: GetCurrentDashaResponseAntardashaPlanet,
    /// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<GetCurrentDashaResponseAntardashaSignificators>,
    /// Start datetime of this dasha period. Adjusted to the requested timezone offset.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// KP significators of this period lord, read from the Placidus birth chart in the requested ayanamsa. Present only when the request sets "significators": true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseAntardashaSignificators {
    /// House 1-12 this lord occupies in the Placidus birth chart. Its own Level 2 signification, repeated here because the occupied house is the first thing a KP reading looks at.
    pub house: i64,
    /// Every house this lord signifies, deduplicated and ordered strongest tier first. Where a house is reached at more than one level it is listed once, at its strongest. This is the flat "houses signified" column of a KP dasha table.
    #[serde(rename = "signifiedHouses")]
    pub signified_houses: Vec<i64>,
    /// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
    pub signifies: GetCurrentDashaResponseAntardashaSignificatorsSignifies,
    /// Lord of the nakshatra this planet sits in, one of the 9 grahas. In KP the star lord outranks the planet itself: a period lord mainly delivers the houses its star lord occupies and owns, which is why those appear at L1 and L3 rather than the planet own house.
    #[serde(rename = "starLord")]
    pub star_lord: String,
    /// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
    pub strength: GetCurrentDashaResponseAntardashaSignificatorsStrength,
    /// Subset of signifiedHouses reached at grade A or B (levels L1 and L2). These are the houses a KP reading acts on for this period; the rest are supporting connections.
    #[serde(rename = "strongHouses")]
    pub strong_houses: Vec<i64>,
    /// KP sub lord of this planet, the 1 of 249 subdivision its longitude falls in, one of the 9 grahas. The star lord says WHAT results the period gives, the sub lord says WHETHER they materialize, so KP judgement checks both.
    #[serde(rename = "subLord", skip_serializing_if = "Option::is_none")]
    pub sub_lord: Option<String>,
}
/// How firmly this lord is tied to the houses it signifies, on the KP A to D significator grading. Reproducible from the significator levels alone, in two steps. STEP 1, per house keep only the strongest level: a planet routinely reaches the same house at more than one level, for example its star lord occupies house 11 and it also owns house 11, and KP cites a significator by its best connection, so that house counts once at grade A. This is why signifiedHouses is shorter than the four level arrays concatenated, and omitting it is what makes a hand calculation disagree. STEP 2, average the surviving weights: each house contributes 100, 75, 50 or 25 for grade A, B, C or D, and the mean is the score. Worked example, a lord signifying house 11 at level 1, house 6 at level 2 and house 2 at level 4 scores (100 + 75 + 25) / 3 = 66.7, which lands in band B because the band edges are the midpoints 87.5, 62.5 and 37.5. The score says how firmly the lord is connected, never whether the houses are favourable, which depends on the matter being judged.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseAntardashaSignificatorsStrength {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    pub grade: GetCurrentDashaResponseAntardashaSignificatorsStrengthGrade,
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    pub label: GetCurrentDashaResponseAntardashaSignificatorsStrengthLabel,
    /// Mean KP percentage weight across signifiedHouses, each house counted at its strongest level (A 100, B 75, C 50, D 25). A mean rather than a total, so signifying many houses weakly does not outrank signifying two houses at grade A.
    pub score: f64,
}
string_enum! {
    /// Plain-language form of grade: "very-strong" for A, "strong" for B, "moderate" for C, "weak" for D. Says how firmly this lord is connected to the houses it signifies, NOT whether those houses are favourable, which depends on the matter being judged.
    GetCurrentDashaResponseAntardashaSignificatorsStrengthLabel {
        VeryStrong = "very-strong",
        Strong = "strong",
        Moderate = "moderate",
        Weak = "weak",
    }
}
string_enum! {
    /// Band the score falls in, on the standard KP significator grading: A planets in the constellation of the occupant, B occupants, C planets in the constellation of the house owner, D the house owner. Band edges are the midpoints between the four weights.
    GetCurrentDashaResponseAntardashaSignificatorsStrengthGrade {
        A = "A",
        B = "B",
        C = "C",
        D = "D",
    }
}
/// KP 4-level significator breakdown showing which houses (1-12) this planet signifies at each strength tier. L1 is strongest, L4 is weakest.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaResponseAntardashaSignificatorsSignifies {
    /// Level 1, the strongest signification (grade A). Houses influenced because this planet sits in the nakshatra (star) of a planet occupying those houses. For Rahu and Ketu, also includes the L1 houses of their agent planets (conjoined, aspecting, sign lord).
    #[serde(rename = "L1")]
    pub l1: Vec<i64>,
    /// Level 2 (grade B). The house this planet physically occupies. For Rahu and Ketu, also includes houses occupied by their agent planets.
    #[serde(rename = "L2")]
    pub l2: Vec<i64>,
    /// Level 3 (grade C). Houses influenced because this planet sits in the nakshatra of the sign lord (owner) of those houses. For Rahu and Ketu, also includes the L3 houses of their agent planets.
    #[serde(rename = "L3")]
    pub l3: Vec<i64>,
    /// Level 4, the weakest signification (grade D). Houses this planet rules by zodiac sign ownership, up to 2 for Sun through Saturn and 3 where a sign is intercepted. Rahu and Ketu own no sign, so their L4 comes entirely from their agent planets.
    #[serde(rename = "L4")]
    pub l4: Vec<i64>,
}
string_enum! {
    /// Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
    GetCurrentDashaResponseAntardashaPlanet {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Parent Mahadasha lord under which this Antardasha sub-period runs.
    GetCurrentDashaResponseAntardashaMahadashaLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Request body of `getCurrentDasha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCurrentDashaRequest {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<GetCurrentDashaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// ISO 8601 datetime (YYYY-MM-DDTHH:MM:SS) to read the running periods at, for a reading prepared for a future day, a backtest, or a chart cast for a past moment. Defaults to the current instant. Interpreted as local time in the request timezone (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub datetime: Option<String>,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GetCurrentDashaRequestNodeType>,
    /// Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub significators: Option<bool>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetCurrentDashaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetCurrentDashaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
    GetCurrentDashaRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "raman" uses the B.V. Raman ayanamsa, the second frame traditional Indian software commonly offers beside Lahiri. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
    GetCurrentDashaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `getCurrentDasha`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetCurrentDashaParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GetCurrentDashaParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCurrentDashaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCurrentDashaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GetCurrentDashaParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `getCrystalsByZodiac`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByZodiacResponse {
    /// Crystal summaries for this zodiac sign. Call /crystals/{id} for full healing properties.
    pub crystals: Vec<GetCrystalsByZodiacResponseCrystalsItem>,
    /// Maximum crystals returned per page.
    pub limit: f64,
    /// Number of crystals skipped.
    pub offset: f64,
    /// The zodiac sign that was queried.
    pub sign: String,
    /// Total number of crystals associated with this zodiac sign.
    pub total: f64,
}
/// One entry of `crystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByZodiacResponseCrystalsItem {
    /// Primary colors of this crystal variety. Null when color data is unavailable.
    pub colors: Option<Vec<String>>,
    /// URL-safe crystal identifier for detail lookup.
    pub id: String,
    /// URL to crystal photograph for visual identification.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Crystal display name.
    pub name: String,
}
/// Path and query parameters of `getCrystalsByZodiac`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByZodiacParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCrystalsByZodiacParamsLang>,
    /// Maximum items to return per page. Range: 1-30, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
    /// Zodiac sign name, case-insensitive (e.g., pisces, Pisces, PISCES all work). Valid: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces.
    pub sign: GetCrystalsByZodiacParamsSign,
}
string_enum! {
    /// Zodiac sign name, case-insensitive (e.g., pisces, Pisces, PISCES all work). Valid: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces.
    GetCrystalsByZodiacParamsSign {
        Aries = "aries",
        Taurus = "taurus",
        Gemini = "gemini",
        Cancer = "cancer",
        Leo = "leo",
        Virgo = "virgo",
        Libra = "libra",
        Scorpio = "scorpio",
        Sagittarius = "sagittarius",
        Capricorn = "capricorn",
        Aquarius = "aquarius",
        Pisces = "pisces",
    }
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCrystalsByZodiacParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCrystalsByElement`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByElementResponse {
    /// Crystal summaries for this element. Call /crystals/{id} for full healing properties.
    pub crystals: Vec<GetCrystalsByElementResponseCrystalsItem>,
    /// The element that was queried.
    pub element: String,
    /// Maximum crystals returned per page.
    pub limit: f64,
    /// Number of crystals skipped.
    pub offset: f64,
    /// Total number of crystals associated with this element.
    pub total: f64,
}
/// One entry of `crystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByElementResponseCrystalsItem {
    /// Primary colors of this crystal variety. Null when color data is unavailable.
    pub colors: Option<Vec<String>>,
    /// URL-safe crystal identifier for detail lookup.
    pub id: String,
    /// URL to crystal photograph for visual identification.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Crystal display name.
    pub name: String,
}
/// Path and query parameters of `getCrystalsByElement`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByElementParams {
    /// Element name, case-insensitive (e.g., water, Water, WATER all work). Valid: Earth, Water, Fire, Air, Storm.
    pub element: GetCrystalsByElementParamsElement,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCrystalsByElementParamsLang>,
    /// Maximum items to return per page. Range: 1-30, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCrystalsByElementParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Element name, case-insensitive (e.g., water, Water, WATER all work). Valid: Earth, Water, Fire, Air, Storm.
    GetCrystalsByElementParamsElement {
        Earth = "Earth",
        Water = "Water",
        Fire = "Fire",
        Air = "Air",
        Storm = "Storm",
    }
}
/// Response body of `getCrystalsByChakra`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByChakraResponse {
    /// The chakra energy center that was queried.
    pub chakra: String,
    /// Crystal summaries for this chakra. Call /crystals/{id} for full healing properties.
    pub crystals: Vec<GetCrystalsByChakraResponseCrystalsItem>,
    /// Maximum crystals returned per page.
    pub limit: f64,
    /// Number of crystals skipped.
    pub offset: f64,
    /// Total number of crystals associated with this chakra.
    pub total: f64,
}
/// One entry of `crystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByChakraResponseCrystalsItem {
    /// Primary colors of this crystal variety. Null when color data is unavailable.
    pub colors: Option<Vec<String>>,
    /// URL-safe crystal identifier for detail lookup.
    pub id: String,
    /// URL to crystal photograph for visual identification.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Crystal display name.
    pub name: String,
}
/// Path and query parameters of `getCrystalsByChakra`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalsByChakraParams {
    /// Chakra name, case-insensitive (e.g., heart, Heart, HEART all work). Valid: Root, Sacral, Solar Plexus, Heart, Throat, Third Eye, Crown.
    pub chakra: GetCrystalsByChakraParamsChakra,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCrystalsByChakraParamsLang>,
    /// Maximum items to return per page. Range: 1-30, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCrystalsByChakraParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Chakra name, case-insensitive (e.g., heart, Heart, HEART all work). Valid: Root, Sacral, Solar Plexus, Heart, Throat, Third Eye, Crown.
    GetCrystalsByChakraParamsChakra {
        Root = "Root",
        Sacral = "Sacral",
        SolarPlexus = "Solar Plexus",
        Heart = "Heart",
        Throat = "Throat",
        ThirdEye = "Third Eye",
        Crown = "Crown",
    }
}
/// Response body of `getCrystal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalResponse {
    /// Positive affirmation aligned with this crystal energy. Use for meditation, journaling, or daily affirmation features.
    pub affirmation: String,
    /// Birth month (1-12) if this crystal is a traditional birthstone. Null if not a birthstone. January is 1, December is 12.
    #[serde(rename = "birthMonth")]
    pub birth_month: Option<f64>,
    /// Chakra energy centers this crystal resonates with. One of: Root, Sacral, Solar Plexus, Heart, Throat, Third Eye, Crown.
    pub chakras: Vec<String>,
    /// Primary colors of this crystal variety. Null when color data is unavailable. Useful for color-based crystal selection and filtering.
    pub colors: Option<Vec<String>>,
    /// Overview of the crystal covering its primary healing purpose, spiritual significance, and key benefits.
    pub description: String,
    /// Elemental associations (Earth, Water, Fire, Air, Storm) connecting the crystal to natural forces and energy types. Null when elemental data is unavailable.
    pub elements: Option<Vec<String>>,
    /// Mohs hardness scale rating (1-10). Indicates durability for jewelry use. Quartz family is 7, Diamond is 10, Selenite is 2.
    pub hardness: f64,
    /// URL-safe identifier for the crystal.
    pub id: String,
    /// URL to a high-quality crystal photograph. Use for visual crystal guides, product listings, and crystal identification features.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Keywords capturing the core healing properties and spiritual themes of this crystal. The count varies by stone, from a single keyword up to twenty. Null when keyword data is unavailable.
    pub keywords: Option<Vec<String>>,
    /// Detailed healing interpretations across three areas: spiritual and metaphysical, emotional and psychological, and physical body associations.
    pub meaning: GetCrystalResponseMeaning,
    /// Display name of the crystal or healing stone.
    pub name: String,
    /// Numerological vibration number linking this crystal to numerology meanings. Connects crystal healing with numerology practice.
    #[serde(rename = "numericalVibration")]
    pub numerical_vibration: f64,
    /// Crystal identifiers that pair well with this stone for enhanced healing combinations. Use for crystal grid and pairing recommendations.
    #[serde(rename = "pairsWith")]
    pub pairs_with: Vec<String>,
    /// Ruling planet or celestial body associated with this crystal in astrological tradition. Null when planetary association is unavailable.
    pub planet: Option<String>,
    /// Zodiac signs this crystal is traditionally associated with. Null when zodiac data is unavailable. Useful for personalized crystal recommendations based on birth chart.
    #[serde(rename = "zodiacSigns")]
    pub zodiac_signs: Option<Vec<String>>,
}
/// Detailed healing interpretations across three areas: spiritual and metaphysical, emotional and psychological, and physical body associations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalResponseMeaning {
    /// Emotional healing properties including stress relief, relationship support, and emotional balance benefits.
    pub emotional: String,
    /// Physical healing associations traditionally attributed to this crystal in crystal healing practice. Null when physical healing data is unavailable.
    pub physical: Option<String>,
    /// Spiritual and metaphysical healing properties including energy work, meditation benefits, and higher consciousness connections. Null when spiritual interpretation is unavailable.
    pub spiritual: Option<String>,
}
/// Path and query parameters of `getCrystal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalParams {
    /// URL-safe crystal identifier, case-insensitive (e.g., "amethyst", "Amethyst", "rose-quartz" all resolve). Must match an entry in the database.
    pub id: String,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCrystalParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCrystalParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCrystalPairings`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalPairingsResponse {
    /// Number of recommended crystal pairings.
    pub count: f64,
    /// The crystal identifier that pairings were requested for.
    pub crystal: String,
    /// Display name of the source crystal.
    pub name: String,
    /// Crystals recommended for use alongside the source crystal for synergistic healing.
    pub pairings: Vec<GetCrystalPairingsResponsePairingsItem>,
}
/// One entry of `pairings`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalPairingsResponsePairingsItem {
    /// Chakra associations for the paired crystal.
    pub chakras: Vec<String>,
    /// Brief overview of the paired crystal.
    pub description: String,
    /// URL-safe identifier for the paired crystal.
    pub id: String,
    /// URL to paired crystal photograph.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Healing property keywords for the paired crystal. Null when keyword data is unavailable.
    pub keywords: Option<Vec<String>>,
    /// Paired crystal display name.
    pub name: String,
}
/// Path and query parameters of `getCrystalPairings`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCrystalPairingsParams {
    /// URL-safe crystal identifier to find pairings for, case-insensitive (e.g., "amethyst", "Amethyst", "rose-quartz" all resolve).
    pub id: String,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCrystalPairingsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCrystalPairingsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCriticalDays`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCriticalDaysResponse {
    /// Birth date used for this calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// All critical day events in the range, sorted by date.
    #[serde(rename = "criticalDays")]
    pub critical_days: Vec<GetCriticalDaysResponseCriticalDaysItem>,
    /// Dates where 2 or more primary cycles cross zero simultaneously. These are particularly significant days requiring extra caution.
    #[serde(rename = "doubleCriticalDays")]
    pub double_critical_days: Vec<String>,
    /// End of the search range.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Start of the search range.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// Total count of critical day events in the range. A double critical day counts as two events.
    #[serde(rename = "totalCriticalDays")]
    pub total_critical_days: f64,
    /// Date where all 3 primary cycles cross zero simultaneously. Extremely rare event. Null if none found in range.
    #[serde(rename = "tripleCriticalDay")]
    pub triple_critical_day: Option<String>,
}
/// One entry of `criticalDays`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCriticalDaysResponseCriticalDaysItem {
    /// Advisory text explaining the significance of this critical day and recommended precautions.
    pub advisory: String,
    /// Which primary cycle crosses zero on this date. One of: physical, emotional, intellectual. Only the three primary cycles are scanned; the secondary and composite cycles are not.
    pub cycle: GetCriticalDaysResponseCriticalDaysItemCycle,
    /// Date of the zero crossing (YYYY-MM-DD).
    pub date: String,
    /// Whether the cycle is rising through zero (ascending) or falling through zero (descending).
    pub direction: GetCriticalDaysResponseCriticalDaysItemDirection,
    /// Cycle period in days.
    pub period: f64,
    /// How many primary cycles are critical on this date. One of: single, double, triple.
    pub severity: GetCriticalDaysResponseCriticalDaysItemSeverity,
}
string_enum! {
    /// How many primary cycles are critical on this date. One of: single, double, triple.
    GetCriticalDaysResponseCriticalDaysItemSeverity {
        Single = "single",
        Double = "double",
        Triple = "triple",
    }
}
string_enum! {
    /// Whether the cycle is rising through zero (ascending) or falling through zero (descending).
    GetCriticalDaysResponseCriticalDaysItemDirection {
        Ascending = "ascending",
        Descending = "descending",
    }
}
string_enum! {
    /// Which primary cycle crosses zero on this date. One of: physical, emotional, intellectual. Only the three primary cycles are scanned; the secondary and composite cycles are not.
    GetCriticalDaysResponseCriticalDaysItemCycle {
        Physical = "physical",
        Emotional = "emotional",
        Intellectual = "intellectual",
    }
}
/// Path and query parameters of `getCriticalDays`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetCriticalDaysParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCriticalDaysParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCriticalDaysParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCompoundNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCompoundNumberResponse {
    /// Cheiro interpretation of the hidden influence carried by this compound number.
    pub meaning: String,
    /// Classical symbolic title from Cheiro, or null when none is given.
    pub name: Option<String>,
    /// Overall tenor of the number. "mixed" marks conditional numbers, fortunate only with a favorable single number or in one domain.
    pub nature: GetCompoundNumberResponseNature,
    /// The compound number (10 to 52).
    pub number: f64,
    /// The single-digit root the compound reduces to (1 to 9).
    pub root: f64,
    /// For numbers 33 to 52, the lower compound in the same series whose meaning this number shares.
    #[serde(rename = "sameAs", skip_serializing_if = "Option::is_none")]
    pub same_as: Option<f64>,
}
string_enum! {
    /// Overall tenor of the number. "mixed" marks conditional numbers, fortunate only with a favorable single number or in one domain.
    GetCompoundNumberResponseNature {
        Fortunate = "fortunate",
        Unfortunate = "unfortunate",
        Mixed = "mixed",
    }
}
/// Path and query parameters of `getCompoundNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCompoundNumberParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCompoundNumberParamsLang>,
    /// Compound number from 10 to 52.
    pub number: String,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCompoundNumberParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCitiesByCountry`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCitiesByCountryResponse {
    /// Cities for the current page, sorted by population (largest first).
    pub cities: Vec<GetCitiesByCountryResponseCitiesItem>,
    /// Page size used for this response.
    pub limit: f64,
    /// Number of cities skipped. Use with limit for pagination.
    pub offset: f64,
    /// Total number of places available for this country across all pages.
    pub total: f64,
}
/// Geographic location with coordinates, timezone, and UTC offset. Every field is designed for direct use as input parameters in astrology, horoscope, and location-dependent API calculations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCitiesByCountryResponseCitiesItem {
    /// City name as commonly used. Matches the local or internationally recognized name for the location.
    pub city: String,
    /// Full country name in English.
    pub country: String,
    /// ISO 3166-1 alpha-2 country code. Use for filtering cities by country or building country-specific location pickers.
    pub iso2: String,
    /// Geographic latitude in decimal degrees (-90 to 90). Pass directly to birth chart, natal chart, horoscope, synastry, transit, kundli, and panchang API endpoints as the latitude parameter.
    pub latitude: f64,
    /// Geographic longitude in decimal degrees (-180 to 180). Pass directly to astrology, horoscope, and panchang API endpoints alongside latitude.
    pub longitude: f64,
    /// Population estimate for the place. Breaks ties between results of equal match quality, so among several places matching equally well the largest leads. It never outranks a better match, which is why a small town still wins when its name is typed exactly. May be 0 for a hamlet or administrative seat that carries no published figure.
    pub population: f64,
    /// State, province, canton, or administrative region. Show it whenever more than one result comes back: it is what separates Richfield, Utah from Richfield, Minnesota, and the six US Springfields from each other. Empty for the small number of places with no administrative division recorded.
    pub province: String,
    /// IANA timezone identifier following the tz database standard (e.g. Europe/Berlin, America/New_York, Asia/Tokyo). Always present. Pass THIS, not the numeric offset, into any chart or panchang request for a past date: the calculation endpoints resolve it to the offset that was actually in force on that date, including historical daylight saving. Also works directly with JavaScript Date, Luxon, day.js, or any date library.
    pub timezone: String,
    /// UTC offset in decimal hours for TODAY at this place, already adjusted for daylight saving. Convenient for displaying local time now. For a birth date or any past date use the `timezone` field instead, since the offset in force then may differ. Examples: 1 for CET, 2 for CEST, -5 for EST, 5.5 for IST, 5.75 for Nepal.
    #[serde(rename = "utcOffset")]
    pub utc_offset: f64,
}
/// Response body of `getChoghadiya`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetChoghadiyaResponse {
    /// Calendar date the choghadiya muhurta table was computed for, YYYY-MM-DD, echoed back from the request. The day periods run from that date sunrise to its sunset, and the night periods run on to the next sunrise.
    pub date: String,
    /// 8 daytime choghadiya periods (sunrise to sunset)
    #[serde(rename = "dayChoghadiya")]
    pub day_choghadiya: Vec<GetChoghadiyaResponseDayChoghadiyaItem>,
    /// 8 nighttime choghadiya periods (sunset to next sunrise)
    #[serde(rename = "nightChoghadiya")]
    pub night_choghadiya: Vec<GetChoghadiyaResponseNightChoghadiyaItem>,
}
/// One entry of `nightChoghadiya`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetChoghadiyaResponseNightChoghadiyaItem {
    /// Auspiciousness of this period. Good periods (Amrit, Shubh, Labh, Char) are suitable for important activities. Bad periods (Udveg, Rog, Kaal) should be avoided.
    pub effect: GetChoghadiyaResponseNightChoghadiyaItemEffect,
    /// Period end time in ISO 8601 format. Each Choghadiya period is one-eighth of the day or night duration.
    pub end: String,
    /// Ruling planet of this Choghadiya period. Planet determines the quality and suitability of activities during this muhurta.
    pub lord: String,
    /// Choghadiya muhurta name. Auspicious: Amrit (Moon), Shubh (Jupiter), Labh (Mercury), Char (Venus). Inauspicious: Udveg (Sun), Rog (Mars), Kaal (Saturn).
    pub name: GetChoghadiyaResponseNightChoghadiyaItemName,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on input timezone offset.
    pub start: String,
}
string_enum! {
    /// Choghadiya muhurta name. Auspicious: Amrit (Moon), Shubh (Jupiter), Labh (Mercury), Char (Venus). Inauspicious: Udveg (Sun), Rog (Mars), Kaal (Saturn).
    GetChoghadiyaResponseNightChoghadiyaItemName {
        Udveg = "Udveg",
        Amrit = "Amrit",
        Rog = "Rog",
        Labh = "Labh",
        Shubh = "Shubh",
        Char = "Char",
        Kaal = "Kaal",
    }
}
string_enum! {
    /// Auspiciousness of this period. Good periods (Amrit, Shubh, Labh, Char) are suitable for important activities. Bad periods (Udveg, Rog, Kaal) should be avoided.
    GetChoghadiyaResponseNightChoghadiyaItemEffect {
        Good = "Good",
        Bad = "Bad",
    }
}
/// One entry of `dayChoghadiya`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetChoghadiyaResponseDayChoghadiyaItem {
    /// Auspiciousness of this period. Good periods (Amrit, Shubh, Labh, Char) are suitable for important activities. Bad periods (Udveg, Rog, Kaal) should be avoided.
    pub effect: GetChoghadiyaResponseDayChoghadiyaItemEffect,
    /// Period end time in ISO 8601 format. Each Choghadiya period is one-eighth of the day or night duration.
    pub end: String,
    /// Ruling planet of this Choghadiya period. Planet determines the quality and suitability of activities during this muhurta.
    pub lord: String,
    /// Choghadiya muhurta name. Auspicious: Amrit (Moon), Shubh (Jupiter), Labh (Mercury), Char (Venus). Inauspicious: Udveg (Sun), Rog (Mars), Kaal (Saturn).
    pub name: GetChoghadiyaResponseDayChoghadiyaItemName,
    /// Period start time in ISO 8601 format. Timezone-adjusted based on input timezone offset.
    pub start: String,
}
string_enum! {
    /// Choghadiya muhurta name. Auspicious: Amrit (Moon), Shubh (Jupiter), Labh (Mercury), Char (Venus). Inauspicious: Udveg (Sun), Rog (Mars), Kaal (Saturn).
    GetChoghadiyaResponseDayChoghadiyaItemName {
        Udveg = "Udveg",
        Amrit = "Amrit",
        Rog = "Rog",
        Labh = "Labh",
        Shubh = "Shubh",
        Char = "Char",
        Kaal = "Kaal",
    }
}
string_enum! {
    /// Auspiciousness of this period. Good periods (Amrit, Shubh, Labh, Char) are suitable for important activities. Bad periods (Udveg, Rog, Kaal) should be avoided.
    GetChoghadiyaResponseDayChoghadiyaItemEffect {
        Good = "Good",
        Bad = "Bad",
    }
}
/// Request body of `getChoghadiya`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetChoghadiyaRequest {
    /// Date in YYYY-MM-DD format. A single-digit month or day is accepted and zero-padded (2026-3-5 becomes 2026-03-05). Impossible calendar dates are rejected. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
    pub date: String,
    /// Observer latitude in decimal degrees. Determines sunrise and sunset times which define day/night boundaries for muhurta calculations.
    pub latitude: f64,
    /// Observer longitude in decimal degrees. Affects local time calculations for sunrise, sunset, and muhurta period boundaries.
    pub longitude: f64,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Used for accurate sunrise/sunset calculation and output time formatting. Essential for correct Choghadiya periods outside IST. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetChoghadiyaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Used for accurate sunrise/sunset calculation and output time formatting. Essential for correct Choghadiya periods outside IST. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetChoghadiyaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `getCenter`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCenterParams {
    /// Center id. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
    pub id: GetCenterParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCenterParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCenterParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Center id. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
    GetCenterParamsId {
        Head = "head",
        Ajna = "ajna",
        Throat = "throat",
        G = "g",
        Heart = "heart",
        Sacral = "sacral",
        SolarPlexus = "solar-plexus",
        Spleen = "spleen",
        Root = "root",
    }
}
/// Path and query parameters of `getCard`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCardParams {
    /// Card identifier. Major arcana: "fool", "magician", "death". Minor arcana: "ace-of-cups", "seven-of-wands", "queen-of-swords", "king-of-pentacles". Casing and separators are flexible, so "Fool" and "ACE_OF_CUPS" both resolve, and a leading definite article is optional, so "the-star" resolves to "star". The canonical form, and the one every response echoes, is kebab-case with no article.
    pub id: String,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetCardParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetCardParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getBirthstones`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBirthstonesResponse {
    /// Birthstone crystals for this month. Call /crystals/{id} for full healing properties.
    pub crystals: Vec<GetBirthstonesResponseCrystalsItem>,
    /// The month number that was queried (1-12).
    pub month: f64,
    /// Full name of the queried month.
    #[serde(rename = "monthName")]
    pub month_name: String,
    /// Number of birthstone crystals for this month.
    pub total: f64,
}
/// One entry of `crystals`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBirthstonesResponseCrystalsItem {
    /// Primary colors of this crystal variety. Null when color data is unavailable.
    pub colors: Option<Vec<String>>,
    /// URL-safe crystal identifier for detail lookup.
    pub id: String,
    /// URL to crystal photograph for visual identification.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Crystal display name.
    pub name: String,
}
/// Path and query parameters of `getBirthstones`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBirthstonesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetBirthstonesParamsLang>,
    /// Birth month as a number from 1 (January) to 12 (December).
    pub month: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetBirthstonesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getBasicPanchang`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBasicPanchangResponse {
    /// Karana (half-tithi) information. Fourth panchang element, changes twice per tithi.
    pub karana: GetBasicPanchangResponseKarana,
    /// Sidereal longitude of the Moon in degrees (0-360). Moon moves ~13 degrees per day through the nakshatras.
    #[serde(rename = "moonLongitude")]
    pub moon_longitude: f64,
    /// Nakshatra (lunar mansion) information with interpretations
    pub nakshatra: GetBasicPanchangResponseNakshatra,
    /// Sidereal longitude of the Sun in degrees (0-360). Used for tithi and yoga calculations.
    #[serde(rename = "sunLongitude")]
    pub sun_longitude: f64,
    /// Lunar day (tithi) information with interpretations. Central panchang element for determining auspicious timings.
    pub tithi: GetBasicPanchangResponseTithi,
    /// Nitya Yoga information. Yoga is the third panchang element, derived from combined Sun-Moon longitude.
    pub yoga: GetBasicPanchangResponseYoga,
}
/// Nitya Yoga information. Yoga is the third panchang element, derived from combined Sun-Moon longitude.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBasicPanchangResponseYoga {
    /// Characteristics and auspiciousness of this yoga for activity planning.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Sanskrit name of the Nitya Yoga. One of 27 yogas formed by combined Sun-Moon motion, each with distinct auspiciousness.
    pub name: String,
    /// Nitya Yoga index (1-27). Calculated from the sum of Sun and Moon sidereal longitudes divided by 13 degrees 20 minutes.
    pub number: i64,
}
/// Lunar day (tithi) information with interpretations. Central panchang element for determining auspicious timings.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBasicPanchangResponseTithi {
    /// Presiding deity of this tithi from Vedic tradition.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deity: Option<String>,
    /// Elemental quality of this tithi (Fire, Earth, Air, Water, Ether).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<String>,
    /// Sanskrit name of the tithi (lunar day). One of 30 tithis in the lunar month cycle.
    pub name: String,
    /// Tithi number (1-30). 1-15 are Shukla Paksha (waxing), 16-30 are Krishna Paksha (waning). Purnima is 15, Amavasya is 30.
    pub number: i64,
    /// Lunar fortnight: Shukla (waxing, bright half) or Krishna (waning, dark half).
    pub paksha: GetBasicPanchangResponseTithiPaksha,
    /// Percentage of the current tithi elapsed (0-100). Useful for determining tithi strength and transition proximity.
    pub percent: f64,
    /// Planetary ruler of this tithi. Influences the day energy and activities.
    #[serde(rename = "rulingPlanet", skip_serializing_if = "Option::is_none")]
    pub ruling_planet: Option<String>,
}
string_enum! {
    /// Lunar fortnight: Shukla (waxing, bright half) or Krishna (waning, dark half).
    GetBasicPanchangResponseTithiPaksha {
        Shukla = "Shukla",
        Krishna = "Krishna",
    }
}
/// Nakshatra (lunar mansion) information with interpretations
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBasicPanchangResponseNakshatra {
    /// Personality traits and behavioral tendencies when the Moon occupies this nakshatra. Useful for daily panchang readings.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Presiding deity of this nakshatra from Vedic mythology. Influences spiritual qualities and karmic themes.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deity: Option<String>,
    /// Planetary ruler of this nakshatra. Determines Vimshottari dasha lord and influences nakshatra characteristics.
    pub lord: String,
    /// Sanskrit name of the nakshatra (lunar mansion). One of 27 nakshatras spanning the zodiac belt.
    pub name: String,
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini. Each nakshatra spans 13 degrees 20 minutes.
    pub number: i64,
    /// Pada (quarter, 1-4) of the nakshatra. Each nakshatra has 4 padas spanning 3 degrees 20 minutes each. Determines the navamsha sign and fine-tunes nakshatra predictions.
    pub pada: i64,
    /// Traditional symbol representing this nakshatra. Reflects core energy and life themes.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
}
/// Karana (half-tithi) information. Fourth panchang element, changes twice per tithi.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBasicPanchangResponseKarana {
    /// Activity suitability and characteristics of this karana for muhurta selection.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub characteristics: Option<String>,
    /// Sanskrit name of the karana. 7 movable karanas (Bava through Naga) repeat 8 times, plus 4 fixed karanas.
    pub name: String,
    /// Karana index. There are 11 karanas total (4 fixed + 7 movable) cycling through 60 half-tithis per lunar month.
    pub number: i64,
    /// Karana type: Movable (repeating, generally auspicious) or Fixed (occur once per month).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub r#type: Option<String>,
}
/// Request body of `getBasicPanchang`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBasicPanchangRequest {
    /// Date in YYYY-MM-DD format. Panchang elements (Tithi, Nakshatra, Yoga, Karana) are calculated for this date.
    pub date: String,
    /// Observer latitude in decimal degrees. Determines sunrise/sunset times which define the Vara (weekday) and muhurta boundaries.
    pub latitude: f64,
    /// Observer longitude in decimal degrees. Affects local time calculations for sunrise/sunset-dependent panchang elements.
    pub longitude: f64,
    /// Time in HH:MM:SS format (24-hour). Determines the exact Moon and Sun positions for tithi and nakshatra calculation.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<GetBasicPanchangRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GetBasicPanchangRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `getBasicPanchang`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetBasicPanchangParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetBasicPanchangParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetBasicPanchangParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getBaguaSector`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBaguaSectorResponse {
    /// Colours of the phase this sector carries, for activating it. Derived from the element rather than assigned per sector, so they cannot disagree with the element beside them.
    pub colors: Vec<String>,
    /// Compass sector of the palace, taken from the trigram that sits there. Absent on the centre palace, which has no direction.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub direction: Option<String>,
    /// The trigram that sits in this direction under the Earlier Heaven arrangement, read for the symbolic relation between opposite sectors. A different question from the Later Heaven trigram, not a competing answer. Absent on the centre palace.
    #[serde(rename = "earlierHeavenTrigram", skip_serializing_if = "Option::is_none")]
    pub earlier_heaven_trigram: Option<GetBaguaSectorResponseEarlierHeavenTrigram>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// What this sector governs, in a few words.
    pub focus: String,
    /// Life area id: career, knowledge, family, wealth, fame, love, children, helpful-people or health. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub id: String,
    /// What the sector governs and how to work with it.
    pub meaning: String,
    /// Display name of the life area. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Life area name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat name exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Lo Shu number of the palace, 1 to 9. This is the same number the flying stars use, so a chart palace and a Bagua sector line up by it.
    pub number: f64,
    /// Palace of the Lo Shu grid: one of the eight compass sectors, or Center for the ninth. Always English, safe to compare against.
    pub palace: String,
    /// The Later Heaven trigram of the sector, which is the arrangement every compass reading and every flying star chart uses. Absent on the centre palace.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub trigram: Option<GetBaguaSectorResponseTrigram>,
}
/// The Later Heaven trigram of the sector, which is the arrangement every compass reading and every flying star chart uses. Absent on the centre palace.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBaguaSectorResponseTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// The trigram that sits in this direction under the Earlier Heaven arrangement, read for the symbolic relation between opposite sectors. A different question from the Later Heaven trigram, not a competing answer. Absent on the centre palace.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBaguaSectorResponseEarlierHeavenTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// Path and query parameters of `getBaguaSector`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetBaguaSectorParams {
    /// Life area id. One of career, knowledge, family, wealth, fame, love, children, helpful-people, health.
    pub id: GetBaguaSectorParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetBaguaSectorParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetBaguaSectorParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Life area id. One of career, knowledge, family, wealth, fame, love, children, helpful-people, health.
    GetBaguaSectorParamsId {
        Career = "career",
        Knowledge = "knowledge",
        Family = "family",
        Wealth = "wealth",
        Fame = "fame",
        Love = "love",
        Children = "children",
        HelpfulPeople = "helpful-people",
        Health = "health",
    }
}
/// Path and query parameters of `getAztecTrecena`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAztecTrecenaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetAztecTrecenaParamsLang>,
    /// Trecena number, 1 to 20. Trecena 1 opens on 1 Cipactli, trecena 2 on 1 Ocelotl, and each subsequent period opens thirteen signs further round the twenty.
    pub number: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetAztecTrecenaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `getAztecDaySign`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAztecDaySignParams {
    /// Day sign id, case-insensitive and punctuation-insensitive. One of cipactli, ehecatl, calli, cuetzpalin, coatl, miquiztli, mazatl, tochtli, atl, itzcuintli, ozomahtli, malinalli, acatl, ocelotl, cuauhtli, cozcacuauhtli, ollin, tecpatl, quiahuitl, xochitl.
    pub id: GetAztecDaySignParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetAztecDaySignParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetAztecDaySignParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Day sign id, case-insensitive and punctuation-insensitive. One of cipactli, ehecatl, calli, cuetzpalin, coatl, miquiztli, mazatl, tochtli, atl, itzcuintli, ozomahtli, malinalli, acatl, ocelotl, cuauhtli, cozcacuauhtli, ollin, tecpatl, quiahuitl, xochitl.
    GetAztecDaySignParamsId {
        Cipactli = "cipactli",
        Ehecatl = "ehecatl",
        Calli = "calli",
        Cuetzpalin = "cuetzpalin",
        Coatl = "coatl",
        Miquiztli = "miquiztli",
        Mazatl = "mazatl",
        Tochtli = "tochtli",
        Atl = "atl",
        Itzcuintli = "itzcuintli",
        Ozomahtli = "ozomahtli",
        Malinalli = "malinalli",
        Acatl = "acatl",
        Ocelotl = "ocelotl",
        Cuauhtli = "cuauhtli",
        Cozcacuauhtli = "cozcacuauhtli",
        Ollin = "ollin",
        Tecpatl = "tecpatl",
        Quiahuitl = "quiahuitl",
        Xochitl = "xochitl",
    }
}
/// Response body of `getAvastha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAvasthaResponse {
    /// Unique slug for the avastha state. It is the lowercased form of the state name the birth chart returns, so a chart value maps straight onto this record.
    pub id: String,
    /// What the state means for the results the graha delivers, which is the whole purpose of reading an avastha: the chart says where a graha is, the avastha says how much of its promise it can keep.
    pub interpretation: String,
    /// Short label for the state, sized for a table cell beside the graha.
    pub meaning: String,
    /// Sanskrit name of the state, exactly as it appears in the `awastha`, `jagradadi` or `deeptadi` field of a birth chart.
    pub name: String,
    /// Which avastha system the state belongs to, and therefore which birth-chart field it appears in. "baladi" is the five-fold age state set by degree within the sign and appears in `awastha`. "jagradadi" is the three-fold waking state set by sign dignity. "deeptadi" is the nine-fold dispositional state. Baladi applies to every body; the other two apply to the seven classical grahas only.
    pub system: GetAvasthaResponseSystem,
}
string_enum! {
    /// Which avastha system the state belongs to, and therefore which birth-chart field it appears in. "baladi" is the five-fold age state set by degree within the sign and appears in `awastha`. "jagradadi" is the three-fold waking state set by sign dignity. "deeptadi" is the nine-fold dispositional state. Baladi applies to every body; the other two apply to the seven classical grahas only.
    GetAvasthaResponseSystem {
        Baladi = "baladi",
        Jagradadi = "jagradadi",
        Deeptadi = "deeptadi",
    }
}
/// Path and query parameters of `getAvastha`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAvasthaParams {
    /// Avastha slug. Baladi: bala, kumara, yuva, vriddha, mrita. Jagradadi: jagrat, swapna, sushupti. Deeptadi: dipta, svastha, pramudita, shanta, dina, duhkhita, vikala, khala, kopa.
    pub id: GetAvasthaParamsId,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetAvasthaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetAvasthaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Avastha slug. Baladi: bala, kumara, yuva, vriddha, mrita. Jagradadi: jagrat, swapna, sushupti. Deeptadi: dipta, svastha, pramudita, shanta, dina, duhkhita, vikala, khala, kopa.
    GetAvasthaParamsId {
        Bala = "bala",
        Kumara = "kumara",
        Yuva = "yuva",
        Vriddha = "vriddha",
        Mrita = "mrita",
        Jagrat = "jagrat",
        Swapna = "swapna",
        Sushupti = "sushupti",
        Dipta = "dipta",
        Svastha = "svastha",
        Pramudita = "pramudita",
        Shanta = "shanta",
        Dina = "dina",
        Duhkhita = "duhkhita",
        Vikala = "vikala",
        Khala = "khala",
        Kopa = "kopa",
    }
}
/// Response body of `getAnnualFlyingStars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualFlyingStarsResponse {
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    #[serde(rename = "centerStar")]
    pub center_star: f64,
    /// The date this plate takes effect, which is Li Chun and NOT Lunar New Year. Lunar New Year 2026 falls on 17 February, roughly two weeks later, and applying the new plate from that date is the most common error in annual feng shui.
    #[serde(rename = "changeoverDate")]
    pub changeover_date: String,
    /// All nine palaces with the star that flew there, centre first and then along the Lo Shu path. The plate is universal: it is the same for every building on earth.
    pub palaces: Vec<GetAnnualFlyingStarsResponsePalacesItem>,
    /// The solar year this plate is for.
    pub year: f64,
}
/// One entry of `palaces`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualFlyingStarsResponsePalacesItem {
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub enhancer: String,
    /// What the star does in the sector it has flown to this period.
    pub meaning: String,
    /// Display name of the star in this palace. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Star name in the requested language, for display only. Present only when lang is set to a language other than English.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// The untimely reading of the star, auspicious or inauspicious.
    pub nature: String,
    /// Palace of the Lo Shu grid: one of the eight compass sectors, or Center. Always English, safe to compare against and to key a grid cell on.
    pub palace: String,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub remedy: String,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub star: f64,
}
/// Path and query parameters of `getAnnualFlyingStars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualFlyingStarsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetAnnualFlyingStarsParamsLang>,
    /// Solar year, 1900 to 2100. The year runs from Li Chun to Li Chun, so a date in January belongs to the previous year here.
    pub year: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetAnnualFlyingStarsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getAnnualAfflictions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponse {
    /// The date all four afflictions move, which is Li Chun and NOT Lunar New Year. In 2026 Lunar New Year falls on 17 February, roughly two weeks after the afflictions have already changed.
    #[serde(rename = "changeoverDate")]
    pub changeover_date: String,
    /// The Five Yellow, read off the annual star plate rather than from the year branch, which is why it is the only one of the four that has nothing to do with the animal of the year.
    #[serde(rename = "fiveYellow")]
    pub five_yellow: GetAnnualAfflictionsResponseFiveYellow,
    /// The Three Killings. Two readings of its extent are in circulation and both are given: the exact 75 degree branch span in startDegree and endDegree, and the 45 degree cardinal palace named in direction.
    #[serde(rename = "sanSha")]
    pub san_sha: GetAnnualAfflictionsResponseSanSha,
    /// The Year Breaker, always the mountain directly opposite Tai Sui.
    #[serde(rename = "suiPo")]
    pub sui_po: GetAnnualAfflictionsResponseSuiPo,
    /// The Grand Duke, occupying a single 15 degree mountain rather than a whole sector. Precision matters here more than anywhere else in the system, because the neighbouring mountains of the same sector are unaffected.
    #[serde(rename = "taiSui")]
    pub tai_sui: GetAnnualAfflictionsResponseTaiSui,
    /// The solar year these positions are for.
    pub year: f64,
    /// Earthly Branch of the solar year, in pinyin. Three of the four afflictions are derived from it. Always English pinyin, safe to compare against.
    #[serde(rename = "yearBranch")]
    pub year_branch: String,
}
/// The Grand Duke, occupying a single 15 degree mountain rather than a whole sector. Precision matters here more than anywhere else in the system, because the neighbouring mountains of the same sector are unaffected.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseTaiSui {
    /// Zodiac animal of the year, which shares the sign Tai Sui occupies. Always English, safe to compare against.
    pub animal: String,
    /// Chinese characters for the affliction. Data, identical in every language.
    pub chinese: String,
    /// The animal directly opposite, which clashes with Tai Sui head on. People of this sign are the ones traditionally advised to take the most care during the year.
    #[serde(rename = "clashingAnimal")]
    pub clashing_animal: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, safe to compare against and to key styling on.
    pub direction: String,
    /// Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
    pub id: String,
    /// What the affliction does and the standing rule for handling it.
    pub meaning: String,
    /// The `mountain` field.
    pub mountain: GetAnnualAfflictionsResponseTaiSuiMountain,
    /// Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
    pub name: String,
    /// Tone-marked pinyin. Data, identical in every language.
    pub pinyin: String,
}
/// The `mountain` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseTaiSuiMountain {
    /// Chinese character for the mountain. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// End of the 15 degree span, in compass degrees.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Mountain id, the pinyin of the stem, branch or trigram that names it. Always English pinyin, safe to compare against.
    pub id: String,
    /// Compass label of the mountain, sector plus position 1 to 3 clockwise. The form a facing is usually quoted in.
    pub label: String,
    /// Tone-marked pinyin for the mountain. Data, identical in every language.
    pub pinyin: String,
    /// San Yuan polarity of the mountain, yang or yin, which decides whether a plate entering the centre flies forward or in reverse. This is NOT the natural polarity of the stem or branch and the two differ on eight of the 24 mountains.
    pub polarity: String,
    /// Start of the 15 degree span, in compass degrees. Wraps past 360 for the two northernmost mountains.
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
    /// Which of the three dragons the mountain holds inside its sector: earth for the first mountain clockwise, heaven for the middle, human for the last. The heaven and human dragons share a polarity, which is why they share a chart.
    pub yuan: String,
}
/// The Year Breaker, always the mountain directly opposite Tai Sui.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseSuiPo {
    /// Chinese characters for the affliction. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, safe to compare against and to key styling on.
    pub direction: String,
    /// Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
    pub id: String,
    /// What the affliction does and the standing rule for handling it.
    pub meaning: String,
    /// The `mountain` field.
    pub mountain: GetAnnualAfflictionsResponseSuiPoMountain,
    /// Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
    pub name: String,
    /// Tone-marked pinyin. Data, identical in every language.
    pub pinyin: String,
}
/// The `mountain` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseSuiPoMountain {
    /// Chinese character for the mountain. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// End of the 15 degree span, in compass degrees.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Mountain id, the pinyin of the stem, branch or trigram that names it. Always English pinyin, safe to compare against.
    pub id: String,
    /// Compass label of the mountain, sector plus position 1 to 3 clockwise. The form a facing is usually quoted in.
    pub label: String,
    /// Tone-marked pinyin for the mountain. Data, identical in every language.
    pub pinyin: String,
    /// San Yuan polarity of the mountain, yang or yin, which decides whether a plate entering the centre flies forward or in reverse. This is NOT the natural polarity of the stem or branch and the two differ on eight of the 24 mountains.
    pub polarity: String,
    /// Start of the 15 degree span, in compass degrees. Wraps past 360 for the two northernmost mountains.
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
    /// Which of the three dragons the mountain holds inside its sector: earth for the first mountain clockwise, heaven for the middle, human for the last. The heaven and human dragons share a polarity, which is why they share a chart.
    pub yuan: String,
}
/// The Three Killings. Two readings of its extent are in circulation and both are given: the exact 75 degree branch span in startDegree and endDegree, and the 45 degree cardinal palace named in direction.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseSanSha {
    /// Chinese characters for the affliction. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, safe to compare against and to key styling on.
    pub direction: String,
    /// End of the afflicted span in compass degrees.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, safe to compare against and to key styling on.
    #[serde(rename = "frameDirection")]
    pub frame_direction: String,
    /// The five phase the year branch forms with its trine. The Three Killings always sits in the cardinal direction opposite this frame.
    #[serde(rename = "frameElement")]
    pub frame_element: String,
    /// Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
    pub id: String,
    /// What the affliction does and the standing rule for handling it.
    pub meaning: String,
    /// Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
    pub name: String,
    /// The three mountains of the span, first to last in compass order. They are one affliction read in three parts, not three separate ones, and disturbing any part is taken to wake the whole.
    pub parts: Vec<GetAnnualAfflictionsResponseSanShaPartsItem>,
    /// Tone-marked pinyin. Data, identical in every language.
    pub pinyin: String,
    /// Start of the afflicted span in compass degrees. The span crosses 360 when the affliction is in the north.
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
}
/// One entry of `parts`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseSanShaPartsItem {
    /// Chinese characters for the part. Data, identical in every language.
    pub chinese: String,
    /// Which of the three parts this is: jie-sha, zai-sha or sui-sha, in compass order. Always English, safe to compare against.
    pub id: String,
    /// What this part of the span brings.
    pub meaning: String,
    /// The `mountain` field.
    pub mountain: GetAnnualAfflictionsResponseSanShaPartsItemMountain,
    /// Display name of the part, translated in place when lang is set. Display copy, never a comparison key: branch on id instead.
    pub name: String,
    /// Tone-marked pinyin. Data, identical in every language.
    pub pinyin: String,
}
/// The `mountain` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseSanShaPartsItemMountain {
    /// Chinese character for the mountain. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// End of the 15 degree span, in compass degrees.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Mountain id, the pinyin of the stem, branch or trigram that names it. Always English pinyin, safe to compare against.
    pub id: String,
    /// Compass label of the mountain, sector plus position 1 to 3 clockwise. The form a facing is usually quoted in.
    pub label: String,
    /// Tone-marked pinyin for the mountain. Data, identical in every language.
    pub pinyin: String,
    /// San Yuan polarity of the mountain, yang or yin, which decides whether a plate entering the centre flies forward or in reverse. This is NOT the natural polarity of the stem or branch and the two differ on eight of the 24 mountains.
    pub polarity: String,
    /// Start of the 15 degree span, in compass degrees. Wraps past 360 for the two northernmost mountains.
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
    /// Which of the three dragons the mountain holds inside its sector: earth for the first mountain clockwise, heaven for the middle, human for the last. The heaven and human dragons share a polarity, which is why they share a chart.
    pub yuan: String,
}
/// The Five Yellow, read off the annual star plate rather than from the year branch, which is why it is the only one of the four that has nothing to do with the animal of the year.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsResponseFiveYellow {
    /// Chinese characters for the affliction. Data, identical in every language.
    pub chinese: String,
    /// Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
    pub id: String,
    /// What the affliction does and the standing rule for handling it.
    pub meaning: String,
    /// Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
    pub name: String,
    /// Palace the 5 flew to this year, one of the eight sectors or Center. Always English, safe to compare against.
    pub palace: String,
    /// Tone-marked pinyin. Data, identical in every language.
    pub pinyin: String,
    /// The phase that drains the 5, which is what the 5 itself produces. Never treat it with Fire, which produces Earth and feeds it.
    pub remedy: String,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub star: f64,
}
/// Path and query parameters of `getAnnualAfflictions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAnnualAfflictionsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetAnnualAfflictionsParamsLang>,
    /// Solar year, 1900 to 2100. The year runs from Li Chun to Li Chun, so a date in January belongs to the previous year here.
    pub year: i64,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetAnnualAfflictionsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getAngelNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAngelNumberResponse {
    /// Three to five specific, actionable steps to take when you see this angel number. Practical spiritual guidance for daily life.
    #[serde(rename = "actionSteps")]
    pub action_steps: Vec<String>,
    /// Positive affirmation aligned with this angel number. Can be used for daily affirmation features, meditation guidance, or spiritual journal prompts.
    pub affirmation: String,
    /// Biblical and religious perspective on the sequence, framed honestly. States plainly when a number is not a scriptural concept rather than inventing scripture.
    pub biblical: String,
    /// One to two sentence summary of the divine message. Ideal for push notifications, daily guidance widgets, and quick reference lookups.
    #[serde(rename = "coreMessage")]
    pub core_message: String,
    /// Numerology digit root calculated by summing all digits and reducing to a single digit. Links each angel number to foundational numerology meaning. Master numbers 11, 22, 33 are preserved without further reduction.
    #[serde(rename = "digitRoot")]
    pub digit_root: f64,
    /// Overall energy classification. "positive" indicates encouraging, uplifting energy. "neutral" indicates transitional energy (neither purely positive nor cautionary). "cautionary" indicates a gentle warning to rebalance or pay attention.
    pub energy: String,
    /// Five to eight keywords capturing the spiritual themes and energy of this angel number. Useful for search, filtering, and content generation.
    pub keywords: Vec<String>,
    /// The `meaning` field.
    pub meaning: GetAngelNumberResponseMeaning,
    /// Angel number sequence as a string. Common patterns include triple repeating (111-999), quad repeating (1111-9999), master numbers (11, 22, 33), mirror patterns (1212), and sequential numbers (1234).
    pub number: String,
    /// Shadow or cautionary reading: the misuse, over-reliance, or imbalance this sequence can signal. Complements the energy classification.
    pub shadow: String,
    /// Short descriptive title capturing the core theme and spiritual significance of this angel number.
    pub title: String,
    /// Pattern classification of the angel number. "repeating" means all digits are the same (111, 4444). "sequential" means consecutive digits (1234). "mirror" means palindrome or alternating pattern (1212, 1221). "master" means numerology master number (11, 22, 33). "root" means single digit (0-9). "compound" means a mixed sequence with no pure pattern (911, 1122).
    pub r#type: String,
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAngelNumberResponseMeaning {
    /// Career and vocation guidance: professional opportunities, calling, and practical work advice aligned with this angel number energy. Money and finances are returned separately in the money field.
    pub career: String,
    /// Love and relationship interpretation covering singles, couples, and those healing from past relationships. Includes romantic guidance and partnership advice.
    pub love: String,
    /// Money, finances, and material abundance guidance, kept distinct from career and vocation. Covers income, spending, debt, and prosperity mindset for this angel number.
    pub money: String,
    /// Two to three paragraph spiritual interpretation covering divine guidance, higher purpose, and the metaphysical significance of this angel number sequence.
    pub spiritual: String,
    /// Twin flame connection interpretation covering union, separation, and spiritual growth within the twin flame journey.
    #[serde(rename = "twinFlame")]
    pub twin_flame: String,
}
/// Path and query parameters of `getAngelNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAngelNumberParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetAngelNumberParamsLang>,
    /// Angel number sequence to look up (e.g., "111", "444", "1212", "1234"). Must match an entry in the database.
    pub number: String,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetAngelNumberParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getAlmanacDay`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayResponse {
    /// Activity identifiers, always English kebab case so they stay safe to compare against in code. Use the /calendar/auspicious-days endpoint to search a date range for one of them.
    pub avoids: Vec<String>,
    /// The zodiac animal the day clashes with, which is the animal six branches away from the day branch. Anyone born in that animal year traditionally avoids the day for anything important.
    #[serde(rename = "clashAnimal")]
    pub clash_animal: String,
    /// Display name of the clashing animal in the requested language. Absent when lang is en, so an English response is unchanged.
    #[serde(rename = "clashAnimalLocalized", skip_serializing_if = "Option::is_none")]
    pub clash_animal_localized: Option<String>,
    /// The Gregorian date of the day, at the reference meridian.
    pub date: String,
    /// The `dayOfficer` field.
    #[serde(rename = "dayOfficer")]
    pub day_officer: GetAlmanacDayResponseDayOfficer,
    /// The `dayPillar` field.
    #[serde(rename = "dayPillar")]
    pub day_pillar: GetAlmanacDayResponseDayPillar,
    /// Activity identifiers, always English kebab case so they stay safe to compare against in code. Use the /calendar/auspicious-days endpoint to search a date range for one of them.
    pub favours: Vec<String>,
    /// The `lunar` field.
    pub lunar: GetAlmanacDayResponseLunar,
    /// The `mansion` field.
    pub mansion: GetAlmanacDayResponseMansion,
    /// Sexagenary month pillar of the day, and the pillar the day officer is counted from. Attributed by whole days like the year pillar, so the day a minor solar term falls on belongs to the new month even when the term arrives late in the evening. This is what an almanac prints, and it is not the same as the month pillar of a birth moment inside that day.
    #[serde(rename = "monthPillar")]
    pub month_pillar: GetAlmanacDayResponseMonthPillar,
    /// Sexagenary year pillar of the day. Attributed by whole days, so the day Li Chun falls on belongs to the new year for its whole length. A BaZi chart built from a birth TIME uses the term instant instead, so a birth in the hours before the term on that same day carries the previous year pillar.
    #[serde(rename = "yearPillar")]
    pub year_pillar: GetAlmanacDayResponseYearPillar,
}
/// Sexagenary year pillar of the day. Attributed by whole days, so the day Li Chun falls on belongs to the new year for its whole length. A BaZi chart built from a birth TIME uses the term instant instead, so a birth in the hours before the term on that same day carries the previous year pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayResponseYearPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// Sexagenary month pillar of the day, and the pillar the day officer is counted from. Attributed by whole days like the year pillar, so the day a minor solar term falls on belongs to the new month even when the term arrives late in the evening. This is what an almanac prints, and it is not the same as the month pillar of a birth moment inside that day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayResponseMonthPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// The `mansion` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayResponseMansion {
    /// Animal emblem of the mansion, the third character of its full Chinese name. English and canonical, identical in every language, matching how clashAnimal behaves on the same response. The translation is in animalLocalized.
    pub animal: String,
    /// Animal emblem in the requested language. Absent when lang is en, and absent when a language has no entry, so a caller falls back to animal.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The mansion in Chinese. A data field, identical in every language.
    pub chinese: String,
    /// English display name of the mansion. Canonical, identical in every language. The translation is in nameLocalized. Note the mansion has no string id: number is the stable 1 to 28 key, because five of the 28 share a pinyin spelling.
    pub name: String,
    /// Display name of the mansion in the requested language. Absent when lang is en, and absent when a language has no entry for this mansion, so a caller falls back to name rather than rendering a blank.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Mansion number, 1 to 28, counted from the Horn. This is the identifier: three mansions share the pinyin wei and two share bi, so there is no unique pinyin key.
    pub number: f64,
    /// One of the four palaces, seven mansions each: azure-dragon, black-tortoise, white-tiger, vermilion-bird. Always English, so it stays safe to compare against in code.
    pub palace: String,
    /// Tone marked pinyin for the character.
    pub pinyin: String,
    /// The luminary the mansion belongs to, one of Wood Metal Earth Sun Moon Fire Water. Twenty eight mansions over seven luminaries is four weeks exactly, which is why a mansion always falls on the same weekday.
    pub planet: String,
}
/// The `lunar` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayResponseLunar {
    /// The Gregorian date this lunar day covers, evaluated at the reference meridian.
    pub date: String,
    /// Day of the lunar month, 1 to 30. A lunar month never has 31 days.
    pub day: f64,
    /// True when this is the leap repetition of the month number rather than the first pass through it.
    #[serde(rename = "isLeapMonth")]
    pub is_leap_month: bool,
    /// Lunar month, 1 to 12. A leap month repeats the number of the month it follows.
    pub month: f64,
    /// Days in this lunar month, 29 for a short month or 30 for a long one. It is the interval between two new moons, so it varies month to month.
    #[serde(rename = "monthLength")]
    pub month_length: f64,
    /// Lunisolar year. It advances on the first day of month 1, not at Li Chun, so it can lag the Gregorian year by up to seven weeks.
    pub year: f64,
}
/// The `dayPillar` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayResponseDayPillar {
    /// Earthly Branch of the pillar, one of zi chou yin mao chen si wu wei shen you xu hai.
    pub branch: String,
    /// The pillar in Chinese characters. A data field, identical in every language.
    pub chinese: String,
    /// Pillar identifier as stem-branch, e.g. jia-zi. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code.
    pub id: String,
    /// Na Yin sound element of the pillar. It is a property of the pair, not of the stem, so it often names a different phase from the stem itself.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// Five phase the Na Yin resolves to. Always English, so it stays safe to compare against in code.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Position in the sixty year cycle, 1 to 60. jia-zi is 1 and gui-hai is 60.
    pub number: f64,
    /// Heavenly Stem of the pillar, one of jia yi bing ding wu ji geng xin ren gui.
    pub stem: String,
}
/// The `dayOfficer` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayResponseDayOfficer {
    /// The officer in Chinese. A data field, identical in every language.
    pub chinese: String,
    /// Day officer identifier, one of jian chu man ping ding zhi po wei cheng shou kai bi. Always English pinyin, so it stays safe to compare against in code.
    pub id: String,
    /// What the officer means, in the terms a date choice uses it in.
    pub meaning: String,
    /// English display name of the officer. Canonical, identical in every language, so it stays safe to compare against in code. The translation is in nameLocalized.
    pub name: String,
    /// Display name of the officer in the requested language. Absent when lang is en, so an English response is unchanged.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone marked pinyin for the character.
    pub pinyin: String,
    /// Whether the officer falls on the auspicious or the inauspicious side of the coarse yellow and black split. Read favours and avoids for what the day actually rules on.
    pub quality: String,
}
/// Path and query parameters of `getAlmanacDay`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAlmanacDayParams {
    /// Gregorian date in YYYY-MM-DD format, evaluated at the reference meridian. Years 1900 to 2100.
    pub date: String,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GetAlmanacDayParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GetAlmanacDayParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateTransit`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTransitResponse {
    /// The 13 transiting bodies at this moment with the gate and line each currently activates. A transit is a single instant, so there is no Design side, only current positions.
    pub activations: Vec<GenerateTransitResponseActivationsItem>,
    /// Channels the transit temporarily completes that the natal chart did not already define, each labelled personal or educational with the side that supplied each gate.
    #[serde(rename = "completedChannels")]
    pub completed_channels: Vec<GenerateTransitResponseCompletedChannelsItem>,
    /// Date the transit overlay was computed for, in YYYY-MM-DD UTC.
    pub date: String,
    /// Short factual summary of the overlay with channel and center counts only.
    pub summary: String,
    /// Centers that are open in the natal chart and temporarily defined by a transit-completed channel.
    #[serde(rename = "temporaryCenters")]
    pub temporary_centers: Vec<GenerateTransitResponseTemporaryCentersItem>,
    /// Time the transit overlay was computed for, in HH:MM:SS UTC.
    pub time: String,
    /// UTC offset of the transit moment. Always 0, since the transit is computed in UTC.
    pub timezone: f64,
}
/// One entry of `temporaryCenters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTransitResponseTemporaryCentersItem {
    /// Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
    pub id: String,
    /// Display name of the center. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Center name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Always true. The center is open in the natal chart and temporarily defined by a transit-completed channel for the duration of the transit.
    #[serde(rename = "temporarilyDefined")]
    pub temporarily_defined: bool,
}
/// One entry of `completedChannels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTransitResponseCompletedChannelsItem {
    /// The two centers this channel connects and temporarily defines.
    pub centers: Vec<String>,
    /// Circuit family of the channel. One of Individual, Collective, Tribal. Always English, whatever the lang parameter says. Use circuitLocalized for anything a reader sees.
    pub circuit: String,
    /// Circuit family name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "circuitLocalized", skip_serializing_if = "Option::is_none")]
    pub circuit_localized: Option<String>,
    /// First gate of the completed channel.
    #[serde(rename = "gateA")]
    pub gate_a: f64,
    /// Second gate of the completed channel.
    #[serde(rename = "gateB")]
    pub gate_b: f64,
    /// How the transit completes the channel. personal means the natal chart already holds one gate and the transit supplies the other, the classic electromagnetic completion. educational means both gates are open in the natal chart and the transit supplies both at once. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use kindLocalized for anything a reader sees.
    pub kind: String,
    /// Completion kind name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "kindLocalized", skip_serializing_if = "Option::is_none")]
    pub kind_localized: Option<String>,
    /// Name of the channel the transit temporarily completes. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Channel name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Gate or gates of this channel the natal chart already holds. Empty for an educational channel.
    #[serde(rename = "natalGates")]
    pub natal_gates: Vec<f64>,
    /// Gate or gates of this channel supplied by the transit. One gate for a personal channel, both gates for an educational channel.
    #[serde(rename = "transitGates")]
    pub transit_gates: Vec<f64>,
}
/// One entry of `activations`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTransitResponseActivationsItem {
    /// Transiting body whose current position lands on this gate. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto. Always English, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on. Use bodyLocalized for anything a reader sees.
    pub body: String,
    /// Transiting body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "bodyLocalized", skip_serializing_if = "Option::is_none")]
    pub body_localized: Option<String>,
    /// Human Design gate number from 1 to 64 this transiting body currently sits in.
    pub gate: f64,
    /// Human Design keynote name of the gate the transiting body activates. Always English, whatever the lang parameter says. Use gateNameLocalized for anything a reader sees.
    #[serde(rename = "gateName")]
    pub gate_name: String,
    /// Gate keynote name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "gateNameLocalized", skip_serializing_if = "Option::is_none")]
    pub gate_name_localized: Option<String>,
    /// Cross-reference to the I-Ching hexagram that shares this gate number.
    #[serde(rename = "ichingHexagram")]
    pub iching_hexagram: GenerateTransitResponseActivationsItemIchingHexagram,
    /// Line number from 1 to 6 within the gate, setting the line keynote of the transit.
    pub line: f64,
}
/// Cross-reference to the I-Ching hexagram that shares this gate number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTransitResponseActivationsItemIchingHexagram {
    /// English name of the corresponding I-Ching hexagram.
    pub english: String,
    /// I-Ching hexagram number, identical to the gate number it corresponds to.
    pub number: f64,
}
/// Request body of `generateTransit`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTransitRequest {
    /// Birth moment whose natal bodygraph the transit is overlaid on.
    #[serde(rename = "birthData")]
    pub birth_data: GenerateTransitRequestBirthData,
    /// Transit date in YYYY-MM-DD UTC. Optional. Defaults to today in UTC when omitted, giving the just-now transit.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Transit time in HH:MM:SS UTC. Optional. Defaults to the current UTC time when omitted. Precision matters: the Moon moves through a gate in roughly half a day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub time: Option<String>,
}
/// Birth moment whose natal bodygraph the transit is overlaid on.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTransitRequestBirthData {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GenerateTransitRequestBirthDataNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: GenerateTransitRequestBirthDataTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateTransitRequestBirthDataTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    GenerateTransitRequestBirthDataNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `generateTransit`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateTransitParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateTransitParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateTransitParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateTimeline`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTimelineResponse {
    /// Echo of the birth subject this forecast was built for.
    #[serde(rename = "birthData")]
    pub birth_data: GenerateTimelineResponseBirthData,
    /// Number of events in the timeline after deduplication, filtering, and the event cap.
    pub count: f64,
    /// Last day of the resolved forecast window after the horizon clamp.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// The merged, time-ordered forecast events across the requested domains.
    pub events: Vec<GenerateTimelineResponseEventsItem>,
    /// First day of the resolved forecast window.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTimelineResponseEventsItem {
    /// For a transit-aspect, the angular relationship. One of conjunction, sextile, square, trine, opposition. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Primary subject of the event. A transiting planet for western events, Sun for a solar eclipse, Moon for a lunar eclipse or a new or full moon, or the critical cycle for biorhythm days. For a dasha-change, the Vimshottari lords outermost first, joined by a hyphen, then one space and the level: Saturn Mahadasha, Saturn-Mercury Antardasha, Saturn-Mercury-Ketu Pratyantardasha. Lords are always one of Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury. Never localized.
    pub body: String,
    /// Calendar date of the event in YYYY-MM-DD (UTC).
    pub date: String,
    /// Exact instant of the event as an ISO-8601 UTC datetime, to the nearest second. Astronomical events are refined to this instant by search, not reported at a daily sample point; a dasha-change is the period boundary itself, counted from the birth instant.
    pub datetime: String,
    /// Plain-language summary of the event, suitable for direct display. The only localized field: when lang is set this sentence, and the body, target, and aspect names within it, render in the requested language while the structured fields stay English.
    pub description: String,
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    pub domain: GenerateTimelineResponseEventsItemDomain,
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub kind: Option<GenerateTimelineResponseEventsItemKind>,
    /// For a lunar eclipse, the peak fraction from 0 to 1 of the Moon disc covered by Earth umbra. 1 for a total lunar eclipse, between 0 and 1 for a partial, 0 for a penumbral. Absent for solar eclipses and other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub obscuration: Option<f64>,
    /// For a transit-aspect, the separation in degrees from the exact aspect at the reported instant, rounded to three decimals. The instant is the moment the aspect perfects, so this reads 0. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub orb: Option<f64>,
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub phase: Option<GenerateTimelineResponseEventsItemPhase>,
    /// Importance score from 0 to 100. Outer-planet exact transit aspects and mahadasha changes score highest; fast Moon events and biorhythm critical days score lower. When domainWeights is supplied this is the weighted score, rounded and clamped to 0 to 100, which is the same value the significance floor and the event cap acted on.
    pub significance: f64,
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub station: Option<GenerateTimelineResponseEventsItemStation>,
    /// For a transit-aspect, the natal body the transit aspects. For a sign-ingress, the zodiac sign entered, and for a lunar-phase, the zodiac sign of the New or Full Moon. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub target: Option<String>,
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    pub r#type: GenerateTimelineResponseEventsItemType,
}
string_enum! {
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    GenerateTimelineResponseEventsItemType {
        TransitAspect = "transit-aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        Eclipse = "eclipse",
        LunarPhase = "lunar-phase",
        DashaChange = "dasha-change",
        CriticalDay = "critical-day",
    }
}
string_enum! {
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    GenerateTimelineResponseEventsItemStation {
        Retrograde = "retrograde",
        Direct = "direct",
    }
}
string_enum! {
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    GenerateTimelineResponseEventsItemPhase {
        NewMoon = "new-moon",
        FullMoon = "full-moon",
    }
}
string_enum! {
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    GenerateTimelineResponseEventsItemKind {
        Penumbral = "penumbral",
        Partial = "partial",
        Annular = "annular",
        Total = "total",
    }
}
string_enum! {
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    GenerateTimelineResponseEventsItemDomain {
        Western = "western",
        Vedic = "vedic",
        Biorhythm = "biorhythm",
    }
}
/// Echo of the birth subject this forecast was built for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTimelineResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth date and time, so this is the literal number applied, never the name.
    pub timezone: f64,
}
/// Request body of `generateTimeline`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTimelineRequest {
    /// The single birth subject this forecast is built for. One object only, never an array.
    #[serde(rename = "birthData")]
    pub birth_data: GenerateTimelineRequestBirthData,
    /// Per-domain significance multipliers applied before the significance floor and event cap. Bias which domains survive filtering and the cap. Omitted domains default to a weight of 1. Valid keys are western, vedic, and biorhythm.
    #[serde(rename = "domainWeights", skip_serializing_if = "Option::is_none")]
    pub domain_weights: Option<GenerateTimelineRequestDomainWeights>,
    /// Which forecast domains to include. Defaults to all three. Pass a subset to scope the timeline to one or two engines.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub domains: Option<Vec<GenerateTimelineRequestDomainsItem>>,
    /// Last day of the forecast window in YYYY-MM-DD format. Defaults to startDate plus 30 days. The window is clamped to a maximum of 90 days from startDate.
    #[serde(rename = "endDate", skip_serializing_if = "Option::is_none")]
    pub end_date: Option<String>,
    /// Drop events scoring below this significance threshold from 0 to 100. Defaults to 0, keeping all events.
    #[serde(rename = "minSignificance", skip_serializing_if = "Option::is_none")]
    pub min_significance: Option<f64>,
    /// First day of the forecast window in YYYY-MM-DD format. Defaults to today in UTC.
    #[serde(rename = "startDate", skip_serializing_if = "Option::is_none")]
    pub start_date: Option<String>,
}
string_enum! {
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days.
    GenerateTimelineRequestDomainsItem {
        Western = "western",
        Vedic = "vedic",
        Biorhythm = "biorhythm",
    }
}
/// Per-domain significance multipliers applied before the significance floor and event cap. Bias which domains survive filtering and the cap. Omitted domains default to a weight of 1. Valid keys are western, vedic, and biorhythm.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateTimelineRequestDomainWeights {
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub biorhythm: Option<f64>,
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub vedic: Option<f64>,
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub western: Option<f64>,
}
/// The single birth subject this forecast is built for. One object only, never an array.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateTimelineRequestBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: GenerateTimelineRequestBirthDataTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateTimelineRequestBirthDataTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `generateTimeline`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateTimelineParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateTimelineParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateTimelineParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateSolarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponse {
    /// Original birth date used for natal Sun longitude calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Full natal-style chart erected for the solar return moment. Contains all 14 celestial bodies (10 classical planets, lunar nodes, Chiron, Black Moon Lilith), 12 house cusps, aspects, Ascendant, and Midheaven in the tropical zodiac.
    pub chart: GenerateSolarReturnResponseChart,
    /// Solar return interpretation with annual forecast themes. Solar returns are the primary technique in Western astrology for year-ahead predictions.
    pub interpretation: GenerateSolarReturnResponseInterpretation,
    /// Location used for the solar return chart. The Ascendant and house cusps change based on where you are at your birthday, a key technique in relocated solar returns.
    pub location: GenerateSolarReturnResponseLocation,
    /// Original natal Sun position that the transiting Sun returns to. This conjunction defines the solar return moment.
    #[serde(rename = "natalSunPosition")]
    pub natal_sun_position: GenerateSolarReturnResponseNatalSunPosition,
    /// Exact solar return moment, when the transiting Sun conjuncts the natal Sun longitude. Adjusted to requested timezone. This is your astrological birthday for the year.
    #[serde(rename = "solarReturnDate")]
    pub solar_return_date: String,
    /// Year of this solar return chart. Covers the period from this birthday to the next.
    #[serde(rename = "solarReturnYear")]
    pub solar_return_year: f64,
}
/// Original natal Sun position that the transiting Sun returns to. This conjunction defines the solar return moment.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseNatalSunPosition {
    /// Degree within the zodiac sign (0-29.999). The precise position the Sun returns to.
    pub degree: f64,
    /// Natal Sun ecliptic longitude in degrees (0-360). The transiting Sun returns to this exact degree each year.
    pub longitude: f64,
    /// Tropical zodiac sign of the natal Sun (your Sun sign).
    pub sign: String,
}
/// Location used for the solar return chart. The Ascendant and house cusps change based on where you are at your birthday, a key technique in relocated solar returns.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseLocation {
    /// Observer latitude used for Placidus house cusp and Ascendant calculation in the solar return chart.
    pub latitude: f64,
    /// Observer longitude used for local sidereal time and Midheaven calculation in the solar return chart.
    pub longitude: f64,
    /// Timezone offset from UTC applied to output datetime formatting.
    pub timezone: f64,
}
/// Solar return interpretation with annual forecast themes. Solar returns are the primary technique in Western astrology for year-ahead predictions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseInterpretation {
    /// Key life areas and themes highlighted by this solar return chart. Focus on these for the birthday year.
    #[serde(rename = "keyThemes")]
    pub key_themes: Vec<String>,
    /// Explanation of how to use solar return charts for annual forecasting, identifying yearly themes, and timing predictions.
    pub purpose: String,
    /// Narrative overview of the solar return year themes and energy.
    pub summary: String,
}
/// Full natal-style chart erected for the solar return moment. Contains all 14 celestial bodies (10 classical planets, lunar nodes, Chiron, Black Moon Lilith), 12 house cusps, aspects, Ascendant, and Midheaven in the tropical zodiac.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseChart {
    /// All planetary aspects found in this chart with orbs, strength, and applying/separating status.
    pub aspects: Vec<GenerateSolarReturnResponseChartAspectsItem>,
    /// Birth details used to generate this chart.
    #[serde(rename = "birthDetails")]
    pub birth_details: GenerateSolarReturnResponseChartBirthDetails,
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    #[serde(rename = "houseSystem")]
    pub house_system: GenerateSolarReturnResponseChartHouseSystem,
    /// All 12 house cusps calculated using the selected house system.
    pub houses: Vec<GenerateSolarReturnResponseChartHousesItem>,
    /// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
    #[serde(rename = "partOfFortune")]
    pub part_of_fortune: GenerateSolarReturnResponseChartPartOfFortune,
    /// All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
    pub planets: Vec<GenerateSolarReturnResponseChartPlanetsItem>,
    /// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
    pub vertex: GenerateSolarReturnResponseChartVertex,
}
/// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseChartVertex {
    /// Degree within the Vertex sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Vertex (0-360).
    pub longitude: f64,
    /// Zodiac sign holding the Vertex.
    pub sign: String,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseChartPlanetsItem {
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// House placement (1-12). Determined by the selected house system and birth location.
    pub house: i64,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: GenerateSolarReturnResponseChartPlanetsItemName,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    GenerateSolarReturnResponseChartPlanetsItemName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseChartPartOfFortune {
    /// Degree within the Part of Fortune sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Part of Fortune (0-360).
    pub longitude: f64,
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    pub sect: GenerateSolarReturnResponseChartPartOfFortuneSect,
    /// Zodiac sign holding the Part of Fortune.
    pub sign: String,
}
string_enum! {
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    GenerateSolarReturnResponseChartPartOfFortuneSect {
        Day = "day",
        Night = "night",
    }
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseChartHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life themes in Western astrology.
    pub number: i64,
    /// Zodiac sign on this house cusp. Colors the themes of this life area.
    pub sign: String,
}
string_enum! {
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    GenerateSolarReturnResponseChartHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Birth details used to generate this chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseChartBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnResponseChartAspectsItem {
    /// Exact angular separation that defines this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    pub interpretation: GenerateSolarReturnResponseChartAspectsItemInterpretation,
    /// Whether the aspect is applying (planets moving toward exact) or separating (moving apart). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Deviation from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair.
    pub planet1: GenerateSolarReturnResponseChartAspectsItemPlanet1,
    /// Second planet in the aspect pair.
    pub planet2: GenerateSolarReturnResponseChartAspectsItemPlanet2,
    /// Aspect strength percentage (0-100). Based on orb tightness relative to the allowed maximum.
    pub strength: f64,
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    pub r#type: GenerateSolarReturnResponseChartAspectsItemType,
}
string_enum! {
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    GenerateSolarReturnResponseChartAspectsItemType {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
string_enum! {
    /// Second planet in the aspect pair.
    GenerateSolarReturnResponseChartAspectsItemPlanet2 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// First planet in the aspect pair.
    GenerateSolarReturnResponseChartAspectsItemPlanet1 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    GenerateSolarReturnResponseChartAspectsItemInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// Request body of `generateSolarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateSolarReturnRequest {
    /// Original birth date in YYYY-MM-DD format. Used to determine natal Sun longitude for the solar return calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Original birth time in 24-hour HH:MM:SS format. Determines exact natal Sun position for annual return timing.
    #[serde(rename = "birthTime")]
    pub birth_time: String,
    /// House system for the solar return chart. Placidus (default) is most common in Western astrology. Whole Sign, Equal, and Koch also supported.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<GenerateSolarReturnRequestHouseSystem>,
    /// Latitude of the solar return location in decimal degrees (-90 to 90). Use current residence or travel location at time of birthday. Solar return charts are location-sensitive.
    pub latitude: f64,
    /// Longitude of the solar return location in decimal degrees (-180 to 180). Affects house cusps and Ascendant of the return chart.
    pub longitude: f64,
    /// Year for which to cast the solar return chart. The chart is erected for the exact moment the transiting Sun conjuncts the natal Sun longitude in this year.
    #[serde(rename = "returnYear")]
    pub return_year: i64,
    /// Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
    pub timezone: GenerateSolarReturnRequestTimezone,
}
/// Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateSolarReturnRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// House system for the solar return chart. Placidus (default) is most common in Western astrology. Whole Sign, Equal, and Koch also supported.
    GenerateSolarReturnRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Path and query parameters of `generateSolarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateSolarReturnParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateSolarReturnParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateSolarReturnParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateSolarArc`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateSolarArcParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateSolarArcParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateSolarArcParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateRelocationChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateRelocationChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateRelocationChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateRelocationChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateProgressions`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateProgressionsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateProgressionsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateProgressionsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateProfections`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateProfectionsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateProfectionsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateProfectionsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generatePlanetaryReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponse {
    /// Approximate orbital period for this planet. Mercury ~88 days, Venus ~225 days, Mars ~687 days (~1.9 years), Jupiter ~12 years, Saturn ~29 years.
    #[serde(rename = "approximateCycle")]
    pub approximate_cycle: String,
    /// Original birth date used for natal planet longitude calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Full tropical zodiac chart erected for the planetary return moment. Contains planetary positions, house cusps, aspects, Ascendant, and Midheaven.
    pub chart: GeneratePlanetaryReturnResponseChart,
    /// Planetary return interpretation. Saturn returns (~29 years) mark major life milestones. Jupiter returns (~12 years) signal growth cycles. Inner planet returns offer shorter-term insights.
    pub interpretation: GeneratePlanetaryReturnResponseInterpretation,
    /// Location used for the planetary return chart house and Ascendant calculations.
    pub location: GeneratePlanetaryReturnResponseLocation,
    /// Original natal planet position that defines the return. The transiting planet conjuncts this longitude to trigger the return.
    #[serde(rename = "natalPlanetPosition")]
    pub natal_planet_position: GeneratePlanetaryReturnResponseNatalPlanetPosition,
    /// Planet whose return was calculated. Each planet has a different orbital period and return significance.
    pub planet: String,
    /// Exact planetary return moment, when the transiting planet conjuncts its natal longitude. Adjusted to requested timezone. Marks the beginning of a new cycle for that planet in your life.
    #[serde(rename = "returnDate")]
    pub return_date: String,
}
/// Original natal planet position that defines the return. The transiting planet conjuncts this longitude to trigger the return.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseNatalPlanetPosition {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Natal planet ecliptic longitude in degrees (0-360). The transiting planet returns to this exact degree.
    pub longitude: f64,
    /// Tropical zodiac sign of the natal planet position.
    pub sign: String,
}
/// Location used for the planetary return chart house and Ascendant calculations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseLocation {
    /// Observer latitude used for house cusp calculation in the return chart.
    pub latitude: f64,
    /// Observer longitude used for Midheaven and local sidereal time.
    pub longitude: f64,
    /// Timezone offset from UTC applied to output datetime formatting.
    pub timezone: f64,
}
/// Planetary return interpretation. Saturn returns (~29 years) mark major life milestones. Jupiter returns (~12 years) signal growth cycles. Inner planet returns offer shorter-term insights.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseInterpretation {
    /// Key life themes activated during this return cycle. Focus areas vary by planet: Jupiter brings expansion, Saturn brings structure and responsibility.
    #[serde(rename = "keyThemes")]
    pub key_themes: Vec<String>,
    /// Narrative overview of this planetary return cycle and its significance for personal development.
    pub summary: String,
}
/// Full tropical zodiac chart erected for the planetary return moment. Contains planetary positions, house cusps, aspects, Ascendant, and Midheaven.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseChart {
    /// All planetary aspects found in this chart with orbs, strength, and applying/separating status.
    pub aspects: Vec<GeneratePlanetaryReturnResponseChartAspectsItem>,
    /// Birth details used to generate this chart.
    #[serde(rename = "birthDetails")]
    pub birth_details: GeneratePlanetaryReturnResponseChartBirthDetails,
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    #[serde(rename = "houseSystem")]
    pub house_system: GeneratePlanetaryReturnResponseChartHouseSystem,
    /// All 12 house cusps calculated using the selected house system.
    pub houses: Vec<GeneratePlanetaryReturnResponseChartHousesItem>,
    /// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
    #[serde(rename = "partOfFortune")]
    pub part_of_fortune: GeneratePlanetaryReturnResponseChartPartOfFortune,
    /// All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
    pub planets: Vec<GeneratePlanetaryReturnResponseChartPlanetsItem>,
    /// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
    pub vertex: GeneratePlanetaryReturnResponseChartVertex,
}
/// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseChartVertex {
    /// Degree within the Vertex sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Vertex (0-360).
    pub longitude: f64,
    /// Zodiac sign holding the Vertex.
    pub sign: String,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseChartPlanetsItem {
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// House placement (1-12). Determined by the selected house system and birth location.
    pub house: i64,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: GeneratePlanetaryReturnResponseChartPlanetsItemName,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    GeneratePlanetaryReturnResponseChartPlanetsItemName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseChartPartOfFortune {
    /// Degree within the Part of Fortune sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Part of Fortune (0-360).
    pub longitude: f64,
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    pub sect: GeneratePlanetaryReturnResponseChartPartOfFortuneSect,
    /// Zodiac sign holding the Part of Fortune.
    pub sign: String,
}
string_enum! {
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    GeneratePlanetaryReturnResponseChartPartOfFortuneSect {
        Day = "day",
        Night = "night",
    }
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseChartHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life themes in Western astrology.
    pub number: i64,
    /// Zodiac sign on this house cusp. Colors the themes of this life area.
    pub sign: String,
}
string_enum! {
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    GeneratePlanetaryReturnResponseChartHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Birth details used to generate this chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseChartBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnResponseChartAspectsItem {
    /// Exact angular separation that defines this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    pub interpretation: GeneratePlanetaryReturnResponseChartAspectsItemInterpretation,
    /// Whether the aspect is applying (planets moving toward exact) or separating (moving apart). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Deviation from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair.
    pub planet1: GeneratePlanetaryReturnResponseChartAspectsItemPlanet1,
    /// Second planet in the aspect pair.
    pub planet2: GeneratePlanetaryReturnResponseChartAspectsItemPlanet2,
    /// Aspect strength percentage (0-100). Based on orb tightness relative to the allowed maximum.
    pub strength: f64,
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    pub r#type: GeneratePlanetaryReturnResponseChartAspectsItemType,
}
string_enum! {
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    GeneratePlanetaryReturnResponseChartAspectsItemType {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
string_enum! {
    /// Second planet in the aspect pair.
    GeneratePlanetaryReturnResponseChartAspectsItemPlanet2 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// First planet in the aspect pair.
    GeneratePlanetaryReturnResponseChartAspectsItemPlanet1 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    GeneratePlanetaryReturnResponseChartAspectsItemInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// Request body of `generatePlanetaryReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnRequest {
    /// Approximate date near the expected planetary return (YYYY-MM-DD). The return nearest this date is returned, so a date off by months still lands on a genuine return; during a retrograde loop the planet crosses its natal degree up to three times and the crossing nearest the date is the one returned.
    #[serde(rename = "approximateDate")]
    pub approximate_date: String,
    /// Original birth date in YYYY-MM-DD format. Used to determine the natal longitude of the selected planet.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Original birth time in 24-hour HH:MM:SS format. Determines exact natal planet position for return timing.
    #[serde(rename = "birthTime")]
    pub birth_time: String,
    /// House system for the return chart. Placidus (default), Whole Sign, Equal, or Koch.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<GeneratePlanetaryReturnRequestHouseSystem>,
    /// Latitude of the return location in decimal degrees (-90 to 90). Affects house cusps and Ascendant of the return chart.
    pub latitude: f64,
    /// Longitude of the return location in decimal degrees (-180 to 180).
    pub longitude: f64,
    /// Planet for the return calculation. Supports Mercury (~88 days), Venus (~225 days), Mars (~687 days), Jupiter (~12 years), and Saturn (~29 years). Saturn return is a major life milestone in Western astrology.
    pub planet: GeneratePlanetaryReturnRequestPlanet,
    /// Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
    pub timezone: GeneratePlanetaryReturnRequestTimezone,
}
/// Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GeneratePlanetaryReturnRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Planet for the return calculation. Supports Mercury (~88 days), Venus (~225 days), Mars (~687 days), Jupiter (~12 years), and Saturn (~29 years). Saturn return is a major life milestone in Western astrology.
    GeneratePlanetaryReturnRequestPlanet {
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
    }
}
string_enum! {
    /// House system for the return chart. Placidus (default), Whole Sign, Equal, or Koch.
    GeneratePlanetaryReturnRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Path and query parameters of `generatePlanetaryReturn`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GeneratePlanetaryReturnParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GeneratePlanetaryReturnParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GeneratePlanetaryReturnParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateNumerologyChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponse {
    /// Additional numerology insights: karmic analysis, yearly/monthly forecasts, pinnacles, challenges, hidden passion, subconscious self, and name letter analysis.
    #[serde(rename = "additionalInsights")]
    pub additional_insights: GenerateNumerologyChartResponseAdditionalInsights,
    /// Birth Day profile with day-specific meaning (1-31). Unlike the core Birth Day number, this provides unique interpretation per calendar day.
    #[serde(rename = "birthDayProfile", skip_serializing_if = "Option::is_none")]
    pub birth_day_profile: Option<GenerateNumerologyChartResponseBirthDayProfile>,
    /// Six core numerology numbers with full interpretations. The foundation of any complete numerology reading.
    #[serde(rename = "coreNumbers")]
    pub core_numbers: GenerateNumerologyChartResponseCoreNumbers,
    /// Lucky associations based on Life Path number: colors, gemstones, day, element, planet, and compatibility.
    #[serde(rename = "luckyAssociations", skip_serializing_if = "Option::is_none")]
    pub lucky_associations: Option<GenerateNumerologyChartResponseLuckyAssociations>,
    /// Maturity number activation status based on current age.
    #[serde(rename = "maturityStatus")]
    pub maturity_status: GenerateNumerologyChartResponseMaturityStatus,
    /// Input profile data used to generate the chart.
    pub profile: GenerateNumerologyChartResponseProfile,
    /// AI-ready holistic summary weaving all core numbers, karmic insights, and yearly forecast into a cohesive narrative. Ideal for generating personalized reports, chatbot responses, or one-page numerology overviews.
    pub summary: String,
}
/// Input profile data used to generate the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseProfile {
    /// Birth date in YYYY-MM-DD format.
    pub birthdate: String,
    /// Full birth name used for letter-based calculations (Expression, Soul Urge, Personality).
    pub name: String,
}
/// Maturity number activation status based on current age.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseMaturityStatus {
    /// Age range when the Maturity number typically activates (35-40).
    #[serde(rename = "activationRange")]
    pub activation_range: String,
    /// The current UTC calendar year minus the birth year. The birthday is not considered, so before the birthday it reads one more than the age in whole years, and currentYear does not move it.
    #[serde(rename = "currentAge")]
    pub current_age: f64,
    /// Whether the Maturity number is currently active (typically activates around age 35-40).
    #[serde(rename = "isActive")]
    pub is_active: bool,
}
/// Lucky associations based on Life Path number: colors, gemstones, day, element, planet, and compatibility.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseLuckyAssociations {
    /// Lucky colors associated with the Life Path number.
    pub colors: Vec<String>,
    /// Most compatible Life Path numbers.
    #[serde(rename = "compatibleNumbers")]
    pub compatible_numbers: Vec<f64>,
    /// Lucky day of the week.
    pub day: String,
    /// Classical element (Fire, Water, Earth, Air).
    pub element: String,
    /// Lucky gemstones aligned to the ruling planet.
    pub gemstones: Vec<String>,
    /// Least compatible Life Path numbers.
    #[serde(rename = "incompatibleNumbers")]
    pub incompatible_numbers: Vec<f64>,
    /// Ruling planet for this Life Path number.
    #[serde(rename = "rulingPlanet")]
    pub ruling_planet: String,
}
/// Six core numerology numbers with full interpretations. The foundation of any complete numerology reading.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbers {
    /// Birth Day number. Reveals a special talent or gift based on the calendar day of birth.
    #[serde(rename = "birthDay")]
    pub birth_day: GenerateNumerologyChartResponseCoreNumbersBirthDay,
    /// Expression (Destiny) number. Reveals natural talents, abilities, and life goals derived from the full birth name.
    pub expression: GenerateNumerologyChartResponseCoreNumbersExpression,
    /// Life Path. The most significant core number, revealing life purpose and destiny path.
    #[serde(rename = "lifePath")]
    pub life_path: GenerateNumerologyChartResponseCoreNumbersLifePath,
    /// Maturity number. The person you are becoming. Sum of Life Path and Expression, activates around age 35-40.
    pub maturity: GenerateNumerologyChartResponseCoreNumbersMaturity,
    /// Personality number. The outer you, how the world perceives you. Calculated from consonants in the birth name.
    pub personality: GenerateNumerologyChartResponseCoreNumbersPersonality,
    /// Soul Urge (Heart Desire) number. Reveals innermost desires, motivations, and what truly makes you happy. Calculated from vowels.
    #[serde(rename = "soulUrge")]
    pub soul_urge: GenerateNumerologyChartResponseCoreNumbersSoulUrge,
}
/// Soul Urge (Heart Desire) number. Reveals innermost desires, motivations, and what truly makes you happy. Calculated from vowels.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersSoulUrge {
    /// Vowel extraction and reduction calculation.
    pub calculation: String,
    /// Whether karmic debt was encountered.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Karmic debt number if present.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// Complete interpretation of the Soul Urge number with archetype, emotional drives, relationship needs, and spiritual direction.
    pub meaning: GenerateNumerologyChartResponseCoreNumbersSoulUrgeMeaning,
    /// Soul Urge (Heart Desire) number from vowels in birth name.
    pub number: f64,
    /// Single digit or master number.
    pub r#type: GenerateNumerologyChartResponseCoreNumbersSoulUrgeType,
}
string_enum! {
    /// Single digit or master number.
    GenerateNumerologyChartResponseCoreNumbersSoulUrgeType {
        Single = "single",
        Master = "master",
    }
}
/// Complete interpretation of the Soul Urge number with archetype, emotional drives, relationship needs, and spiritual direction.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersSoulUrgeMeaning {
    /// Career paths that satisfy your deepest emotional needs. Focuses on work that feeds the soul rather than just the resume, aligned with lasting inner fulfillment.
    pub career: String,
    /// Inner shadows and emotional patterns to balance. Explains how each challenge manifests when the Soul Urge energy is overextended or repressed.
    pub challenges: Vec<String>,
    /// Core interpretation of the inner self, hidden desires and emotional landscape. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Core emotional drives and inner motivations. These define what truly fulfills you at the deepest level, beyond surface-level desires and social expectations.
    pub keywords: Vec<String>,
    /// How your Soul Urge shapes what you need from love, friendship, and family. Covers emotional compatibility, attachment style, and the key to feeling truly seen and understood.
    pub relationships: String,
    /// The spiritual hunger at your core. Explores what your soul is seeking in this lifetime and the contemplative practices that bring you closest to inner peace and alignment.
    pub spirituality: String,
    /// Emotional superpowers and inner gifts. Each strength describes how it shapes decision-making, relationships, and the pursuit of personal fulfillment.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Soul Urge number. Reveals the deepest inner motivation, such as "The Seeker" for 7 or "The Master Teacher" for 33.
    pub title: String,
}
/// Personality number. The outer you, how the world perceives you. Calculated from consonants in the birth name.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersPersonality {
    /// Consonant extraction and reduction calculation.
    pub calculation: String,
    /// Whether karmic debt was encountered.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Karmic debt number if present.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// Complete interpretation of the Personality number with archetype, social traits, professional image, and first-impression dynamics.
    pub meaning: GenerateNumerologyChartResponseCoreNumbersPersonalityMeaning,
    /// Personality number from consonants in birth name.
    pub number: f64,
    /// Single digit or master number.
    pub r#type: GenerateNumerologyChartResponseCoreNumbersPersonalityType,
}
string_enum! {
    /// Single digit or master number.
    GenerateNumerologyChartResponseCoreNumbersPersonalityType {
        Single = "single",
        Master = "master",
    }
}
/// Complete interpretation of the Personality number with archetype, social traits, professional image, and first-impression dynamics.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersPersonalityMeaning {
    /// How your outward presence shapes professional opportunities. Covers the industries, roles, and environments where your public image creates the greatest advantage.
    pub career: String,
    /// Blind spots in your public persona. Patterns others notice that you may not, including defense mechanisms and image-management tendencies that can limit authentic connection.
    pub challenges: Vec<String>,
    /// Core interpretation of the outer personality, social presence and the image projected to the world. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Traits that define your public persona and first impression. These are the qualities others perceive before they get to know the real you.
    pub keywords: Vec<String>,
    /// First impressions in love and social dynamics. Explores how your Personality number attracts certain partners, sets relationship expectations, and influences group dynamics.
    pub relationships: String,
    /// The spiritual energy you radiate to others. Explores how your outer presence serves as a channel for deeper purpose and what your public path reveals about your soul mission.
    pub spirituality: String,
    /// Your strongest social assets and public-facing gifts. These qualities shape how you are received in professional settings, social gatherings, and first meetings.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Personality number. Represents the outer mask you show the world, such as "The Builder" for 4 or "The Powerhouse" for 8.
    pub title: String,
}
/// Maturity number. The person you are becoming. Sum of Life Path and Expression, activates around age 35-40.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersMaturity {
    /// Shows Life Path + Expression reduction.
    pub calculation: String,
    /// Whether karmic debt was encountered.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Karmic debt number if present.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// Complete interpretation of the Maturity number with archetype, emerging traits, career evolution, and spiritual awakening.
    pub meaning: GenerateNumerologyChartResponseCoreNumbersMaturityMeaning,
    /// Maturity number (Life Path + Expression). Becomes active around age 35-40.
    pub number: f64,
    /// Single digit or master number.
    pub r#type: GenerateNumerologyChartResponseCoreNumbersMaturityType,
}
string_enum! {
    /// Single digit or master number.
    GenerateNumerologyChartResponseCoreNumbersMaturityType {
        Single = "single",
        Master = "master",
    }
}
/// Complete interpretation of the Maturity number with archetype, emerging traits, career evolution, and spiritual awakening.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersMaturityMeaning {
    /// Career evolution and professional reinvention for the second act. Covers industries, roles, and pursuits that align with your mature energy and accumulated wisdom.
    pub career: String,
    /// Growth areas to watch as Maturity energy intensifies. Understanding these early helps you navigate the transition into your mature self with awareness and grace.
    pub challenges: Vec<String>,
    /// Core interpretation of the person being grown into in the second half of life, the wisdom gained through lived experience. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Emerging traits and qualities that strengthen after age 35 to 40. These energies gradually integrate into your personality as you mature and gain life experience.
    pub keywords: Vec<String>,
    /// How your relationships deepen and transform as Maturity energy takes hold. Covers evolving partnership needs, family dynamics, and the relationship wisdom that comes with age.
    pub relationships: String,
    /// Spiritual awakening in the mature years. Explores the deeper meaning that emerges when life experience meets the Maturity number and practices for this transformative phase.
    pub spirituality: String,
    /// Late-blooming strengths that emerge with age and experience. These are the gifts that become your greatest assets in the second half of life.
    pub strengths: Vec<String>,
    /// Numerology archetype for the Maturity number. Reveals who you are becoming in the second half of life, such as "The Builder" for 4 or "The Humanitarian" for 9.
    pub title: String,
}
/// Life Path. The most significant core number, revealing life purpose and destiny path.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersLifePath {
    /// Step-by-step calculation showing how the Life Path number was derived from the birth date.
    pub calculation: String,
    /// True if the reduction passed through a karmic debt number (13, 14, 16, 19).
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// The karmic debt number encountered during reduction, if any.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// Complete interpretation of the Life Path number with archetype, traits, career guidance, relationship insights, and spiritual direction.
    pub meaning: GenerateNumerologyChartResponseCoreNumbersLifePathMeaning,
    /// Life Path number (1-9, 11, 22, 33). The most important number in numerology, derived from birth date. Reveals life purpose and destiny.
    pub number: f64,
    /// Whether this is a single digit (1-9) or master number (11, 22, 33). Master numbers carry amplified spiritual significance.
    pub r#type: GenerateNumerologyChartResponseCoreNumbersLifePathType,
}
string_enum! {
    /// Whether this is a single digit (1-9) or master number (11, 22, 33). Master numbers carry amplified spiritual significance.
    GenerateNumerologyChartResponseCoreNumbersLifePathType {
        Single = "single",
        Master = "master",
    }
}
/// Complete interpretation of the Life Path number with archetype, traits, career guidance, relationship insights, and spiritual direction.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersLifePathMeaning {
    /// Tailored career guidance covering ideal industries, roles, and work environments. Includes specific job titles and explains why certain professional paths resonate with this Life Path energy.
    pub career: String,
    /// Growth areas and shadow qualities to work through. Each entry explains the root cause, how it surfaces in behavior, and constructive strategies for personal development.
    pub challenges: Vec<String>,
    /// Core interpretation of the Life Path covering personality, life purpose and core themes. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Defining personality traits and energetic themes for this Life Path. Useful for compatibility matching, personality snapshots, and building numerology profile summaries.
    pub keywords: Vec<String>,
    /// Love, friendship, and family dynamics shaped by this Life Path. Covers romantic compatibility with other numbers, communication style, and the key relationship lessons for lasting partnerships.
    pub relationships: String,
    /// Spiritual path, soul lessons, and recommended practices. Explores the deeper purpose behind this Life Path number and guidance for personal growth and inner transformation.
    pub spirituality: String,
    /// Core strengths and positive qualities. Each entry pairs a trait with a detailed explanation of how it manifests in everyday life and decision-making.
    pub strengths: Vec<String>,
    /// Numerology archetype name for this Life Path number. A defining phrase that captures the core identity, such as "The Leader" for 1 or "The Humanitarian" for 9.
    pub title: String,
}
/// Expression (Destiny) number. Reveals natural talents, abilities, and life goals derived from the full birth name.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersExpression {
    /// Letter-to-number conversion showing how the Expression number was calculated.
    pub calculation: String,
    /// Whether karmic debt was encountered during calculation.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Karmic debt number if present.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// Complete interpretation of the Expression number with archetype, talents, career paths, relationship dynamics, and spiritual expression.
    pub meaning: GenerateNumerologyChartResponseCoreNumbersExpressionMeaning,
    /// Expression (Destiny) number derived from full birth name using Pythagorean numerology.
    pub number: f64,
    /// Single digit or master number.
    pub r#type: GenerateNumerologyChartResponseCoreNumbersExpressionType,
}
string_enum! {
    /// Single digit or master number.
    GenerateNumerologyChartResponseCoreNumbersExpressionType {
        Single = "single",
        Master = "master",
    }
}
/// Complete interpretation of the Expression number with archetype, talents, career paths, relationship dynamics, and spiritual expression.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersExpressionMeaning {
    /// Career paths where your Expression number talents create the greatest professional advantage. Covers specific industries, creative pursuits, and work styles aligned with your name vibration.
    pub career: String,
    /// Growth areas where natural talent can become a liability without conscious balance. Explains how each challenge manifests and practical ways to work through it.
    pub challenges: Vec<String>,
    /// Core interpretation of the natural abilities, life goals and talents the birth name describes. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Natural talents and abilities encoded in the birth name. These define your innate skill set, creative potential, and the gifts available to you throughout life.
    pub keywords: Vec<String>,
    /// How your Expression number shapes the way you communicate, connect, and express love. Covers partnership dynamics, social style, and the relationship patterns rooted in your name energy.
    pub relationships: String,
    /// The spiritual dimension of your natural gifts. Explores how your Expression number talents serve a higher purpose and the creative practices that deepen self-expression.
    pub spirituality: String,
    /// Natural-born talents and creative gifts. Each strength describes a specific ability that comes effortlessly and how it contributes to personal and professional success.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Expression number. Reveals the natural talent blueprint, such as "The Communicator" for 3 or "The Master Builder" for 22.
    pub title: String,
}
/// Birth Day number. Reveals a special talent or gift based on the calendar day of birth.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersBirthDay {
    /// Step-by-step calculation showing how the Birth Day number was reduced from the calendar day of birth.
    pub calculation: String,
    /// True if the birth day is a karmic debt number (13, 14, 16, 19).
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// The karmic debt number if the birth day carries one (13, 14, 16, or 19).
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// Complete interpretation of the Birth Day number with archetype, innate talents, career advantages, and relationship dynamics.
    pub meaning: GenerateNumerologyChartResponseCoreNumbersBirthDayMeaning,
    /// Birth Day number (1-31). A special talent number based on the day of the month you were born.
    pub number: f64,
    /// Whether this is a single digit (1-9) or master number (11, 22). Birth days of 11 and 22 are preserved as master numbers.
    pub r#type: GenerateNumerologyChartResponseCoreNumbersBirthDayType,
}
string_enum! {
    /// Whether this is a single digit (1-9) or master number (11, 22). Birth days of 11 and 22 are preserved as master numbers.
    GenerateNumerologyChartResponseCoreNumbersBirthDayType {
        Single = "single",
        Master = "master",
    }
}
/// Complete interpretation of the Birth Day number with archetype, innate talents, career advantages, and relationship dynamics.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseCoreNumbersBirthDayMeaning {
    /// Professional paths where your birth day talents create an immediate advantage. Covers specific roles, industries, and work styles aligned with your innate abilities.
    pub career: String,
    /// The flip side of your gifts. Each challenge explains how an overreliance on natural talent can become a liability without conscious balance.
    pub challenges: Vec<String>,
    /// Core interpretation of the special abilities the birth day brings and how they complement the Life Path and Expression numbers. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Innate talents and natural aptitudes encoded in your birth day. These gifts are available from birth and become more refined with age and experience.
    pub keywords: Vec<String>,
    /// How your birth day gifts shape the way you connect with others. Covers romantic chemistry, friendship dynamics, and the relationship patterns rooted in your natural temperament.
    pub relationships: String,
    /// The spiritual dimension of your natural gifts. Explores how your birth day talents serve a higher purpose and the practices that help you channel them with intention.
    pub spirituality: String,
    /// Natural-born strengths that come effortlessly. These are the talents you can rely on even without formal training or conscious development.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Birth Day number. Represents the specific talent or gift you brought into this life, like "The Nurturer" for 6 or "The Seeker" for 7.
    pub title: String,
}
/// Birth Day profile with day-specific meaning (1-31). Unlike the core Birth Day number, this provides unique interpretation per calendar day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseBirthDayProfile {
    /// Career guidance for this specific birth day.
    pub career: String,
    /// Challenges specific to this birth day.
    pub challenges: Vec<String>,
    /// Calendar day of birth (1-31).
    pub day: f64,
    /// Detailed personality profile unique to this calendar day, not just the reduced digit.
    pub description: String,
    /// Personality traits specific to this birth day.
    pub keywords: Vec<String>,
    /// Single digit or master number this day reduces to.
    #[serde(rename = "reducesTo")]
    pub reduces_to: f64,
    /// Relationship dynamics for this birth day.
    pub relationships: String,
    /// Strengths specific to this birth day.
    pub strengths: Vec<String>,
    /// Unique archetype title for this specific birth day.
    pub title: String,
}
/// Additional numerology insights: karmic analysis, yearly/monthly forecasts, pinnacles, challenges, hidden passion, subconscious self, and name letter analysis.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsights {
    /// Four Challenge numbers representing life obstacles. The 3rd (Main) Challenge lasts for life; the other three are timed approximately with the Pinnacle phases.
    pub challenges: Vec<GenerateNumerologyChartResponseAdditionalInsightsChallengesItem>,
    /// Hidden Passion number. The most frequent number in the name revealing an overwhelming drive or talent.
    #[serde(rename = "hiddenPassion")]
    pub hidden_passion: GenerateNumerologyChartResponseAdditionalInsightsHiddenPassion,
    /// Karmic Debt analysis. Identifies unresolved karma from past lives carried through specific numbers (13, 14, 16, 19).
    #[serde(rename = "karmicDebt")]
    pub karmic_debt: GenerateNumerologyChartResponseAdditionalInsightsKarmicDebt,
    /// Karmic Lessons analysis. Identifies lessons the soul needs to learn based on missing numbers in the birth name.
    #[serde(rename = "karmicLessons")]
    pub karmic_lessons: GenerateNumerologyChartResponseAdditionalInsightsKarmicLessons,
    /// Name letter analysis: Cornerstone, Capstone, and First Vowel.
    #[serde(rename = "nameLetters")]
    pub name_letters: GenerateNumerologyChartResponseAdditionalInsightsNameLetters,
    /// Personal Year forecast with nested Personal Month. Yearly and monthly numerology cycles.
    #[serde(rename = "personalYear")]
    pub personal_year: GenerateNumerologyChartResponseAdditionalInsightsPersonalYear,
    /// Four Pinnacle numbers representing major life phases, master numbers 11, 22 and 33 kept, with age ranges and meanings.
    pub pinnacles: Vec<GenerateNumerologyChartResponseAdditionalInsightsPinnaclesItem>,
    /// Subconscious Self number. Reveals inner confidence and emergency response style.
    #[serde(rename = "subconsciousSelf")]
    pub subconscious_self: GenerateNumerologyChartResponseAdditionalInsightsSubconsciousSelf,
}
/// Subconscious Self number. Reveals inner confidence and emergency response style.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsSubconsciousSelf {
    /// How you handle emergencies and unexpected challenges based on the breadth of numbers in your name.
    pub description: String,
    /// Subconscious Self number (1-9). Count of unique numbers present in the name.
    pub number: f64,
    /// Archetype title for this Subconscious Self level.
    pub title: String,
    /// Which numbers (1-9) are present in the birth name.
    #[serde(rename = "uniqueNumbers")]
    pub unique_numbers: Vec<f64>,
}
/// One entry of `pinnacles`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsPinnaclesItem {
    /// Last whole age of this phase, inclusive. The First Pinnacle ends at 36 minus the Life Path reduced to one digit and each later phase starts the year after; null for the 4th Pinnacle (lasts rest of life).
    #[serde(rename = "endAge")]
    pub end_age: Option<f64>,
    /// Meaning and interpretation for this Pinnacle number.
    pub meaning: GenerateNumerologyChartResponseAdditionalInsightsPinnaclesItemMeaning,
    /// Pinnacle number (1-9, 11, 22, 33). Defines the theme of this life phase.
    pub number: f64,
    /// Pinnacle position (1-4). Four major life phases.
    pub position: f64,
    /// Age when this Pinnacle phase begins.
    #[serde(rename = "startAge")]
    pub start_age: f64,
}
/// Meaning and interpretation for this Pinnacle number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsPinnaclesItemMeaning {
    /// Challenges to navigate during this phase.
    pub challenges: Vec<String>,
    /// What this Pinnacle phase brings to your life.
    pub description: String,
    /// Key opportunities during this phase.
    pub opportunities: Vec<String>,
    /// Pinnacle phase title.
    pub title: String,
}
/// Personal Year forecast with nested Personal Month. Yearly and monthly numerology cycles.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsPersonalYear {
    /// Strategic guidance for making the most of this Personal Year. Covers timing decisions, areas to focus on, and the mindset that aligns with the current numerological energy.
    pub advice: String,
    /// Potential challenges to navigate during this cycle. Each entry identifies a recurring theme or obstacle and how to work with the energy rather than against it.
    pub challenges: Vec<String>,
    /// Position in the 9-year numerology cycle (e.g., "Year 5 of 9"). Each position carries distinct energy that shapes the entire year.
    pub cycle: String,
    /// Detailed yearly forecast covering what to expect across career, relationships, health, and personal development. Provides month-by-month energy shifts and key turning points.
    pub forecast: String,
    /// Key opportunities available during this Personal Year. Each entry identifies a specific area of life where conditions are favorable for growth and forward momentum.
    pub opportunities: Vec<String>,
    /// Personal Month forecast for the current UTC calendar month, applied to the Personal Year above. With a currentYear other than the current year, it pairs that Personal Year with the current month.
    #[serde(rename = "personalMonth")]
    pub personal_month: GenerateNumerologyChartResponseAdditionalInsightsPersonalYearPersonalMonth,
    /// Personal Year number (1-9). Each year in the 9-year cycle has distinct themes and energies.
    #[serde(rename = "personalYear")]
    pub personal_year: f64,
    /// Central theme and energy defining this Personal Year. Provides a one-line summary of the dominant vibration influencing all areas of life.
    pub theme: String,
}
/// Personal Month forecast for the current UTC calendar month, applied to the Personal Year above. With a currentYear other than the current year, it pairs that Personal Year with the current month.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsPersonalYearPersonalMonth {
    /// Practical focus and guidance for this month.
    pub focus: String,
    /// Personal Month number (1-9): the Personal Year above plus the current UTC calendar month, reduced to one digit.
    #[serde(rename = "personalMonth")]
    pub personal_month: f64,
    /// Central theme for this Personal Month.
    pub theme: String,
}
/// Name letter analysis: Cornerstone, Capstone, and First Vowel.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsNameLetters {
    /// Capstone letter analysis. Reveals completion and follow-through style.
    pub capstone: GenerateNumerologyChartResponseAdditionalInsightsNameLettersCapstone,
    /// Cornerstone letter analysis. Reveals approach to new situations.
    pub cornerstone: GenerateNumerologyChartResponseAdditionalInsightsNameLettersCornerstone,
    /// First Vowel analysis. Reveals instinctive emotional reactions.
    #[serde(rename = "firstVowel")]
    pub first_vowel: GenerateNumerologyChartResponseAdditionalInsightsNameLettersFirstVowel,
}
/// First Vowel analysis. Reveals instinctive emotional reactions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsNameLettersFirstVowel {
    /// First vowel of the first name (A, E, I, O or U). A first name with none of them takes its Y, the vowel sound of names like Lynn; one with no Y either takes the first A, E, I, O or U of the rest of the name.
    pub letter: String,
    /// Instinctive emotional response and inner reaction style.
    pub meaning: String,
}
/// Cornerstone letter analysis. Reveals approach to new situations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsNameLettersCornerstone {
    /// First letter of the first name.
    pub letter: String,
    /// How you approach new situations and initiate action.
    pub meaning: String,
    /// Pythagorean number value of the Cornerstone letter.
    pub number: f64,
}
/// Capstone letter analysis. Reveals completion and follow-through style.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsNameLettersCapstone {
    /// Last letter of the first name.
    pub letter: String,
    /// How you complete tasks and handle endings.
    pub meaning: String,
    /// Pythagorean number value of the Capstone letter.
    pub number: f64,
}
/// Karmic Lessons analysis. Identifies lessons the soul needs to learn based on missing numbers in the birth name.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsKarmicLessons {
    /// Detailed karmic lessons for each missing number.
    pub lessons: Vec<
        GenerateNumerologyChartResponseAdditionalInsightsKarmicLessonsLessonsItem,
    >,
    /// Numbers (1-9) missing from the birth name. Each missing number represents a karmic lesson to learn in this lifetime.
    #[serde(rename = "missingNumbers")]
    pub missing_numbers: Vec<f64>,
    /// Count of each number (1-9) present in the birth name. High counts indicate natural strengths.
    #[serde(rename = "presentNumbers")]
    pub present_numbers: GenerateNumerologyChartResponseAdditionalInsightsKarmicLessonsPresentNumbers,
}
/// Count of each number (1-9) present in the birth name. High counts indicate natural strengths.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsKarmicLessonsPresentNumbers {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// One entry of `lessons`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsKarmicLessonsLessonsItem {
    /// What this missing number means for personal growth. Explains the life patterns, recurring situations, and soul-level work required to integrate this energy.
    pub description: String,
    /// Actionable guidance for mastering this karmic lesson. Includes specific behaviors, mindset shifts, and daily practices that build the missing quality over time.
    #[serde(rename = "howToOvercome")]
    pub how_to_overcome: String,
    /// Karmic lesson title identifying the core quality or virtue this soul needs to develop in the current lifetime.
    pub lesson: String,
    /// The missing number representing this karmic lesson.
    pub number: f64,
}
/// Karmic Debt analysis. Identifies unresolved karma from past lives carried through specific numbers (13, 14, 16, 19).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsKarmicDebt {
    /// List of karmic debt numbers found (13=laziness, 14=abuse of freedom, 16=ego destruction, 19=selfishness), each listed once, in core-number order: Life Path, Expression, Soul Urge, Personality, Birth Day.
    #[serde(rename = "debtNumbers")]
    pub debt_numbers: Vec<f64>,
    /// True if any core number reduces through a karmic debt number (13, 14, 16, 19).
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Detailed meanings for each karmic debt number found.
    pub meanings: Vec<
        GenerateNumerologyChartResponseAdditionalInsightsKarmicDebtMeaningsItem,
    >,
}
/// One entry of `meanings`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsKarmicDebtMeaningsItem {
    /// The central life challenge this debt creates. Identifies the repeating obstacle pattern and the emotional or behavioral trap to watch for.
    pub challenge: String,
    /// What this karmic debt means for your current lifetime. Explains the past-life pattern, how it manifests today, and why certain struggles keep recurring.
    pub description: String,
    /// Karmic debt number (13, 14, 16, or 19). Each represents a specific pattern of unresolved karma from past lives that demands conscious attention.
    pub number: f64,
    /// How to resolve and transcend this karmic debt. Provides the spiritual lesson, practical steps, and the transformative shift that breaks the cycle.
    pub resolution: String,
}
/// Hidden Passion number. The most frequent number in the name revealing an overwhelming drive or talent.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsHiddenPassion {
    /// All numbers tied for highest frequency, in ascending order (usually one, sometimes multiple).
    #[serde(rename = "allPassions")]
    pub all_passions: Vec<f64>,
    /// How many times this number appears in the name.
    pub count: f64,
    /// What this dominant number drive reveals about latent talents and obsessions.
    pub description: String,
    /// Hidden Passion number (1-9). The most frequently occurring number in the birth name; when several tie, the lowest of them.
    pub number: f64,
    /// Archetype title for this Hidden Passion.
    pub title: String,
}
/// One entry of `challenges`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsChallengesItem {
    /// Last whole age of the period, inclusive, approximate as startAge explains. Null for the 3rd (Main) Challenge and the 4th, which last for life.
    #[serde(rename = "endAge")]
    pub end_age: Option<f64>,
    /// Meaning and resolution guidance for this Challenge number.
    pub meaning: GenerateNumerologyChartResponseAdditionalInsightsChallengesItemMeaning,
    /// Challenge number (0-8). Defines the obstacle of this period.
    pub number: f64,
    /// Challenge position (1-4). Four life obstacle periods.
    pub position: f64,
    /// Age when this Challenge is most felt. The 3rd (Main) Challenge starts at 0 and lasts for life; the 1st, 2nd and 4th take the ages of their Pinnacle phase as an approximation, since Challenges have no fixed durations.
    #[serde(rename = "startAge")]
    pub start_age: f64,
}
/// Meaning and resolution guidance for this Challenge number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartResponseAdditionalInsightsChallengesItemMeaning {
    /// What this Challenge demands you overcome.
    pub description: String,
    /// Actionable guidance for working through this Challenge.
    #[serde(rename = "howToOvercome")]
    pub how_to_overcome: String,
    /// Core lesson to learn during this period.
    pub lesson: String,
    /// Challenge title.
    pub title: String,
}
/// Path and query parameters of `generateNumerologyChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateNumerologyChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateNumerologyChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateNumerologyChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateNavamsa`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateNavamsaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateNavamsaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateNavamsaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateNatalChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateNatalChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateNatalChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateNatalChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateNameProfile`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponse {
    /// The `chosen` field.
    pub chosen: GenerateNameProfileResponseChosen,
    /// The `conventions` field.
    pub conventions: GenerateNameProfileResponseConventions,
    /// Every Hebrew spelling the name can be written as, greedy parse first. One entry when Hebrew was sent, since there is nothing to choose.
    #[serde(rename = "hebrewForms")]
    pub hebrew_forms: Vec<GenerateNameProfileResponseHebrewFormsItem>,
    /// The `input` field.
    pub input: GenerateNameProfileResponseInput,
    /// The per letter breakdown of the chosen spelling.
    pub letters: Vec<GenerateNameProfileResponseLettersItem>,
    /// Curated words whose standard value equals the name. Empty when nothing matches, which is the ordinary case.
    pub matches: Vec<GenerateNameProfileResponseMatchesItem>,
    /// Where the name lands on the tree. The reduction is a numerical convention, not a rule from any text, and the reading says so.
    pub sephirah: GenerateNameProfileResponseSephirah,
    /// The four readings a name profile leads with. Call the gematria endpoint for the full set and for the substitution transformations.
    pub values: GenerateNameProfileResponseValues,
}
/// The four readings a name profile leads with. Call the gematria endpoint for the full set and for the substitution transformations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseValues {
    /// Mispar gadol under the reading the misparGadol convention selected, which is why the convention comes back on the response.
    pub large: f64,
    /// Mispar kidmi, where each letter scores the sum of every standard value up to and including itself, so tav is 1495.
    pub preceding: f64,
    /// Mispar katan, where each letter value has its trailing zeros truncated, so yod is 1 and qof is 1.
    pub small: f64,
    /// Mispar hechrachi, the standard reading, where every letter takes its ordinary value and a final form scores as its base letter.
    pub standard: f64,
}
/// Where the name lands on the tree. The reduction is a numerical convention, not a rule from any text, and the reading says so.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseSephirah {
    /// The English gloss of the name, in the requested language.
    pub english: String,
    /// The name in Hebrew. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the sephirah the reduced value points at.
    pub id: String,
    /// What the emanation is said to hold, in the requested language.
    pub meaning: String,
    /// Its position in the emanation, 1 to 10.
    pub number: Option<f64>,
    /// The composed sentence that places the name on the tree, in the requested language. It states plainly that the reduction is a numerical convention rather than a classical rule.
    pub reading: String,
    /// The standard value reduced by repeated digit sum, stopping at ten so all ten emanations stay reachable.
    pub reduced: f64,
}
/// One entry of `matches`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseMatchesItem {
    /// The word in Hebrew. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the entry, an ASCII romanization.
    pub id: String,
    /// What the word means, in the requested language.
    pub meaning: String,
    /// What the tradition says about the equality, in the requested language.
    pub note: String,
    /// Latin transcription of the Hebrew beside it, from the same mechanical letter map.
    pub romanization: String,
    /// Where the value is attested. Every entry in the lexicon carries at least two independent sources, which is why the list is short rather than long.
    pub sources: Vec<String>,
    /// Its value under the standard reading, which is why it matched.
    pub value: f64,
}
/// One entry of `letters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseLettersItem {
    /// The letter as it stands in the chosen spelling.
    pub glyph: String,
    /// True when the glyph is the word final form.
    #[serde(rename = "isFinal")]
    pub is_final: bool,
    /// Machine identifier of the letter.
    #[serde(rename = "letterId")]
    pub letter_id: String,
    /// Display name of the letter.
    pub name: String,
    /// What this letter contributed.
    pub value: f64,
}
/// The `input` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseInput {
    /// Echo of the Latin name sent. Absent when Hebrew was sent instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Echo of the Hebrew name sent. Absent when Latin was sent instead.
    #[serde(rename = "nameHebrew", skip_serializing_if = "Option::is_none")]
    pub name_hebrew: Option<String>,
}
/// One entry of `hebrewForms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseHebrewFormsItem {
    /// One Hebrew spelling the Latin input can be written as. Data, identical in every language.
    pub hebrew: String,
    /// The per letter breakdown of this spelling under the standard reading.
    pub letters: Vec<GenerateNameProfileResponseHebrewFormsItemLettersItem>,
    /// Latin transcription of the Hebrew beside it, produced by one mechanical letter map. It is a label for reading the string back, never a pronunciation claim.
    pub romanization: String,
    /// Why this spelling came out of the map: the parse rule first, then one sentence for every reading the scheme applied that the letters alone would not show, so a caller can tell the parses apart.
    pub rule: String,
    /// Every computed cipher applied to this spelling, in catalogue order. The rows carry no display name, because they are the same ciphers in the same order for every spelling: read the names off the top level values array once.
    pub values: Vec<GenerateNameProfileResponseHebrewFormsItemValuesItem>,
}
/// One entry of `values`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseHebrewFormsItemValuesItem {
    /// Other published totals for the same string, ascending. Present only where the cipher is not single valued: letter names have several accepted spellings, so several totals are equally published. Absent otherwise, so a caller can branch on presence.
    #[serde(rename = "alternateValues", skip_serializing_if = "Option::is_none")]
    pub alternate_values: Option<Vec<f64>>,
    /// Machine identifier of the cipher. Call the ciphers endpoint for the definition, the tradition and the sources behind each one.
    pub id: String,
    /// The first published source this cipher was taken from.
    pub source: String,
    /// Provenance class of the cipher, one of rabbinic, renaissance-latin, golden-dawn-transliterated or modern. Always English, so it stays safe to compare against in code.
    pub tradition: String,
    /// The number this cipher gives for the string. Always a number: the one catalogued cipher this API does not compute is absent from this array rather than present without a value, so no row here has to be guarded. Its catalogue entry carries computed false and says why.
    pub value: f64,
}
/// One entry of `letters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseHebrewFormsItemLettersItem {
    /// The Hebrew letter as it stands in the string. Data, identical in every language.
    pub glyph: String,
    /// True when the glyph is the word final form. Under the finals-500-900 reading the same letter scores differently in final position, which is why this is on the row.
    #[serde(rename = "isFinal")]
    pub is_final: bool,
    /// Machine identifier of the letter, always English romanization so it stays safe to compare against in code.
    #[serde(rename = "letterId")]
    pub letter_id: String,
    /// Display name of the letter, in the requested language. Branch on letterId, never on this.
    pub name: String,
    /// What this letter contributed under the standard reading, or under the finals reading when one applies.
    pub value: f64,
}
/// The `conventions` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseConventions {
    /// Which of the two published methods the name mispar gadol was read as.
    #[serde(rename = "misparGadol")]
    pub mispar_gadol: String,
    /// The Latin to Hebrew scheme applied. Absent when the caller sent Hebrew directly.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub transliteration: Option<String>,
}
/// The `chosen` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNameProfileResponseChosen {
    /// The spelling the rest of this response was computed from.
    pub hebrew: String,
    /// Latin transcription of the chosen spelling, from the mechanical map.
    pub romanization: String,
    /// Why this spelling was chosen over the others.
    pub rule: String,
}
/// The name to profile. Send name for a Latin input or nameHebrew for a Hebrew one, never both: which one you send decides whether a transliteration step runs at all.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateNameProfileRequest {
    /// Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
    #[serde(rename = "misparGadol", skip_serializing_if = "Option::is_none")]
    pub mispar_gadol: Option<GenerateNameProfileRequestMisparGadol>,
    /// The name in Latin script, to be written in Hebrew and then scored. Non Latin scripts are folded to Latin first. Send nameHebrew instead to control the spelling yourself.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// The name already in Hebrew, which skips the transliteration step entirely and scores exactly the spelling you sent.
    #[serde(rename = "nameHebrew", skip_serializing_if = "Option::is_none")]
    pub name_hebrew: Option<String>,
    /// How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub transliteration: Option<GenerateNameProfileRequestTransliteration>,
}
string_enum! {
    /// How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
    GenerateNameProfileRequestTransliteration {
        LetterMapMathers = "letter-map-mathers",
        LetterMapModern = "letter-map-modern",
    }
}
string_enum! {
    /// Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
    GenerateNameProfileRequestMisparGadol {
        Finals500900 = "finals-500-900",
        Milui = "milui",
    }
}
/// Path and query parameters of `generateNameProfile`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateNameProfileParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateNameProfileParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateNameProfileParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateMayanChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponse {
    /// The Tzolkin and Haab dates written together, which is how a Classic inscription names a day. The pair repeats every 18,980 days, a little under 52 years, so a Calendar Round alone is ambiguous beyond one lifetime and the Long Count is what disambiguates it.
    #[serde(rename = "calendarRound")]
    pub calendar_round: String,
    /// The conventions this chart was computed under, echoed so the result is self describing. Store both beside any chart you persist.
    pub conventions: GenerateMayanChartResponseConventions,
    /// The Cruz Maya, the five point nawal cross, with source convention. This is a LIVING DAYKEEPER PRACTICE rather than an archaeological reconstruction: no academic source describes a five point cross, and the day offsets here were measured against two independent practitioner calculators that agree. It is published because practitioners use it, and it is labelled because that is what honesty about a source looks like.
    pub cross: Vec<GenerateMayanChartResponseCrossItem>,
    /// Echo of the date the chart was computed from, in proleptic Gregorian.
    pub date: String,
    /// The 365 day vague year: eighteen periods of twenty days plus the five days of Wayebʼ. This is the agricultural year the Tzolkin runs against.
    pub haab: GenerateMayanChartResponseHaab,
    /// The linear day count from the mythological start of the era, written in five positions. Unlike the two round calendars this one never repeats, which is what lets an inscription name an absolute date.
    #[serde(rename = "longCount")]
    pub long_count: GenerateMayanChartResponseLongCount,
    /// The nine day cycle that runs beside the other three. The nine are identified and the cycle is unambiguous, but no source records what the Maya called them, so this API publishes the labels rather than borrowing names from a neighbouring culture.
    #[serde(rename = "lordOfNight")]
    pub lord_of_night: GenerateMayanChartResponseLordOfNight,
    /// One composed sentence placing the day in all three calendars, for a card headline or a chat reply.
    pub summary: String,
    /// The 260 day sacred round: the day sign, its coefficient and the trecena it falls in. This is the cycle a nawal reading is built on.
    pub tzolkin: GenerateMayanChartResponseTzolkin,
    /// The Tzolkin day that names the Haab year this date falls in, under the requested school.
    #[serde(rename = "yearBearer")]
    pub year_bearer: GenerateMayanChartResponseYearBearer,
}
/// The Tzolkin day that names the Haab year this date falls in, under the requested school.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseYearBearer {
    /// Machine identifier of the day sign carrying the Haab year this date falls in. Only four of the twenty can ever carry a year, and which four depends on the school.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// Display name of the bearing sign. A proper noun carried as data.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// Coefficient of the bearing day, 1 to 13. The coefficient advances by one each Haab year, which is what makes the bearer and the number together repeat only every 52 years.
    pub number: f64,
    /// One line on the year bearer that names the school it was read under, because the three schools name three different bearers for the same year.
    pub reading: String,
}
/// The 260 day sacred round: the day sign, its coefficient and the trecena it falls in. This is the cycle a nawal reading is built on.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseTzolkin {
    /// Machine identifier of the Tzolkin day sign, always lowercase ASCII Yucatec whatever the lang parameter says, so it stays safe to compare against in code. The twenty ids run imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// The sixteenth century Yucatec spelling of the same sign, which is the form most printed reference tables and older sources use. Useful for matching a name a reader copied out of a book.
    #[serde(rename = "daySignClassic")]
    pub day_sign_classic: String,
    /// The Kʼicheʼ name of the same day from the living highland daykeeping tradition, which is the vocabulary a nawal reading in Guatemala uses. A parallel naming tradition rather than a translation, so it is identical under every lang.
    #[serde(rename = "daySignKiche")]
    pub day_sign_kiche: String,
    /// Display name of the day sign in the standard Maya orthography, where the ejective is written with a modifier letter rather than a typewriter quote. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// The Tzolkin coefficient, 1 to 13. This is the classical day number that runs alongside the twenty signs; it is not a rank and a 13 is not better than a 1. Nine of the thirteen carry a recorded character, which is returned separately.
    pub number: f64,
    /// The composed nawal reading for the Tzolkin day.
    pub reading: GenerateMayanChartResponseTzolkinReading,
    /// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
    pub trecena: GenerateMayanChartResponseTzolkinTrecena,
}
/// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseTzolkinTrecena {
    /// Position of this day inside its trecena, 1 to 13. Always equal to the coefficient, because a trecena is exactly one run of the coefficient.
    #[serde(rename = "dayOfTrecena")]
    pub day_of_trecena: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20. Trecena 1 opens on 1 Imix.
    pub number: f64,
    /// Machine identifier of the day sign the trecena opens on, which the tradition reads as colouring all thirteen of its days.
    #[serde(rename = "rulingSign")]
    pub ruling_sign: String,
    /// Display name of the sign the trecena opens on. A proper noun carried as data.
    #[serde(rename = "rulingSignName")]
    pub ruling_sign_name: String,
}
/// The composed nawal reading for the Tzolkin day.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseTzolkinReading {
    /// Where the same temperament costs the sign something. Each one is the shadow of a strength above rather than an unrelated flaw.
    pub challenges: Vec<String>,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// The sign in one composed sentence: its name in both naming traditions, what it is about, and the glyph reading behind it. Composed per request from the sign components rather than stored whole, which is why it stays consistent with every other reading in the response.
    pub keynote: String,
    /// Machine identifier of the recorded character of the coefficient: gentle, indifferent or violent. ABSENT for coefficients 4, 5, 6 and 10, which have no recorded character in any consulted source. Always English so it stays safe to switch on.
    #[serde(rename = "numberBand", skip_serializing_if = "Option::is_none")]
    pub number_band: Option<String>,
    /// What the coefficient contributes. Nine of the thirteen carry a recorded character, banded as gentle, indifferent or violent; the other four carry none and this field says so rather than inventing one. The band ids are the source vocabulary, so violent names the days reserved for strong ceremony and defence and is not a warning.
    #[serde(rename = "numberReading")]
    pub number_reading: String,
    /// What the sign does well, as full sentences rather than keywords.
    pub strengths: Vec<String>,
}
/// The nine day cycle that runs beside the other three. The nine are identified and the cycle is unambiguous, but no source records what the Maya called them, so this API publishes the labels rather than borrowing names from a neighbouring culture.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseLordOfNight {
    /// Which of the nine Lords of the Night governs this day, G1 to G9. The cycle steps forward one per day and closes every nine.
    pub label: String,
    /// One line on the night lord, including why the nine carry labels rather than names.
    pub reading: String,
}
/// The linear day count from the mythological start of the era, written in five positions. Unlike the two round calendars this one never repeats, which is what lets an inscription name an absolute date.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseLongCount {
    /// Baktun, the highest of the five positions. One baktun is 144,000 days.
    pub baktun: f64,
    /// The whole Long Count as a single integer count of days from the epoch. Subtracting two of these is the correct way to measure an interval, and it is the number the Tzolkin, the Haab and the night lord are all derived from.
    #[serde(rename = "daysSinceEpoch")]
    pub days_since_epoch: f64,
    /// The dotted Long Count, most significant position first. This is the spelling every reference converter and every inscription uses.
    pub formatted: String,
    /// Julian Day Number of the same day, which is the bridge between this count and any other calendar. Adding the correlation constant to daysSinceEpoch gives exactly this.
    #[serde(rename = "julianDayNumber")]
    pub julian_day_number: f64,
    /// Katun, 0 to 19. One katun is 7,200 days, roughly twenty years.
    pub katun: f64,
    /// Kin, 0 to 19. One kin is one day.
    pub kin: f64,
    /// Tun, 0 to 19. One tun is 360 days, which is why this position sits roughly a year apart.
    pub tun: f64,
    /// Winal, 0 to 17 and never 19. This is the one position that is not base twenty: eighteen winal make a tun, which is what keeps the tun near a solar year.
    pub winal: f64,
}
/// The 365 day vague year: eighteen periods of twenty days plus the five days of Wayebʼ. This is the agricultural year the Tzolkin runs against.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseHaab {
    /// Day inside the period, 0 to 19, or 0 to 4 in Wayebʼ. Day 0 is a real date and is called the seating of the period, so a Haab month has no day 20. Numbering from 1 instead is the usual way to be one day wrong on every Haab date.
    pub day: f64,
    /// Day of the 365 day Haab year, 0 to 364. The Haab has no leap day at all, so it drifts against the solar year by about a day every four years and there is nothing to correct.
    #[serde(rename = "dayOfYear")]
    pub day_of_year: f64,
    /// Machine identifier of the Haab period, always lowercase ASCII. The nineteen ids run pop, wo, sip, sotz, sek, xul, yaxkin, mol, chen, yax, sak, keh, mak, kankin, muwan, pax, kayab, kumku, wayeb.
    pub month: String,
    /// The sixteenth century Yucatec spelling of the same period, which is the form most printed tables use.
    #[serde(rename = "monthClassic")]
    pub month_classic: String,
    /// Display name of the Haab period in the standard orthography. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "monthName")]
    pub month_name: String,
    /// Composed reading of the Haab date, which reads differently on the seating day of a period.
    pub reading: String,
}
/// One entry of `cross`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseCrossItem {
    /// Machine identifier of the day sign standing at this point.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// Kʼicheʼ name of the same sign, which is the vocabulary a cross is normally read in.
    #[serde(rename = "daySignKiche")]
    pub day_sign_kiche: String,
    /// Display name of the sign at this point. A proper noun carried as data.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// Coefficient of the day at this point, 1 to 13.
    pub number: f64,
    /// Days from the birth day to this arm. Negative is before the birth day. Conception is minus eight, destiny plus eight, the left arm plus six and the right arm minus six.
    #[serde(rename = "offsetDays")]
    pub offset_days: f64,
    /// Which point of the cross this is: center, conception, destiny, left or right. Always English so it stays safe to switch on. The arms are published as left and right and carry no gender, because the sources that agree on the SIGNS disagree on which arm is masculine and which feminine.
    pub position: String,
    /// One line on what this point of the cross is read as.
    pub reading: String,
}
/// The conventions this chart was computed under, echoed so the result is self describing. Store both beside any chart you persist.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartResponseConventions {
    /// The correlation constant actually applied, whether it was requested or defaulted. Store this beside any Maya date you persist: the same civil date resolves to a different Long Count under each constant, and a date with no correlation recorded cannot be reproduced.
    pub correlation: String,
    /// The Year Bearer school actually applied. The three schools name three different bearers for the same Haab year, so a bearer stored without this value cannot be checked against anything.
    #[serde(rename = "yearBearerSystem")]
    pub year_bearer_system: String,
}
/// Request body of `generateMayanChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMayanChartRequest {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub correlation: Option<GenerateMayanChartRequestCorrelation>,
    /// Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform. Years 1 to 4000 are accepted. A reference converter that switches to the Julian calendar below the reform will disagree with a date before 15 October 1582 by ten or eleven days; that is a difference of input convention rather than of arithmetic, and passing the Julian equivalent to such a tool reproduces these values exactly. A single-digit month or day is accepted and zero padded.
    pub date: String,
    /// Which Haab day is read as the start of the year when naming its Year Bearer. Only four of the twenty day signs can ever carry a year, and which four depends entirely on this choice, so the three schools never agree. "classic" reads the seating of Pop and is the default, because it is the set highland daykeepers still use; its four bearers are Ikʼ, Manikʼ, Ebʼ and Kabʼan. "campeche" reads 1 Pop and gives Akʼbʼal, Lamat, Bʼen and Etzʼnabʼ. "colonial-yucatec" reads 2 Pop and gives Kʼan, Muluk, Ix and Kawak. The three sets share no member, so a bearer alone tells you which school produced it.
    #[serde(rename = "yearBearerSystem", skip_serializing_if = "Option::is_none")]
    pub year_bearer_system: Option<GenerateMayanChartRequestYearBearerSystem>,
}
string_enum! {
    /// Which Haab day is read as the start of the year when naming its Year Bearer. Only four of the twenty day signs can ever carry a year, and which four depends entirely on this choice, so the three schools never agree. "classic" reads the seating of Pop and is the default, because it is the set highland daykeepers still use; its four bearers are Ikʼ, Manikʼ, Ebʼ and Kabʼan. "campeche" reads 1 Pop and gives Akʼbʼal, Lamat, Bʼen and Etzʼnabʼ. "colonial-yucatec" reads 2 Pop and gives Kʼan, Muluk, Ix and Kawak. The three sets share no member, so a bearer alone tells you which school produced it.
    GenerateMayanChartRequestYearBearerSystem {
        Classic = "classic",
        Campeche = "campeche",
        ColonialYucatec = "colonial-yucatec",
    }
}
string_enum! {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    GenerateMayanChartRequestCorrelation {
        Gmt584283 = "gmt-584283",
        MartinezHernandez584281 = "martinez-hernandez-584281",
        Astronomical584285 = "astronomical-584285",
        MartinSkidmore584286 = "martin-skidmore-584286",
    }
}
/// Path and query parameters of `generateMayanChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateMayanChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateMayanChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateMayanChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateMandala`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponse {
    /// The nine squares where the six vamsa lines cross. 53.63 asserts nine points and lists none, so these are computed by intersecting the lines rather than transcribed. They are the centre, the four corners of the Brahma block and the four cardinal squares of the second ring. Present only on the 81 pada grid.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub atimarma: Option<Vec<f64>>,
    /// The central block of the mandala. Nine squares on the Paramasayika and four on the Manduka.
    pub brahmasthan: GenerateMandalaResponseBrahmasthan,
    /// Every square of the projected mandala, row-major from the north-west. 81 entries on the Paramasayika and 64 on the Manduka.
    pub cells: Vec<GenerateMandalaResponseCellsItem>,
    /// The switches this projection resolved, echoed so a stored response can be reproduced later.
    pub conventions: GenerateMandalaResponseConventions,
    /// Which division was projected, echoing the resolved value.
    pub grid: String,
    /// The vital spots of the mandala. Present on the 81 pada grid, where 53.57 and 53.64 state the rule and its size. Absent on the 64 pada grid, for which the chapter states neither.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub marma: Option<GenerateMandalaResponseMarma>,
    /// Every verse this projection rests on: the grid and its devatas, the 64 pada structure where that grid was asked for, and the marma and vamsa geometry where it applies.
    pub sources: Vec<GenerateMandalaResponseSourcesItem>,
    /// The six vamsa lines of 53.63, each named in the verse by the devatas at its two ends. Present only on the 81 pada grid: the 64 pada division is told to draw its main diagonals and nothing further is stated, so a six line geometry there would be borrowed from a different text.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub vamsa: Option<Vec<GenerateMandalaResponseVamsaItem>>,
}
/// One entry of `vamsa`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseVamsaItem {
    /// Which way the line runs across the grid, northwest-southeast or northeast-southwest. Derived from the endpoint cells rather than stored, so it cannot disagree with the geometry.
    pub axis: String,
    /// Start of the line in plot coordinates, at the centre of its square.
    pub from: GenerateMandalaResponseVamsaItemFrom,
    /// Identifier of the devata at that end. Always English transliteration, safe to compare against.
    #[serde(rename = "fromDevata")]
    pub from_devata: String,
    /// Square the line starts at, named in 53.63 by the devata holding it.
    #[serde(rename = "fromSquare")]
    pub from_square: f64,
    /// Whether this is one of the two corner to corner diagonals. The other four run parallel to them, two cells either side.
    #[serde(rename = "isMainDiagonal")]
    pub is_main_diagonal: bool,
    /// End of the line in plot coordinates, at the centre of its square.
    pub to: GenerateMandalaResponseVamsaItemTo,
    /// Identifier of the devata at that end.
    #[serde(rename = "toDevata")]
    pub to_devata: String,
    /// Square the line ends at, named in 53.63 by the devata holding it.
    #[serde(rename = "toSquare")]
    pub to_square: f64,
}
/// End of the line in plot coordinates, at the centre of its square.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseVamsaItemTo {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
/// Start of the line in plot coordinates, at the centre of its square.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseVamsaItemFrom {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseSourcesItem {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// The vital spots of the mandala. Present on the 81 pada grid, where 53.57 and 53.64 state the rule and its size. Absent on the 64 pada grid, for which the chapter states neither.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseMarma {
    /// Area of one marma spot in the square of the plot unit. 53.64 sets it at one eighth of the area of a square, so it scales with the plot.
    #[serde(rename = "areaEach")]
    pub area_each: f64,
    /// The centre of every square, which 53.57 calls a marmasthala and forbids raising a pillar over.
    pub points: Vec<GenerateMandalaResponseMarmaPointsItem>,
}
/// One entry of `points`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseMarmaPointsItem {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
/// The switches this projection resolved, echoed so a stored response can be reproduced later.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseConventions {
    /// Which division of the ground was projected. Echoes the resolved value whether it was sent or defaulted.
    pub grid: String,
    /// Unit every distance and area in the response is measured in, areas in its square. Echoes the resolved value whether it was sent or defaulted.
    pub unit: GenerateMandalaResponseConventionsUnit,
}
string_enum! {
    /// Unit every distance and area in the response is measured in, areas in its square. Echoes the resolved value whether it was sent or defaulted.
    GenerateMandalaResponseConventionsUnit {
        Feet = "feet",
        Metres = "metres",
    }
}
/// One entry of `cells`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseCellsItem {
    /// Centre of the square in plot coordinates. This point is the marmasthala of the square, the vital spot 53.57 forbids raising a pillar on.
    pub center: GenerateMandalaResponseCellsItemCenter,
    /// Which ring of the mandala the devata belongs to: perimeter for the outer 32, innerRing for the eight around Brahma, innerCorner for the four on the inner diagonals, center for Brahma. Present only on the 81 pada grid.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub class: Option<GenerateMandalaResponseCellsItemClass>,
    /// Column of the grid, 1 at the western edge and 9 or 8 at the eastern one.
    #[serde(rename = "columnFromWest")]
    pub column_from_west: f64,
    /// Identifier of the devata holding this square. Always English transliteration, safe to compare against. Present only on the 81 pada grid, since the chapter names no devata on the 64 pada division.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub devata: Option<String>,
    /// Display name of that devata. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi. Present only on the 81 pada grid.
    #[serde(rename = "devataName", skip_serializing_if = "Option::is_none")]
    pub devata_name: Option<String>,
    /// How many squares the devata holds under the classification of 53.49 to 50: padika for one, dvipada for two, tripada for three. Absent for Brahma, which those verses leave outside the scheme, and on the 64 pada grid.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub group: Option<String>,
    /// The structural role 53.55 to 56 gives this square of the 64 pada division: brahma, halved-inner-corner, halved-outer-corner, around-brahma, dvipada or outer. Present only on the 64 pada grid, which is the only thing that chapter states about it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub role: Option<GenerateMandalaResponseCellsItemRole>,
    /// Row of the grid, 1 at the northern edge and 9 or 8 at the southern one.
    #[serde(rename = "rowFromNorth")]
    pub row_from_north: f64,
    /// Square number, 1 to 81 on the Paramasayika and 1 to 64 on the Manduka. Squares run row-major over the printed plate, which puts 1 in the north-east, 9 in the south-east, 73 in the north-west and 81 in the south-west on the 81 pada grid.
    pub square: f64,
    /// Whether the centre of this square falls inside the plot outline. False where an irregular plot has a corner cut away, which is how a missing quarter of the mandala shows up as data rather than as a missing row.
    #[serde(rename = "withinPlot")]
    pub within_plot: bool,
}
string_enum! {
    /// The structural role 53.55 to 56 gives this square of the 64 pada division: brahma, halved-inner-corner, halved-outer-corner, around-brahma, dvipada or outer. Present only on the 64 pada grid, which is the only thing that chapter states about it.
    GenerateMandalaResponseCellsItemRole {
        Brahma = "brahma",
        HalvedInnerCorner = "halved-inner-corner",
        HalvedOuterCorner = "halved-outer-corner",
        AroundBrahma = "around-brahma",
        Dvipada = "dvipada",
        Outer = "outer",
    }
}
string_enum! {
    /// Which ring of the mandala the devata belongs to: perimeter for the outer 32, innerRing for the eight around Brahma, innerCorner for the four on the inner diagonals, center for Brahma. Present only on the 81 pada grid.
    GenerateMandalaResponseCellsItemClass {
        Perimeter = "perimeter",
        InnerRing = "innerRing",
        InnerCorner = "innerCorner",
        Center = "center",
    }
}
/// Centre of the square in plot coordinates. This point is the marmasthala of the square, the vital spot 53.57 forbids raising a pillar on.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseCellsItemCenter {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
/// The central block of the mandala. Nine squares on the Paramasayika and four on the Manduka.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseBrahmasthan {
    /// Area of the brahmasthan in the square of the plot unit, so a report can quote how much ground it covers.
    pub area: f64,
    /// The brahmasthan as four corners in plot coordinates, so it can be drawn straight onto a plan. It is the block a house is kept clear of, and the chapter destroys the family of a house whose gate faces it.
    pub polygon: Vec<GenerateMandalaResponseBrahmasthanPolygonItem>,
    /// The squares Brahma holds: the nine central squares on the 81 pada grid, the four on the 64 pada grid.
    pub squares: Vec<f64>,
}
/// One entry of `polygon`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaResponseBrahmasthanPolygonItem {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
/// Request body of `generateMandala`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaRequest {
    /// Which division of the ground to read: 81-pada is the Paramasayika of Brihat Samhita 53.42, the grid the chapter numbers and names every devata on, and 64-pada is the Manduka of 53.55, for which the chapter gives structure only and no devata names. Defaults to 81-pada.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub grid: Option<GenerateMandalaRequestGrid>,
    /// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
    pub plot: GenerateMandalaRequestPlot,
}
/// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateMandalaRequestPlot {
    /// North-south extent of a rectangular plot, in the unit given. Send this with width for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub depth: Option<f64>,
    /// The plot outline as 3 to 16 vertices in plot coordinates, x east and y north, in either winding order. Use this instead of width and depth for a plot with a cut corner, an extension or an irregular boundary.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub polygon: Option<Vec<GenerateMandalaRequestPlotPolygonItem>>,
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub unit: Option<GenerateMandalaRequestPlotUnit>,
    /// East-west extent of a rectangular plot, in the unit given. Send this with depth for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub width: Option<f64>,
}
string_enum! {
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    GenerateMandalaRequestPlotUnit {
        Feet = "feet",
        Metres = "metres",
    }
}
/// One entry of `polygon`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateMandalaRequestPlotPolygonItem {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
string_enum! {
    /// Which division of the ground to read: 81-pada is the Paramasayika of Brihat Samhita 53.42, the grid the chapter numbers and names every devata on, and 64-pada is the Manduka of 53.55, for which the chapter gives structure only and no devata names. Defaults to 81-pada.
    GenerateMandalaRequestGrid {
        Variant81Pada = "81-pada",
        Variant64Pada = "64-pada",
    }
}
/// Path and query parameters of `generateMandala`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateMandalaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateMandalaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateMandalaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateLunarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponse {
    /// Original birth date used for natal Moon longitude calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Full tropical zodiac chart erected for the lunar return moment. Contains planetary positions, house cusps, aspects, Ascendant, and Midheaven.
    pub chart: GenerateLunarReturnResponseChart,
    /// Lunar return interpretation with monthly forecast. Lunar returns reveal emotional patterns, domestic focus, and intuitive themes for the upcoming ~27-day cycle.
    pub interpretation: GenerateLunarReturnResponseInterpretation,
    /// Location used for the lunar return chart house and Ascendant calculations.
    pub location: GenerateLunarReturnResponseLocation,
    /// Exact lunar return moment, when the transiting Moon conjuncts the natal Moon longitude. Adjusted to requested timezone. Occurs approximately every 27.3 days (one sidereal month).
    #[serde(rename = "lunarReturnDate")]
    pub lunar_return_date: String,
    /// Original natal Moon position that the transiting Moon returns to. This conjunction defines the lunar return moment.
    #[serde(rename = "natalMoonPosition")]
    pub natal_moon_position: GenerateLunarReturnResponseNatalMoonPosition,
}
/// Original natal Moon position that the transiting Moon returns to. This conjunction defines the lunar return moment.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseNatalMoonPosition {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Natal Moon ecliptic longitude in degrees (0-360). The transiting Moon returns to this position each month.
    pub longitude: f64,
    /// Tropical zodiac sign of the natal Moon.
    pub sign: String,
}
/// Location used for the lunar return chart house and Ascendant calculations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseLocation {
    /// Observer latitude used for house cusp calculation in the lunar return chart.
    pub latitude: f64,
    /// Observer longitude used for local sidereal time and Midheaven in the return chart.
    pub longitude: f64,
    /// Timezone offset from UTC applied to output datetime formatting.
    pub timezone: f64,
}
/// Lunar return interpretation with monthly forecast. Lunar returns reveal emotional patterns, domestic focus, and intuitive themes for the upcoming ~27-day cycle.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseInterpretation {
    /// Key emotional patterns, domestic themes, and self-care priorities for this lunar month.
    #[serde(rename = "keyThemes")]
    pub key_themes: Vec<String>,
    /// Explanation of how to use lunar return charts for monthly emotional forecasting and self-care planning.
    pub purpose: String,
    /// Narrative overview of the monthly emotional themes and lunar cycle focus areas.
    pub summary: String,
}
/// Full tropical zodiac chart erected for the lunar return moment. Contains planetary positions, house cusps, aspects, Ascendant, and Midheaven.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseChart {
    /// All planetary aspects found in this chart with orbs, strength, and applying/separating status.
    pub aspects: Vec<GenerateLunarReturnResponseChartAspectsItem>,
    /// Birth details used to generate this chart.
    #[serde(rename = "birthDetails")]
    pub birth_details: GenerateLunarReturnResponseChartBirthDetails,
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    #[serde(rename = "houseSystem")]
    pub house_system: GenerateLunarReturnResponseChartHouseSystem,
    /// All 12 house cusps calculated using the selected house system.
    pub houses: Vec<GenerateLunarReturnResponseChartHousesItem>,
    /// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
    #[serde(rename = "partOfFortune")]
    pub part_of_fortune: GenerateLunarReturnResponseChartPartOfFortune,
    /// All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
    pub planets: Vec<GenerateLunarReturnResponseChartPlanetsItem>,
    /// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
    pub vertex: GenerateLunarReturnResponseChartVertex,
}
/// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseChartVertex {
    /// Degree within the Vertex sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Vertex (0-360).
    pub longitude: f64,
    /// Zodiac sign holding the Vertex.
    pub sign: String,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseChartPlanetsItem {
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// House placement (1-12). Determined by the selected house system and birth location.
    pub house: i64,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: GenerateLunarReturnResponseChartPlanetsItemName,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    GenerateLunarReturnResponseChartPlanetsItemName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseChartPartOfFortune {
    /// Degree within the Part of Fortune sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Part of Fortune (0-360).
    pub longitude: f64,
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    pub sect: GenerateLunarReturnResponseChartPartOfFortuneSect,
    /// Zodiac sign holding the Part of Fortune.
    pub sign: String,
}
string_enum! {
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    GenerateLunarReturnResponseChartPartOfFortuneSect {
        Day = "day",
        Night = "night",
    }
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseChartHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life themes in Western astrology.
    pub number: i64,
    /// Zodiac sign on this house cusp. Colors the themes of this life area.
    pub sign: String,
}
string_enum! {
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    GenerateLunarReturnResponseChartHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Birth details used to generate this chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseChartBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnResponseChartAspectsItem {
    /// Exact angular separation that defines this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    pub interpretation: GenerateLunarReturnResponseChartAspectsItemInterpretation,
    /// Whether the aspect is applying (planets moving toward exact) or separating (moving apart). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Deviation from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair.
    pub planet1: GenerateLunarReturnResponseChartAspectsItemPlanet1,
    /// Second planet in the aspect pair.
    pub planet2: GenerateLunarReturnResponseChartAspectsItemPlanet2,
    /// Aspect strength percentage (0-100). Based on orb tightness relative to the allowed maximum.
    pub strength: f64,
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    pub r#type: GenerateLunarReturnResponseChartAspectsItemType,
}
string_enum! {
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    GenerateLunarReturnResponseChartAspectsItemType {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
string_enum! {
    /// Second planet in the aspect pair.
    GenerateLunarReturnResponseChartAspectsItemPlanet2 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// First planet in the aspect pair.
    GenerateLunarReturnResponseChartAspectsItemPlanet1 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    GenerateLunarReturnResponseChartAspectsItemInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// Request body of `generateLunarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLunarReturnRequest {
    /// Original birth date in YYYY-MM-DD format. Used to determine natal Moon longitude for the lunar return calculation.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Original birth time in 24-hour HH:MM:SS format. Determines exact natal Moon position for monthly return timing.
    #[serde(rename = "birthTime")]
    pub birth_time: String,
    /// House system for the lunar return chart. Placidus (default), Whole Sign, Equal, or Koch.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<GenerateLunarReturnRequestHouseSystem>,
    /// Latitude of the lunar return location in decimal degrees (-90 to 90). Affects the Ascendant and house cusps of the return chart.
    pub latitude: f64,
    /// Longitude of the lunar return location in decimal degrees (-180 to 180). Determines local sidereal time for house calculations.
    pub longitude: f64,
    /// Approximate date near the desired lunar return (YYYY-MM-DD). The Moon returns to its natal position every ~27.3 days, so provide a date within a few days of the expected return.
    #[serde(rename = "returnDate")]
    pub return_date: String,
    /// Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
    pub timezone: GenerateLunarReturnRequestTimezone,
}
/// Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateLunarReturnRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// House system for the lunar return chart. Placidus (default), Whole Sign, Equal, or Koch.
    GenerateLunarReturnRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Path and query parameters of `generateLunarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateLunarReturnParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateLunarReturnParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateLunarReturnParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `generateLocalSpace`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateLocalSpaceRequest {
    /// Birth date in YYYY-MM-DD format. Combined with time and timezone it fixes the birth instant whose planetary positions are projected onto the local horizon.
    pub date: String,
    /// Birthplace latitude in decimal degrees (-90 to 90). This is the origin point of every local space line and the observer latitude used to turn each body into an azimuth and altitude.
    pub latitude: f64,
    /// Birthplace longitude in decimal degrees (-180 to 180). Sets the local horizon orientation and the starting point from which the directional lines radiate.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is essential: the local horizon rotates a full circle each day, so the azimuth (compass direction) of every body depends on the exact birth time.
    pub time: String,
    /// Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST) OR IANA name (e.g. "America/New_York"). IANA resolved to the offset in force at the birth date and time.
    pub timezone: GenerateLocalSpaceRequestTimezone,
}
/// Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST) OR IANA name (e.g. "America/New_York"). IANA resolved to the offset in force at the birth date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateLocalSpaceRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `generateLocalSpace`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateLocalSpaceParams {
    /// Optional comma-separated extra bodies to add beyond the 10 classical planets. Allowed values: north-node, chiron, lilith. north-node is the mean lunar node. Omit to return the 10 classical planets only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub include: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateLocalSpaceParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateLocalSpaceParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateLilith`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateLilithParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateLilithParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateLilithParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateKpChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateKpChartParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GenerateKpChartParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateKpChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateKpChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GenerateKpChartParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `generateFlyingStarChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartResponse {
    /// The `facing` field.
    pub facing: GenerateFlyingStarChartResponseFacing,
    /// Echo of the bearing sent, when one was sent. Absent when the facing was named as a mountain instead.
    #[serde(rename = "facingDegrees", skip_serializing_if = "Option::is_none")]
    pub facing_degrees: Option<f64>,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    #[serde(rename = "mountainCenterStar")]
    pub mountain_center_star: f64,
    /// Whether the mountain plate flew forward or in reverse, decided by the polarity of the mountain the centre star answers to. Published because it is the step that separates two charts that otherwise look alike.
    #[serde(rename = "mountainFlight")]
    pub mountain_flight: String,
    /// All nine palaces, centre first and then along the Lo Shu flight path. Each of the nine stars appears exactly once on each plate, which is the property that makes a chart checkable.
    pub palaces: Vec<GenerateFlyingStarChartResponsePalacesItem>,
    /// The period this chart was built for. Echoes the period requested, or the period in force now when it was omitted.
    pub period: f64,
    /// The `sitting` field.
    pub sitting: GenerateFlyingStarChartResponseSitting,
    /// Whether the bearing fell in the outer 3 degrees of its mountain rather than the central 9. A bearing there calls for the substitute gua construction, which is a different chart; this chart is always the down gua one, so a true value means the result needs a specialist rather than this endpoint. Always false when the facing was named as a mountain, since naming a mountain expresses no bearing.
    pub straddling: bool,
    /// The `structure` field.
    pub structure: GenerateFlyingStarChartResponseStructure,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    #[serde(rename = "waterCenterStar")]
    pub water_center_star: f64,
    /// Whether the water plate flew forward or in reverse, decided the same way against the facing mountain.
    #[serde(rename = "waterFlight")]
    pub water_flight: String,
}
/// The `structure` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartResponseStructure {
    /// Chinese name of the structure. Data, identical in every language.
    pub chinese: String,
    /// The classical verdict on the chart: prosperous-mountain-prosperous-water, reversed, double-facing or double-sitting. Always English, safe to switch on.
    pub id: String,
    /// What the structure means and what the classical correction for it is.
    pub meaning: String,
    /// Display name of the structure, TRANSLATED IN PLACE under the lang parameter. Switch on structure.id, which is the stable machine value in every language. Unlike the star and formation names beside it, this field has no nameLocalized sibling.
    pub name: String,
}
/// The `sitting` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartResponseSitting {
    /// Chinese character for the mountain. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// End of the 15 degree span, in compass degrees.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Mountain id, the pinyin of the stem, branch or trigram that names it. Always English pinyin, safe to compare against.
    pub id: String,
    /// Compass label of the mountain, sector plus position 1 to 3 clockwise. The form a facing is usually quoted in.
    pub label: String,
    /// Tone-marked pinyin for the mountain. Data, identical in every language.
    pub pinyin: String,
    /// San Yuan polarity of the mountain, yang or yin, which decides whether a plate entering the centre flies forward or in reverse. This is NOT the natural polarity of the stem or branch and the two differ on eight of the 24 mountains.
    pub polarity: String,
    /// Start of the 15 degree span, in compass degrees. Wraps past 360 for the two northernmost mountains.
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
    /// Which of the three dragons the mountain holds inside its sector: earth for the first mountain clockwise, heaven for the middle, human for the last. The heaven and human dragons share a polarity, which is why they share a chart.
    pub yuan: String,
}
/// One entry of `palaces`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartResponsePalacesItem {
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub base: f64,
    /// The named classical formation for this mountain and water pair. Absent for the pairs the tradition does not name, where the composed reading carries the meaning instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub combination: Option<GenerateFlyingStarChartResponsePalacesItemCombination>,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub mountain: f64,
    /// Palace of the Lo Shu grid: one of the eight compass sectors, or Center. Always English, safe to compare against and to key a grid cell on.
    pub palace: String,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub period: f64,
    /// What this palace means, composed from the two stars and the phase relation between them. Named formations return their own passage; the rest are built from the star pair.
    pub reading: String,
    /// Flying star number, 1 to 9. The number IS the identifier of the star: 8 is always the Eight White Earth star whichever plate it appears on.
    pub water: f64,
}
/// The named classical formation for this mountain and water pair. Absent for the pairs the tradition does not name, where the composed reading carries the meaning instead.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartResponsePalacesItemCombination {
    /// Chinese name of the formation. Data, identical in every language.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chinese: Option<String>,
    /// Canonical key for the pair, lower number first, so a palace holding mountain 9 and water 8 resolves to the same entry as one holding mountain 8 and water 9.
    pub id: String,
    /// Name of the formation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Formation name in the requested language, for display only. Present only when lang is set to a language other than English.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Whether the formation helps or harms.
    pub nature: String,
}
/// The `facing` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartResponseFacing {
    /// Chinese character for the mountain. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// End of the 15 degree span, in compass degrees.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Mountain id, the pinyin of the stem, branch or trigram that names it. Always English pinyin, safe to compare against.
    pub id: String,
    /// Compass label of the mountain, sector plus position 1 to 3 clockwise. The form a facing is usually quoted in.
    pub label: String,
    /// Tone-marked pinyin for the mountain. Data, identical in every language.
    pub pinyin: String,
    /// San Yuan polarity of the mountain, yang or yin, which decides whether a plate entering the centre flies forward or in reverse. This is NOT the natural polarity of the stem or branch and the two differ on eight of the 24 mountains.
    pub polarity: String,
    /// Start of the 15 degree span, in compass degrees. Wraps past 360 for the two northernmost mountains.
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
    /// Which of the three dragons the mountain holds inside its sector: earth for the first mountain clockwise, heaven for the middle, human for the last. The heaven and human dragons share a polarity, which is why they share a chart.
    pub yuan: String,
}
/// Request body of `generateFlyingStarChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartRequest {
    /// The mountain the front of the building faces, by id or by compass label such as S2. Send this or facingDegrees, not neither. The facing side is the open, active, public side, which is not always the side with the front door.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub facing: Option<GenerateFlyingStarChartRequestFacing>,
    /// The compass bearing the front of the building faces, 0 to 360 degrees, measured looking out from inside. Resolved to one of the 24 mountains. Send this or facing, not neither.
    #[serde(
        rename = "facingDegrees",
        skip_serializing_if = "Option::is_none",
        default,
        deserialize_with = "tri_state_serde::deserialize"
    )]
    pub facing_degrees: Option<Option<f64>>,
    /// Construction period of the building, 1 to 9. This is the twenty year cycle the building was completed in, or last renovated heavily enough to reset, and it is fixed for the life of the building. Periods change at Li Chun in early February, so a building finished in January 2024 is a Period 8 building. Defaults to the period in force now.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub period: Option<i64>,
}
string_enum! {
    /// The mountain the front of the building faces, by id or by compass label such as S2. Send this or facingDegrees, not neither. The facing side is the open, active, public side, which is not always the side with the front door.
    GenerateFlyingStarChartRequestFacing {
        Ren = "ren",
        Zi = "zi",
        Gui = "gui",
        Chou = "chou",
        Gen = "gen",
        Yin = "yin",
        Jia = "jia",
        Mao = "mao",
        Yi = "yi",
        Chen = "chen",
        Xun = "xun",
        Si = "si",
        Bing = "bing",
        Wu = "wu",
        Ding = "ding",
        Wei = "wei",
        Kun = "kun",
        Shen = "shen",
        Geng = "geng",
        You = "you",
        Xin = "xin",
        Xu = "xu",
        Qian = "qian",
        Hai = "hai",
        N1 = "N1",
        N2 = "N2",
        N3 = "N3",
        Ne1 = "NE1",
        Ne2 = "NE2",
        Ne3 = "NE3",
        E1 = "E1",
        E2 = "E2",
        E3 = "E3",
        Se1 = "SE1",
        Se2 = "SE2",
        Se3 = "SE3",
        S1 = "S1",
        S2 = "S2",
        S3 = "S3",
        Sw1 = "SW1",
        Sw2 = "SW2",
        Sw3 = "SW3",
        W1 = "W1",
        W2 = "W2",
        W3 = "W3",
        Nw1 = "NW1",
        Nw2 = "NW2",
        Nw3 = "NW3",
    }
}
/// Path and query parameters of `generateFlyingStarChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateFlyingStarChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateFlyingStarChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateFlyingStarChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `generateFixedStars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateFixedStarsRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GenerateFixedStarsRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: GenerateFixedStarsRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateFixedStarsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GenerateFixedStarsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `generateFixedStars`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateFixedStarsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateFixedStarsParamsLang>,
    /// Conjunction orb in degrees, the maximum separation for a star to count as conjunct a chart point. Defaults to 1, maximum 3. Widen it to surface looser contacts or tighten it for only the closest hits.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub orb: Option<f64>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateFixedStarsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateEightMansions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateEightMansionsResponse {
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    #[serde(rename = "bestSector")]
    pub best_sector: String,
    /// The `conventions` field.
    pub conventions: GenerateEightMansionsResponseConventions,
    /// The classification of the sector sent as facing. Absent when no facing was sent.
    #[serde(rename = "facingSector", skip_serializing_if = "Option::is_none")]
    pub facing_sector: Option<GenerateEightMansionsResponseFacingSector>,
    /// Life group, east or west. Always English, safe to compare against and to key styling on.
    pub group: String,
    /// The Kua number this map was built for.
    pub kua: f64,
    /// All eight sectors, ordered best to worst rather than by compass, because the question this map answers is which sector to use next. Read down the list until you reach one the building actually has.
    pub sectors: Vec<GenerateEightMansionsResponseSectorsItem>,
    /// The `trigram` field.
    pub trigram: GenerateEightMansionsResponseTrigram,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    #[serde(rename = "worstSector")]
    pub worst_sector: String,
}
/// The `trigram` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateEightMansionsResponseTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// One entry of `sectors`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateEightMansionsResponseSectorsItem {
    /// Chinese characters for the star. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// The life domain this sector governs, in a few words, written in the requested language.
    pub domain: String,
    /// Whether the sector helps or harms: auspicious or inauspicious.
    pub nature: String,
    /// Tone-marked pinyin for the star. Data, identical in every language.
    pub pinyin: String,
    /// Order within its nature, 1 to 4. Among auspicious sectors 1 is the strongest; among inauspicious sectors 1 is the mildest and 4 the most serious.
    pub rank: f64,
    /// Composed reading for this sector: which star it holds, where that star ranks for this Kua, and what the star means in practice.
    pub reading: String,
    /// Eight Mansions star for this sector. Always English, safe to compare against and to key styling on.
    pub star: String,
    /// Display name of the star. Always English, whatever the lang parameter says. Use starNameLocalized for anything a reader sees.
    #[serde(rename = "starName")]
    pub star_name: String,
    /// Star name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat starName exactly. Never compare against this value.
    #[serde(rename = "starNameLocalized", skip_serializing_if = "Option::is_none")]
    pub star_name_localized: Option<String>,
    /// The `trigram` field.
    pub trigram: GenerateEightMansionsResponseSectorsItemTrigram,
}
/// The `trigram` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateEightMansionsResponseSectorsItemTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// The classification of the sector sent as facing. Absent when no facing was sent.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateEightMansionsResponseFacingSector {
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Whether the facing sector helps or harms for this Kua.
    pub nature: String,
    /// Eight Mansions star sitting on the facing sector.
    pub star: String,
}
/// The `conventions` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateEightMansionsResponseConventions {
    /// Which boundary decided the Chinese year for this calculation. li-chun starts the year at the astronomical start of spring, in early February, and is the classical position that feng shui uses throughout. lunar-new-year starts it at the first day of the lunar year, which is usually two to four weeks later and is what most popular zodiac tables use. Echoes the resolved value, whether it was sent or defaulted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: String,
}
/// Send either a kua number, or a date and gender to derive one. Sending neither is a 400.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateEightMansionsRequest {
    /// Birth date in YYYY-MM-DD format, used to derive the Kua when no kua is sent. Requires gender alongside it. A date is read at the start of its day, so a birth date landing exactly on the year boundary is placed in the outgoing year.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional compass sector the main door faces, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. When sent, the response names the star sitting on that sector so a caller can judge an entrance without scanning the whole map.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub facing: Option<GenerateEightMansionsRequestFacing>,
    /// Selects the Kua formula variant. Required when the Kua is being derived from a birth date.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gender: Option<GenerateEightMansionsRequestGender>,
    /// Kua number to build the map for, if you already have one. Send this OR date and gender, not neither. A Kua of 5 is read as the Kua 2 chart, since 5 has no direction of its own.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub kua: Option<f64>,
    /// Which boundary starts the Chinese year when the Kua is derived from a birth date. Defaults to li-chun, the classical position. Ignored when a kua is sent directly, and echoed back either way.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<GenerateEightMansionsRequestYearBoundary>,
}
string_enum! {
    /// Which boundary starts the Chinese year when the Kua is derived from a birth date. Defaults to li-chun, the classical position. Ignored when a kua is sent directly, and echoed back either way.
    GenerateEightMansionsRequestYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Selects the Kua formula variant. Required when the Kua is being derived from a birth date.
    GenerateEightMansionsRequestGender {
        Male = "male",
        Female = "female",
    }
}
string_enum! {
    /// Optional compass sector the main door faces, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. When sent, the response names the star sitting on that sector so a caller can judge an entrance without scanning the whole map.
    GenerateEightMansionsRequestFacing {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
/// Path and query parameters of `generateEightMansions`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateEightMansionsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateEightMansionsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateEightMansionsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateDivisionalChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateDivisionalChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateDivisionalChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateDivisionalChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateDigest`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestResponse {
    /// Echo of the birth subject this digest was built for.
    #[serde(rename = "birthData")]
    pub birth_data: GenerateDigestResponseBirthData,
    /// Last day of the resolved 90 day horizon the timeline was built over before slicing.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Start anchor every window is measured from.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// The four rollups in ascending window length: next 24h, 7d, 30d, and 90d from the start anchor.
    pub windows: Vec<GenerateDigestResponseWindowsItem>,
}
/// One entry of `windows`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestResponseWindowsItem {
    /// Count of events in this window broken down by domain. Only domains with at least one event in the window are present. The values sum to count.
    #[serde(rename = "byDomain")]
    pub by_domain: GenerateDigestResponseWindowsItemByDomain,
    /// Count of events in this window broken down by event type. Only types with at least one event in the window are present. The values sum to count.
    #[serde(rename = "byType")]
    pub by_type: GenerateDigestResponseWindowsItemByType,
    /// Number of events whose datetime falls inside this window.
    pub count: f64,
    /// Length of this window in days forward from the start anchor. One of 1, 7, 30, 90.
    pub days: f64,
    /// Inclusive lower bound of the window as an ISO-8601 UTC datetime, the start anchor.
    pub from: String,
    /// Exclusive upper bound of the window as an ISO-8601 UTC datetime, the start anchor plus the window length.
    pub to: String,
    /// The highest-significance events in this window, most significant first, up to the requested top count. The same TimelineEvent shape as the timeline endpoints.
    pub top: Vec<GenerateDigestResponseWindowsItemTopItem>,
}
/// One entry of `top`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestResponseWindowsItemTopItem {
    /// For a transit-aspect, the angular relationship. One of conjunction, sextile, square, trine, opposition. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Primary subject of the event. A transiting planet for western events, Sun for a solar eclipse, Moon for a lunar eclipse or a new or full moon, or the critical cycle for biorhythm days. For a dasha-change, the Vimshottari lords outermost first, joined by a hyphen, then one space and the level: Saturn Mahadasha, Saturn-Mercury Antardasha, Saturn-Mercury-Ketu Pratyantardasha. Lords are always one of Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury. Never localized.
    pub body: String,
    /// Calendar date of the event in YYYY-MM-DD (UTC).
    pub date: String,
    /// Exact instant of the event as an ISO-8601 UTC datetime, to the nearest second. Astronomical events are refined to this instant by search, not reported at a daily sample point; a dasha-change is the period boundary itself, counted from the birth instant.
    pub datetime: String,
    /// Plain-language summary of the event, suitable for direct display. The only localized field: when lang is set this sentence, and the body, target, and aspect names within it, render in the requested language while the structured fields stay English.
    pub description: String,
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    pub domain: GenerateDigestResponseWindowsItemTopItemDomain,
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub kind: Option<GenerateDigestResponseWindowsItemTopItemKind>,
    /// For a lunar eclipse, the peak fraction from 0 to 1 of the Moon disc covered by Earth umbra. 1 for a total lunar eclipse, between 0 and 1 for a partial, 0 for a penumbral. Absent for solar eclipses and other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub obscuration: Option<f64>,
    /// For a transit-aspect, the separation in degrees from the exact aspect at the reported instant, rounded to three decimals. The instant is the moment the aspect perfects, so this reads 0. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub orb: Option<f64>,
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub phase: Option<GenerateDigestResponseWindowsItemTopItemPhase>,
    /// Importance score from 0 to 100. Outer-planet exact transit aspects and mahadasha changes score highest; fast Moon events and biorhythm critical days score lower. When domainWeights is supplied this is the weighted score, rounded and clamped to 0 to 100, which is the same value the significance floor and the event cap acted on.
    pub significance: f64,
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub station: Option<GenerateDigestResponseWindowsItemTopItemStation>,
    /// For a transit-aspect, the natal body the transit aspects. For a sign-ingress, the zodiac sign entered, and for a lunar-phase, the zodiac sign of the New or Full Moon. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub target: Option<String>,
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    pub r#type: GenerateDigestResponseWindowsItemTopItemType,
}
string_enum! {
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    GenerateDigestResponseWindowsItemTopItemType {
        TransitAspect = "transit-aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        Eclipse = "eclipse",
        LunarPhase = "lunar-phase",
        DashaChange = "dasha-change",
        CriticalDay = "critical-day",
    }
}
string_enum! {
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    GenerateDigestResponseWindowsItemTopItemStation {
        Retrograde = "retrograde",
        Direct = "direct",
    }
}
string_enum! {
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    GenerateDigestResponseWindowsItemTopItemPhase {
        NewMoon = "new-moon",
        FullMoon = "full-moon",
    }
}
string_enum! {
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    GenerateDigestResponseWindowsItemTopItemKind {
        Penumbral = "penumbral",
        Partial = "partial",
        Annular = "annular",
        Total = "total",
    }
}
string_enum! {
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    GenerateDigestResponseWindowsItemTopItemDomain {
        Western = "western",
        Vedic = "vedic",
        Biorhythm = "biorhythm",
    }
}
/// Count of events in this window broken down by event type. Only types with at least one event in the window are present. The values sum to count.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestResponseWindowsItemByType {
    /// Number of events in this window of this event type. Absent when the type did not occur, so a zero is never written.
    #[serde(rename = "critical-day", skip_serializing_if = "Option::is_none")]
    pub critical_day: Option<f64>,
    /// Number of events in this window of this event type. Absent when the type did not occur, so a zero is never written.
    #[serde(rename = "dasha-change", skip_serializing_if = "Option::is_none")]
    pub dasha_change: Option<f64>,
    /// Number of events in this window of this event type. Absent when the type did not occur, so a zero is never written.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eclipse: Option<f64>,
    /// Number of events in this window of this event type. Absent when the type did not occur, so a zero is never written.
    #[serde(rename = "lunar-phase", skip_serializing_if = "Option::is_none")]
    pub lunar_phase: Option<f64>,
    /// Number of events in this window of this event type. Absent when the type did not occur, so a zero is never written.
    #[serde(rename = "retrograde-station", skip_serializing_if = "Option::is_none")]
    pub retrograde_station: Option<f64>,
    /// Number of events in this window of this event type. Absent when the type did not occur, so a zero is never written.
    #[serde(rename = "sign-ingress", skip_serializing_if = "Option::is_none")]
    pub sign_ingress: Option<f64>,
    /// Number of events in this window of this event type. Absent when the type did not occur, so a zero is never written.
    #[serde(rename = "transit-aspect", skip_serializing_if = "Option::is_none")]
    pub transit_aspect: Option<f64>,
}
/// Count of events in this window broken down by domain. Only domains with at least one event in the window are present. The values sum to count.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestResponseWindowsItemByDomain {
    /// Number of events in this window produced by this forecast domain. Absent when the domain contributed nothing, so a zero is never written.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub biorhythm: Option<f64>,
    /// Number of events in this window produced by this forecast domain. Absent when the domain contributed nothing, so a zero is never written.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub vedic: Option<f64>,
    /// Number of events in this window produced by this forecast domain. Absent when the domain contributed nothing, so a zero is never written.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub western: Option<f64>,
}
/// Echo of the birth subject this digest was built for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth date and time, so this is the literal number applied, never the name.
    pub timezone: f64,
}
/// Request body of `generateDigest`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestRequest {
    /// The single birth subject this digest is built for. One object only, never an array.
    #[serde(rename = "birthData")]
    pub birth_data: GenerateDigestRequestBirthData,
    /// Per-domain significance multipliers applied before the significance floor and event cap. Bias which domains survive filtering and the cap. Omitted domains default to a weight of 1. Valid keys are western, vedic, and biorhythm.
    #[serde(rename = "domainWeights", skip_serializing_if = "Option::is_none")]
    pub domain_weights: Option<GenerateDigestRequestDomainWeights>,
    /// Which forecast domains to include before rolling up the windows. Defaults to all three.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub domains: Option<Vec<GenerateDigestRequestDomainsItem>>,
    /// Drop events scoring below this significance threshold from 0 to 100 before the rollup. Defaults to 0.
    #[serde(rename = "minSignificance", skip_serializing_if = "Option::is_none")]
    pub min_significance: Option<f64>,
    /// Start anchor for every window in YYYY-MM-DD format. The next 24h, 7d, 30d, and 90d windows are measured forward from this date at 00:00:00 UTC. Defaults to today in UTC.
    #[serde(rename = "startDate", skip_serializing_if = "Option::is_none")]
    pub start_date: Option<String>,
    /// Number of highest-significance events to surface per window. Defaults to 3, capped at 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub top: Option<i64>,
}
string_enum! {
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days.
    GenerateDigestRequestDomainsItem {
        Western = "western",
        Vedic = "vedic",
        Biorhythm = "biorhythm",
    }
}
/// Per-domain significance multipliers applied before the significance floor and event cap. Bias which domains survive filtering and the cap. Omitted domains default to a weight of 1. Valid keys are western, vedic, and biorhythm.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateDigestRequestDomainWeights {
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub biorhythm: Option<f64>,
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub vedic: Option<f64>,
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub western: Option<f64>,
}
/// The single birth subject this digest is built for. One object only, never an array.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateDigestRequestBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: GenerateDigestRequestBirthDataTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateDigestRequestBirthDataTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `generateDigest`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateDigestParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateDigestParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateDigestParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateCompositeChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponse {
    /// Aspects between composite planets. Reveals the internal dynamics and energy patterns within the relationship.
    pub aspects: Vec<GenerateCompositeChartResponseAspectsItem>,
    /// Composite Ascendant. Represents how the relationship presents itself to the outside world.
    #[serde(rename = "compositeAscendant")]
    pub composite_ascendant: GenerateCompositeChartResponseCompositeAscendant,
    /// Composite house cusps, each the midpoint of the two natal cusps. Each house represents shared life areas in the relationship.
    #[serde(rename = "compositeHouses")]
    pub composite_houses: Vec<GenerateCompositeChartResponseCompositeHousesItem>,
    /// Composite Midheaven (MC). Represents shared goals, public image, and the direction the relationship grows toward.
    #[serde(rename = "compositeMidheaven")]
    pub composite_midheaven: GenerateCompositeChartResponseCompositeMidheaven,
    /// Composite planetary positions calculated as midpoints between both charts. Each planet represents a shared energy in the relationship.
    #[serde(rename = "compositePlanets")]
    pub composite_planets: Vec<GenerateCompositeChartResponseCompositePlanetsItem>,
    /// Composite chart interpretation with relationship strengths, challenges, and overall assessment.
    pub interpretation: GenerateCompositeChartResponseInterpretation,
    /// First person birth details.
    pub person1: GenerateCompositeChartResponsePerson1,
    /// Second person birth details.
    pub person2: GenerateCompositeChartResponsePerson2,
}
/// Second person birth details.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponsePerson2 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// First person birth details.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponsePerson1 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Composite chart interpretation with relationship strengths, challenges, and overall assessment.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponseInterpretation {
    /// Potential friction points and growth opportunities in the relationship.
    pub challenges: Vec<String>,
    /// Areas where the relationship naturally thrives.
    pub strengths: Vec<String>,
    /// Overall relationship interpretation based on composite chart analysis.
    pub summary: String,
}
/// One entry of `compositePlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponseCompositePlanetsItem {
    /// Composite interpretation for this planet in the relationship chart.
    #[serde(rename = "compositeInterpretation", skip_serializing_if = "Option::is_none")]
    pub composite_interpretation: Option<
        GenerateCompositeChartResponseCompositePlanetsItemCompositeInterpretation,
    >,
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// House placement (1-12). Determined by the selected house system and birth location.
    pub house: i64,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: GenerateCompositeChartResponseCompositePlanetsItemName,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    GenerateCompositeChartResponseCompositePlanetsItemName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Composite interpretation for this planet in the relationship chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponseCompositePlanetsItemCompositeInterpretation {
    /// Key themes associated with this composite placement.
    pub keywords: Vec<String>,
    /// What this planet represents in the context of the relationship.
    #[serde(rename = "relationshipMeaning")]
    pub relationship_meaning: String,
    /// Narrative interpretation of this composite planet placement.
    pub summary: String,
}
/// Composite Midheaven (MC). Represents shared goals, public image, and the direction the relationship grows toward.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponseCompositeMidheaven {
    /// Degree within the sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude in degrees (0-360).
    pub longitude: f64,
    /// Zodiac sign on the composite Midheaven.
    pub sign: String,
}
/// One entry of `compositeHouses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponseCompositeHousesItem {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12) in the composite chart.
    pub number: f64,
    /// Zodiac sign on the composite house cusp.
    pub sign: String,
}
/// Composite Ascendant. Represents how the relationship presents itself to the outside world.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponseCompositeAscendant {
    /// Degree within the sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude in degrees (0-360).
    pub longitude: f64,
    /// Zodiac sign on the composite Ascendant.
    pub sign: String,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartResponseAspectsItem {
    /// Exact angular separation that defines this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    pub interpretation: GenerateCompositeChartResponseAspectsItemInterpretation,
    /// Whether the aspect is applying (planets moving toward exact) or separating (moving apart). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Deviation from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair.
    pub planet1: GenerateCompositeChartResponseAspectsItemPlanet1,
    /// Second planet in the aspect pair.
    pub planet2: GenerateCompositeChartResponseAspectsItemPlanet2,
    /// Aspect strength percentage (0-100). Based on orb tightness relative to the allowed maximum.
    pub strength: f64,
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    pub r#type: GenerateCompositeChartResponseAspectsItemType,
}
string_enum! {
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    GenerateCompositeChartResponseAspectsItemType {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
string_enum! {
    /// Second planet in the aspect pair.
    GenerateCompositeChartResponseAspectsItemPlanet2 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// First planet in the aspect pair.
    GenerateCompositeChartResponseAspectsItemPlanet1 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    GenerateCompositeChartResponseAspectsItemInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// Request body of `generateCompositeChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartRequest {
    /// House system for the composite chart. Placidus (default), Whole Sign, Equal, or Koch.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<GenerateCompositeChartRequestHouseSystem>,
    /// First person birth details (date, time, location, timezone).
    pub person1: GenerateCompositeChartRequestPerson1,
    /// Second person birth details (date, time, location, timezone).
    pub person2: GenerateCompositeChartRequestPerson2,
}
/// Second person birth details (date, time, location, timezone).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartRequestPerson2 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GenerateCompositeChartRequestPerson2NodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: GenerateCompositeChartRequestPerson2Timezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateCompositeChartRequestPerson2Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GenerateCompositeChartRequestPerson2NodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// First person birth details (date, time, location, timezone).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateCompositeChartRequestPerson1 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GenerateCompositeChartRequestPerson1NodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: GenerateCompositeChartRequestPerson1Timezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateCompositeChartRequestPerson1Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GenerateCompositeChartRequestPerson1NodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system for the composite chart. Placidus (default), Whole Sign, Equal, or Koch.
    GenerateCompositeChartRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Path and query parameters of `generateCompositeChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateCompositeChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateCompositeChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateCompositeChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateBodygraph`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponse {
    /// The aura mechanic of the type: how the energy field itself operates, for example open and enveloping, or closed and repelling.
    pub aura: String,
    /// Inner authority for decision making. One of Emotional, Sacral, Splenic, Ego, Self-Projected, Mental, Lunar. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use authorityLocalized for anything a reader sees.
    pub authority: String,
    /// How the decision is made, the timing it requires, and the characteristic trap. Inner authority is the most actionable output of a Human Design chart, so this is the field to lean on when grounding a reading.
    #[serde(rename = "authorityDescription")]
    pub authority_description: String,
    /// Inner authority name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "authorityLocalized", skip_serializing_if = "Option::is_none")]
    pub authority_localized: Option<String>,
    /// All nine centers with their defined state and active gates.
    pub centers: Vec<GenerateBodygraphResponseCentersItem>,
    /// The defined channels where both gates are activated.
    pub channels: Vec<GenerateBodygraphResponseChannelsItem>,
    /// Definition type from the number of connected components among defined centers. One of None, Single, Split, Triple Split, Quadruple Split. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use definitionLocalized for anything a reader sees.
    pub definition: String,
    /// How energy flows through the defined centers in this configuration, and what the configuration needs. For a split, this is where the bridging gates of other people matter.
    #[serde(rename = "definitionDescription")]
    pub definition_description: String,
    /// Definition type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "definitionLocalized", skip_serializing_if = "Option::is_none")]
    pub definition_localized: Option<String>,
    /// The Design moment as an ISO 8601 UTC instant: the exact time the Sun stood 88 degrees of solar arc before its natal longitude, and the instant every Design activation was computed at. Compare it with the Design date a reference tool prints to validate the chart on the moment itself.
    #[serde(rename = "designInstantUtc")]
    pub design_instant_utc: String,
    /// All 26 activations, 13 Personality and 13 Design.
    pub gates: Vec<GenerateBodygraphResponseGatesItem>,
    /// The incarnation cross built from the four cardinal gates and the profile angle.
    #[serde(rename = "incarnationCross")]
    pub incarnation_cross: GenerateBodygraphResponseIncarnationCross,
    /// The not-self theme, the recurring feeling that signals being out of alignment. Always English, whatever the lang parameter says. Use notSelfLocalized for anything a reader sees.
    #[serde(rename = "notSelf")]
    pub not_self: String,
    /// Not-self theme name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "notSelfLocalized", skip_serializing_if = "Option::is_none")]
    pub not_self_localized: Option<String>,
    /// Profile in conscious/unconscious form from the Personality Sun line over the Design Sun line.
    pub profile: String,
    /// Meaning of the combined profile. A profile is not the sum of its two lines: 6/2 has its own meaning that neither the line 6 nor the line 2 keynote carries alone.
    #[serde(rename = "profileDescription")]
    pub profile_description: String,
    /// The two line keynotes the profile is built from, conscious over unconscious, so the profile is readable without a separate lookup.
    #[serde(rename = "profileKeynotes")]
    pub profile_keynotes: GenerateBodygraphResponseProfileKeynotes,
    /// What the two chart sides are: personality is the conscious mind side, design is the unconscious body side computed 88 degrees of solar arc before birth. Returned once at the top level rather than repeated across all 26 activations.
    pub sides: GenerateBodygraphResponseSides,
    /// The signature feeling of living in alignment with the type. Always English, whatever the lang parameter says. Use signatureLocalized for anything a reader sees.
    pub signature: String,
    /// Signature theme name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signatureLocalized", skip_serializing_if = "Option::is_none")]
    pub signature_localized: Option<String>,
    /// The aura strategy for engaging life correctly for this type. Always English, whatever the lang parameter says. Use strategyLocalized for anything a reader sees.
    pub strategy: String,
    /// How to actually apply the strategy. The strategy field alone is a bare label such as Respond or Inform; this is the operating instruction behind it.
    #[serde(rename = "strategyDescription")]
    pub strategy_description: String,
    /// Strategy name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "strategyLocalized", skip_serializing_if = "Option::is_none")]
    pub strategy_localized: Option<String>,
    /// Human Design energy type. One of Manifestor, Generator, Manifesting Generator, Projector, Reflector. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use typeLocalized for anything a reader sees.
    pub r#type: String,
    /// What the aura of this type does and how it is designed to engage life. The grounding text for the type label, so a consuming agent does not have to supply the meaning itself.
    #[serde(rename = "typeDescription")]
    pub type_description: String,
    /// Energy type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
/// What the two chart sides are: personality is the conscious mind side, design is the unconscious body side computed 88 degrees of solar arc before birth. Returned once at the top level rather than repeated across all 26 activations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponseSides {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, String>,
}
/// The two line keynotes the profile is built from, conscious over unconscious, so the profile is readable without a separate lookup.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponseProfileKeynotes {
    /// Keynote of the unconscious Design line. The half of the life role others see operating in the body, which the person does not directly experience.
    pub design: String,
    /// Line number 1 to 6 of the unconscious Design Sun, the second digit of the profile.
    #[serde(rename = "designLine")]
    pub design_line: f64,
    /// Keynote of the conscious Personality line. The half of the life role the person is aware of and can speak to.
    pub personality: String,
    /// Line number 1 to 6 of the conscious Personality Sun, the first digit of the profile.
    #[serde(rename = "personalityLine")]
    pub personality_line: f64,
}
/// The incarnation cross built from the four cardinal gates and the profile angle.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponseIncarnationCross {
    /// Cross angle. One of Right Angle, Juxtaposition, Left Angle. Always English, whatever the lang parameter says. Use angleLocalized for anything a reader sees.
    pub angle: String,
    /// Short code for the angle. One of RAX, JXT, LAX.
    #[serde(rename = "angleCode")]
    pub angle_code: String,
    /// Cross angle name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "angleLocalized", skip_serializing_if = "Option::is_none")]
    pub angle_localized: Option<String>,
    /// The life theme of the cross, synthesized from its four gates and the orientation the angle gives them. The same Sun gate under a different angle is a genuinely different theme: Right Angle is personal destiny, Left Angle is worked out through other people, Juxtaposition is a fixed fate.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    /// The four cardinal gates of the cross: Personality Sun, Personality Earth, Design Sun, Design Earth.
    pub gates: Vec<f64>,
    /// Canonical published name of the incarnation cross, determined by the Personality Sun gate and the angle. All 192 crosses (64 Personality Sun gates times three angles) carry their published name, numbered variants included, so this is never a composed placeholder. Always begins with the angle followed by Cross of. Always English, whatever the lang parameter says.
    pub name: String,
}
/// One entry of `gates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponseGatesItem {
    /// Human Design gate number from 1 to 64 that this activation falls in.
    pub gate: f64,
    /// Bodygraph function of the gate: what it does in the center it sits in and the channel it forms. This is NOT the meaning of the I-Ching hexagram that shares its number. They share a number, not a definition.
    #[serde(rename = "gateDescription")]
    pub gate_description: String,
    /// Human Design keynote name of the gate, describing its bodygraph function. Always English, whatever the lang parameter says. Use gateNameLocalized for anything a reader sees.
    #[serde(rename = "gateName")]
    pub gate_name: String,
    /// Gate keynote name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "gateNameLocalized", skip_serializing_if = "Option::is_none")]
    pub gate_name_localized: Option<String>,
    /// Cross-reference to the I-Ching hexagram that shares this gate number.
    #[serde(rename = "ichingHexagram")]
    pub iching_hexagram: GenerateBodygraphResponseGatesItemIchingHexagram,
    /// Line number from 1 to 6 within the gate, setting the line keynote and the profile.
    pub line: f64,
    /// Meaning of this gate at this specific line, one of 384. The finest interpretive layer in the chart and the one that makes a reading specific rather than generic. This is not the six abstract line archetypes: gate 41 line 3 carries its own meaning that neither the gate keynote nor the line-3 archetype holds alone.
    #[serde(rename = "lineMeaning")]
    pub line_meaning: String,
    /// Activating body. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto. Always English, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// What this planetary activation contributes in Human Design specifically, which is not its meaning in western astrology.
    #[serde(rename = "planetDescription")]
    pub planet_description: String,
    /// Activating body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Chart side. personality is the conscious birth-moment activation, design is the unconscious activation 88 degrees of solar arc before birth.
    pub side: String,
}
/// Cross-reference to the I-Ching hexagram that shares this gate number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponseGatesItemIchingHexagram {
    /// English name of the corresponding I-Ching hexagram.
    pub english: String,
    /// I-Ching hexagram number, identical to the gate number it corresponds to.
    pub number: f64,
}
/// One entry of `channels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponseChannelsItem {
    /// The two centers this channel connects and defines.
    pub centers: Vec<String>,
    /// Circuit family of the channel. One of Individual, Collective, Tribal. Always English, whatever the lang parameter says. Use circuitLocalized for anything a reader sees.
    pub circuit: String,
    /// What the circuit family of this channel governs.
    #[serde(rename = "circuitDescription")]
    pub circuit_description: String,
    /// Circuit family name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "circuitLocalized", skip_serializing_if = "Option::is_none")]
    pub circuit_localized: Option<String>,
    /// What this channel wires between its two centers and the nature of the energy it carries.
    pub description: String,
    /// First gate of the channel.
    #[serde(rename = "gateA")]
    pub gate_a: f64,
    /// Second gate of the channel.
    #[serde(rename = "gateB")]
    pub gate_b: f64,
    /// Name of the defined channel. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Channel name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
}
/// One entry of `centers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphResponseCentersItem {
    /// Whether this is an awareness center. The three awareness centers are Ajna, Solar Plexus, and Spleen.
    pub awareness: bool,
    /// The gland, organ, or system this center corresponds to in the body.
    pub biology: String,
    /// Whether the center is defined. A defined center is a consistent source of energy or awareness; an undefined center is open and conditioned by others.
    pub defined: bool,
    /// Active gate numbers that sit in this center.
    pub gates: Vec<f64>,
    /// Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
    pub id: String,
    /// Whether this is a motor center (energy source). The four motors are Heart, Sacral, Solar Plexus, and Root.
    pub motor: bool,
    /// Display name of the center. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Center name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// The conditioning trap of this center when it is open. Returned on every center so a consumer can surface it the moment `defined` is false, which is where the not-self operates.
    #[serde(rename = "notSelfQuestion")]
    pub not_self_question: String,
    /// Theme text describing the center in its current defined or undefined state.
    pub theme: String,
}
/// Request body of `generateBodygraph`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBodygraphRequest {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GenerateBodygraphRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: GenerateBodygraphRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateBodygraphRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    GenerateBodygraphRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `generateBodygraph`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateBodygraphParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateBodygraphParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateBodygraphParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateBirthProfile`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileResponse {
    /// The three names: two read from the day of birth by two different cycles, and one from the hour. All three are described, never invoked.
    pub angels: Vec<GenerateBirthProfileResponseAngelsItem>,
    /// The birth moment this answer was computed from.
    #[serde(rename = "birthData")]
    pub birth_data: GenerateBirthProfileResponseBirthData,
    /// The conventions this answer was computed under, echoed so it can be reproduced.
    pub conventions: GenerateBirthProfileResponseConventions,
    /// The next Hebrew birthday. Three Hebrew dates are missing from some years, and where the anniversary moves to is a matter of community practice rather than arithmetic, so the field is null with a note rather than a guess.
    #[serde(rename = "hebrewBirthday")]
    pub hebrew_birthday: GenerateBirthProfileResponseHebrewBirthday,
    /// The Hebrew date of the birth.
    #[serde(rename = "hebrewDate")]
    pub hebrew_date: GenerateBirthProfileResponseHebrewDate,
    /// The sephirah reached from the value of the Hebrew date written in letters. A numerical convention rather than a classical rule, offered as a way into the tree.
    pub sephirah: GenerateBirthProfileResponseSephirah,
}
/// The sephirah reached from the value of the Hebrew date written in letters. A numerical convention rather than a classical rule, offered as a way into the tree.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileResponseSephirah {
    /// The English gloss of the name, in the requested language.
    pub english: String,
    /// The name in Hebrew. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the sephirah of the birth day.
    pub id: String,
    /// What the emanation is said to hold, in the requested language.
    pub meaning: String,
    /// Its position in the emanation, 1 to 10.
    pub number: Option<f64>,
    /// Latin transcription of the Hebrew, from the mechanical letter map.
    pub romanization: String,
}
/// The Hebrew date of the birth.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileResponseHebrewDate {
    /// Echo of the sunset flag. The Hebrew day begins in the evening, so a moment after nightfall already belongs to the next date and this says whether that was applied.
    #[serde(rename = "afterSunset")]
    pub after_sunset: bool,
    /// Day of the Hebrew month, 1 to 30.
    pub day: f64,
    /// The date written the way it is printed, with the day and the year in Hebrew letters. Data, identical in every language.
    pub hebrew: String,
    /// True in the seven years of each nineteen that carry a second Adar.
    #[serde(rename = "leapYear")]
    pub leap_year: bool,
    /// Hebrew month name. A leap year carries Adar I and Adar II in place of Adar, which is why the name is returned rather than only a number.
    pub month: String,
    /// Month number in the published algorithm order, Nisan first. Adar II is 13.
    #[serde(rename = "monthNumber")]
    pub month_number: f64,
    /// Hebrew year.
    pub year: f64,
}
/// The next Hebrew birthday. Three Hebrew dates are missing from some years, and where the anniversary moves to is a matter of community practice rather than arithmetic, so the field is null with a note rather than a guess.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileResponseHebrewBirthday {
    /// The next Gregorian date the Hebrew birthday falls on, or null when that Hebrew date does not exist in the year it would fall in.
    pub date: Option<String>,
    /// The Hebrew year the anniversary was looked for in.
    #[serde(rename = "hebrewYear")]
    pub hebrew_year: f64,
    /// Present only when the date is null, saying why. Absent otherwise, so a caller can branch on presence.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
}
/// The conventions this answer was computed under, echoed so it can be reproduced.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileResponseConventions {
    /// Whether the Hebrew date was advanced for nightfall.
    #[serde(rename = "afterSunset")]
    pub after_sunset: bool,
    /// Which construction dated the name of the day.
    #[serde(rename = "angelDating")]
    pub angel_dating: String,
    /// Where 29 February was read as falling.
    #[serde(rename = "leapDayPolicy")]
    pub leap_day_policy: String,
    /// Where the civil wheel opened. Reported even under solar-longitude, where it selects nothing, so a stored response records every input.
    #[serde(rename = "yearStart")]
    pub year_start: String,
}
/// The birth moment this answer was computed from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileResponseBirthData {
    /// Echo of the birth date.
    pub date: String,
    /// The birth time used, which is noon when none was sent.
    pub time: String,
    /// The timezone resolved to a decimal offset in hours. An IANA name sent on the request is resolved against the birth date, so a summer birth carries its summer offset.
    pub timezone: f64,
}
/// One entry of `angels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileResponseAngelsItem {
    /// The angelic choir the name belongs to under the published Renaissance table.
    pub choir: String,
    /// The name in Hebrew. Data, identical in every language.
    pub name: String,
    /// Index of the name, 1 to 72.
    pub number: f64,
    /// What the tradition says this name is read for, in the requested language.
    pub reading: String,
    /// What this name is read from: body and character both come from the day of birth by two different cycles, and spirit comes from the hour. Always English, so it stays safe to compare against in code.
    pub role: String,
    /// Latin transcription of the Hebrew, from the one mechanical letter map.
    pub romanization: String,
    /// The Latin spelling the published tables print, which is the searchable name.
    #[serde(rename = "traditionalName")]
    pub traditional_name: String,
    /// The window that selected this name, in the terms of its own cycle: an arc of longitude, a span of civil days, or a twenty minute interval of the clock.
    pub window: String,
}
/// Request body of `generateBirthProfile`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBirthProfileRequest {
    /// Set true when the moment falls after nightfall, which advances the Hebrew date by one day because the Hebrew day begins in the evening. It is a caller assertion rather than a computation, since sunset depends on a place and this conversion takes none.
    #[serde(rename = "afterSunset", skip_serializing_if = "Option::is_none")]
    pub after_sunset: Option<bool>,
    /// How the name of the day is found. Use solar-longitude for the exact five degree arc the Sun stood in at the birth moment, or lenain-blocks for the fixed civil calendar of five day periods. The Sun does not move at a constant rate, so the two drift apart by up to about three days by early August and were never reconciled.
    #[serde(rename = "angelDating", skip_serializing_if = "Option::is_none")]
    pub angel_dating: Option<GenerateBirthProfileRequestAngelDating>,
    /// Birth date in YYYY-MM-DD, proleptic Gregorian. Dates before the 1582 reform are read on the same proleptic reckoning rather than switched to the Julian calendar.
    pub date: String,
    /// Where 29 February falls. The civil wheel was built for a 365 day year and has no slot for it, so published tables differ: extend-previous reads the day as part of the period ending 28 February, next-angel reads it as the opening of the period starting 1 March. Ignored when angelDating is solar-longitude.
    #[serde(rename = "leapDayPolicy", skip_serializing_if = "Option::is_none")]
    pub leap_day_policy: Option<GenerateBirthProfileRequestLeapDayPolicy>,
    /// Birth time in HH:MM:SS local to the timezone field. Defaults to noon when omitted, which is stated because the name read from the hour changes every twenty minutes and a defaulted time cannot be precise.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub time: Option<String>,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: GenerateBirthProfileRequestTimezone,
    /// Which date the civil wheel of five day periods opens on. Both are conventions rather than facts: the equinox itself moves inside a window that covers both days, and it fell on 20 March in 2026. march-21 is the pinned published wheel and march-20 is that wheel shifted one day. Ignored when angelDating is solar-longitude.
    #[serde(rename = "yearStart", skip_serializing_if = "Option::is_none")]
    pub year_start: Option<GenerateBirthProfileRequestYearStart>,
}
string_enum! {
    /// Which date the civil wheel of five day periods opens on. Both are conventions rather than facts: the equinox itself moves inside a window that covers both days, and it fell on 20 March in 2026. march-21 is the pinned published wheel and march-20 is that wheel shifted one day. Ignored when angelDating is solar-longitude.
    GenerateBirthProfileRequestYearStart {
        March21 = "march-21",
        March20 = "march-20",
    }
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateBirthProfileRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Where 29 February falls. The civil wheel was built for a 365 day year and has no slot for it, so published tables differ: extend-previous reads the day as part of the period ending 28 February, next-angel reads it as the opening of the period starting 1 March. Ignored when angelDating is solar-longitude.
    GenerateBirthProfileRequestLeapDayPolicy {
        ExtendPrevious = "extend-previous",
        NextAngel = "next-angel",
    }
}
string_enum! {
    /// How the name of the day is found. Use solar-longitude for the exact five degree arc the Sun stood in at the birth moment, or lenain-blocks for the fixed civil calendar of five day periods. The Sun does not move at a constant rate, so the two drift apart by up to about three days by early August and were never reconciled.
    GenerateBirthProfileRequestAngelDating {
        SolarLongitude = "solar-longitude",
        LenainBlocks = "lenain-blocks",
    }
}
/// Path and query parameters of `generateBirthProfile`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateBirthProfileParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateBirthProfileParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateBirthProfileParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateBirthChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateBirthChartParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<GenerateBirthChartParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateBirthChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateBirthChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    GenerateBirthChartParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `generateBaziChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponse {
    /// Echo of the birth moment the chart was computed from.
    #[serde(rename = "birthData")]
    pub birth_data: GenerateBaziChartResponseBirthData,
    /// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
    pub conventions: GenerateBaziChartResponseConventions,
    /// The day stem, which is the subject of the whole chart. Everything else in the response is named by what it does to this one.
    #[serde(rename = "dayMaster")]
    pub day_master: GenerateBaziChartResponseDayMaster,
    /// Element balance across the eight chart characters, one entry per phase, with the reading for how represented each one is.
    #[serde(rename = "fiveElements")]
    pub five_elements: Vec<GenerateBaziChartResponseFiveElementsItem>,
    /// Combinations, clashes, harms and punishments running between the four pillars. An empty array means the four pillars stand independently of each other, which is common and is not a defect.
    pub interactions: Vec<GenerateBaziChartResponseInteractionsItem>,
    /// The four pillars, year first. Each carries its stem, its branch, the hidden stems stored in the branch, the Ten God relation to the Day Master, and the Na Yin sound element of the pair.
    pub pillars: Vec<GenerateBaziChartResponsePillarsItem>,
    /// One-paragraph reading composed from the Day Master nature and the seasonal state of its element in the birth month. The narrative entry point for a chart, for a consumer that renders one block before the detail.
    pub summary: String,
    /// Zodiac animal of the year branch, under the year boundary this request applied. Always English, whatever the lang parameter says. Use zodiacAnimalLocalized for anything a reader sees.
    #[serde(rename = "zodiacAnimal")]
    pub zodiac_animal: String,
    /// Zodiac animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "zodiacAnimalLocalized", skip_serializing_if = "Option::is_none")]
    pub zodiac_animal_localized: Option<String>,
}
/// One entry of `pillars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponsePillarsItem {
    /// The Earthly Branch of this pillar.
    pub branch: GenerateBaziChartResponsePillarsItemBranch,
    /// Stems stored inside the branch, principal first. These carry the qi a branch holds without showing it, and they are where a Day Master finds a root.
    #[serde(rename = "hiddenStems")]
    pub hidden_stems: Vec<GenerateBaziChartResponsePillarsItemHiddenStemsItem>,
    /// Pillar identifier, the stem id and the branch id joined by a hyphen. Always English pinyin, whatever the lang parameter says.
    pub id: String,
    /// Na Yin sound element of the pillar, an older elemental reading assigned to each of the 30 stem-and-branch pairs. The hanzi name sits beside it in naYinChinese.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// The Na Yin name in hanzi. Identical under every lang.
    #[serde(rename = "naYinChinese")]
    pub na_yin_chinese: String,
    /// Element the Na Yin resolves to. Independent of the stem element and often different from it, which is why it is reported separately rather than folded in. Always English, whatever the lang parameter says. Use naYinElementLocalized for anything a reader sees.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Na Yin element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "naYinElementLocalized", skip_serializing_if = "Option::is_none")]
    pub na_yin_element_localized: Option<String>,
    /// Position of this pillar in the sexagenary cycle, 1 to 60, where jia-zi is 1. The cycle runs stems and branches together, which is why only 60 of the 120 possible pairings occur.
    pub number: f64,
    /// Which of the four pillars this is. One of year, month, day, hour. The year pillar reads ancestry and early life, the month career and parents, the day the self and the partner, the hour later life and children.
    pub position: String,
    /// The Heavenly Stem of this pillar.
    pub stem: GenerateBaziChartResponsePillarsItemStem,
    /// Relation the pillar STEM holds to the Day Master. The day pillar carries day-master instead, because the day stem is the reference point every other position is measured from rather than a relation to itself.
    #[serde(rename = "tenGod")]
    pub ten_god: GenerateBaziChartResponsePillarsItemTenGod,
}
/// Relation the pillar STEM holds to the Day Master. The day pillar carries day-master instead, because the day stem is the reference point every other position is measured from rather than a relation to itself.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponsePillarsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// The Heavenly Stem of this pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponsePillarsItemStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// One entry of `hiddenStems`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponsePillarsItemHiddenStemsItem {
    /// Rank of this stem inside the branch, by the classical day-count that divides a thirty-day month 18, 9 and 3 days between the stems a branch holds. principal is the first-ranked stem and always matches the branch element; middle is the second-ranked; residual is the third. A branch holds one to three, always returned in rank order. What each rank CONTAINS depends on the branch family: on a storage branch the second-ranked stem is the seasonal carryover from the month before and the third is the stem that branch stores as the close of its trine, while on a growth branch the second-ranked stem is the one beginning its long-life phase there and the third is the carryover. Some schools name the same three positions by that function rather than by rank, which swaps the second and third labels on the four storage branches, so compare on rank rather than assuming a name.
    pub role: String,
    /// The stem stored in the branch.
    pub stem: GenerateBaziChartResponsePillarsItemHiddenStemsItemStem,
    /// Relation this hidden stem holds to the Day Master.
    #[serde(rename = "tenGod")]
    pub ten_god: GenerateBaziChartResponsePillarsItemHiddenStemsItemTenGod,
}
/// Relation this hidden stem holds to the Day Master.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponsePillarsItemHiddenStemsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// The stem stored in the branch.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponsePillarsItemHiddenStemsItemStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// The Earthly Branch of this pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponsePillarsItemBranch {
    /// Zodiac animal of the branch. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig. Always English, whatever the lang parameter says. Use animalLocalized for anything a reader sees.
    pub animal: String,
    /// Zodiac animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The branch in hanzi. Identical under every lang.
    pub chinese: String,
    /// Five-phase element of the branch. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Earthly Branch identifier. One of zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai. Always English pinyin, whatever the lang parameter says. Note that "wu" is also a stem identifier: they never share a field, so a branch id is only ever read out of a branch position.
    pub id: String,
    /// Tone-marked pinyin for the branch. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the branch, yang or yin.
    pub polarity: String,
}
/// One entry of `interactions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponseInteractionsItem {
    /// The interaction named in hanzi. Identical under every lang.
    pub chinese: String,
    /// Punishments only. True when the third branch of the group is also present in the chart, which is what a complete three-punishment means. False marks the partial case, where only two of the three are in play.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub complete: Option<bool>,
    /// Identifier of the pairing itself, the member ids joined by hyphens in canonical order.
    pub id: String,
    /// What this kind of interaction does between the positions it joins.
    pub meaning: String,
    /// The stem or branch ids taking part, in the same order as positions.
    pub members: Vec<String>,
    /// Tone-marked pinyin for the interaction. Identical under every lang.
    pub pinyin: String,
    /// The chart positions taking part, in the same order as members. On a two-person reading these are prefixed with the subject, for example personA.day.
    pub positions: Vec<String>,
    /// Whether the interaction binds or breaks. harmonious for combinations and trines, challenging for clashes, harms and punishments. Always English, whatever the lang parameter says.
    pub quality: String,
    /// Element the formation resolves to. Present on stem combinations and on complete trines, absent on everything else. Branch six combinations deliberately carry none: the classical sources assign transformed elements to the stem pairs and not to these, and one of the six is contested between schools.
    #[serde(rename = "transformsTo", skip_serializing_if = "Option::is_none")]
    pub transforms_to: Option<String>,
    /// Kind of interaction. stem-combination and six-combination bind two positions, trine binds three, and clash, harm, punishment and stem-clash break them. Always English, whatever the lang parameter says.
    pub r#type: String,
    /// Class of a punishment, present on punishments only. ungrateful is the tiger, snake and monkey group, bullying the ox, dog and goat group, discourteous the rat and rabbit pair, and self a branch doubled against itself.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub variety: Option<String>,
}
/// One entry of `fiveElements`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponseFiveElementsItem {
    /// How many of the eight chart characters carry this element, counting the four stems and the four branch elements one point each. Hidden stems are deliberately not counted here: a weighted total is a different quantity and mixing the two produces a number that matches no other calculator.
    pub count: f64,
    /// Five-phase element. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// How represented the element is. deficient means absent from all eight characters, excess means three or more, balanced is one or two. Always English, whatever the lang parameter says.
    pub level: String,
    /// What this level of representation means for the chart.
    pub reading: String,
}
/// The day stem, which is the subject of the whole chart. Everything else in the response is named by what it does to this one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponseDayMaster {
    /// The Day Master stem in hanzi. Identical under every lang.
    pub chinese: String,
    /// Five-phase element of the Day Master. Every Ten God in the chart is measured from this element and this polarity. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// What this particular stem is like as a Day Master, in the imagery the tradition uses to distinguish the two stems of each element. The yang and yin forms of one element behave very differently and this is where that difference lives.
    pub nature: String,
    /// Tone-marked pinyin for the Day Master stem.
    pub pinyin: String,
    /// Polarity of the Day Master, yang or yin.
    pub polarity: String,
    /// Day stem identifier, which IS the Day Master. Always English pinyin, whatever the lang parameter says.
    pub stem: String,
}
/// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponseConventions {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    #[serde(rename = "dayBoundary")]
    pub day_boundary: GenerateBaziChartResponseConventionsDayBoundary,
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    #[serde(rename = "hourClock")]
    pub hour_clock: GenerateBaziChartResponseConventionsHourClock,
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: GenerateBaziChartResponseConventionsYearBoundary,
}
string_enum! {
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    GenerateBaziChartResponseConventionsYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    GenerateBaziChartResponseConventionsHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    GenerateBaziChartResponseConventionsDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Echo of the birth moment the chart was computed from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
    pub timezone: f64,
}
/// Request body of `generateBaziChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateBaziChartRequest {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    #[serde(rename = "dayBoundary", skip_serializing_if = "Option::is_none")]
    pub day_boundary: Option<GenerateBaziChartRequestDayBoundary>,
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    #[serde(rename = "hourClock", skip_serializing_if = "Option::is_none")]
    pub hour_clock: Option<GenerateBaziChartRequestHourClock>,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: GenerateBaziChartRequestTimezone,
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<GenerateBaziChartRequestYearBoundary>,
}
string_enum! {
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    GenerateBaziChartRequestYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateBaziChartRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    GenerateBaziChartRequestHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    GenerateBaziChartRequestDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Path and query parameters of `generateBaziChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateBaziChartParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateBaziChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateBaziChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `generateAstrocartography`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateAstrocartographyRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<GenerateAstrocartographyRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: GenerateAstrocartographyRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum GenerateAstrocartographyRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    GenerateAstrocartographyRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `generateAstrocartography`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateAstrocartographyParams {
    /// Optional comma separated list of extra bodies to plot beyond the ten classical planets. Allowed values: north-node, chiron, lilith. north-node is the mean lunar node. Unknown values are ignored. Defaults to none.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub include: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateAstrocartographyParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateAstrocartographyParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `generateAsteroids`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GenerateAsteroidsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<GenerateAsteroidsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    GenerateAsteroidsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `forecastTransits`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastTransitsResponse {
    /// Echo of the birth subject this forecast was built for.
    #[serde(rename = "birthData")]
    pub birth_data: ForecastTransitsResponseBirthData,
    /// Number of events in the timeline after deduplication, filtering, and the event cap.
    pub count: f64,
    /// Last day of the resolved forecast window after the horizon clamp.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// The merged, time-ordered forecast events across the requested domains.
    pub events: Vec<ForecastTransitsResponseEventsItem>,
    /// First day of the resolved forecast window.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastTransitsResponseEventsItem {
    /// For a transit-aspect, the angular relationship. One of conjunction, sextile, square, trine, opposition. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Primary subject of the event. A transiting planet for western events, Sun for a solar eclipse, Moon for a lunar eclipse or a new or full moon, or the critical cycle for biorhythm days. For a dasha-change, the Vimshottari lords outermost first, joined by a hyphen, then one space and the level: Saturn Mahadasha, Saturn-Mercury Antardasha, Saturn-Mercury-Ketu Pratyantardasha. Lords are always one of Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury. Never localized.
    pub body: String,
    /// Calendar date of the event in YYYY-MM-DD (UTC).
    pub date: String,
    /// Exact instant of the event as an ISO-8601 UTC datetime, to the nearest second. Astronomical events are refined to this instant by search, not reported at a daily sample point; a dasha-change is the period boundary itself, counted from the birth instant.
    pub datetime: String,
    /// Plain-language summary of the event, suitable for direct display. The only localized field: when lang is set this sentence, and the body, target, and aspect names within it, render in the requested language while the structured fields stay English.
    pub description: String,
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    pub domain: ForecastTransitsResponseEventsItemDomain,
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub kind: Option<ForecastTransitsResponseEventsItemKind>,
    /// For a lunar eclipse, the peak fraction from 0 to 1 of the Moon disc covered by Earth umbra. 1 for a total lunar eclipse, between 0 and 1 for a partial, 0 for a penumbral. Absent for solar eclipses and other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub obscuration: Option<f64>,
    /// For a transit-aspect, the separation in degrees from the exact aspect at the reported instant, rounded to three decimals. The instant is the moment the aspect perfects, so this reads 0. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub orb: Option<f64>,
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub phase: Option<ForecastTransitsResponseEventsItemPhase>,
    /// Importance score from 0 to 100. Outer-planet exact transit aspects and mahadasha changes score highest; fast Moon events and biorhythm critical days score lower. When domainWeights is supplied this is the weighted score, rounded and clamped to 0 to 100, which is the same value the significance floor and the event cap acted on.
    pub significance: f64,
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub station: Option<ForecastTransitsResponseEventsItemStation>,
    /// For a transit-aspect, the natal body the transit aspects. For a sign-ingress, the zodiac sign entered, and for a lunar-phase, the zodiac sign of the New or Full Moon. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub target: Option<String>,
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    pub r#type: ForecastTransitsResponseEventsItemType,
}
string_enum! {
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    ForecastTransitsResponseEventsItemType {
        TransitAspect = "transit-aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        Eclipse = "eclipse",
        LunarPhase = "lunar-phase",
        DashaChange = "dasha-change",
        CriticalDay = "critical-day",
    }
}
string_enum! {
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    ForecastTransitsResponseEventsItemStation {
        Retrograde = "retrograde",
        Direct = "direct",
    }
}
string_enum! {
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    ForecastTransitsResponseEventsItemPhase {
        NewMoon = "new-moon",
        FullMoon = "full-moon",
    }
}
string_enum! {
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    ForecastTransitsResponseEventsItemKind {
        Penumbral = "penumbral",
        Partial = "partial",
        Annular = "annular",
        Total = "total",
    }
}
string_enum! {
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    ForecastTransitsResponseEventsItemDomain {
        Western = "western",
        Vedic = "vedic",
        Biorhythm = "biorhythm",
    }
}
/// Echo of the birth subject this forecast was built for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastTransitsResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth date and time, so this is the literal number applied, never the name.
    pub timezone: f64,
}
/// Request body of `forecastTransits`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastTransitsRequest {
    /// The single birth subject this transit forecast is built for. One object only, never an array.
    #[serde(rename = "birthData")]
    pub birth_data: ForecastTransitsRequestBirthData,
    /// Last day of the transit window in YYYY-MM-DD format. Defaults to startDate plus 30 days. Clamped to a maximum of 90 days from startDate.
    #[serde(rename = "endDate", skip_serializing_if = "Option::is_none")]
    pub end_date: Option<String>,
    /// Drop transit events scoring below this significance threshold from 0 to 100. Defaults to 0.
    #[serde(rename = "minSignificance", skip_serializing_if = "Option::is_none")]
    pub min_significance: Option<f64>,
    /// First day of the transit window in YYYY-MM-DD format. Defaults to today in UTC.
    #[serde(rename = "startDate", skip_serializing_if = "Option::is_none")]
    pub start_date: Option<String>,
}
/// The single birth subject this transit forecast is built for. One object only, never an array.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastTransitsRequestBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: ForecastTransitsRequestBirthDataTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ForecastTransitsRequestBirthDataTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `forecastTransits`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ForecastTransitsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ForecastTransitsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ForecastTransitsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `forecastSolarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponse {
    /// Echo of the birth date used to find the natal Sun longitude.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Full chart erected for the solar return moment: all bodies with house placements, the 12 house cusps, aspects, Part of Fortune, and Vertex in the tropical zodiac.
    pub chart: ForecastSolarReturnResponseChart,
    /// Location the return chart was cast for. The Ascendant and house cusps change with this location, the basis of the relocated solar return technique.
    pub location: ForecastSolarReturnResponseLocation,
    /// The natal Sun position whose annual return defines this chart.
    #[serde(rename = "natalSunPosition")]
    pub natal_sun_position: ForecastSolarReturnResponseNatalSunPosition,
    /// Exact solar return moment, when the transiting Sun returns to the natal Sun longitude, formatted in the requested timezone. The astrological birthday for the year.
    #[serde(rename = "solarReturnDate")]
    pub solar_return_date: String,
    /// Year of this solar return. The chart covers the period to the next birthday.
    #[serde(rename = "solarReturnYear")]
    pub solar_return_year: f64,
}
/// The natal Sun position whose annual return defines this chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseNatalSunPosition {
    /// Degree within the sign from 0 to 29.999 that the Sun returns to.
    pub degree: f64,
    /// Natal Sun ecliptic longitude in degrees from 0 to 360 that the Sun returns to.
    pub longitude: f64,
    /// Tropical zodiac sign of the natal Sun.
    pub sign: String,
}
/// Location the return chart was cast for. The Ascendant and house cusps change with this location, the basis of the relocated solar return technique.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseLocation {
    /// Latitude used for the return chart house cusps and Ascendant.
    pub latitude: f64,
    /// Longitude used for local sidereal time and the Midheaven.
    pub longitude: f64,
    /// Decimal timezone offset applied to the output datetime.
    pub timezone: f64,
}
/// Full chart erected for the solar return moment: all bodies with house placements, the 12 house cusps, aspects, Part of Fortune, and Vertex in the tropical zodiac.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseChart {
    /// All planetary aspects found in this chart with orbs, strength, and applying/separating status.
    pub aspects: Vec<ForecastSolarReturnResponseChartAspectsItem>,
    /// Birth details used to generate this chart.
    #[serde(rename = "birthDetails")]
    pub birth_details: ForecastSolarReturnResponseChartBirthDetails,
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    #[serde(rename = "houseSystem")]
    pub house_system: ForecastSolarReturnResponseChartHouseSystem,
    /// All 12 house cusps calculated using the selected house system.
    pub houses: Vec<ForecastSolarReturnResponseChartHousesItem>,
    /// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
    #[serde(rename = "partOfFortune")]
    pub part_of_fortune: ForecastSolarReturnResponseChartPartOfFortune,
    /// All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
    pub planets: Vec<ForecastSolarReturnResponseChartPlanetsItem>,
    /// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
    pub vertex: ForecastSolarReturnResponseChartVertex,
}
/// Vertex. The western intersection of the prime vertical with the ecliptic, often read as a point of fated encounters and turning-point relationships. The opposite point is the Anti-Vertex.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseChartVertex {
    /// Degree within the Vertex sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Vertex (0-360).
    pub longitude: f64,
    /// Zodiac sign holding the Vertex.
    pub sign: String,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseChartPlanetsItem {
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// House placement (1-12). Determined by the selected house system and birth location.
    pub house: i64,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: ForecastSolarReturnResponseChartPlanetsItemName,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    ForecastSolarReturnResponseChartPlanetsItemName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseChartPartOfFortune {
    /// Degree within the Part of Fortune sign (0-29.999).
    pub degree: f64,
    /// House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
    pub house: i64,
    /// Absolute ecliptic longitude of the Part of Fortune (0-360).
    pub longitude: f64,
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    pub sect: ForecastSolarReturnResponseChartPartOfFortuneSect,
    /// Zodiac sign holding the Part of Fortune.
    pub sign: String,
}
string_enum! {
    /// Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
    ForecastSolarReturnResponseChartPartOfFortuneSect {
        Day = "day",
        Night = "night",
    }
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseChartHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life themes in Western astrology.
    pub number: i64,
    /// Zodiac sign on this house cusp. Colors the themes of this life area.
    pub sign: String,
}
string_enum! {
    /// House system used for this chart (placidus, whole-sign, equal, or koch).
    ForecastSolarReturnResponseChartHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Birth details used to generate this chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseChartBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnResponseChartAspectsItem {
    /// Exact angular separation that defines this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    pub interpretation: ForecastSolarReturnResponseChartAspectsItemInterpretation,
    /// Whether the aspect is applying (planets moving toward exact) or separating (moving apart). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Deviation from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair.
    pub planet1: ForecastSolarReturnResponseChartAspectsItemPlanet1,
    /// Second planet in the aspect pair.
    pub planet2: ForecastSolarReturnResponseChartAspectsItemPlanet2,
    /// Aspect strength percentage (0-100). Based on orb tightness relative to the allowed maximum.
    pub strength: f64,
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    pub r#type: ForecastSolarReturnResponseChartAspectsItemType,
}
string_enum! {
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    ForecastSolarReturnResponseChartAspectsItemType {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
string_enum! {
    /// Second planet in the aspect pair.
    ForecastSolarReturnResponseChartAspectsItemPlanet2 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// First planet in the aspect pair.
    ForecastSolarReturnResponseChartAspectsItemPlanet1 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    ForecastSolarReturnResponseChartAspectsItemInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// Request body of `forecastSolarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ForecastSolarReturnRequest {
    /// Birth date in YYYY-MM-DD format. Anchors the natal Sun longitude the transiting Sun returns to each year.
    pub date: String,
    /// House system for the return chart. placidus is the Western default. whole-sign, equal, and koch are also supported.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<ForecastSolarReturnRequestHouseSystem>,
    /// Latitude of the solar return location in decimal degrees. The solar return is location-sensitive: use the birthplace to anchor the chart to natal geography, or the current city for a relocated solar return.
    pub latitude: f64,
    /// Longitude of the solar return location in decimal degrees. Sets the local sidereal time, so it drives the Ascendant, Midheaven, and house cusps of the return chart.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Pins the exact natal Sun position that defines the solar return moment.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: ForecastSolarReturnRequestTimezone,
    /// Year to cast the solar return for. The chart is erected for the moment in this year when the transiting Sun returns to the natal Sun longitude, on or within a day of the birthday.
    pub year: i64,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ForecastSolarReturnRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// House system for the return chart. placidus is the Western default. whole-sign, equal, and koch are also supported.
    ForecastSolarReturnRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Path and query parameters of `forecastSolarReturn`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ForecastSolarReturnParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ForecastSolarReturnParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ForecastSolarReturnParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateFixedStars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FixedStarsResponse {
    /// Echo of the birth moment and place used to precess every star.
    #[serde(rename = "birthDetails")]
    pub birth_details: FixedStarsResponseBirthDetails,
    /// Flat list of every star to natal point conjunction, sorted tightest first, each with an interpretation. The high-value summary of where fixed stars touch the chart.
    pub conjunctions: Vec<FixedStarsResponseConjunctionsItem>,
    /// Conjunction orb in degrees applied to detect contacts between stars and natal points.
    pub orb: f64,
    /// Every catalog star with its precessed tropical position, magnitude, traditional nature, and any conjunctions to the natal chart.
    pub stars: Vec<FixedStarsResponseStarsItem>,
    /// Short overview of the fixed-star report for previews and report intros.
    pub summary: String,
}
/// One entry of `stars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FixedStarsResponseStarsItem {
    /// Natal points within the chosen orb of this star. Empty when no planet or angle contacts the star.
    pub conjunctions: Vec<FixedStarsResponseStarsItemConjunctionsItem>,
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Lowercase identifier for the fixed star.
    pub id: String,
    /// Traditional astrological keywords associated with the star.
    pub keywords: Vec<String>,
    /// Tropical ecliptic longitude of the star in degrees (0-360), precessed from its J2000 position to the chart date.
    pub longitude: f64,
    /// Apparent visual magnitude. Lower is brighter, and the brightest stars are negative.
    pub magnitude: f64,
    /// Proper name of the fixed star.
    pub name: String,
    /// Traditional planetary nature of the star in classical astrology.
    pub nature: String,
    /// Tropical zodiac sign the star currently occupies.
    pub sign: String,
}
/// One entry of `conjunctions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FixedStarsResponseStarsItemConjunctionsItem {
    /// Angular separation in degrees between the star and the natal point. Smaller means a tighter, stronger contact.
    pub orb: f64,
    /// Natal point conjunct this star: a planet name, or the chart angles MC and ASC. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use pointLocalized for anything a reader sees.
    pub point: String,
    /// Natal point name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "pointLocalized", skip_serializing_if = "Option::is_none")]
    pub point_localized: Option<String>,
    /// Tropical ecliptic longitude of the natal point in degrees (0-360).
    #[serde(rename = "pointLongitude")]
    pub point_longitude: f64,
}
/// One entry of `conjunctions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FixedStarsResponseConjunctionsItem {
    /// Plain language meaning of this star contact, blending the star traditional nature with the chart point. Localized to the requested language.
    pub interpretation: String,
    /// Angular separation in degrees between the star and the natal point.
    pub orb: f64,
    /// Natal point conjunct the star: a planet name, or the chart angles MC and ASC. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use pointLocalized for anything a reader sees.
    pub point: String,
    /// Natal point name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "pointLocalized", skip_serializing_if = "Option::is_none")]
    pub point_localized: Option<String>,
    /// Proper name of the conjunct fixed star.
    pub star: String,
}
/// Echo of the birth moment and place used to precess every star.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FixedStarsResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Response body of `findSignificantDates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindSignificantDatesResponse {
    /// Echo of the birth subject this forecast was built for.
    #[serde(rename = "birthData")]
    pub birth_data: FindSignificantDatesResponseBirthData,
    /// Number of events in the timeline after deduplication, filtering, and the event cap.
    pub count: f64,
    /// Last day of the resolved forecast window after the horizon clamp.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// The merged, time-ordered forecast events across the requested domains.
    pub events: Vec<FindSignificantDatesResponseEventsItem>,
    /// First day of the resolved forecast window.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// One entry of `events`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindSignificantDatesResponseEventsItem {
    /// For a transit-aspect, the angular relationship. One of conjunction, sextile, square, trine, opposition. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aspect: Option<String>,
    /// Primary subject of the event. A transiting planet for western events, Sun for a solar eclipse, Moon for a lunar eclipse or a new or full moon, or the critical cycle for biorhythm days. For a dasha-change, the Vimshottari lords outermost first, joined by a hyphen, then one space and the level: Saturn Mahadasha, Saturn-Mercury Antardasha, Saturn-Mercury-Ketu Pratyantardasha. Lords are always one of Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury. Never localized.
    pub body: String,
    /// Calendar date of the event in YYYY-MM-DD (UTC).
    pub date: String,
    /// Exact instant of the event as an ISO-8601 UTC datetime, to the nearest second. Astronomical events are refined to this instant by search, not reported at a daily sample point; a dasha-change is the period boundary itself, counted from the birth instant.
    pub datetime: String,
    /// Plain-language summary of the event, suitable for direct display. The only localized field: when lang is set this sentence, and the body, target, and aspect names within it, render in the requested language while the structured fields stay English.
    pub description: String,
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    pub domain: FindSignificantDatesResponseEventsItemDomain,
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub kind: Option<FindSignificantDatesResponseEventsItemKind>,
    /// For a lunar eclipse, the peak fraction from 0 to 1 of the Moon disc covered by Earth umbra. 1 for a total lunar eclipse, between 0 and 1 for a partial, 0 for a penumbral. Absent for solar eclipses and other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub obscuration: Option<f64>,
    /// For a transit-aspect, the separation in degrees from the exact aspect at the reported instant, rounded to three decimals. The instant is the moment the aspect perfects, so this reads 0. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub orb: Option<f64>,
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub phase: Option<FindSignificantDatesResponseEventsItemPhase>,
    /// Importance score from 0 to 100. Outer-planet exact transit aspects and mahadasha changes score highest; fast Moon events and biorhythm critical days score lower. When domainWeights is supplied this is the weighted score, rounded and clamped to 0 to 100, which is the same value the significance floor and the event cap acted on.
    pub significance: f64,
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub station: Option<FindSignificantDatesResponseEventsItemStation>,
    /// For a transit-aspect, the natal body the transit aspects. For a sign-ingress, the zodiac sign entered, and for a lunar-phase, the zodiac sign of the New or Full Moon. Absent for other event types.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub target: Option<String>,
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    pub r#type: FindSignificantDatesResponseEventsItemType,
}
string_enum! {
    /// Event kind. transit-aspect, sign-ingress, retrograde-station, eclipse, and lunar-phase are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
    FindSignificantDatesResponseEventsItemType {
        TransitAspect = "transit-aspect",
        SignIngress = "sign-ingress",
        RetrogradeStation = "retrograde-station",
        Eclipse = "eclipse",
        LunarPhase = "lunar-phase",
        DashaChange = "dasha-change",
        CriticalDay = "critical-day",
    }
}
string_enum! {
    /// For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
    FindSignificantDatesResponseEventsItemStation {
        Retrograde = "retrograde",
        Direct = "direct",
    }
}
string_enum! {
    /// For a lunar-phase event, which syzygy it is: new-moon (Sun-Moon conjunction) or full-moon (Sun-Moon opposition). The intermediate quarters are not emitted. A stable machine value, never localized. Absent for other event types.
    FindSignificantDatesResponseEventsItemPhase {
        NewMoon = "new-moon",
        FullMoon = "full-moon",
    }
}
string_enum! {
    /// For an eclipse, its classification. total and penumbral apply to lunar eclipses, partial applies to both, annular and total apply to solar eclipses. A stable machine value, never localized. Absent for other event types.
    FindSignificantDatesResponseEventsItemKind {
        Penumbral = "penumbral",
        Partial = "partial",
        Annular = "annular",
        Total = "total",
    }
}
string_enum! {
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
    FindSignificantDatesResponseEventsItemDomain {
        Western = "western",
        Vedic = "vedic",
        Biorhythm = "biorhythm",
    }
}
/// Echo of the birth subject this forecast was built for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindSignificantDatesResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth date and time, so this is the literal number applied, never the name.
    pub timezone: f64,
}
/// Request body of `findSignificantDates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindSignificantDatesRequest {
    /// The single birth subject this forecast is built for. One object only, never an array.
    #[serde(rename = "birthData")]
    pub birth_data: FindSignificantDatesRequestBirthData,
    /// Per-domain significance multipliers applied before the significance floor and event cap. Bias which domains survive filtering and the cap. Omitted domains default to a weight of 1. Valid keys are western, vedic, and biorhythm.
    #[serde(rename = "domainWeights", skip_serializing_if = "Option::is_none")]
    pub domain_weights: Option<FindSignificantDatesRequestDomainWeights>,
    /// Which forecast domains to consider before filtering by significance. Defaults to all three.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub domains: Option<Vec<FindSignificantDatesRequestDomainsItem>>,
    /// Last day of the window in YYYY-MM-DD format. Defaults to startDate plus 30 days. Clamped to a maximum of 90 days from startDate.
    #[serde(rename = "endDate", skip_serializing_if = "Option::is_none")]
    pub end_date: Option<String>,
    /// Significance floor from 0 to 100 for what counts as a significant date. Defaults to 70.
    #[serde(rename = "minSignificance", skip_serializing_if = "Option::is_none")]
    pub min_significance: Option<f64>,
    /// First day of the window in YYYY-MM-DD format. Defaults to today in UTC.
    #[serde(rename = "startDate", skip_serializing_if = "Option::is_none")]
    pub start_date: Option<String>,
}
string_enum! {
    /// Forecast domain. western covers transit aspects, sign ingresses, retrograde stations, eclipses, and new and full moons. vedic covers Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. biorhythm covers critical days.
    FindSignificantDatesRequestDomainsItem {
        Western = "western",
        Vedic = "vedic",
        Biorhythm = "biorhythm",
    }
}
/// Per-domain significance multipliers applied before the significance floor and event cap. Bias which domains survive filtering and the cap. Omitted domains default to a weight of 1. Valid keys are western, vedic, and biorhythm.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct FindSignificantDatesRequestDomainWeights {
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub biorhythm: Option<f64>,
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub vedic: Option<f64>,
    /// Multiplier for this domain significance. 1 leaves it unchanged, above 1 promotes the domain, below 1 demotes it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub western: Option<f64>,
}
/// The single birth subject this forecast is built for. One object only, never an array.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindSignificantDatesRequestBirthData {
    /// Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: FindSignificantDatesRequestBirthDataTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum FindSignificantDatesRequestBirthDataTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `findSignificantDates`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct FindSignificantDatesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<FindSignificantDatesParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    FindSignificantDatesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `findGrihaPraveshDates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponse {
    /// The switches this search resolved, echoed so it can be reproduced later.
    pub conventions: FindGrihaPraveshDatesResponseConventions,
    /// The days in the window that clear every day-level rule, in date order. Only admitted days are listed; the rules that rejected the rest are tallied in rejectionsByRule.
    pub days: Vec<FindGrihaPraveshDatesResponseDaysItem>,
    /// The rules a date search cannot settle, published rather than dropped. They are judgements about a MOMENT and about the owner, not about a day, and a caller who believes an admitted day is finished without them would be wrong.
    #[serde(rename = "leftToTheAstrologer")]
    pub left_to_the_astrologer: Vec<String>,
    /// A tally of which rule rejected how many days, keyed on the rule id. This is what makes an empty result actionable: a window inside the southern course fails every day on one rule and you can see that at a glance.
    #[serde(rename = "rejectionsByRule")]
    pub rejections_by_rule: FindGrihaPraveshDatesResponseRejectionsByRule,
    /// Every rule applied, with what it requires, how well attested it is, and where it comes from.
    pub rules: Vec<FindGrihaPraveshDatesResponseRulesItem>,
    /// The primary citations behind the whole search, including the one house entry rule the Brihat Samhita itself states, which is in its muhurta chapter and not in the architecture chapter.
    pub sources: Vec<FindGrihaPraveshDatesResponseSourcesItem>,
    /// How many days were admitted.
    pub total: f64,
    /// What was searched, echoed so a stored result is self describing.
    pub window: FindGrihaPraveshDatesResponseWindow,
}
/// What was searched, echoed so a stored result is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseWindow {
    /// How many days the window covered, inclusive of both ends.
    #[serde(rename = "daysEvaluated")]
    pub days_evaluated: f64,
    /// Last day searched, echoed.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// First day searched, echoed.
    #[serde(rename = "startDate")]
    pub start_date: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseSourcesItem {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// One entry of `rules`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseRulesItem {
    /// How well attested the rule is: high where two independent texts agree, medium where two dependent witnesses do or one text states it twice. Always English.
    pub confidence: String,
    /// Identifier of the rule, which is what the day rows reference.
    pub id: String,
    /// What the rule requires, as original prose. Translated in place when lang is set.
    pub requirement: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: FindGrihaPraveshDatesResponseRulesItemSource,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseRulesItemSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// A tally of which rule rejected how many days, keyed on the rule id. This is what makes an empty result actionable: a window inside the southern course fails every day on one rule and you can see that at a glance.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseRejectionsByRule {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// One entry of `days`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseDaysItem {
    /// The rule ids this day satisfied, in the order they were tested. Look each one up in the rules field for what it requires and where it comes from.
    #[serde(rename = "admittedBy")]
    pub admitted_by: Vec<String>,
    /// Which half of the solar year: uttarayana is the northern course and is required, dakshinayana the southern. Always English, safe to compare against.
    pub ayana: String,
    /// The admitted day, in YYYY-MM-DD.
    pub date: String,
    /// The karana at sunrise. Vishti, also called Bhadra, is the one that bars a day. Always English transliteration.
    pub karana: String,
    /// The nakshatra the Moon stood in at sunrise, which is the strongest of the rules.
    pub nakshatra: FindGrihaPraveshDatesResponseDaysItemNakshatra,
    /// preferred where the tithi is one both texts single out and the weekday is not the neutral one, admissible otherwise. Always English, safe to compare against.
    pub quality: String,
    /// The day as a sentence, for a report or a chat answer. Translated in place when lang is set to a language other than English.
    pub reading: String,
    /// Sidereal longitude of the Sun at sunrise, in degrees. Published because two of the rules are solar and a caller can check them from it.
    #[serde(rename = "solarLongitude")]
    pub solar_longitude: f64,
    /// Sunrise at the coordinates you sent, as a UTC instant. This is the moment every limb below was read at. Absent inside a polar night, where the Sun does not rise and the day was read from local midnight instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sunrise: Option<String>,
    /// The tithi running at sunrise.
    pub tithi: FindGrihaPraveshDatesResponseDaysItemTithi,
    /// The weekday, which begins at sunrise in this reckoning.
    pub vara: FindGrihaPraveshDatesResponseDaysItemVara,
}
/// The weekday, which begins at sunrise in this reckoning.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseDaysItemVara {
    /// Weekday name, counted from sunrise rather than from midnight.
    pub name: String,
    /// Weekday number, 0 for Sunday through 6 for Saturday.
    pub number: f64,
}
/// The tithi running at sunrise.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseDaysItemTithi {
    /// Display name of the tithi, as the panchang endpoints spell it.
    pub name: String,
    /// Tithi number 1 to 30 across the lunar month, 1 to 15 bright then 16 to 30 dark.
    pub number: f64,
    /// Which half of the lunar month: Shukla for the bright half and Krishna for the dark. Always English, safe to compare against.
    pub paksha: String,
}
/// The nakshatra the Moon stood in at sunrise, which is the strongest of the rules.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseDaysItemNakshatra {
    /// Identifier of the nakshatra, lower case with hyphens. Always English transliteration, safe to compare against and against the same value on the panchang endpoints.
    pub id: String,
    /// Display name of the nakshatra, as the panchang endpoints spell it.
    pub name: String,
    /// Nakshatra number 1 to 27, counting from Ashwini. Abhijit is not among them.
    pub number: f64,
}
/// The switches this search resolved, echoed so it can be reproduced later.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesResponseConventions {
    /// Which Muhurta text supplied the nakshatra list. Echoes the resolved value whether it was sent or defaulted.
    #[serde(rename = "muhurtaText")]
    pub muhurta_text: String,
    /// The UTC offset in hours the local day was resolved with, after any IANA name was resolved to a number.
    pub timezone: f64,
}
/// Request body of `findGrihaPraveshDates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesRequest {
    /// Last day of the search window, in YYYY-MM-DD, inclusive. The window is capped at 93 days, which is a full season and the same cap the Vedic auspicious day search carries.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Latitude of the house, in decimal degrees, positive north. Sunrise decides where one day ends and the next begins, so a nakshatra running out during the morning changes which day it counts for.
    pub latitude: f64,
    /// Longitude of the house, in decimal degrees, positive east.
    pub longitude: f64,
    /// Which Muhurta text supplies the admissible nakshatras for entering a new house. muhurta-chintamani admits eight and kalaprakasika admits twelve; seven overlap and are the high confidence core, one is unique to the first and five to the second. The two texts are independent witnesses, which is what makes the overlap strong and the difference worth exposing. Defaults to muhurta-chintamani.
    #[serde(rename = "muhurtaText", skip_serializing_if = "Option::is_none")]
    pub muhurta_text: Option<FindGrihaPraveshDatesRequestMuhurtaText>,
    /// First day of the search window, in YYYY-MM-DD. Every limb is read at sunrise of the local day, because the Hindu day begins at sunrise rather than at midnight.
    #[serde(rename = "startDate")]
    pub start_date: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: FindGrihaPraveshDatesRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum FindGrihaPraveshDatesRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which Muhurta text supplies the admissible nakshatras for entering a new house. muhurta-chintamani admits eight and kalaprakasika admits twelve; seven overlap and are the high confidence core, one is unique to the first and five to the second. The two texts are independent witnesses, which is what makes the overlap strong and the difference worth exposing. Defaults to muhurta-chintamani.
    FindGrihaPraveshDatesRequestMuhurtaText {
        MuhurtaChintamani = "muhurta-chintamani",
        Kalaprakasika = "kalaprakasika",
    }
}
/// Path and query parameters of `findGrihaPraveshDates`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct FindGrihaPraveshDatesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<FindGrihaPraveshDatesParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    FindGrihaPraveshDatesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `drawCards`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DrawCardsResponse {
    /// Array of drawn tarot cards in draw order, each with orientation, keywords, and full meaning for divination.
    pub cards: Vec<DrawnCard>,
    /// Seed used for this reading, if one was provided. Same seed reproduces identical draw results for consistent tarot readings.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Path and query parameters of `drawCards`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct DrawCardsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<DrawCardsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    DrawCardsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateDivisionalChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponse {
    /// Divisional chart showing planetary positions across 12 rashi houses plus a meta lookup. Same structure as birth chart and navamsa responses.
    pub chart: DivisionalChartResponseChart,
    /// Metadata about the selected divisional chart.
    pub division: DivisionalChartResponseDivision,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: DivisionalChartResponseFrame,
    /// Planets that are Vargottama (same sign in D1 and this divisional chart). Vargottama planets deliver strong, consistent results.
    pub vargottama: Vec<String>,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Metadata about the selected divisional chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseDivision {
    /// Size of each division segment within a 30-degree sign.
    #[serde(rename = "degreesPerDivision")]
    pub degrees_per_division: String,
    /// English name of the divisional chart.
    pub name: String,
    /// Division number (e.g. 10 for D10 Dasamsa).
    pub number: i64,
    /// Sanskrit name of the divisional chart.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
    /// Life areas this divisional chart reveals.
    pub significance: String,
}
/// Divisional chart showing planetary positions across 12 rashi houses plus a meta lookup. Same structure as birth chart and navamsa responses.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseChart {
    /// One of the 12 divisional rashi-house buckets (aries shown; taurus through pisces follow the identical shape). Each lists the planets placed in that sign.
    pub aries: DivisionalChartResponseChartAries,
    /// Planet positions in the divisional chart keyed by planet name. Contains all 9 Navagraha plus Lagna.
    pub meta: DivisionalChartResponseChartMeta,
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, serde_json::Value>,
}
/// Planet positions in the divisional chart keyed by planet name. Contains all 9 Navagraha plus Lagna.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseChartMeta {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        DivisionalChartResponseChartMetaAdditionalProperty,
    >,
}
/// One graha as the requested varga places it: the divisional rashi and house, with the D1 longitude and nakshatra carried over so a Vargottama check needs no second call.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseChartMetaAdditionalProperty {
    /// Planet (graha) name. One of 9 Navagraha (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu) or Lagna (Ascendant). Used to match transits and dasha lords to divisional chart placements.
    pub graha: String,
    /// Bhava (house) number 1-12 in this divisional chart, counted whole-sign from the divisional Lagna. Specific to this varga and differs from the D1 birth-chart house.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if the planet is in retrograde motion (appears to move backward through the zodiac). Retrograde planets carry intensified or internalized significations in Vedic interpretation.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Original sidereal longitude in degrees (0-360) using Lahiri ayanamsa, same as D1 birth chart. Sign placement changes per division but longitude is preserved for cross-chart reference.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) data for this planet. Nakshatras are the 27-fold division of the zodiac central to Vedic timing and compatibility systems.
    pub nakshatra: DivisionalChartResponseChartMetaAdditionalPropertyNakshatra,
    /// Zodiac sign (rashi) the planet occupies in this divisional chart. May differ from the D1 birth chart sign. Comparing D1 and divisional rashi reveals Vargottama status and domain-specific strengths.
    pub rashi: String,
}
/// Nakshatra (lunar mansion) data for this planet. Nakshatras are the 27-fold division of the zodiac central to Vedic timing and compatibility systems.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseChartMetaAdditionalPropertyNakshatra {
    /// Nakshatra sequence number (1-27) in zodiac order starting from Ashwini. Used for Tara Bala compatibility and dasha calculations.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Carried over from the D1 nakshatra.
    pub lord: DivisionalChartResponseChartMetaAdditionalPropertyNakshatraLord,
    /// Nakshatra (lunar mansion) the planet occupies. One of 27 Vedic nakshatras spanning 13 degrees 20 minutes each. Determines dasha lord and behavioral qualities.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra divides into 4 padas of 3 degrees 20 minutes. Pada determines Navamsa sign and refines personality traits.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Carried over from the D1 nakshatra.
    DivisionalChartResponseChartMetaAdditionalPropertyNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// One of the 12 divisional rashi-house buckets (aries shown; taurus through pisces follow the identical shape). Each lists the planets placed in that sign.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseChartAries {
    /// Zodiac sign name in lowercase. Always equals the key of the divisional rashi-house block it sits in.
    pub rashi: String,
    /// Planets placed in this divisional sign.
    pub signs: Vec<DivisionalChartResponseChartAriesSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseChartAriesSignsItem {
    /// Planet (graha) placed in this divisional sign.
    pub graha: String,
    /// Bhava (house) number 1-12 in this divisional chart, counted whole-sign from the divisional Lagna.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if the planet is in retrograde motion.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Original sidereal longitude in degrees (0-360), same as the D1 birth chart. Preserved for cross-chart reference.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) data for this planet, carried over from the D1 chart.
    pub nakshatra: DivisionalChartResponseChartAriesSignsItemNakshatra,
}
/// Nakshatra (lunar mansion) data for this planet, carried over from the D1 chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartResponseChartAriesSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra.
    pub lord: DivisionalChartResponseChartAriesSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4).
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra.
    DivisionalChartResponseChartAriesSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Request body of `generateDivisionalChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DivisionalChartRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<DivisionalChartRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Divisional chart number. Each division reveals a specific life area. Supported: 2 (Hora, wealth), 3 (Drekkana, siblings), 4 (Chaturthamsa, property), 7 (Saptamsa, children), 9 (Navamsa, marriage), 10 (Dasamsa, career), 12 (Dwadasamsa, parents), 16 (Shodasamsa, vehicles), 20 (Vimsamsa, spirituality), 24 (Chaturvimsamsa, education), 27 (Bhamsa, strength), 30 (Trimsamsa, misfortunes), 40 (Khavedamsa, merit), 45 (Akshavedamsa, character), 60 (Shashtiamsa, past life karma).
    pub division: i64,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<DivisionalChartRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum DivisionalChartRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    DivisionalChartRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `detectYogas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct DetectYogasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<DetectYogasParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    DetectYogasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `detectAspectPatterns`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct DetectAspectPatternsParams {
    /// Comma-separated list of optional bodies to include beyond the classical 10 planets. Valid tokens (case-insensitive): chiron, northNode (also accepts north_node, north-node, northnode). Empty by default.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub include: Option<String>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<DetectAspectPatternsParamsLang>,
    /// Use tighter orbs, so only closely formed patterns are reported. Truthy values (true, 1, yes, on; case-insensitive) narrow trine to 5 degrees, square to 5, sextile to 4, quincunx to 2. Defaults to false, the standard pattern-detection orbs.
    #[serde(rename = "strictOrbs", skip_serializing_if = "Option::is_none")]
    pub strict_orbs: Option<String>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    DetectAspectPatternsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateDashakoot`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootResponse {
    /// The ten poruthams in the order a Tamil panchangam prints them: Dina, Gana, Mahendra, Stree Deergha, Yoni, Rasi, Rasyadhipati, Vasya, Rajju, Vedha. Dina, Mahendra, Stree Deergha, Rasi and Vasya are directional and read from the bride toward the groom.
    pub breakdown: Vec<DashakootResponseBreakdownItem>,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: DashakootResponseFrame,
    /// Poruthams on the sheet, always 10. The South Indian system counts ten equal agreements where the Ashtakoot system weights eight kootas across 36 points.
    #[serde(rename = "maxTotal")]
    pub max_total: f64,
    /// Rajju veto. The 27 nakshatras divide into five limbs of a body, Paada the foot, Kati the waist, Udara the stomach, Kantha the neck and Siro the head, and a couple whose birth stars share a limb is refused. Published at the top level as well as on its breakdown row because it overrides the total, and a caller must not have to scan the sheet to find it.
    pub rajju: DashakootResponseRajju,
    /// One sentence stating the verdict and why, localized by the lang query parameter. Renders directly; the machine value to branch on is verdict.
    pub recommendation: String,
    /// Poruthams matched, 0 to 10. Each porutham is a pass or a fail in the South Indian system rather than a weighted score, so this is a plain count and never a fraction. A total says nothing on its own while a veto is active, which is why verdict exists.
    pub total: f64,
    /// Vedha veto. Thirteen nakshatra pairs are held to obstruct each other and a couple falling on one is refused. Chitra belongs to no pair and can never trigger this veto.
    pub vedha: DashakootResponseVedha,
    /// Overall reading. "rejected" means Rajju or Vedha fired, which the tradition treats as disqualifying however many poruthams matched, so it can appear on a high total. "recommended" means no veto and the total reached the working threshold. "marginal" means no veto and the total fell short of it. The threshold is a RoxyAPI convention because the tradition names a minimum SET of poruthams rather than a number, and that set varies by desk.
    pub verdict: DashakootResponseVerdict,
}
string_enum! {
    /// Overall reading. "rejected" means Rajju or Vedha fired, which the tradition treats as disqualifying however many poruthams matched, so it can appear on a high total. "recommended" means no veto and the total reached the working threshold. "marginal" means no veto and the total fell short of it. The threshold is a RoxyAPI convention because the tradition names a minimum SET of poruthams rather than a number, and that set varies by desk.
    DashakootResponseVerdict {
        Recommended = "recommended",
        Marginal = "marginal",
        Rejected = "rejected",
    }
}
/// Vedha veto. Thirteen nakshatra pairs are held to obstruct each other and a couple falling on one is refused. Chitra belongs to no pair and can never trigger this veto.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootResponseVedha {
    /// True when the two Moon nakshatras are a mutually obstructing vedha pair, which is the second hard veto. A true here sets verdict to rejected regardless of total.
    pub active: bool,
    /// Why the veto is or is not active, localized by the lang query parameter. The same sentence appears on the Vedha row of breakdown.
    pub reason: String,
}
/// Rajju veto. The 27 nakshatras divide into five limbs of a body, Paada the foot, Kati the waist, Udara the stomach, Kantha the neck and Siro the head, and a couple whose birth stars share a limb is refused. Published at the top level as well as on its breakdown row because it overrides the total, and a caller must not have to scan the sheet to find it.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootResponseRajju {
    /// True when both Moon nakshatras fall on the same Rajju limb, which is the first of the two hard vetoes. A true here sets verdict to rejected regardless of total.
    pub active: bool,
    /// Why the veto is or is not active, localized by the lang query parameter. The same sentence appears on the Rajju row of breakdown, which also carries the limb each person falls on.
    pub reason: String,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// One entry of `breakdown`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootResponseBreakdownItem {
    /// Always one, since each porutham is a single pass or fail.
    #[serde(rename = "maxPoints")]
    pub max_points: f64,
    /// Which of the ten poruthams this row decides. Canonical English, never translated, so it is safe to switch on. Rasyadhipati is the South Indian name for the agreement the North calls Graha Maitri.
    pub name: DashakootResponseBreakdownItemName,
    /// One sentence explaining what decided this porutham, localized by the lang query parameter. Only counts are written into it; every classification stays on person1 and person2 so a translated sentence never carries an English term.
    pub note: String,
    /// How the GROOM classifies for this porutham: a Rajju limb, a Gana class, a Yoni animal, a Moon rashi, a Moon rashi lord, or the Moon nakshatra where the rule counts stars. Canonical English, so the note never has to name it.
    pub person1: String,
    /// How the BRIDE classifies for this porutham, same vocabulary.
    pub person2: String,
    /// One when this porutham matched and zero when it did not. Every porutham carries equal weight in this system, unlike the Ashtakoot kootas.
    pub points: f64,
    /// The outcome as a word rather than a number, for a caller keying a badge or a filter off it. Canonical English, never translated.
    pub verdict: DashakootResponseBreakdownItemVerdict,
}
string_enum! {
    /// The outcome as a word rather than a number, for a caller keying a badge or a filter off it. Canonical English, never translated.
    DashakootResponseBreakdownItemVerdict {
        Matched = "matched",
        Unmatched = "unmatched",
    }
}
string_enum! {
    /// Which of the ten poruthams this row decides. Canonical English, never translated, so it is safe to switch on. Rasyadhipati is the South Indian name for the agreement the North calls Graha Maitri.
    DashakootResponseBreakdownItemName {
        Dina = "Dina",
        Gana = "Gana",
        Mahendra = "Mahendra",
        StreeDeergha = "Stree Deergha",
        Yoni = "Yoni",
        Rasi = "Rasi",
        Rasyadhipati = "Rasyadhipati",
        Vasya = "Vasya",
        Rajju = "Rajju",
        Vedha = "Vedha",
    }
}
/// Request body of `calculateDashakoot`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<DashakootRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth data of the GROOM. Direction is load bearing in this system: Dina, Mahendra, Stree Deergha, Rasi and Vasya all count from the bride toward the groom, so sending the two people the wrong way round returns a different and wrong sheet without any error.
    pub person1: DashakootRequestPerson1,
    /// Birth data of the BRIDE. Five of the ten poruthams count FROM this birth star, so this field is not interchangeable with person1. Date, time and location determine the Moon nakshatra and Moon rashi every porutham reads.
    pub person2: DashakootRequestPerson2,
}
/// Birth data of the BRIDE. Five of the ten poruthams count FROM this birth star, so this field is not interchangeable with person1. Date, time and location determine the Moon nakshatra and Moon rashi every porutham reads.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootRequestPerson2 {
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<DashakootRequestPerson2Timezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum DashakootRequestPerson2Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Birth data of the GROOM. Direction is load bearing in this system: Dina, Mahendra, Stree Deergha, Rasi and Vasya all count from the bride toward the groom, so sending the two people the wrong way round returns a different and wrong sheet without any error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DashakootRequestPerson1 {
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<DashakootRequestPerson1Timezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum DashakootRequestPerson1Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    DashakootRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `convertLongCount`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ConvertLongCountResponse {
    /// The Tzolkin and Haab dates written together, which is how an inscription names a day. The pair repeats every 18,980 days, so it is ambiguous beyond about 52 years and the Long Count is what fixes it.
    #[serde(rename = "calendarRound")]
    pub calendar_round: String,
    /// The conventions this conversion was computed under, echoed so the result is self describing.
    pub conventions: ConvertLongCountResponseConventions,
    /// The proleptic Gregorian date, echoed when it was the input and computed when the Long Count was.
    pub date: String,
    /// The Long Count as one integer count of days from the epoch. Subtracting two of these is the correct way to measure an interval between two Maya dates.
    #[serde(rename = "daysSinceEpoch")]
    pub days_since_epoch: f64,
    /// Julian Day Number of the same day, which is the bridge to any other calendar. It is exactly daysSinceEpoch plus the correlation constant.
    #[serde(rename = "julianDayNumber")]
    pub julian_day_number: f64,
    /// The dotted Long Count, echoed when it was the input and computed when the date was.
    #[serde(rename = "longCount")]
    pub long_count: String,
    /// Which of the nine Lords of the Night governs the day, G1 to G9. The nine carry glyph labels rather than names because no source records what the Maya called them.
    #[serde(rename = "lordOfNight")]
    pub lord_of_night: String,
    /// Present ONLY for a date before the Gregorian reform, where the input convention is the usual reason two converters disagree. Absent otherwise, so its presence is itself the signal.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
}
/// The conventions this conversion was computed under, echoed so the result is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ConvertLongCountResponseConventions {
    /// The correlation constant actually applied, whether it was requested or defaulted. Store this beside any Maya date you persist: the same civil date resolves to a different Long Count under each constant, and a date with no correlation recorded cannot be reproduced.
    pub correlation: String,
}
/// What to convert, and under which correlation. Exactly one of date and longCount is present, which is why the whole body carries one example rather than leaving the per field ones to be read together.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ConvertLongCountRequest {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub correlation: Option<ConvertLongCountRequestCorrelation>,
    /// Proleptic Gregorian date to convert INTO a Long Count. Supply this or longCount, never both and never neither.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Dotted Long Count to convert INTO a date, written baktun.katun.tun.winal.kin. Each position is bounded by its own base, and the winal counts to 17 rather than to 19 because eighteen winal make a tun, so 9.12.11.18.0 is rejected as a date that does not exist. Supply this or date, never both and never neither.
    #[serde(rename = "longCount", skip_serializing_if = "Option::is_none")]
    pub long_count: Option<String>,
}
string_enum! {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    ConvertLongCountRequestCorrelation {
        Gmt584283 = "gmt-584283",
        MartinezHernandez584281 = "martinez-hernandez-584281",
        Astronomical584285 = "astronomical-584285",
        MartinSkidmore584286 = "martin-skidmore-584286",
    }
}
/// Path and query parameters of `convertLongCount`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ConvertLongCountParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<ConvertLongCountParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    ConvertLongCountParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateGunMilan`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CompatibilityResponse {
    /// Detailed breakdown of compatibility scores across all 8 Ashtakoot kootas. Each category evaluates a different aspect of marital compatibility: temperament, physical, mental, financial, and health.
    pub breakdown: Vec<CompatibilityResponseBreakdownItem>,
    /// Doshas detected but cancelled by classical exception rules. Nadi Dosha cancels when partners share the same Moon sign with different nakshatras, same nakshatra with different padas, or same nakshatra spanning different signs. Bhakoot Dosha cancels when Moon sign lords are the same planet or mutual natural friends. Koota score remains 0 but the dosha is not counted against the recommendation.
    #[serde(rename = "doshaCancellations")]
    pub dosha_cancellations: Vec<CompatibilityResponseDoshaCancellationsItem>,
    /// List of active (uncancelled) doshas in the matching. Doshas that meet classical cancellation conditions from Muhurta Martanda or BPHS are excluded from this array and appear in doshaCancellations instead. Common doshas: Nadi Dosha (same Nadi type, 0/8 points), Bhakoot Dosha (inauspicious Moon sign distance, 0/7 points). Empty array when no doshas are present or all detected doshas are cancelled.
    pub doshas: Vec<String>,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: CompatibilityResponseFrame,
    /// True when percentage &gt;= 50% (18/36 minimum). Based on the traditional Ashtakoot Gun Milan threshold used by Vedic astrologers for kundli matching.
    #[serde(rename = "isCompatible")]
    pub is_compatible: bool,
    /// Maximum possible Guna Milan score (always 36). The 36 points are distributed across 8 kootas (matching categories).
    #[serde(rename = "maxScore")]
    pub max_score: f64,
    /// Compatibility percentage derived from total/maxScore. Above 50% (18/36) is the traditional minimum threshold for marriage compatibility.
    pub percentage: f64,
    /// Human-readable marriage recommendation based on overall score and dosha analysis. Indicates whether the union is recommended, and if not, specifies the reason (e.g. Nadi Dosha, Bhakoot Dosha, low overall score).
    pub recommendation: String,
    /// Total Ashtakoot Gun Milan score out of 36. Scores above 18 are considered compatible for marriage. Higher scores indicate stronger marital harmony.
    pub total: f64,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CompatibilityResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// One entry of `doshaCancellations`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CompatibilityResponseDoshaCancellationsItem {
    /// Name of the cancelled dosha (Nadi Dosha or Bhakoot Dosha).
    pub dosha: String,
    /// Classical cancellation condition that neutralizes this dosha. Based on Muhurta Martanda for Nadi Dosha and BPHS for Bhakoot Dosha.
    pub reason: String,
}
/// One entry of `breakdown`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CompatibilityResponseBreakdownItem {
    /// One of 8 Ashtakoot matching categories: Varna, Vashya, Tara, Yoni, Graha Maitri, Gana, Bhakoot, Nadi.
    pub category: String,
    /// Human-readable explanation of what this koota category evaluates.
    pub description: String,
    /// Maximum possible points for this koota category.
    #[serde(rename = "maxScore")]
    pub max_score: f64,
    /// Classification of person 1 for this koota (e.g. Vaishya for Varna, Chatushpada for Vashya, Sheep for Yoni).
    pub person1: String,
    /// Classification of person 2 for this koota.
    pub person2: String,
    /// Points scored in this category. Maximum varies: Varna (1), Vashya (2), Tara (3), Yoni (4), Graha Maitri (5), Gana (6), Bhakoot (7), Nadi (8).
    pub score: f64,
}
/// Request body of `calculateGunMilan`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CompatibilityRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<CompatibilityRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth data of the first person (typically the boy/groom in traditional Ashtakoot matching). Date, time, and location determine Moon nakshatra for koota scoring.
    pub person1: CompatibilityRequestPerson1,
    /// Birth data of the second person (typically the girl/bride in traditional Ashtakoot matching). Moon nakshatra compared against person 1 across all 8 kootas.
    pub person2: CompatibilityRequestPerson2,
}
/// Birth data of the second person (typically the girl/bride in traditional Ashtakoot matching). Moon nakshatra compared against person 1 across all 8 kootas.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CompatibilityRequestPerson2 {
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<CompatibilityRequestPerson2Timezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CompatibilityRequestPerson2Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Birth data of the first person (typically the boy/groom in traditional Ashtakoot matching). Date, time, and location determine Moon nakshatra for koota scoring.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CompatibilityRequestPerson1 {
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<CompatibilityRequestPerson1Timezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CompatibilityRequestPerson1Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    CompatibilityRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Path and query parameters of `checkSadhesati`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CheckSadhesatiParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CheckSadhesatiParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CheckSadhesatiParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `checkManglikDosha`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CheckManglikDoshaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CheckManglikDoshaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CheckManglikDoshaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `checkKarmicDebt`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CheckKarmicDebtResponse {
    /// All karmic debt numbers found (13, 14, 16, 19), each listed once, in core-number order: Life Path, Expression, Soul Urge, Personality, Birth Day.
    #[serde(rename = "debtNumbers")]
    pub debt_numbers: Vec<f64>,
    /// Whether any karmic debt numbers were detected
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// The `meanings` field.
    pub meanings: Vec<CheckKarmicDebtResponseMeaningsItem>,
    /// Human-readable summary. Explains what the karmic debt findings mean or provides a positive affirmation when no debt is found.
    pub message: String,
}
/// One entry of `meanings`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CheckKarmicDebtResponseMeaningsItem {
    /// Detailed explanation of past life issue and current challenges
    pub challenge: String,
    /// Debt title and nature
    pub description: String,
    /// Karmic debt number
    pub number: f64,
    /// Guidance for resolving karmic debt in this lifetime
    pub resolution: String,
}
/// Path and query parameters of `checkKarmicDebt`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CheckKarmicDebtParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CheckKarmicDebtParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CheckKarmicDebtParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `checkKalsarpaDosha`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CheckKalsarpaDoshaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CheckKalsarpaDoshaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CheckKalsarpaDoshaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Chara Karakas for a birth chart: the movable significators of Jaimini astrology, ranked by how far each graha has advanced into its sign.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CharaKarakaResponse {
    /// Graha holding the Atmakaraka office, the most consequential single value in Jaimini analysis. Lifted to the top level so a client reading only the Atmakaraka does not have to search the array.
    pub atmakaraka: String,
    /// Graha holding the Darakaraka office, read for the spouse. The second most requested value, so it is also lifted to the top level.
    pub darakaraka: String,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: CharaKarakaResponseFrame,
    /// Karaka offices in descending rank, Atmakaraka first. Eight entries in the eight-karaka scheme, seven in the seven-karaka scheme.
    pub karakas: Vec<CharaKarakaResponseKarakasItem>,
    /// Scheme the ranking used, echoed back so a cached or logged response is self describing.
    pub scheme: CharaKarakaResponseScheme,
}
string_enum! {
    /// Scheme the ranking used, echoed back so a cached or logged response is self describing.
    CharaKarakaResponseScheme {
        Seven = "seven",
        Eight = "eight",
    }
}
/// One Chara Karaka: the office, the graha holding it, the degree that earned it, and what the office is read for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CharaKarakaResponseKarakasItem {
    /// Practitioner shorthand: AK, AmK, BK, MK, PiK, PK, GK, DK, in descending rank order.
    pub abbreviation: String,
    /// Degree the graha has advanced into its sign, 0 to 30. This is the figure a chart displays.
    #[serde(rename = "degreeInRashi")]
    pub degree_in_rashi: f64,
    /// Graha holding this office in this chart.
    pub graha: String,
    /// Karaka office identifier: atmakaraka, amatyakaraka, bhratrikaraka, matrikaraka, pitrikaraka, putrakaraka, gnatikaraka, darakaraka. Returned in descending rank, so the first entry is always the Atmakaraka.
    pub id: String,
    /// True only for Rahu, flagging that its degree was measured from the end of the sign rather than the start.
    #[serde(rename = "isReversed")]
    pub is_reversed: bool,
    /// Short label for what this karaka is read for, sized for a table cell.
    pub meaning: String,
    /// Classical Sanskrit name of the karaka office.
    pub name: String,
    /// The degree actually ranked. Identical to degreeInRashi for every graha except Rahu, where it is 30 minus that value because Rahu advances backward through the sign. Returned so the ordering can be checked without knowing the rule.
    #[serde(rename = "rankingDegree")]
    pub ranking_degree: f64,
    /// Zodiac sign (rashi) the graha occupies.
    pub rashi: String,
    /// What this karaka office governs in a reading.
    pub significations: String,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CharaKarakaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Request body of `calculateCharaKarakas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CharaKarakaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<CharaKarakaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Which Chara Karaka scheme to rank. "eight" includes Rahu, counting its degree in reverse because it moves retrograde, and returns eight offices including Pitrikaraka. "seven" ranks only the seven classical grahas and drops Pitrikaraka. Ketu is excluded from both, since it always mirrors the Rahu degree exactly. The two schemes can produce a different Atmakaraka for the same chart, so select the one your reference software uses. Defaults to "eight".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub scheme: Option<CharaKarakaRequestScheme>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<CharaKarakaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CharaKarakaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which Chara Karaka scheme to rank. "eight" includes Rahu, counting its degree in reverse because it moves retrograde, and returns eight offices including Pitrikaraka. "seven" ranks only the seven classical grahas and drops Pitrikaraka. Ketu is excluded from both, since it always mirrors the Rahu degree exactly. The two schemes can produce a different Atmakaraka for the same chart, so select the one your reference software uses. Defaults to "eight".
    CharaKarakaRequestScheme {
        Seven = "seven",
        Eight = "eight",
    }
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    CharaKarakaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `castYesNo`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastYesNoResponse {
    /// Tarot-derived answer. Yes = upright card supports a positive outcome. No = reversed card suggests obstacles. Maybe = inherently ambiguous card drawn (The Hanged Man, Wheel of Fortune, Temperance, Two of Swords, Four of Swords) signaling pause, reflection, or shifting circumstances. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use answerLocalized for anything a reader sees.
    pub answer: CastYesNoResponseAnswer,
    /// Answer in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "answerLocalized", skip_serializing_if = "Option::is_none")]
    pub answer_localized: Option<String>,
    /// The `card` field.
    pub card: CastYesNoResponseCard,
    /// Contextual narrative explaining why this card answers the question with this result. Connects card meaning, orientation, and arcana strength into actionable guidance.
    pub interpretation: String,
    /// The querent question that was asked, if one was provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// The seed used for this draw, echoed back when one was supplied. Present only if the request carried a seed. Makes a cached or forwarded response self describing, so a reading can be reproduced or shared without the original request beside it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
    /// Confidence level of the answer. Strong = Major Arcana card drawn (powerful, definitive cosmic energy). Qualified = Minor Arcana card drawn (nuanced, situational guidance). Always English, whatever the lang parameter says. Use strengthLocalized for anything a reader sees.
    pub strength: CastYesNoResponseStrength,
    /// Answer strength in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "strengthLocalized", skip_serializing_if = "Option::is_none")]
    pub strength_localized: Option<String>,
}
string_enum! {
    /// Confidence level of the answer. Strong = Major Arcana card drawn (powerful, definitive cosmic energy). Qualified = Minor Arcana card drawn (nuanced, situational guidance). Always English, whatever the lang parameter says. Use strengthLocalized for anything a reader sees.
    CastYesNoResponseStrength {
        Strong = "Strong",
        Qualified = "Qualified",
    }
}
/// The `card` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastYesNoResponseCard {
    /// Whether this card belongs to the Major Arcana (22 trump cards, major life themes) or Minor Arcana (56 suit cards, daily situations).
    pub arcana: CastYesNoResponseCardArcana,
    /// Unique card identifier in kebab-case (e.g. the-fool, ace-of-cups).
    pub id: String,
    /// URL to the tarot card artwork image.
    #[serde(rename = "imageUrl")]
    pub image_url: String,
    /// Key themes and concepts associated with this card in its current orientation (upright or reversed).
    pub keywords: Vec<String>,
    /// Display name of the tarot card.
    pub name: String,
    /// True if the card was drawn reversed (upside down). Reversed cards carry modified or blocked energy compared to upright position.
    pub reversed: bool,
}
string_enum! {
    /// Whether this card belongs to the Major Arcana (22 trump cards, major life themes) or Minor Arcana (56 suit cards, daily situations).
    CastYesNoResponseCardArcana {
        Major = "major",
        Minor = "minor",
    }
}
string_enum! {
    /// Tarot-derived answer. Yes = upright card supports a positive outcome. No = reversed card suggests obstacles. Maybe = inherently ambiguous card drawn (The Hanged Man, Wheel of Fortune, Temperance, Two of Swords, Four of Swords) signaling pause, reflection, or shifting circumstances. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use answerLocalized for anything a reader sees.
    CastYesNoResponseAnswer {
        Yes = "Yes",
        No = "No",
        Maybe = "Maybe",
    }
}
/// Path and query parameters of `castYesNo`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastYesNoParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastYesNoParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastYesNoParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `castThreeCard`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastThreeCardResponse {
    /// Array of spread positions, each containing a drawn card with position-specific tarot interpretation.
    pub positions: Vec<CastThreeCardResponsePositionsItem>,
    /// The querent question, if one was provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Seed used for this reading, if one was provided. Same seed reproduces identical results.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
    /// Name of the tarot spread used (e.g. Three-Card, Celtic Cross, Career, Love).
    pub spread: String,
    /// Narrative summary that connects the cards drawn across the spread positions into one cohesive reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub summary: Option<String>,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastThreeCardResponsePositionsItem {
    /// The `card` field.
    pub card: DrawnCard,
    /// Position-specific interpretation of the drawn card, explaining how this card meaning applies to this particular spread position.
    pub interpretation: String,
    /// Position name describing what this card reveals (e.g. Past, Present, Future, Challenge).
    pub name: String,
    /// Position number in the spread layout (1-based).
    pub position: f64,
}
/// Path and query parameters of `castThreeCard`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastThreeCardParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastThreeCardParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastThreeCardParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `castReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastReadingResponse {
    /// Positions of changing lines (1-6, bottom to top)
    #[serde(rename = "changingLinePositions")]
    pub changing_line_positions: Vec<f64>,
    /// The `hexagram` field.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub hexagram: Option<Hexagram>,
    /// Line values (6-9) from bottom to top. 6=old yin (changing), 7=young yang, 8=young yin, 9=old yang (changing)
    pub lines: Vec<f64>,
    /// The `resultingHexagram` field.
    #[serde(rename = "resultingHexagram", skip_serializing_if = "Option::is_none")]
    pub resulting_hexagram: Option<Hexagram>,
    /// The seed used for this casting (if provided)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Response body of `getHexagram`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct Hexagram {
    /// Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
    pub binary: String,
    /// Changing line interpretations for all 6 lines
    #[serde(rename = "changingLines")]
    pub changing_lines: Vec<ChangingLine>,
    /// Original Chinese character name of the hexagram in traditional script.
    pub chinese: String,
    /// English translation of the hexagram name, conveying the core concept and life situation it represents.
    pub english: String,
    /// The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal attitude and action.
    pub image: String,
    /// The `interpretation` field.
    pub interpretation: Interpretation,
    /// The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance and outcome.
    pub judgment: String,
    /// Lower trigram (lines 1-3). Combines with the upper trigram to form the hexagram and its meaning.
    #[serde(rename = "lowerTrigram")]
    pub lower_trigram: String,
    /// Hexagram number in the traditional King Wen sequence (1-64), the standard ordering used in I-Ching divination for over 3,000 years.
    pub number: f64,
    /// Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
    pub pinyin: String,
    /// Unicode hexagram symbol (U+4DC0 block) representing all six lines. Use for visual display in I-Ching apps and divination interfaces.
    pub symbol: String,
    /// Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
    #[serde(rename = "upperTrigram")]
    pub upper_trigram: String,
}
/// The `interpretation` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct Interpretation {
    /// Practical wisdom and actionable advice from this hexagram for daily life application.
    pub advice: String,
    /// Career and professional life interpretation.
    pub career: String,
    /// Decision-making guidance for whether to act, wait, retreat, or advance based on this hexagram.
    pub decision: String,
    /// General life situation interpretation of this hexagram.
    pub general: String,
    /// Love and relationship guidance from this hexagram.
    pub love: String,
}
/// Path and query parameters of `castReading`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastReadingParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastReadingParamsLang>,
    /// Optional seed for reproducible castings. Same seed = same casting every time. Pass any unique identifier (userId, session token, question hash). Omit for random casting.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `castLoveSpread`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastLoveSpreadResponse {
    /// Array of 5 love spread positions exploring relationship dynamics, each with a drawn card and position-specific interpretation.
    pub positions: Vec<CastLoveSpreadResponsePositionsItem>,
    /// The querent question, if one was provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Seed used for this reading, if one was provided. Same seed reproduces identical results.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
    /// Name of the tarot spread used (e.g. Three-Card, Celtic Cross, Career, Love).
    pub spread: String,
    /// Narrative summary that connects the cards drawn across the spread positions into one cohesive reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub summary: Option<String>,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastLoveSpreadResponsePositionsItem {
    /// The `card` field.
    pub card: DrawnCard,
    /// Position-specific interpretation of the drawn card, explaining how this card meaning applies to this particular spread position.
    pub interpretation: String,
    /// Position name describing what this card reveals (e.g. Past, Present, Future, Challenge).
    pub name: String,
    /// Position number in the spread layout (1-based).
    pub position: f64,
}
/// Path and query parameters of `castLoveSpread`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastLoveSpreadParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastLoveSpreadParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastLoveSpreadParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `castKpHoraryChart`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastKpHoraryChartParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<CastKpHoraryChartParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastKpHoraryChartParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastKpHoraryChartParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    CastKpHoraryChartParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `castDailyReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastDailyReadingResponse {
    /// Positions of changing lines (1-6, bottom to top). These lines transform yin to yang or vice versa.
    #[serde(rename = "changingLinePositions")]
    pub changing_line_positions: Vec<f64>,
    /// The oracle statement and meaning of each line that came up CHANGING, and only those. The changing lines are what the cast is actually about, so this saves a second call to read them and stops a consuming agent from having to invent them.
    #[serde(rename = "changingLines", skip_serializing_if = "Option::is_none")]
    pub changing_lines: Option<Vec<ChangingLine>>,
    /// Date this daily casting is for (YYYY-MM-DD, UTC).
    pub date: String,
    /// The `hexagram` field.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub hexagram: Option<CastDailyReadingResponseHexagram>,
    /// Line values (6-9) from bottom to top. 6=old yin (changing), 7=young yang, 8=young yin, 9=old yang (changing).
    pub lines: Vec<f64>,
    /// Hexagram after transformation (if changing lines present)
    #[serde(rename = "resultingHexagram", skip_serializing_if = "Option::is_none")]
    pub resulting_hexagram: Option<CastDailyReadingResponseResultingHexagram>,
    /// Computed seed for reproducible castings.
    pub seed: String,
}
/// Hexagram after transformation (if changing lines present)
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastDailyReadingResponseResultingHexagram {
    /// Original Chinese name.
    pub chinese: String,
    /// English translation of the hexagram name.
    pub english: String,
    /// The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal action.
    pub image: String,
    /// Modern interpretations across life areas based on ancient I-Ching wisdom.
    pub interpretation: CastDailyReadingResponseResultingHexagramInterpretation,
    /// The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance.
    pub judgment: String,
    /// Lower trigram (lines 1-3).
    #[serde(rename = "lowerTrigram")]
    pub lower_trigram: String,
    /// Hexagram number in King Wen sequence (1-64).
    pub number: f64,
    /// Pinyin romanization with tone marks.
    pub pinyin: String,
    /// Unicode hexagram symbol for display.
    pub symbol: String,
    /// Upper trigram (lines 4-6).
    #[serde(rename = "upperTrigram")]
    pub upper_trigram: String,
}
/// Modern interpretations across life areas based on ancient I-Ching wisdom.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastDailyReadingResponseResultingHexagramInterpretation {
    /// Practical wisdom and actionable advice.
    pub advice: String,
    /// Career and professional interpretation.
    pub career: String,
    /// Decision-making guidance for whether to act, wait, or change course.
    pub decision: String,
    /// General life situation interpretation.
    pub general: String,
    /// Love and relationship guidance.
    pub love: String,
}
/// The `hexagram` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastDailyReadingResponseHexagram {
    /// Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
    pub binary: String,
    /// The oracle statement and meaning of each line that came up CHANGING, and only those. The changing lines are what the cast is actually about, so this saves a second call to read them and stops a consuming agent from having to invent them.
    #[serde(rename = "changingLines", skip_serializing_if = "Option::is_none")]
    pub changing_lines: Option<Vec<ChangingLine>>,
    /// Original Chinese name.
    pub chinese: String,
    /// English translation of the hexagram name.
    pub english: String,
    /// The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal action.
    pub image: String,
    /// Modern interpretations across life areas based on ancient I-Ching wisdom.
    pub interpretation: CastDailyReadingResponseHexagramInterpretation,
    /// The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance.
    pub judgment: String,
    /// Lower trigram (lines 1-3).
    #[serde(rename = "lowerTrigram")]
    pub lower_trigram: String,
    /// Hexagram number in King Wen sequence (1-64).
    pub number: f64,
    /// Pinyin romanization with tone marks.
    pub pinyin: String,
    /// Unicode hexagram symbol for display.
    pub symbol: String,
    /// Upper trigram (lines 4-6).
    #[serde(rename = "upperTrigram")]
    pub upper_trigram: String,
}
/// Modern interpretations across life areas based on ancient I-Ching wisdom.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastDailyReadingResponseHexagramInterpretation {
    /// Practical wisdom and actionable advice.
    pub advice: String,
    /// Career and professional interpretation.
    pub career: String,
    /// Decision-making guidance for whether to act, wait, or change course.
    pub decision: String,
    /// General life situation interpretation.
    pub general: String,
    /// Love and relationship guidance.
    pub love: String,
}
/// One entry of `changingLines`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ChangingLine {
    /// What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub meaning: Option<String>,
    /// Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
    pub position: f64,
    /// The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
    pub text: String,
}
/// Path and query parameters of `castDailyReading`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastDailyReadingParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastDailyReadingParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastDailyReadingParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `castCustomSpread`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCustomSpreadResponse {
    /// Array of custom spread positions matching your defined layout, each with a drawn card and position-specific interpretation.
    pub positions: Vec<CastCustomSpreadResponsePositionsItem>,
    /// The querent question, if one was provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Seed used for this reading, if one was provided. Same seed reproduces identical results.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
    /// Name of the tarot spread used (e.g. Three-Card, Celtic Cross, Career, Love).
    pub spread: String,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCustomSpreadResponsePositionsItem {
    /// The `card` field.
    pub card: DrawnCard,
    /// Position-specific interpretation of the drawn card, explaining how this card meaning applies to this particular spread position.
    pub interpretation: String,
    /// Position name describing what this card reveals (e.g. Past, Present, Future, Challenge).
    pub name: String,
    /// Position number in the spread layout (1-based).
    pub position: f64,
}
/// Request body of `castCustomSpread`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCustomSpreadRequest {
    /// Array of 1-10 custom position definitions for your tarot spread. Each position gets one drawn card with a position-specific interpretation.
    pub positions: Vec<CastCustomSpreadRequestPositionsItem>,
    /// Optional querent question to focus the custom tarot reading. Provides context for position-specific interpretations.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Optional seed for reproducible results. Same seed with the same positions produces identical card draws for consistent divination.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
    /// Optional name for your custom tarot spread layout. Used as the spread identifier in the response.
    #[serde(rename = "spreadName", skip_serializing_if = "Option::is_none")]
    pub spread_name: Option<String>,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCustomSpreadRequestPositionsItem {
    /// Description of what this position reveals in the reading. Guides the tarot interpretation for the card drawn in this slot.
    pub interpretation: String,
    /// Name for this position in the spread (e.g. Core Issue, Hidden Factor, Best Action). Defines what aspect of the reading this card represents.
    pub name: String,
}
/// Path and query parameters of `castCustomSpread`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastCustomSpreadParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastCustomSpreadParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastCustomSpreadParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `castCelticCross`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCelticCrossResponse {
    /// Array of 10 spread positions forming the complete Celtic Cross layout, each with a drawn card and position-specific interpretation.
    pub positions: Vec<CastCelticCrossResponsePositionsItem>,
    /// The querent question, if one was provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Seed used for this reading, if one was provided. Same seed reproduces identical results.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
    /// Name of the tarot spread used (e.g. Three-Card, Celtic Cross, Career, Love).
    pub spread: String,
    /// Narrative summary that connects the cards drawn across the spread positions into one cohesive reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub summary: Option<String>,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCelticCrossResponsePositionsItem {
    /// The `card` field.
    pub card: DrawnCard,
    /// Position-specific interpretation of the drawn card, explaining how this card meaning applies to this particular spread position.
    pub interpretation: String,
    /// Position name describing what this card reveals (e.g. Past, Present, Future, Challenge).
    pub name: String,
    /// Position number in the spread layout (1-based).
    pub position: f64,
}
/// Path and query parameters of `castCelticCross`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastCelticCrossParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastCelticCrossParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastCelticCrossParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `castCareerSpread`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCareerSpreadResponse {
    /// Array of 7 career spread positions using SWOT framework, each with a drawn card and position-specific interpretation.
    pub positions: Vec<CastCareerSpreadResponsePositionsItem>,
    /// The querent question, if one was provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Seed used for this reading, if one was provided. Same seed reproduces identical results.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
    /// Name of the tarot spread used (e.g. Three-Card, Celtic Cross, Career, Love).
    pub spread: String,
    /// Narrative summary that connects the cards drawn across the spread positions into one cohesive reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub summary: Option<String>,
}
/// One entry of `positions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CastCareerSpreadResponsePositionsItem {
    /// The `card` field.
    pub card: DrawnCard,
    /// Position-specific interpretation of the drawn card, explaining how this card meaning applies to this particular spread position.
    pub interpretation: String,
    /// Position name describing what this card reveals (e.g. Past, Present, Future, Challenge).
    pub name: String,
    /// Position number in the spread layout (1-based).
    pub position: f64,
}
/// The `card` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DrawnCard {
    /// Whether this card belongs to the Major Arcana (22 trump cards, major life themes) or Minor Arcana (56 suit cards, daily situations).
    pub arcana: DrawnCardArcana,
    /// Career and professional interpretation for the drawn orientation. Covers workplace dynamics, job transitions, ambition, and vocational purpose.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub career: Option<String>,
    /// Financial interpretation for the drawn orientation. Covers money management, investments, material prosperity, and abundance mindset.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub finances: Option<String>,
    /// Health and wellbeing interpretation for the drawn orientation. Covers physical vitality, mental health, energy levels, and self-care guidance.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub health: Option<String>,
    /// Unique card identifier in kebab-case (e.g. the-fool, ace-of-cups).
    pub id: String,
    /// URL to the tarot card artwork image.
    #[serde(rename = "imageUrl")]
    pub image_url: String,
    /// Key themes and concepts associated with this card in its current orientation (upright or reversed).
    pub keywords: Vec<String>,
    /// Love and relationship interpretation for the drawn orientation. Covers romantic partnerships, dating, emotional connections, and matters of the heart.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub love: Option<String>,
    /// Full interpretation of this card in its current orientation, providing detailed divination guidance.
    pub meaning: String,
    /// Display name of the tarot card.
    pub name: String,
    /// Card number within its arcana. Major Arcana: 0 (Fool) through 21 (World). Minor Arcana: 1 (Ace) through 14 (King). Null when not applicable.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub number: Option<f64>,
    /// Position index of this card in the draw sequence (1-based). Useful for mapping cards to spread positions.
    pub position: f64,
    /// True if the card was drawn reversed (upside down). Reversed cards carry modified or blocked energy compared to upright position.
    pub reversed: bool,
    /// Spiritual interpretation for the drawn orientation. Covers personal growth, inner wisdom, soul purpose, and metaphysical development.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub spirituality: Option<String>,
    /// Suit of the card (Minor Arcana only). Cups=emotions, Wands=creativity, Swords=intellect, Pentacles=material. Null for Major Arcana cards.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub suit: Option<DrawnCardSuit>,
}
string_enum! {
    /// Suit of the card (Minor Arcana only). Cups=emotions, Wands=creativity, Swords=intellect, Pentacles=material. Null for Major Arcana cards.
    DrawnCardSuit {
        Cups = "cups",
        Wands = "wands",
        Swords = "swords",
        Pentacles = "pentacles",
    }
}
string_enum! {
    /// Whether this card belongs to the Major Arcana (22 trump cards, major life themes) or Minor Arcana (56 suit cards, daily situations).
    DrawnCardArcana {
        Major = "major",
        Minor = "minor",
    }
}
/// Path and query parameters of `castCareerSpread`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastCareerSpreadParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CastCareerSpreadParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CastCareerSpreadParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `getCard`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct Card {
    /// Whether this card belongs to the Major Arcana (22 trump cards representing major life themes) or Minor Arcana (56 suit cards for daily situations).
    pub arcana: CardArcana,
    /// Unique card identifier in kebab-case, with no leading article on Major Arcana (e.g. fool, star, ace-of-cups, queen-of-swords). This is the canonical form, whatever spelling was requested.
    pub id: String,
    /// URL to the tarot card artwork image in the Rider-Waite-Smith style.
    #[serde(rename = "imageUrl")]
    pub image_url: String,
    /// Keywords for both upright and reversed orientations of this tarot card, useful for quick divination reference.
    pub keywords: CardKeywords,
    /// Display name of the tarot card as it appears in the Rider-Waite-Smith tradition.
    pub name: String,
    /// Card number within its arcana. Major Arcana: 0 (Fool) through 21 (World). Minor Arcana: 1 (Ace) through 14 (King).
    pub number: f64,
    /// Complete reversed (inverted) interpretation including description, keywords, and guidance across love, career, finances, health, and spirituality domains. Reversed cards carry modified or blocked energy.
    pub reversed: CardReversed,
    /// Suit of the card (Minor Arcana only). Cups=emotions, Wands=creativity, Swords=intellect, Pentacles=material. Null for Major Arcana cards.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub suit: Option<CardSuit>,
    /// Complete upright interpretation including description, keywords, and guidance across love, career, finances, health, and spirituality domains.
    pub upright: CardUpright,
}
/// Complete upright interpretation including description, keywords, and guidance across love, career, finances, health, and spirituality domains.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CardUpright {
    /// Career and professional interpretation for this orientation. Covers workplace dynamics, job transitions, ambition, and vocational purpose.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub career: Option<String>,
    /// Full narrative interpretation of the card in this orientation. Covers symbolism, life lessons, and guidance for the querent.
    pub description: String,
    /// Financial interpretation for this orientation. Covers money management, investments, material prosperity, and abundance mindset.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub finances: Option<String>,
    /// Health and wellbeing interpretation for this orientation. Covers physical vitality, mental health, energy levels, and self-care guidance.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub health: Option<String>,
    /// Key themes and concepts for this card in the given orientation (upright or reversed). Used for quick tarot reference and divination summaries.
    pub keywords: Vec<String>,
    /// Love and relationship interpretation for this orientation. Covers romantic partnerships, dating, emotional connections, and matters of the heart.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub love: Option<String>,
    /// Spiritual interpretation for this orientation. Covers personal growth, inner wisdom, soul purpose, and metaphysical development.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub spirituality: Option<String>,
}
string_enum! {
    /// Suit of the card (Minor Arcana only). Cups=emotions, Wands=creativity, Swords=intellect, Pentacles=material. Null for Major Arcana cards.
    CardSuit {
        Cups = "cups",
        Wands = "wands",
        Swords = "swords",
        Pentacles = "pentacles",
    }
}
/// Complete reversed (inverted) interpretation including description, keywords, and guidance across love, career, finances, health, and spirituality domains. Reversed cards carry modified or blocked energy.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CardReversed {
    /// Career and professional interpretation for this orientation. Covers workplace dynamics, job transitions, ambition, and vocational purpose.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub career: Option<String>,
    /// Full narrative interpretation of the card in this orientation. Covers symbolism, life lessons, and guidance for the querent.
    pub description: String,
    /// Financial interpretation for this orientation. Covers money management, investments, material prosperity, and abundance mindset.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub finances: Option<String>,
    /// Health and wellbeing interpretation for this orientation. Covers physical vitality, mental health, energy levels, and self-care guidance.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub health: Option<String>,
    /// Key themes and concepts for this card in the given orientation (upright or reversed). Used for quick tarot reference and divination summaries.
    pub keywords: Vec<String>,
    /// Love and relationship interpretation for this orientation. Covers romantic partnerships, dating, emotional connections, and matters of the heart.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub love: Option<String>,
    /// Spiritual interpretation for this orientation. Covers personal growth, inner wisdom, soul purpose, and metaphysical development.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub spirituality: Option<String>,
}
/// Keywords for both upright and reversed orientations of this tarot card, useful for quick divination reference.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CardKeywords {
    /// Key themes when the card is drawn reversed (inverted). Reversed meanings often indicate blocked or internalized energy.
    pub reversed: Vec<String>,
    /// Key themes when the card is drawn upright. Used for quick tarot reference and reading summaries.
    pub upright: Vec<String>,
}
string_enum! {
    /// Whether this card belongs to the Major Arcana (22 trump cards representing major life themes) or Minor Arcana (56 suit cards for daily situations).
    CardArcana {
        Major = "major",
        Minor = "minor",
    }
}
/// Response body of `calculateZodiacAnimal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateZodiacAnimalResponse {
    /// The zodiac animal for this date. The element on this block is the animal own fixed branch phase, which for a Horse is always Fire. The year phase is the sibling element field below.
    pub animal: CalculateZodiacAnimalResponseAnimal,
    /// The school parameters this answer was computed under, echoed so the result is self-describing.
    pub conventions: CalculateZodiacAnimalResponseConventions,
    /// Echo of the birth date the answer was resolved from.
    pub date: String,
    /// Five Element phase of the year Heavenly Stem. This is what distinguishes a Metal Horse from a Fire Horse and it changes every two years. It is NOT the animal own fixed phase, which sits on the animal block above. Always English so it stays safe to compare against.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Composed reading of the sign under its year phase. The sign contributes the temperament and the phase contributes the register.
    pub interpretation: String,
    /// Yin or yang polarity of the branch. The twelve branches alternate, starting yang at zi, so the six odd-numbered animals are yang and the six even-numbered are yin.
    pub polarity: String,
    /// The sexagenary year the date falls in, under the resolved boundary. Stem and branch together repeat once every sixty years.
    #[serde(rename = "yearPillar")]
    pub year_pillar: CalculateZodiacAnimalResponseYearPillar,
}
/// The sexagenary year the date falls in, under the resolved boundary. Stem and branch together repeat once every sixty years.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateZodiacAnimalResponseYearPillar {
    /// Earthly Branch of the year, as its pinyin identifier. This is the branch the animal names.
    pub branch: String,
    /// Sexagenary year pillar id, Heavenly Stem then Earthly Branch. Always English pinyin.
    pub id: String,
    /// Position of this pillar in the sixty-year sexagenary cycle, 1 to 60, where jia-zi is 1.
    pub number: f64,
    /// Heavenly Stem of the year, as its pinyin identifier.
    pub stem: String,
}
/// The school parameters this answer was computed under, echoed so the result is self-describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateZodiacAnimalResponseConventions {
    /// The year boundary actually applied, whether it was requested or defaulted. Store this beside any sign you persist: the same date resolves to two different animals under the two schools, and a sign with no convention recorded cannot be reproduced.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: String,
}
/// The zodiac animal for this date. The element on this block is the animal own fixed branch phase, which for a Horse is always Fire. The year phase is the sibling element field below.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateZodiacAnimalResponseAnimal {
    /// Earthly Branch this animal names, as its pinyin identifier. The twelve branches are zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai, and they run in the same order as the animals. Every animal element, polarity and double-hour is a property of this branch.
    pub branch: String,
    /// Traditional hanzi character for the animal itself, not for its Earthly Branch. Data rather than a translation, so it is identical under every lang.
    pub chinese: String,
    /// Fixed Five Element (Wu Xing) phase of the animal own branch: Wood, Fire, Earth, Metal or Water. This never changes for a sign. It is NOT the year phase that makes a Metal Rat differ from a Water Rat, which comes from the year Heavenly Stem. Always English so it stays safe to compare against and to key colours off.
    pub element: String,
    /// Five Element phase name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Stable machine identifier for the animal. Always English and lowercase, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. The twelve ids are rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.
    pub id: String,
    /// Display name of the animal in English. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked Hanyu Pinyin for the animal name. Data rather than a translation, so it is identical under every lang.
    pub pinyin: String,
    /// Yin or yang polarity of the branch. The twelve branches alternate, starting yang at zi, so the six odd-numbered animals are yang and the six even-numbered are yin.
    pub polarity: String,
}
/// Request body of `calculateZodiacAnimal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateZodiacAnimalRequest {
    /// Birth date in YYYY-MM-DD format. Only the date is needed: the zodiac animal is a property of the year, so no time, timezone or place changes the answer.
    pub date: String,
    /// Which instant starts the zodiac year. lunar-new-year is the folk rule and the default on this route, because it is the rule people mean when they say what animal they are: the sign turns on Chinese New Year, between late January and late February. li-chun is the classical rule every Four Pillars text uses, turning the year at the solar term Beginning of Spring around 4 February. The two agree for roughly eleven months of every year and disagree for the weeks between them, so a 14 February 2026 birth is a Snake under lunar-new-year and a Horse under li-chun. The BaZi routes default to li-chun instead, because a chart and a folk sign are answering different questions.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<CalculateZodiacAnimalRequestYearBoundary>,
}
string_enum! {
    /// Which instant starts the zodiac year. lunar-new-year is the folk rule and the default on this route, because it is the rule people mean when they say what animal they are: the sign turns on Chinese New Year, between late January and late February. li-chun is the classical rule every Four Pillars text uses, turning the year at the solar term Beginning of Spring around 4 February. The two agree for roughly eleven months of every year and disagree for the weeks between them, so a 14 February 2026 birth is a Snake under lunar-new-year and a Horse under li-chun. The BaZi routes default to li-chun instead, because a chart and a folk sign are answering different questions.
    CalculateZodiacAnimalRequestYearBoundary {
        LunarNewYear = "lunar-new-year",
        LiChun = "li-chun",
    }
}
/// Path and query parameters of `calculateZodiacAnimal`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateZodiacAnimalParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateZodiacAnimalParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateZodiacAnimalParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateVariables`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateVariablesResponse {
    /// The four Variable arrows: Determination and Environment from the design side, Perspective and Motivation from the personality side. Together they form the Rave Variables / Primary Health System layer that sits beneath Type, Strategy, Authority, and Profile.
    pub arrows: Vec<CalculateVariablesResponseArrowsItem>,
    /// What the Base layer is. Returned once at the top level rather than repeated on every arrow, since the Base layer is the same concept for all four. No per-Base meaning is returned: every one in circulation traces back to a single origin, so it fails the two-source bar this package holds.
    #[serde(rename = "baseDescription")]
    pub base_description: String,
    /// Boundary margin in degrees of ecliptic longitude used for the per-arrow confidence flag, the solar arc over a few minutes of clock time. An activation within this distance of a Color or Tone boundary is flagged low-confidence.
    #[serde(rename = "confidenceMarginDeg")]
    pub confidence_margin_deg: f64,
    /// True only when all four arrows are confident. A single knife-edge arrow makes the whole configuration uncertain.
    pub confident: bool,
}
/// One entry of `arrows`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateVariablesResponseArrowsItem {
    /// The single activation, body and chart side, that this arrow is derived from.
    pub activation: CalculateVariablesResponseArrowsItemActivation,
    /// Base number from 1 to 5, the finest published subdivision of the wheel. Returned for completeness but treated as informational, since it is finer than most birth times can resolve.
    pub base: f64,
    /// Name of the Base. Informational only: the Base is finer than any civil birth time can resolve. Always English, whatever the lang parameter says. Use baseNameLocalized for anything a reader sees.
    #[serde(rename = "baseName")]
    pub base_name: String,
    /// Base name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "baseNameLocalized", skip_serializing_if = "Option::is_none")]
    pub base_name_localized: Option<String>,
    /// Cognition, the strongest sense, read off the Determination Tone. Present on the determination arrow ONLY: no authority supports reading Cognition from the other three arrows, so it is omitted rather than invented.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub cognition: Option<CalculateVariablesResponseArrowsItemCognition>,
    /// Color number from 1 to 6, the substructure level one octave finer than the line. Color selects the arrow theme, for example the determination family or the motivation.
    pub color: f64,
    /// Name of the Color theme for this arrow, for example a determination family such as Touch, an environment such as Mountains, a perspective such as Personal, or a motivation such as Hope. Always English, whatever the lang parameter says. Use colorLabelLocalized for anything a reader sees.
    #[serde(rename = "colorLabel")]
    pub color_label: String,
    /// Color theme name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "colorLabelLocalized", skip_serializing_if = "Option::is_none")]
    pub color_label_localized: Option<String>,
    /// Meaning of the Color for THIS arrow. The same Color number means something different under Determination than under Motivation, so this is the reading of colorLabel in context, not a generic gloss.
    #[serde(rename = "colorMeaning")]
    pub color_meaning: String,
    /// Whether this arrow is far enough from a Color or Tone boundary to be reliable. When false the activation sits on a knife edge where the Color label or the arrow direction could flip with a more precise birth time, and the arrow should not be presented as fact.
    pub confident: bool,
    /// What this arrow is and what it governs.
    pub description: String,
    /// Arrow direction derived from the Tone. left for tones 1 to 3, right for tones 4 to 6.
    pub direction: String,
    /// Keynote of the arrow direction for this arrow, for example Active or Passive for Determination, Focused or Peripheral for Perspective. Always English, whatever the lang parameter says. Use directionLabelLocalized for anything a reader sees.
    #[serde(rename = "directionLabel")]
    pub direction_label: String,
    /// Arrow direction keynote in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "directionLabelLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_label_localized: Option<String>,
    /// Meaning of the left or right direction for THIS arrow, the reading of directionLabel.
    #[serde(rename = "directionMeaning")]
    pub direction_meaning: String,
    /// Stable arrow identifier. One of determination, environment, perspective, motivation.
    pub key: String,
    /// Which half of the advanced layer the arrow belongs to. Primary Health System covers the body-side Determination and Environment arrows, Rave Psychology covers the mind-side Perspective and Motivation arrows. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use layerLocalized for anything a reader sees.
    pub layer: String,
    /// What the layer this arrow belongs to governs, the body side or the mind side.
    #[serde(rename = "layerDescription")]
    pub layer_description: String,
    /// Layer name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "layerLocalized", skip_serializing_if = "Option::is_none")]
    pub layer_localized: Option<String>,
    /// Arrow name. Determination is the top-left arrow governing the Primary Health System and digestion, Environment the bottom-left arrow, Perspective the bottom-right arrow also called View, and Motivation the top-right arrow. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Arrow name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Position of the arrow at the head of the bodygraph. One of Top left, Bottom left, Top right, Bottom right. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use positionLocalized for anything a reader sees.
    pub position: String,
    /// Arrow position name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "positionLocalized", skip_serializing_if = "Option::is_none")]
    pub position_localized: Option<String>,
    /// Tone number from 1 to 6, the substructure level beneath Color. Tone sets the arrow direction: tones 1 to 3 face left, tones 4 to 6 face right.
    pub tone: f64,
    /// Meaning of the Tone. The six Tones are shared across all four arrows: the arrow does not change the Tone, it changes what the Tone qualifies.
    #[serde(rename = "toneMeaning")]
    pub tone_meaning: String,
}
/// Cognition, the strongest sense, read off the Determination Tone. Present on the determination arrow ONLY: no authority supports reading Cognition from the other three arrows, so it is omitted rather than invented.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateVariablesResponseArrowsItemCognition {
    /// How this Cognition discriminates what is correct for the body, and the conditions that sharpen it. Renderable as the Cognition paragraph of a Variables or Primary Health System report.
    pub description: String,
    /// Name of the Cognition, the strongest sense. One of six read off the Determination Tone: Smell, Taste, Outer Vision, Inner Vision, Feeling, Touch. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use labelLocalized for anything a reader sees.
    pub label: String,
    /// Cognition name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "labelLocalized", skip_serializing_if = "Option::is_none")]
    pub label_localized: Option<String>,
}
/// The single activation, body and chart side, that this arrow is derived from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateVariablesResponseArrowsItemActivation {
    /// Activating body whose substructure feeds this arrow. Determination and Motivation come from the Sun, Environment and Perspective from the North Node. Always English, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Activating body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Chart side of the activation. Determination and Environment come from the design side, Perspective and Motivation from the personality side. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    pub side: String,
}
/// Request body of `calculateVariables`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateVariablesRequest {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateVariablesRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateVariablesRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateVariablesRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateVariablesRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateVariables`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateVariablesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateVariablesParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateVariablesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateTzolkin`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTzolkinResponse {
    /// The conventions this answer was computed under, echoed so the result is self describing. Only the correlation is echoed here, because it is the only switch this route takes.
    pub conventions: CalculateTzolkinResponseConventions,
    /// Echo of the date the day was resolved from, in proleptic Gregorian.
    pub date: String,
    /// Machine identifier of the Tzolkin day sign, always lowercase ASCII Yucatec whatever the lang parameter says, so it stays safe to compare against in code. The twenty ids run imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// The sixteenth century Yucatec spelling of the same sign, which is the form most printed reference tables and older sources use. Useful for matching a name a reader copied out of a book.
    #[serde(rename = "daySignClassic")]
    pub day_sign_classic: String,
    /// The Kʼicheʼ name of the same day from the living highland daykeeping tradition, which is the vocabulary a nawal reading in Guatemala uses. A parallel naming tradition rather than a translation, so it is identical under every lang.
    #[serde(rename = "daySignKiche")]
    pub day_sign_kiche: String,
    /// Display name of the day sign in the standard Maya orthography, where the ejective is written with a modifier letter rather than a typewriter quote. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// The Tzolkin coefficient, 1 to 13. This is the classical day number that runs alongside the twenty signs; it is not a rank and a 13 is not better than a 1. Nine of the thirteen carry a recorded character, which is returned separately.
    pub number: f64,
    /// The composed nawal reading for this day: the sign, what the coefficient contributes, and what the sign does well and badly.
    pub reading: CalculateTzolkinResponseReading,
    /// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
    pub trecena: CalculateTzolkinResponseTrecena,
}
/// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTzolkinResponseTrecena {
    /// Position of this day inside its trecena, 1 to 13. Always equal to the coefficient, because a trecena is exactly one run of the coefficient.
    #[serde(rename = "dayOfTrecena")]
    pub day_of_trecena: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20. Trecena 1 opens on 1 Imix.
    pub number: f64,
    /// Machine identifier of the day sign the trecena opens on, which the tradition reads as colouring all thirteen of its days.
    #[serde(rename = "rulingSign")]
    pub ruling_sign: String,
    /// Display name of the sign the trecena opens on. A proper noun carried as data.
    #[serde(rename = "rulingSignName")]
    pub ruling_sign_name: String,
}
/// The composed nawal reading for this day: the sign, what the coefficient contributes, and what the sign does well and badly.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTzolkinResponseReading {
    /// Where the same temperament costs the sign something. Each one is the shadow of a strength above rather than an unrelated flaw.
    pub challenges: Vec<String>,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// The sign in one composed sentence: its name in both naming traditions, what it is about, and the glyph reading behind it. Composed per request from the sign components rather than stored whole, which is why it stays consistent with every other reading in the response.
    pub keynote: String,
    /// Machine identifier of the recorded character of the coefficient: gentle, indifferent or violent. ABSENT for coefficients 4, 5, 6 and 10, which have no recorded character in any consulted source. Always English so it stays safe to switch on.
    #[serde(rename = "numberBand", skip_serializing_if = "Option::is_none")]
    pub number_band: Option<String>,
    /// What the coefficient contributes. Nine of the thirteen carry a recorded character, banded as gentle, indifferent or violent; the other four carry none and this field says so rather than inventing one. The band ids are the source vocabulary, so violent names the days reserved for strong ceremony and defence and is not a warning.
    #[serde(rename = "numberReading")]
    pub number_reading: String,
    /// What the sign does well, as full sentences rather than keywords.
    pub strengths: Vec<String>,
}
/// The conventions this answer was computed under, echoed so the result is self describing. Only the correlation is echoed here, because it is the only switch this route takes.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTzolkinResponseConventions {
    /// The correlation constant actually applied, whether it was requested or defaulted. Store this beside any Maya date you persist: the same civil date resolves to a different Long Count under each constant, and a date with no correlation recorded cannot be reproduced.
    pub correlation: String,
}
/// Request body of `calculateTzolkin`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTzolkinRequest {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub correlation: Option<CalculateTzolkinRequestCorrelation>,
    /// Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform. Years 1 to 4000 are accepted. A reference converter that switches to the Julian calendar below the reform will disagree with a date before 15 October 1582 by ten or eleven days; that is a difference of input convention rather than of arithmetic, and passing the Julian equivalent to such a tool reproduces these values exactly. A single-digit month or day is accepted and zero padded.
    pub date: String,
}
string_enum! {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    CalculateTzolkinRequestCorrelation {
        Gmt584283 = "gmt-584283",
        MartinezHernandez584281 = "martinez-hernandez-584281",
        Astronomical584285 = "astronomical-584285",
        MartinSkidmore584286 = "martin-skidmore-584286",
    }
}
/// Path and query parameters of `calculateTzolkin`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateTzolkinParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateTzolkinParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateTzolkinParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `calculateType`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTypeRequest {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateTypeRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateTypeRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateTypeRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateTypeRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateType`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateTypeParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateTypeParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateTypeParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateTransits`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateTransitsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateTransitsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateTransitsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateTransit`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponse {
    /// Birth datetime used for the natal chart, echoed as the local civil date and time supplied in the request (YYYY-MM-DDTHH:MM:SS). Combine it with the timezone field to recover the UTC instant.
    #[serde(rename = "birthDatetime")]
    pub birth_datetime: String,
    /// The zodiac frame every longitude in this response was computed in, so a cached or forwarded payload is self describing. Sidereal requests report the Lahiri ayanamsa, read at the birth instant; the transit positions use the same named frame resolved at their own instant, which moves by about 50 arcseconds a year. A tropical request reports "tropical" with 0 degrees subtracted, which is the one case a Vedic table can otherwise be rendered in the wrong zodiac with nothing on screen saying so.
    pub frame: CalculateTransitResponseFrame,
    /// Highlighted transits from slow-moving planets (Jupiter, Saturn, Rahu, Ketu), most impactful for Gochar analysis.
    #[serde(rename = "keyTransits")]
    pub key_transits: Vec<CalculateTransitResponseKeyTransitsItem>,
    /// All 9 planetary positions from the natal (birth) chart.
    #[serde(rename = "natalPlanets")]
    pub natal_planets: Vec<CalculateTransitResponseNatalPlanetsItem>,
    /// Transit datetime being analyzed, echoed as the local civil date and time supplied in the request (YYYY-MM-DDTHH:MM:SS). Gochar positions are computed for this moment and overlaid on the natal chart.
    #[serde(rename = "transitDatetime")]
    pub transit_datetime: String,
    /// Current planetary positions overlaid on the natal chart with house placements, aspects, and the Gochara Kaksha verdict for each graha.
    #[serde(rename = "transitingPlanets")]
    pub transiting_planets: Vec<CalculateTransitResponseTransitingPlanetsItem>,
}
/// One entry of `transitingPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponseTransitingPlanetsItem {
    /// Degree-based angular aspects between this transiting graha and the natal grahas. Western vocabulary, kept for callers who read a chart that way; drishtiToNatal is the Vedic answer to the same question.
    #[serde(rename = "aspectsToNatal")]
    pub aspects_to_natal: Vec<
        CalculateTransitResponseTransitingPlanetsItemAspectsToNatalItem,
    >,
    /// Graha drishti cast by this transiting graha onto the natal grahas, the Vedic reading of transit-to-natal aspects. Rahu and Ketu cast none. Empty when this graha reaches no occupied natal sign.
    #[serde(rename = "drishtiToNatal")]
    pub drishti_to_natal: Vec<
        CalculateTransitResponseTransitingPlanetsItemDrishtiToNatalItem,
    >,
    /// Which house this graha is transiting counted from the natal Moon sign (Janma Rashi), 1-12 whole-sign and counted inclusively, so the Moon sign itself is 1. This is the number classical Gochara is reckoned in: Phaladeepika chapter 26 opens by saying that of all the Lagnas only the Moon Lagna matters for transit results, and the Vedha and Ashtakavarga transit rules are counted from the Moon throughout. The reference sign is the sign of the Moon entry in natalPlanets, so a client can label the column without a second request.
    #[serde(rename = "houseFromMoon")]
    pub house_from_moon: f64,
    /// Gochara Kaksha: the ashtakavarga-qualified reading of this transit. The sign says where a graha is, this says whether the exact stretch it currently occupies is one its own Bhinnashtakavarga supports, which is the classical way of refining a transit verdict from sign-level to under four degrees.
    pub kaksha: CalculateTransitResponseTransitingPlanetsItemKaksha,
    /// Current sidereal longitude of the transiting planet.
    pub longitude: f64,
    /// Transiting planet name.
    pub name: String,
    /// Which natal house (whole-sign bhava counted from the Lagna) this graha is currently transiting through. This is the Lagna reading of the transit, which is what a transit chart drawn over the birth chart shows. For the house classical Gochara is judged from, read houseFromMoon instead.
    #[serde(rename = "natalHouse")]
    pub natal_house: f64,
    /// Current zodiac sign of the transiting planet.
    pub sign: String,
}
/// Gochara Kaksha: the ashtakavarga-qualified reading of this transit. The sign says where a graha is, this says whether the exact stretch it currently occupies is one its own Bhinnashtakavarga supports, which is the classical way of refining a transit verdict from sign-level to under four degrees.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponseTransitingPlanetsItemKaksha {
    /// Whether this kaksha lord gave the transiting graha a bindu in the sign being transited, which is the Gochara Kaksha verdict: true reads as a favourable stretch of the transit, false as an unfavourable one. Null means the question does not apply rather than that the answer is no, because Rahu and Ketu have no Bhinnashtakavarga to read. Never render null as unfavourable.
    pub bindu: Option<bool>,
    /// Bindus the transiting graha holds in this whole sign, 0-8, or null for Rahu and Ketu. Context for the verdict, since the same kaksha reads differently in a sign worth 7 than in one worth 1.
    #[serde(rename = "binduCount")]
    pub bindu_count: Option<f64>,
    /// Degree within the sign where this kaksha ends.
    #[serde(rename = "endDegree")]
    pub end_degree: f64,
    /// Graha ruling this kaksha. The eight lords run Saturn, Jupiter, Mars, Sun, Venus, Mercury, Moon, Lagna from the start of every sign, ordered by how long each takes to cross a sign.
    pub lord: String,
    /// Kaksha number 1-8 within the current sign. Each sign divides into eight kakshas of 3 degrees 45 minutes, crossed in order, so this is how far through the sign the graha has travelled.
    pub number: f64,
    /// Degree within the sign where this kaksha begins (0, 3.75, 7.5 and so on).
    #[serde(rename = "startDegree")]
    pub start_degree: f64,
}
/// One entry of `drishtiToNatal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponseTransitingPlanetsItemDrishtiToNatalItem {
    /// Which house the drishti falls on, counted whole-sign and inclusively from the transiting graha. Every graha aspects the 7th; Mars adds the 4th and 8th, Jupiter the 5th and 9th, Saturn the 3rd and 10th. Same vocabulary the /aspects endpoint returns, so the two can be compared directly.
    #[serde(rename = "aspectType")]
    pub aspect_type: CalculateTransitResponseTransitingPlanetsItemDrishtiToNatalItemAspectType,
    /// Natal graha receiving the drishti from this transiting graha.
    #[serde(rename = "natalPlanet")]
    pub natal_planet: String,
    /// Gap between the two degrees-in-sign, in degrees. Graha drishti is whole-sign and does not depend on this, so read it as how exact the sight is inside the pair of rashis rather than as a condition for the aspect.
    pub orb: f64,
    /// Drishti strength as a percentage. Full and special aspects are 100; the partial quarter, half and three-quarter sights are not reported.
    pub strength: f64,
}
string_enum! {
    /// Which house the drishti falls on, counted whole-sign and inclusively from the transiting graha. Every graha aspects the 7th; Mars adds the 4th and 8th, Jupiter the 5th and 9th, Saturn the 3rd and 10th. Same vocabulary the /aspects endpoint returns, so the two can be compared directly.
    CalculateTransitResponseTransitingPlanetsItemDrishtiToNatalItemAspectType {
        Conjunction = "conjunction",
        Variant7th = "7th",
        Variant4th = "4th",
        Variant8th = "8th",
        Variant5th = "5th",
        Variant9th = "9th",
        Variant3rd = "3rd",
        Variant10th = "10th",
    }
}
/// One entry of `aspectsToNatal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponseTransitingPlanetsItemAspectsToNatalItem {
    /// Degree-based angular aspect between the two longitudes: conjunction, opposition, trine, square, or sextile. This is the Western aspect vocabulary and it is offered for charts read that way. Parashari jyotish has no sextile, square or trine, so for the Vedic reading use drishtiToNatal, which reports graha drishti by house count.
    #[serde(rename = "aspectType")]
    pub aspect_type: String,
    /// Natal planet being aspected by this transiting planet.
    #[serde(rename = "natalPlanet")]
    pub natal_planet: String,
    /// Angular distance from exact aspect in degrees. Smaller orb = stronger influence.
    pub orb: f64,
}
/// One entry of `natalPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponseNatalPlanetsItem {
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi).
    pub house: f64,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// Graha name, Sun through Ketu. The Lagna is not one of these entries; it is a house frame rather than a body, and the natal house numbers on every entry are counted from it.
    pub name: String,
    /// Vedic zodiac sign (rashi) the planet occupies in the birth chart.
    pub sign: String,
}
/// One entry of `keyTransits`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponseKeyTransitsItem {
    /// Notable degree-based angular aspects to natal planets from this slow-moving transiting planet, in Western vocabulary.
    pub aspects: Vec<String>,
    /// Human-readable transit summary, naming the rashi being transited and both house readings: from the Lagna, then from the natal Moon.
    pub description: String,
    /// Graha drishti this slow-moving transiting graha casts on the natal grahas, the Vedic reading. Empty for Rahu and Ketu, which cast none.
    pub drishti: Vec<String>,
    /// House being transited by this slow graha counted from the natal Moon sign (Janma Rashi), the classical Gochara reference. Mirrors houseFromMoon on the matching transitingPlanets entry.
    #[serde(rename = "houseFromMoon")]
    pub house_from_moon: f64,
    /// Natal house being transited by this slow graha, counted whole-sign from the Lagna. Mirrors natalHouse on the matching transitingPlanets entry.
    #[serde(rename = "natalHouse")]
    pub natal_house: f64,
    /// Slow-moving planet (Jupiter, Saturn, Rahu, Ketu) forming a significant transit.
    pub planet: String,
}
/// The zodiac frame every longitude in this response was computed in, so a cached or forwarded payload is self describing. Sidereal requests report the Lahiri ayanamsa, read at the birth instant; the transit positions use the same named frame resolved at their own instant, which moves by about 50 arcseconds a year. A tropical request reports "tropical" with 0 degrees subtracted, which is the one case a Vedic table can otherwise be rendered in the wrong zodiac with nothing on screen saying so.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Request body of `calculateTransit`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitRequest {
    /// Birth date in YYYY-MM-DD format. Used to calculate the natal chart against which transits are analyzed.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Birth time in HH:MM:SS format (24-hour). Critical for accurate natal Lagna and Placidus house cusps which determine transit house placements.
    #[serde(rename = "birthTime")]
    pub birth_time: String,
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    #[serde(rename = "coordinateSystem", skip_serializing_if = "Option::is_none")]
    pub coordinate_system: Option<CalculateTransitRequestCoordinateSystem>,
    /// Observer latitude in decimal degrees. Determines Placidus house cusps for natal chart house assignments.
    pub latitude: f64,
    /// Observer longitude in decimal degrees. Affects local sidereal time for Lagna and house calculations.
    pub longitude: f64,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<CalculateTransitRequestTimezone>,
    /// Transit date to analyze in YYYY-MM-DD format. Planetary positions on this date are overlaid on the natal chart.
    #[serde(rename = "transitDate")]
    pub transit_date: String,
    /// Transit time in HH:MM:SS format (24-hour). Affects fast-moving planets like Moon. Defaults to noon.
    #[serde(rename = "transitTime", skip_serializing_if = "Option::is_none")]
    pub transit_time: Option<String>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateTransitRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    CalculateTransitRequestCoordinateSystem {
        Sidereal = "sidereal",
        Tropical = "tropical",
    }
}
/// Response body of `calculateTransitAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponse {
    /// The natal Ascendant (rising sign): the eastern horizon at birth, and the left-hand horizon a chart wheel is oriented to. Reported alongside the cusps because the two are not the same longitude in every house system: Whole Sign puts the first cusp at 0 degrees of the rising sign, which can sit most of a sign away from the Ascendant itself.
    pub ascendant: CalculateTransitAspectsResponseAscendant,
    /// Transit-to-natal aspects with interpretations, strength ratings, and guidance. Each aspect represents a transiting planet forming a geometric angle to a natal planet.
    pub aspects: Vec<CalculateTransitAspectsResponseAspectsItem>,
    /// House system actually used for the natal cusps behind every house number in this response. Differs from the requested system only above the polar circle, where quadrant systems fall back to Whole Sign.
    #[serde(rename = "houseSystem")]
    pub house_system: CalculateTransitAspectsResponseHouseSystem,
    /// The twelve NATAL house cusps that every house number in this response is read against, in the house system named by houseSystem. Same shape as the natal-chart houses array, so a bi-wheel can be drawn with real house sectors from this one response instead of pairing it with a second call.
    pub houses: Vec<CalculateTransitAspectsResponseHousesItem>,
    /// Natal (birth chart) planetary positions used as the baseline for transit aspect comparison, each placed in its natal house.
    #[serde(rename = "natalPlanets")]
    pub natal_planets: Vec<CalculateTransitAspectsResponseNatalPlanetsItem>,
    /// Statistical summary of all transit aspects. The harmonious-to-challenging ratio reveals the overall transit weather, meaning whether the current period favors ease or demands effort.
    pub summary: CalculateTransitAspectsResponseSummary,
    /// Date and time of the transit calculation.
    #[serde(rename = "transitDate")]
    pub transit_date: String,
    /// Current transiting positions in the tropical zodiac, each placed in the natal house it is passing through. All 14 celestial bodies: the 10 classical planets (Sun through Pluto), the lunar nodes, Chiron, and Black Moon Lilith.
    #[serde(rename = "transitPlanets")]
    pub transit_planets: Vec<CalculateTransitAspectsResponseTransitPlanetsItem>,
}
/// One entry of `transitPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseTransitPlanetsItem {
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// Natal house (1-12) this transiting body is currently passing through, read against the natal house cusps. This is the life area the transit activates, so it is driven by the natal birth time and location rather than by the transit moment.
    pub house: i64,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: CalculateTransitAspectsResponseTransitPlanetsItemName,
    /// Body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    CalculateTransitAspectsResponseTransitPlanetsItemName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Statistical summary of all transit aspects. The harmonious-to-challenging ratio reveals the overall transit weather, meaning whether the current period favors ease or demands effort.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseSummary {
    /// Transit aspect counts grouped by aspect type (conjunction, trine, square, opposition, sextile, etc.). Useful for quickly assessing the transit weather.
    #[serde(rename = "byType")]
    pub by_type: CalculateTransitAspectsResponseSummaryByType,
    /// Count of challenging aspects (square, opposition, semi-square, sesquiquadrate). These transits bring tension, growth pressure, and action.
    pub challenging: f64,
    /// Count of harmonious aspects (trine, sextile). These transits bring ease, flow, and opportunity.
    pub harmonious: f64,
    /// Count of neutral aspects (conjunction, minor aspects). Conjunctions blend energies, so the outcome depends on the planets involved.
    pub neutral: f64,
    /// The tightest aspect by orb. This is the most potent transit currently active, and the one most likely to be felt.
    pub strongest: Option<CalculateTransitAspectsResponseSummaryStrongest>,
    /// Total number of transit-to-natal aspects found.
    pub total: f64,
}
/// The tightest aspect by orb. This is the most potent transit currently active, and the one most likely to be felt.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseSummaryStrongest {
    /// Exact angular separation that defines this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    pub interpretation: CalculateTransitAspectsResponseSummaryStrongestInterpretation,
    /// Whether the aspect is applying (planets moving toward exact) or separating (moving apart). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Deviation from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair.
    pub planet1: CalculateTransitAspectsResponseSummaryStrongestPlanet1,
    /// First planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Second planet in the aspect pair.
    pub planet2: CalculateTransitAspectsResponseSummaryStrongestPlanet2,
    /// Second planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Aspect strength percentage (0-100). Based on orb tightness relative to the allowed maximum.
    pub strength: f64,
    /// Rich interpretation of the transit aspect: narrative summary, timing, impact assessment, practical guidance, and keywords.
    #[serde(rename = "transitInterpretation")]
    pub transit_interpretation: CalculateTransitAspectsResponseSummaryStrongestTransitInterpretation,
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    pub r#type: CalculateTransitAspectsResponseSummaryStrongestType,
    /// Aspect type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
string_enum! {
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    CalculateTransitAspectsResponseSummaryStrongestType {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
/// Rich interpretation of the transit aspect: narrative summary, timing, impact assessment, practical guidance, and keywords.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseSummaryStrongestTransitInterpretation {
    /// Practical advice for working with this transit energy.
    pub guidance: String,
    /// Strength and nature of this transit effect: constructive, challenging, or neutral.
    pub impact: String,
    /// Key themes activated by this transit aspect.
    pub keywords: Vec<String>,
    /// Narrative interpretation of this transit aspect and its life impact.
    pub summary: String,
    /// When this transit is most active and how long its influence lasts, localized. The bucket follows the speed of the transiting body: a few hours for the Moon, a few days for the Sun, Mercury, Venus and Mars, one to two weeks for Jupiter, several weeks for Saturn, and an extended period for Uranus, Neptune and Pluto.
    pub timing: String,
}
string_enum! {
    /// Second planet in the aspect pair.
    CalculateTransitAspectsResponseSummaryStrongestPlanet2 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// First planet in the aspect pair.
    CalculateTransitAspectsResponseSummaryStrongestPlanet1 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    CalculateTransitAspectsResponseSummaryStrongestInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// Transit aspect counts grouped by aspect type (conjunction, trine, square, opposition, sextile, etc.). Useful for quickly assessing the transit weather.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseSummaryByType {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// One entry of `natalPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseNatalPlanetsItem {
    /// Degree within the zodiac sign (0-29.999). Indicates how far the planet has progressed through the sign.
    pub degree: f64,
    /// House placement (1-12). Determined by the selected house system and birth location.
    pub house: i64,
    /// Whether the planet appears to move backward from Earth perspective. Retrograde periods signal review and introspection.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Apparent geocentric ecliptic latitude of date, in degrees. Near zero for most planets, varies for the Moon and Pluto, and reaches up to about 5 degrees for Black Moon Lilith (projected from the inclined mean lunar orbit).
    pub latitude: f64,
    /// Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. Primary coordinate for zodiac sign and aspect calculations.
    pub longitude: f64,
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    pub name: CalculateTransitAspectsResponseNatalPlanetsItemName,
    /// Body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign this planet occupies. Determined by 30-degree divisions of ecliptic longitude.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
string_enum! {
    /// Body name. One of the 10 classical planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto), the lunar nodes (North Node, South Node), Chiron, or Black Moon Lilith (the mean lunar apogee). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected.
    CalculateTransitAspectsResponseNatalPlanetsItemName {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseHousesItem {
    /// Degree within the zodiac sign on this cusp (0-29.999).
    pub degree: f64,
    /// Ecliptic longitude of this house cusp in degrees (0-360).
    pub longitude: f64,
    /// House number (1-12). Each house governs specific life themes in Western astrology.
    pub number: i64,
    /// Zodiac sign on this house cusp. Colors the themes of this life area.
    pub sign: String,
    /// Zodiac sign name on this cusp in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
string_enum! {
    /// House system actually used for the natal cusps behind every house number in this response. Differs from the requested system only above the polar circle, where quadrant systems fall back to Whole Sign.
    CalculateTransitAspectsResponseHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseAspectsItem {
    /// Exact angular separation that defines this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    pub interpretation: CalculateTransitAspectsResponseAspectsItemInterpretation,
    /// Whether the aspect is applying (planets moving toward exact) or separating (moving apart). Applying aspects grow stronger.
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Deviation from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair.
    pub planet1: CalculateTransitAspectsResponseAspectsItemPlanet1,
    /// First planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Second planet in the aspect pair.
    pub planet2: CalculateTransitAspectsResponseAspectsItemPlanet2,
    /// Second planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Aspect strength percentage (0-100). Based on orb tightness relative to the allowed maximum.
    pub strength: f64,
    /// Rich interpretation of the transit aspect: narrative summary, timing, impact assessment, practical guidance, and keywords.
    #[serde(rename = "transitInterpretation")]
    pub transit_interpretation: CalculateTransitAspectsResponseAspectsItemTransitInterpretation,
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    pub r#type: CalculateTransitAspectsResponseAspectsItemType,
    /// Aspect type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
string_enum! {
    /// Aspect type. Major: conjunction (0), opposition (180), trine (120), square (90), sextile (60). Minor: semi-sextile, quincunx, semi-square, sesquiquadrate.
    CalculateTransitAspectsResponseAspectsItemType {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
/// Rich interpretation of the transit aspect: narrative summary, timing, impact assessment, practical guidance, and keywords.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseAspectsItemTransitInterpretation {
    /// Practical advice for working with this transit energy.
    pub guidance: String,
    /// Strength and nature of this transit effect: constructive, challenging, or neutral.
    pub impact: String,
    /// Key themes activated by this transit aspect.
    pub keywords: Vec<String>,
    /// Narrative interpretation of this transit aspect and its life impact.
    pub summary: String,
    /// When this transit is most active and how long its influence lasts, localized. The bucket follows the speed of the transiting body: a few hours for the Moon, a few days for the Sun, Mercury, Venus and Mars, one to two weeks for Jupiter, several weeks for Saturn, and an extended period for Uranus, Neptune and Pluto.
    pub timing: String,
}
string_enum! {
    /// Second planet in the aspect pair.
    CalculateTransitAspectsResponseAspectsItemPlanet2 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// First planet in the aspect pair.
    CalculateTransitAspectsResponseAspectsItemPlanet1 {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
string_enum! {
    /// Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
    CalculateTransitAspectsResponseAspectsItemInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// The natal Ascendant (rising sign): the eastern horizon at birth, and the left-hand horizon a chart wheel is oriented to. Reported alongside the cusps because the two are not the same longitude in every house system: Whole Sign puts the first cusp at 0 degrees of the rising sign, which can sit most of a sign away from the Ascendant itself.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsResponseAscendant {
    /// Degree within the Ascendant sign (0-29.999).
    pub degree: f64,
    /// Absolute ecliptic longitude of the natal Ascendant in degrees (0-360).
    pub longitude: f64,
    /// Tropical zodiac sign on the natal Ascendant. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Ascendant sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Request body of `calculateTransitAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsRequest {
    /// Filter to specific aspect types (conjunction, opposition, trine, square, sextile, etc.). Omit to include all aspect types.
    #[serde(rename = "aspectTypes", skip_serializing_if = "Option::is_none")]
    pub aspect_types: Option<Vec<CalculateTransitAspectsRequestAspectTypesItem>>,
    /// House system used to divide the natal chart into 12 houses. Every house number in the response is read against these natal cusps, for the natal bodies and the transiting bodies alike. Placidus (default) is time sensitive and the most widely used in Western astrology. Whole Sign assigns one sign per house. Equal divides into 30 degree segments from the Ascendant. Koch emphasizes higher latitudes. Quadrant systems fall back to Whole Sign above the polar circle.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<CalculateTransitAspectsRequestHouseSystem>,
    /// Minimum aspect strength threshold (0-100). Higher values return only tighter, more potent aspects. Useful for filtering out wide-orb aspects.
    #[serde(rename = "minStrength", skip_serializing_if = "Option::is_none")]
    pub min_strength: Option<f64>,
    /// Natal chart birth details (date, time, location, timezone). Used to calculate natal planetary positions that transits are compared against.
    #[serde(rename = "natalChart")]
    pub natal_chart: CalculateTransitAspectsRequestNatalChart,
    /// Filter to specific transiting planets. Omit to include all planets. Useful for focusing on slow-moving outer planet transits (Saturn, Jupiter, Pluto).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub planets: Option<Vec<CalculateTransitAspectsRequestPlanetsItem>>,
    /// Transit date in YYYY-MM-DD format. Defaults to current date if omitted. Use future dates for predictive transit analysis.
    #[serde(rename = "transitDate", skip_serializing_if = "Option::is_none")]
    pub transit_date: Option<String>,
    /// Transit time in HH:MM:SS format, read on the clock of the natal chart timezone at the transit date (an IANA zone takes the offset in force on that date, daylight saving included). Defaults to 12:00:00 (noon) if omitted.
    #[serde(rename = "transitTime", skip_serializing_if = "Option::is_none")]
    pub transit_time: Option<String>,
}
string_enum! {
    /// One entry of `planets`.
    CalculateTransitAspectsRequestPlanetsItem {
        Sun = "Sun",
        Moon = "Moon",
        Mercury = "Mercury",
        Venus = "Venus",
        Mars = "Mars",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
        NorthNode = "North Node",
        SouthNode = "South Node",
        Chiron = "Chiron",
        BlackMoonLilith = "Black Moon Lilith",
    }
}
/// Natal chart birth details (date, time, location, timezone). Used to calculate natal planetary positions that transits are compared against.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTransitAspectsRequestNatalChart {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateTransitAspectsRequestNatalChartNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: CalculateTransitAspectsRequestNatalChartTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateTransitAspectsRequestNatalChartTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    CalculateTransitAspectsRequestNatalChartNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system used to divide the natal chart into 12 houses. Every house number in the response is read against these natal cusps, for the natal bodies and the transiting bodies alike. Placidus (default) is time sensitive and the most widely used in Western astrology. Whole Sign assigns one sign per house. Equal divides into 30 degree segments from the Ascendant. Koch emphasizes higher latitudes. Quadrant systems fall back to Whole Sign above the polar circle.
    CalculateTransitAspectsRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
string_enum! {
    /// One entry of `aspectTypes`.
    CalculateTransitAspectsRequestAspectTypesItem {
        Conjunction = "CONJUNCTION",
        Opposition = "OPPOSITION",
        Trine = "TRINE",
        Square = "SQUARE",
        Sextile = "SEXTILE",
        SemiSextile = "SEMI_SEXTILE",
        Quincunx = "QUINCUNX",
        SemiSquare = "SEMI_SQUARE",
        Sesquiquadrate = "SESQUIQUADRATE",
    }
}
/// Path and query parameters of `calculateTransitAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateTransitAspectsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateTransitAspectsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateTransitAspectsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateTonalpohualli`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTonalpohualliResponse {
    /// The conventions this answer was computed under, echoed so the result is self describing.
    pub conventions: CalculateTonalpohualliResponseConventions,
    /// Echo of the date the day was resolved from, in proleptic Gregorian.
    pub date: String,
    /// Machine identifier of the tonalpohualli day sign, always lowercase ASCII Nahuatl whatever the lang parameter says, so it stays safe to compare against in code. The twenty ids run cipactli, ehecatl, calli, cuetzpalin, coatl, miquiztli, mazatl, tochtli, atl, itzcuintli, ozomahtli, malinalli, acatl, ocelotl, cuauhtli, cozcacuauhtli, ollin, tecpatl, quiahuitl, xochitl.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// Display name in Nahuatl with the vowel length marks the reference tables print. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// World direction the sign belongs to: east, north, west or south. The twenty run through the four quarters in order, so the direction is a property of the position as much as of the sign.
    pub direction: String,
    /// What the sign name means, translated in place because it is a common noun. Several English renderings are in circulation for some signs and all of them are given rather than one being picked.
    pub gloss: String,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// The sign in one composed sentence. Composed per request from the sign components rather than stored whole.
    pub keynote: String,
    /// The tonalpohualli coefficient, 1 to 13. Structurally the same count as the Maya coefficient and read the same way: a rank it is not.
    pub number: f64,
    /// A plain statement of what this family covers and what it deliberately leaves out. Present on every response so nobody has to guess whether a missing field is an outage or a decision.
    pub scope: String,
    /// The thirteen day period this day belongs to, named by the sign it opens on. No patron deity is returned: the published patron column carries an unresolved disagreement on two of the twenty rows, and a column that is right for eighteen and guessed for two is worse than none.
    pub trecena: CalculateTonalpohualliResponseTrecena,
}
/// The thirteen day period this day belongs to, named by the sign it opens on. No patron deity is returned: the published patron column carries an unresolved disagreement on two of the twenty rows, and a column that is right for eighteen and guessed for two is worse than none.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTonalpohualliResponseTrecena {
    /// Position of this day inside its trecena, 1 to 13. Always equal to the coefficient.
    #[serde(rename = "dayOfTrecena")]
    pub day_of_trecena: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20.
    pub number: f64,
    /// Machine identifier of the day sign the trecena opens on.
    #[serde(rename = "startSign")]
    pub start_sign: String,
    /// Display name of the sign the trecena opens on. A proper noun carried as data.
    #[serde(rename = "startSignName")]
    pub start_sign_name: String,
}
/// The conventions this answer was computed under, echoed so the result is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTonalpohualliResponseConventions {
    /// The correlation this count runs on, anchored on the recorded day 1 Coatl at the fall of Tenochtitlan, 13 August 1521 in the Julian calendar and 23 August 1521 in the proleptic Gregorian calendar this API takes. It is echoed rather than requested because it is not a switch: the anchor is a civil date, so no correlation constant enters the arithmetic, and the published alternatives for this calendar move the solar year alignment rather than the day count. The count was verified to run in step with the Maya count under the default constant, on the anchor and on two modern dates.
    pub correlation: String,
}
/// Path and query parameters of `calculateTonalpohualli`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateTonalpohualliParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateTonalpohualliParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateTonalpohualliParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateSynastry`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponse {
    /// Relationship analysis with strengths, challenges, and overall assessment.
    pub analysis: CalculateSynastryResponseAnalysis,
    /// Overall compatibility score (0-100). Calculated from the balance of harmonious vs challenging inter-chart aspects weighted by planet importance.
    #[serde(rename = "compatibilityScore")]
    pub compatibility_score: f64,
    /// All inter-chart (synastry) aspects between person 1 and person 2 planets. Each aspect reveals a specific dynamic in the relationship.
    #[serde(rename = "interAspects")]
    pub inter_aspects: Vec<CalculateSynastryResponseInterAspectsItem>,
    /// Person 1 chart highlights: Ascendant, Sun sign, Moon sign, and plotting positions.
    pub person1: CalculateSynastryResponsePerson1,
    /// Person 2 chart highlights: Ascendant, Sun sign, Moon sign, and plotting positions.
    pub person2: CalculateSynastryResponsePerson2,
    /// Synastry aspect summary showing the balance of harmonious vs challenging inter-chart connections.
    pub summary: CalculateSynastryResponseSummary,
}
/// Synastry aspect summary showing the balance of harmonious vs challenging inter-chart connections.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponseSummary {
    /// Aspect count grouped by type. Shows which aspect patterns dominate the relationship.
    #[serde(rename = "byType")]
    pub by_type: CalculateSynastryResponseSummaryByType,
    /// Count of challenging aspects (square, opposition). Dynamic tension and growth.
    pub challenging: f64,
    /// Count of harmonious aspects (trine, sextile). Natural ease and flow.
    pub harmonious: f64,
    /// Count of neutral aspects (conjunction). Outcome depends on planets involved.
    pub neutral: f64,
    /// Total number of inter-chart aspects found.
    pub total: f64,
}
/// Aspect count grouped by type. Shows which aspect patterns dominate the relationship.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponseSummaryByType {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// Person 2 chart highlights: Ascendant, Sun sign, Moon sign, and plotting positions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponsePerson2 {
    /// Ascendant position for person 2. Determines first house cusp and outward personality.
    pub ascendant: CalculateSynastryResponsePerson2Ascendant,
    /// Moon sign of this person. Emotional nature and inner needs. Always English, whatever the lang parameter says. Use moonSignLocalized for anything a reader sees.
    #[serde(rename = "moonSign")]
    pub moon_sign: String,
    /// Moon sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "moonSignLocalized", skip_serializing_if = "Option::is_none")]
    pub moon_sign_localized: Option<String>,
    /// Display name if provided in the request.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Planet positions for person 2, enough to render this side of a dual wheel without a second request. Per-planet interpretations are not repeated here; call the natal chart endpoint for an individual reading.
    pub planets: Vec<CalculateSynastryResponsePerson2PlanetsItem>,
    /// Sun sign (zodiac sign) of this person. Core identity and ego expression. Always English, whatever the lang parameter says. Use sunSignLocalized for anything a reader sees.
    #[serde(rename = "sunSign")]
    pub sun_sign: String,
    /// Sun sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "sunSignLocalized", skip_serializing_if = "Option::is_none")]
    pub sun_sign_localized: Option<String>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponsePerson2PlanetsItem {
    /// Degree within the sign (0-29.999).
    pub degree: f64,
    /// House this planet occupies in the person 2 chart (1-12). This is the placement in this person OWN chart. For the house overlay a synastry reading is built on, read houseInOtherChart.
    pub house: f64,
    /// Which of person 1 houses this planet of person 2 falls into (1-12), counted on that person cusps in the same house system. This is the house OVERLAY, the half of synastry the inter-aspects do not cover: an aspect says two bodies are in relationship, an overlay says which area of the other person life this body lands in. Both people get their own overlay, so person 1 planets carry the reverse reading.
    #[serde(rename = "houseInOtherChart")]
    pub house_in_other_chart: f64,
    /// True when the planet is retrograde at this moment.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Ecliptic longitude in degrees (0-360) measured from 0 Aries. This is the value a wheel plots.
    pub longitude: f64,
    /// Planet or point name. Matches the names used in interAspects. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Planet or point name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Zodiac sign containing the planet. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Ascendant position for person 2. Determines first house cusp and outward personality.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponsePerson2Ascendant {
    /// Degree within the Ascendant sign (0-29.999).
    pub degree: f64,
    /// Ascendant (rising sign) of this person. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Ascendant sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Person 1 chart highlights: Ascendant, Sun sign, Moon sign, and plotting positions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponsePerson1 {
    /// Ascendant position for person 1. Determines first house cusp and outward personality.
    pub ascendant: CalculateSynastryResponsePerson1Ascendant,
    /// Moon sign of this person. Emotional nature and inner needs. Always English, whatever the lang parameter says. Use moonSignLocalized for anything a reader sees.
    #[serde(rename = "moonSign")]
    pub moon_sign: String,
    /// Moon sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "moonSignLocalized", skip_serializing_if = "Option::is_none")]
    pub moon_sign_localized: Option<String>,
    /// Display name if provided in the request.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Planet positions for person 1, enough to render this side of a dual wheel without a second request. Per-planet interpretations are not repeated here; call the natal chart endpoint for an individual reading.
    pub planets: Vec<CalculateSynastryResponsePerson1PlanetsItem>,
    /// Sun sign (zodiac sign) of this person. Core identity and ego expression. Always English, whatever the lang parameter says. Use sunSignLocalized for anything a reader sees.
    #[serde(rename = "sunSign")]
    pub sun_sign: String,
    /// Sun sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "sunSignLocalized", skip_serializing_if = "Option::is_none")]
    pub sun_sign_localized: Option<String>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponsePerson1PlanetsItem {
    /// Degree within the sign (0-29.999).
    pub degree: f64,
    /// House this planet occupies in the person 1 chart (1-12). This is the placement in this person OWN chart. For the house overlay a synastry reading is built on, read houseInOtherChart.
    pub house: f64,
    /// Which of person 2 houses this planet of person 1 falls into (1-12), counted on that person cusps in the same house system. This is the house OVERLAY, the half of synastry the inter-aspects do not cover: an aspect says two bodies are in relationship, an overlay says which area of the other person life this body lands in. Both people get their own overlay, so person 2 planets carry the reverse reading.
    #[serde(rename = "houseInOtherChart")]
    pub house_in_other_chart: f64,
    /// True when the planet is retrograde at this moment.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Ecliptic longitude in degrees (0-360) measured from 0 Aries. This is the value a wheel plots.
    pub longitude: f64,
    /// Planet or point name. Matches the names used in interAspects. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Planet or point name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Zodiac sign containing the planet. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Zodiac sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// Ascendant position for person 1. Determines first house cusp and outward personality.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponsePerson1Ascendant {
    /// Degree within the Ascendant sign (0-29.999).
    pub degree: f64,
    /// Ascendant (rising sign) of this person. Always English, whatever the lang parameter says. Use signLocalized for anything a reader sees.
    pub sign: String,
    /// Ascendant sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signLocalized", skip_serializing_if = "Option::is_none")]
    pub sign_localized: Option<String>,
}
/// One entry of `interAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponseInterAspectsItem {
    /// Exact angle of this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature: harmonious, challenging, or neutral.
    pub interpretation: String,
    /// Aspect meaning with relationship-specific context for this planet pair.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub meaning: Option<CalculateSynastryResponseInterAspectsItemMeaning>,
    /// Distance from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// Planet from person 1 chart. Always English, whatever the lang parameter says. Use planet1Localized for anything a reader sees.
    pub planet1: String,
    /// Person 1 planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Planet from person 2 chart. Always English, whatever the lang parameter says. Use planet2Localized for anything a reader sees.
    pub planet2: String,
    /// Person 2 planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Aspect strength percentage (0-100) based on orb tightness.
    pub strength: f64,
    /// Aspect type (CONJUNCTION, OPPOSITION, TRINE, SQUARE, SEXTILE, etc.). Always English, whatever the lang parameter says. Use typeLocalized for anything a reader sees.
    pub r#type: String,
    /// Aspect type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
/// Aspect meaning with relationship-specific context for this planet pair.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponseInterAspectsItemMeaning {
    /// Aspect meaning in short and long form.
    pub description: CalculateSynastryResponseInterAspectsItemMeaningDescription,
    /// Keywords associated with this aspect type.
    pub keywords: Vec<String>,
    /// Aspect display name.
    pub name: String,
    /// How this aspect type is characterised in its reference card, in the requested language, exactly like the name, description and keywords beside it. Branch on the aspect-level interpretation field instead, which is always English.
    pub nature: String,
    /// How this specific planetary pair aspect manifests in relationships.
    #[serde(rename = "relationshipContext")]
    pub relationship_context: String,
}
/// Aspect meaning in short and long form.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponseInterAspectsItemMeaningDescription {
    /// Detailed aspect description.
    pub long: String,
    /// Brief aspect description.
    pub short: String,
}
/// Relationship analysis with strengths, challenges, and overall assessment.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryResponseAnalysis {
    /// Potential friction points and growth opportunities from challenging aspects.
    pub challenges: Vec<String>,
    /// Overall relationship analysis narrative based on aspect patterns.
    pub overall: String,
    /// Areas where the relationship naturally thrives based on harmonious aspects.
    pub strengths: Vec<String>,
}
/// Request body of `calculateSynastry`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryRequest {
    /// House system for both natal charts. Placidus (default), Whole Sign, Equal, or Koch.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<CalculateSynastryRequestHouseSystem>,
    /// The `person1` field.
    pub person1: CalculateSynastryRequestPerson1,
    /// The `person2` field.
    pub person2: CalculateSynastryRequestPerson2,
}
/// The `person2` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryRequestPerson2 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Optional display name for this person. Included in the response for easy identification.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateSynastryRequestPerson2NodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: CalculateSynastryRequestPerson2Timezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateSynastryRequestPerson2Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    CalculateSynastryRequestPerson2NodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// The `person1` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSynastryRequestPerson1 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Optional display name for this person. Included in the response for easy identification.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateSynastryRequestPerson1NodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: CalculateSynastryRequestPerson1Timezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateSynastryRequestPerson1Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    CalculateSynastryRequestPerson1NodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system for both natal charts. Placidus (default), Whole Sign, Equal, or Koch.
    CalculateSynastryRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Path and query parameters of `calculateSynastry`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateSynastryParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateSynastryParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateSynastryParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateSoulUrge`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSoulUrgeResponse {
    /// Every vowel (A, E, I, O, U) of the birth name with its value, grouped by name: each name is summed and reduced, then the names are added and reduced to the final Soul Urge number.
    pub calculation: String,
    /// Indicates whether a Karmic Debt number (13, 14, 16, or 19) appeared during the vowel reduction chain. Karmic Debt in the Soul Urge reveals past-life emotional patterns and unresolved inner desires carried into this lifetime.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
    #[serde(rename = "karmicDebtMeaning", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_meaning: Option<CalculateSoulUrgeResponseKarmicDebtMeaning>,
    /// The specific Karmic Debt number detected during the vowel reduction, if any. Each debt number (13, 14, 16, 19) represents a distinct past-life emotional lesson that influences your deepest desires and motivations.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// The `meaning` field.
    pub meaning: CalculateSoulUrgeResponseMeaning,
    /// Your Soul Urge number (also called Heart Desire number), revealing your innermost motivations and what your soul truly craves. Values range from 1 to 9 for single digits, or 11, 22, 33 for Master Numbers.
    pub number: f64,
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers in the Soul Urge position indicate a soul with amplified spiritual longing and heightened inner sensitivity.
    pub r#type: CalculateSoulUrgeResponseType,
}
string_enum! {
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers in the Soul Urge position indicate a soul with amplified spiritual longing and heightened inner sensitivity.
    CalculateSoulUrgeResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSoulUrgeResponseMeaning {
    /// Career paths that satisfy your deepest emotional needs. Focuses on work that feeds the soul rather than just the resume, aligned with inner fulfillment.
    pub career: String,
    /// Inner shadows and emotional patterns to balance. Explains how each challenge manifests when the Soul Urge energy is overextended or repressed.
    pub challenges: Vec<String>,
    /// Core interpretation of the inner self, hidden desires and emotional landscape. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Core emotional drives and inner motivations for this Soul Urge. Useful for understanding hidden desires, emotional needs, and what truly fulfills someone at the deepest level.
    pub keywords: Vec<String>,
    /// How your Soul Urge shapes what you need from love, friendship, and family. Covers emotional compatibility, attachment style, and the key to feeling truly seen.
    pub relationships: String,
    /// The spiritual hunger at your core. Explores what your soul is seeking in this lifetime and the practices that bring you closest to inner peace and alignment.
    pub spirituality: String,
    /// Emotional superpowers and inner gifts. Each strength describes how it shapes decision-making, relationships, and the pursuit of personal fulfillment.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Soul Urge number. Reveals the deepest inner motivation, such as "The Seeker" for 7 or "The Master Teacher" for 33.
    pub title: String,
}
/// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSoulUrgeResponseKarmicDebtMeaning {
    /// The specific challenge from past lives that must be confronted.
    pub challenge: String,
    /// Title describing the karmic debt theme and core past-life pattern.
    pub description: String,
    /// Practical guidance for resolving the karmic debt.
    pub resolution: String,
}
/// Path and query parameters of `calculateSoulUrge`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateSoulUrgeParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateSoulUrgeParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateSoulUrgeParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateShadbala`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateShadbalaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateShadbalaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateShadbalaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateRoomCompliance`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceResponse {
    /// Which way the building faces, echoed. It does not move the zones: the mandala is aligned to the compass rather than to the building, so a room in the south-east is in the south-east whichever way the front door looks.
    pub facing: String,
    /// One reading per room sent, in the order you sent them.
    pub rooms: Vec<CalculateRoomComplianceResponseRoomsItem>,
    /// A RoxyAPI composite from 0 to 100 over the rooms you sent, not a classical quantity and not a number any verse gives. A rule carrying a verse weighs twice one carrying convention; an ideal placement scores full, an acceptable one half and a placement to avoid nothing. The weights are published in the scoring field so you can recompute it or ignore it.
    pub score: f64,
    /// The weights behind the composite, published rather than hidden so the number is auditable.
    pub scoring: CalculateRoomComplianceResponseScoring,
    /// Every rule this report rests on, so a printed report can carry the citation beside each room.
    pub sources: Vec<CalculateRoomComplianceResponseSourcesItem>,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceResponseSourcesItem {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// The weights behind the composite, published rather than hidden so the number is auditable.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceResponseScoring {
    /// The points a placement to avoid earns, out of one.
    #[serde(rename = "avoidPoints")]
    pub avoid_points: f64,
    /// The weight a rule carrying convention contributes.
    #[serde(rename = "conventionWeight")]
    pub convention_weight: f64,
    /// The points an ideal placement earns, out of one.
    #[serde(rename = "idealPoints")]
    pub ideal_points: f64,
    /// The points an acceptable placement earns, out of one.
    #[serde(rename = "neutralPoints")]
    pub neutral_points: f64,
    /// The weight a rule carrying a chapter and verse contributes.
    #[serde(rename = "sourcedWeight")]
    pub sourced_weight: f64,
}
/// One entry of `rooms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceResponseRoomsItem {
    /// The quarters this room type should be kept out of under its rule.
    #[serde(rename = "avoidDirections")]
    pub avoid_directions: Vec<String>,
    /// The quarters this room type belongs in under its rule.
    #[serde(rename = "idealDirections")]
    pub ideal_directions: Vec<String>,
    /// The placement as a sentence, for a report. Translated in place when lang is set to a language other than English.
    pub reading: String,
    /// What to do when the room is not where it belongs. Present when the verdict is acceptable or avoid, and absent on an ideal placement, which has nothing to fix. Original prose, translated in place when lang is set.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub remedy: Option<String>,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculateRoomComplianceResponseRoomsItemSource,
    /// The room type, echoed in its canonical spelling. Always English, safe to compare against.
    pub r#type: String,
    /// How the placement reads: ideal where the room sits where its rule puts it, avoid where it sits where the rule warns against, acceptable for everything between. Always English, safe to key styling on.
    pub verdict: String,
    /// Which of the nine zones the room occupies: one of the eight compass sectors, or Center for the middle ninth, which is the brahmasthan. Always English.
    pub zone: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceResponseRoomsItemSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// The floor plan to check. Send facing or facingDegrees, never both, and give each room either its quarter or its outline, never both.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceRequest {
    /// Direction the front of the house looks out toward, one of the eight compass sectors. Case and punctuation are folded, so north-east, northeast and NorthEast all resolve. Send this or facingDegrees, never both.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub facing: Option<CalculateRoomComplianceRequestFacing>,
    /// Direction the front of the house looks out toward, as a compass bearing in degrees clockwise from true north, measured looking OUT from the building. The same convention the feng shui facing endpoints use, so a bearing works unchanged across the two domains. Send this or facing, never both.
    #[serde(rename = "facingDegrees", skip_serializing_if = "Option::is_none")]
    pub facing_degrees: Option<f64>,
    /// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
    pub plot: CalculateRoomComplianceRequestPlot,
    /// The rooms to check, 1 to 24 of them. Each carries a type and either the quarter it sits in or its outline.
    pub rooms: Vec<CalculateRoomComplianceRequestRoomsItem>,
}
/// One entry of `rooms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceRequestRoomsItem {
    /// Which quarter of the plot the room sits in, if you already know it. Send this or polygon, never both.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub direction: Option<CalculateRoomComplianceRequestRoomsItemDirection>,
    /// The room outline in plot coordinates, 3 to 16 vertices. The quarter is read from the area centroid against thirds of the plot, so an L-shaped room lands where its mass is rather than where its corners are. Send this or direction, never both.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub polygon: Option<Vec<CalculateRoomComplianceRequestRoomsItemPolygonItem>>,
    /// What the room is, one of puja, kitchen, master-bedroom, bedroom, living, dining, study, toilet, store, staircase, water-storage, entrance. Case and punctuation are folded, so Master Bedroom and master_bedroom both resolve. Four of the twelve carry a verse and the rest carry convention, and the response says which.
    pub r#type: CalculateRoomComplianceRequestRoomsItemType,
}
string_enum! {
    /// What the room is, one of puja, kitchen, master-bedroom, bedroom, living, dining, study, toilet, store, staircase, water-storage, entrance. Case and punctuation are folded, so Master Bedroom and master_bedroom both resolve. Four of the twelve carry a verse and the rest carry convention, and the response says which.
    CalculateRoomComplianceRequestRoomsItemType {
        Puja = "puja",
        Kitchen = "kitchen",
        MasterBedroom = "master-bedroom",
        Bedroom = "bedroom",
        Living = "living",
        Dining = "dining",
        Study = "study",
        Toilet = "toilet",
        Store = "store",
        Staircase = "staircase",
        WaterStorage = "water-storage",
        Entrance = "entrance",
    }
}
/// One entry of `polygon`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceRequestRoomsItemPolygonItem {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
string_enum! {
    /// Which quarter of the plot the room sits in, if you already know it. Send this or polygon, never both.
    CalculateRoomComplianceRequestRoomsItemDirection {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
/// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateRoomComplianceRequestPlot {
    /// North-south extent of a rectangular plot, in the unit given. Send this with width for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub depth: Option<f64>,
    /// The plot outline as 3 to 16 vertices in plot coordinates, x east and y north, in either winding order. Use this instead of width and depth for a plot with a cut corner, an extension or an irregular boundary.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub polygon: Option<Vec<CalculateRoomComplianceRequestPlotPolygonItem>>,
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub unit: Option<CalculateRoomComplianceRequestPlotUnit>,
    /// East-west extent of a rectangular plot, in the unit given. Send this with depth for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub width: Option<f64>,
}
string_enum! {
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    CalculateRoomComplianceRequestPlotUnit {
        Feet = "feet",
        Metres = "metres",
    }
}
/// One entry of `polygon`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateRoomComplianceRequestPlotPolygonItem {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
string_enum! {
    /// Direction the front of the house looks out toward, one of the eight compass sectors. Case and punctuation are folded, so north-east, northeast and NorthEast all resolve. Send this or facingDegrees, never both.
    CalculateRoomComplianceRequestFacing {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
/// Path and query parameters of `calculateRoomCompliance`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateRoomComplianceParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateRoomComplianceParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateRoomComplianceParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `calculateProfile`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateProfileRequest {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateProfileRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateProfileRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateProfileRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateProfileRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateProfile`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateProfileParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateProfileParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateProfileParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculatePlotAnalysis`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponse {
    /// The switches this analysis resolved, echoed so it can be reproduced later.
    pub conventions: CalculatePlotAnalysisResponseConventions,
    /// A verdict per cut quarter, every one of them convention.
    pub cuts: Vec<CalculatePlotAnalysisResponseCutsItem>,
    /// What the outline measures, in the unit you sent.
    pub dimensions: CalculatePlotAnalysisResponseDimensions,
    /// A verdict per extended quarter, every one of them convention. Empty when you named none.
    pub extensions: Vec<CalculatePlotAnalysisResponseExtensionsItem>,
    /// Which way the building looks and which way it sits. Resolved through the same 24 mountain table the feng shui facing endpoints use, so a bearing lands in the same sector on both domains.
    pub orientation: CalculatePlotAnalysisResponseOrientation,
    /// How the proportion reads. The one sourced verdict is the doubled length of 53.11; everything else is a modern band and is labelled convention, because no rank-independent ratio rule exists in the chapter at all.
    pub ratio: CalculatePlotAnalysisResponseRatio,
    /// The convention verdict on the side a road runs, with the sourced obstruction rule quoted in the sources list beside it. Absent when you named no road.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub road: Option<CalculatePlotAnalysisResponseRoad>,
    /// Whether the ground is a regular four sided figure, per 53.115, which gives the death of kinsmen for an irregular shape and barrenness for irregular sides.
    pub shape: CalculatePlotAnalysisResponseShape,
    /// The ground level under both schools. Absent when you sent no low direction, which is how you say the ground is level.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub slope: Option<CalculatePlotAnalysisResponseSlope>,
    /// Every verse and every convention this analysis rests on, so a report can print the citation beside each verdict.
    pub sources: Vec<CalculatePlotAnalysisResponseSourcesItem>,
    /// What the chapter says about standing water in the quarter you named. Only the north and the north-east are favourable, and each of the other six carries its own harm. Absent when you named no water.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub water: Option<CalculatePlotAnalysisResponseWater>,
}
/// What the chapter says about standing water in the quarter you named. Only the north and the north-east are favourable, and each of the other six carries its own harm. Absent when you named no water.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseWater {
    /// How the stated effect reads: auspicious for a gain, inauspicious for a harm, mixed where the text names a gain and a loss together. A RoxyAPI classification of the verse effect rather than a word in the text, and always English so it is safe to key styling on.
    pub auspiciousness: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against and against the same value on the feng shui and I Ching endpoints.
    pub direction: String,
    /// What 53.119 gives for standing water in that quarter, as original prose. Translated in place when lang is set.
    pub effect: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculatePlotAnalysisResponseWaterSource,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseWaterSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseSourcesItem {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// The ground level under both schools. Absent when you sent no low direction, which is how you say the ground is level.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseSlope {
    /// Which of the two readings you asked to lead with, echoed.
    pub chosen: String,
    /// The quarter that therefore stands higher, which is what the verses are stated in terms of.
    #[serde(rename = "highDirection")]
    pub high_direction: String,
    /// The quarter you said the ground falls toward, echoed.
    #[serde(rename = "lowDirection")]
    pub low_direction: String,
    /// The ground level as a sentence, for a report. Translated in place when lang is set.
    pub reading: String,
    /// Both readings, always, whichever school you asked for. The two genuinely disagree where a slight rise on the east or the north is unavoidable: the chapter allows it and the modern rule does not, and publishing both is what lets a practitioner reconcile our verdict with their teacher.
    pub schools: Vec<CalculatePlotAnalysisResponseSlopeSchoolsItem>,
}
/// One entry of `schools`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseSlopeSchoolsItem {
    /// What that reading says follows, as original prose. Translated in place when lang is set.
    pub effect: String,
    /// Which reading this verdict follows. Always English, safe to compare against.
    pub school: String,
    /// How that reading lands: auspicious, permitted where a slight rise is expressly allowed, inauspicious, or not-stated where the chapter gives no effect for a rise in that quarter. Always English.
    pub verdict: String,
    /// The verse the reading rests on. Empty on the modern school, which rests on teaching practice rather than on a verse.
    pub verse: String,
}
/// Whether the ground is a regular four sided figure, per 53.115, which gives the death of kinsmen for an irregular shape and barrenness for irregular sides.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseShape {
    /// What the verdict means, as original prose. Translated in place when lang is set to a language other than English.
    pub effect: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculatePlotAnalysisResponseShapeSource,
    /// How the reading lands. Always English, safe to compare against and to key styling on.
    pub verdict: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseShapeSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// The convention verdict on the side a road runs, with the sourced obstruction rule quoted in the sources list beside it. Absent when you named no road.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseRoad {
    /// How the stated effect reads: auspicious for a gain, inauspicious for a harm, mixed where the text names a gain and a loss together. A RoxyAPI classification of the verse effect rather than a word in the text, and always English so it is safe to key styling on.
    pub auspiciousness: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against and against the same value on the feng shui and I Ching endpoints.
    pub direction: String,
    /// What the reading says, as original prose that names its own basis.
    pub effect: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculatePlotAnalysisResponseRoadSource,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseRoadSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// How the proportion reads. The one sourced verdict is the doubled length of 53.11; everything else is a modern band and is labelled convention, because no rank-independent ratio rule exists in the chapter at all.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseRatio {
    /// What the verdict means, as original prose. Translated in place when lang is set to a language other than English.
    pub effect: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculatePlotAnalysisResponseRatioSource,
    /// How the reading lands. Always English, safe to compare against and to key styling on.
    pub verdict: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseRatioSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// Which way the building looks and which way it sits. Resolved through the same 24 mountain table the feng shui facing endpoints use, so a bearing lands in the same sector on both domains.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseOrientation {
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against and against the same value on the feng shui and I Ching endpoints.
    pub facing: String,
    /// The bearing you sent, echoed. Absent when you named a sector instead of a bearing.
    #[serde(rename = "facingDegrees", skip_serializing_if = "Option::is_none")]
    pub facing_degrees: Option<f64>,
    /// The 15 degree mountain the bearing fell in, in the compass label form the feng shui endpoints use. Absent when you named a sector instead of a bearing, since a sector spans three mountains.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mountain: Option<String>,
    /// The sector directly opposite the facing, which is the back of the building. Always English.
    pub sitting: String,
}
/// One entry of `extensions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseExtensionsItem {
    /// How the stated effect reads: auspicious for a gain, inauspicious for a harm, mixed where the text names a gain and a loss together. A RoxyAPI classification of the verse effect rather than a word in the text, and always English so it is safe to key styling on.
    pub auspiciousness: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against and against the same value on the feng shui and I Ching endpoints.
    pub direction: String,
    /// What the reading says, as original prose that names its own basis.
    pub effect: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculatePlotAnalysisResponseExtensionsItemSource,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseExtensionsItemSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// What the outline measures, in the unit you sent.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseDimensions {
    /// Area enclosed by the outline, in the square of your unit. Computed from the polygon, so a cut corner reduces it.
    pub area: f64,
    /// East-west extent of the plot, in the unit you sent.
    pub breadth: f64,
    /// North-south extent of the plot, in the unit you sent.
    pub length: f64,
    /// Length divided by breadth. The chapter has exactly one rank-independent ratio rule, twice the breadth for a house with an inner hall, and no band at all for anything else.
    pub ratio: f64,
}
/// One entry of `cuts`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseCutsItem {
    /// How the stated effect reads: auspicious for a gain, inauspicious for a harm, mixed where the text names a gain and a loss together. A RoxyAPI classification of the verse effect rather than a word in the text, and always English so it is safe to key styling on.
    pub auspiciousness: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against and against the same value on the feng shui and I Ching endpoints.
    pub direction: String,
    /// What the reading says, as original prose that names its own basis.
    pub effect: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculatePlotAnalysisResponseCutsItemSource,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseCutsItemSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// The switches this analysis resolved, echoed so it can be reproduced later.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisResponseConventions {
    /// Which ground level reading was asked to lead. Echoes the resolved value whether it was sent or defaulted.
    #[serde(rename = "slopeSchool")]
    pub slope_school: String,
}
/// The site to read: the ground, which way the front looks, and whichever of the slope, road, extensions, cuts and water you know. Send facing or facingDegrees, never both, and the same for the two plot forms.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisRequest {
    /// Quarters where a corner is missing from the rectangle. Every cut verdict is convention, for the same reason as the extensions.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub cuts: Option<Vec<CalculatePlotAnalysisRequestCutsItem>>,
    /// Quarters where the plot bulges out beyond a rectangle. Every extension verdict is convention: the chapter states no rule for a named corner and the nearest verses speak of a figure with a limb wanting.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub extensions: Option<Vec<CalculatePlotAnalysisRequestExtensionsItem>>,
    /// Direction the front of the house looks out toward, one of the eight compass sectors. Case and punctuation are folded, so north-east, northeast and NorthEast all resolve. Send this or facingDegrees, never both.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub facing: Option<CalculatePlotAnalysisRequestFacing>,
    /// Direction the front of the house looks out toward, as a compass bearing in degrees clockwise from true north, measured looking OUT from the building. The same convention the feng shui facing endpoints use, so a bearing works unchanged across the two domains. Send this or facing, never both.
    #[serde(rename = "facingDegrees", skip_serializing_if = "Option::is_none")]
    pub facing_degrees: Option<f64>,
    /// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
    pub plot: CalculatePlotAnalysisRequestPlot,
    /// Which side a road runs along. The verdict is convention: the chapter states no rule for the side a road is on, only that an obstruction facing the gate brings misery unless it lies beyond twice the height of the house.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub road: Option<CalculatePlotAnalysisRequestRoad>,
    /// Which quarter of the plot the ground falls toward, that is where the LOW point is. The chapter states its rules in terms of the side that stands HIGHER, so the opposite of this value is what the verses are read against, and both are returned. Omit it if the ground is level.
    #[serde(rename = "slopeLowDirection", skip_serializing_if = "Option::is_none")]
    pub slope_low_direction: Option<CalculatePlotAnalysisRequestSlopeLowDirection>,
    /// Which reading of the ground level to lead with. brihat-samhita applies verses 115 to 117 as written, where a higher north-east is a loss, a higher east or north is permitted when level ground is unavoidable and still carries its stated cost, and a higher south or west carries its cost with no allowance. modern applies the widely taught rule that the north-east must be the lowest point, which agrees with verse 115 and contradicts the verse 116 allowance. Both readings are returned whichever you choose, so the disagreement is visible rather than hidden. Defaults to brihat-samhita.
    #[serde(rename = "slopeSchool", skip_serializing_if = "Option::is_none")]
    pub slope_school: Option<CalculatePlotAnalysisRequestSlopeSchool>,
    /// Which quarter holds standing water, a well, a tank or a sump. This one IS sourced: 53.119 gives a distinct effect for each of the eight directions and calls only the north and the north-east favourable.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub water: Option<CalculatePlotAnalysisRequestWater>,
}
string_enum! {
    /// Which quarter holds standing water, a well, a tank or a sump. This one IS sourced: 53.119 gives a distinct effect for each of the eight directions and calls only the north and the north-east favourable.
    CalculatePlotAnalysisRequestWater {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
string_enum! {
    /// Which reading of the ground level to lead with. brihat-samhita applies verses 115 to 117 as written, where a higher north-east is a loss, a higher east or north is permitted when level ground is unavoidable and still carries its stated cost, and a higher south or west carries its cost with no allowance. modern applies the widely taught rule that the north-east must be the lowest point, which agrees with verse 115 and contradicts the verse 116 allowance. Both readings are returned whichever you choose, so the disagreement is visible rather than hidden. Defaults to brihat-samhita.
    CalculatePlotAnalysisRequestSlopeSchool {
        BrihatSamhita = "brihat-samhita",
        Modern = "modern",
    }
}
string_enum! {
    /// Which quarter of the plot the ground falls toward, that is where the LOW point is. The chapter states its rules in terms of the side that stands HIGHER, so the opposite of this value is what the verses are read against, and both are returned. Omit it if the ground is level.
    CalculatePlotAnalysisRequestSlopeLowDirection {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
string_enum! {
    /// Which side a road runs along. The verdict is convention: the chapter states no rule for the side a road is on, only that an obstruction facing the gate brings misery unless it lies beyond twice the height of the house.
    CalculatePlotAnalysisRequestRoad {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
/// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisRequestPlot {
    /// North-south extent of a rectangular plot, in the unit given. Send this with width for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub depth: Option<f64>,
    /// The plot outline as 3 to 16 vertices in plot coordinates, x east and y north, in either winding order. Use this instead of width and depth for a plot with a cut corner, an extension or an irregular boundary.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub polygon: Option<Vec<CalculatePlotAnalysisRequestPlotPolygonItem>>,
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub unit: Option<CalculatePlotAnalysisRequestPlotUnit>,
    /// East-west extent of a rectangular plot, in the unit given. Send this with depth for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub width: Option<f64>,
}
string_enum! {
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    CalculatePlotAnalysisRequestPlotUnit {
        Feet = "feet",
        Metres = "metres",
    }
}
/// One entry of `polygon`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisRequestPlotPolygonItem {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
string_enum! {
    /// Direction the front of the house looks out toward, one of the eight compass sectors. Case and punctuation are folded, so north-east, northeast and NorthEast all resolve. Send this or facingDegrees, never both.
    CalculatePlotAnalysisRequestFacing {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
string_enum! {
    /// One entry of `extensions`.
    CalculatePlotAnalysisRequestExtensionsItem {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
string_enum! {
    /// One entry of `cuts`.
    CalculatePlotAnalysisRequestCutsItem {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
/// Path and query parameters of `calculatePlotAnalysis`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePlotAnalysisParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculatePlotAnalysisParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculatePlotAnalysisParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculatePersonality`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalityResponse {
    /// Every consonant of the birth name with its value, grouped by name: each name is summed and reduced, then the names are added and reduced to the final Personality number.
    pub calculation: String,
    /// Indicates whether a Karmic Debt number (13, 14, 16, or 19) appeared during the consonant reduction chain. Karmic Debt in the Personality position reveals past-life patterns that influence how others perceive you and the social challenges you must overcome.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
    #[serde(rename = "karmicDebtMeaning", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_meaning: Option<CalculatePersonalityResponseKarmicDebtMeaning>,
    /// The specific Karmic Debt number detected during the consonant reduction, if any. Each debt number (13, 14, 16, 19) represents a distinct past-life lesson that shapes your public image and social interactions.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// The `meaning` field.
    pub meaning: CalculatePersonalityResponseMeaning,
    /// Your Personality number, derived from the consonants in your birth name. Reveals how others perceive you, your outer persona, and the first impression you project. Values range from 1 to 9 for single digits, or 11, 22, 33 for Master Numbers.
    pub number: f64,
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers in the Personality position indicate a powerful outer presence that others immediately sense, carrying heightened charisma and public influence.
    pub r#type: CalculatePersonalityResponseType,
}
string_enum! {
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers in the Personality position indicate a powerful outer presence that others immediately sense, carrying heightened charisma and public influence.
    CalculatePersonalityResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalityResponseMeaning {
    /// How your outward presence shapes professional opportunities. Covers the industries, roles, and environments where your public image creates the greatest advantage.
    pub career: String,
    /// Blind spots in your public persona. Patterns others notice that you may not, including defense mechanisms and image-management tendencies that can limit authentic connection.
    pub challenges: Vec<String>,
    /// Core interpretation of the outer personality, social presence and the image projected to the world. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Traits that define your public persona and first impression. These are the qualities others perceive before they get to know the real you.
    pub keywords: Vec<String>,
    /// First impressions in love and social dynamics. Explores how your Personality number attracts certain partners, sets relationship expectations, and influences group dynamics.
    pub relationships: String,
    /// The spiritual energy you radiate to others. Explores how your outer presence serves as a channel for deeper purpose, and what your public path reveals about your soul mission.
    pub spirituality: String,
    /// Your strongest social assets and public-facing gifts. These qualities shape how you are received in professional settings, social gatherings, and first meetings.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Personality number. Represents the outer mask you show the world, such as "The Builder" for 4 or "The Powerhouse" for 8.
    pub title: String,
}
/// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalityResponseKarmicDebtMeaning {
    /// The specific challenge from past lives that must be confronted.
    pub challenge: String,
    /// Title describing the karmic debt theme and core past-life pattern.
    pub description: String,
    /// Practical guidance for resolving the karmic debt.
    pub resolution: String,
}
/// Path and query parameters of `calculatePersonality`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePersonalityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculatePersonalityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculatePersonalityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculatePersonalYear`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePersonalYearParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculatePersonalYearParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculatePersonalYearParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculatePersonalMonth`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePersonalMonthParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculatePersonalMonthParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculatePersonalMonthParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculatePersonalDay`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePersonalDayParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculatePersonalDayParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculatePersonalDayParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculatePenta`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePentaResponse {
    /// The six channels of the Penta with their defined Strength state and which members supply each gate. Three upper channels run G to Throat (The Alpha, Inspiration, The Prodigal); three lower channels run G to Sacral (Rhythm, The Beat, Discovery).
    pub channels: Vec<CalculatePentaResponseChannelsItem>,
    /// The twelve Penta gates with their filled state and which members hold each.
    pub gates: Vec<CalculatePentaResponseGatesItem>,
    /// Number of people in the group, always between 3 and 5.
    #[serde(rename = "memberCount")]
    pub member_count: f64,
    /// Group-level rollup of the Penta channels and gates.
    pub summary: CalculatePentaResponseSummary,
}
/// Group-level rollup of the Penta channels and gates.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePentaResponseSummary {
    /// Whether the 2/14 Channel of the Beat, the material core of the Penta, is defined across the group.
    #[serde(rename = "coreDefined")]
    pub core_defined: bool,
    /// Count of the six Penta channels that are defined Strengths in the group.
    #[serde(rename = "definedChannels")]
    pub defined_channels: f64,
    /// Count of the twelve Penta gates filled by at least one member.
    #[serde(rename = "filledGates")]
    pub filled_gates: f64,
    /// Penta gates held by no member. A non-empty list flags the functional gaps in the group.
    #[serde(rename = "gapGates")]
    pub gap_gates: Vec<f64>,
}
/// One entry of `gates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePentaResponseGatesItem {
    /// Whether at least one member holds this gate. A gate held by nobody is a gap that conditions the group to compensate for the missing role.
    pub filled: bool,
    /// Penta gate number. One of 1, 2, 5, 7, 8, 13, 14, 15, 29, 31, 33, 46.
    pub gate: f64,
    /// Human Design keynote name of the gate, describing the role it brings to the group. Always English, whatever the lang parameter says. Use gateNameLocalized for anything a reader sees.
    #[serde(rename = "gateName")]
    pub gate_name: String,
    /// Gate keynote name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "gateNameLocalized", skip_serializing_if = "Option::is_none")]
    pub gate_name_localized: Option<String>,
    /// Zero-based indices of the members whose chart holds this gate. Empty when the gate is a gap.
    #[serde(rename = "heldBy")]
    pub held_by: Vec<f64>,
}
/// One entry of `channels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePentaResponseChannelsItem {
    /// Circuit family of the channel. One of Individual, Collective, Tribal. Always English, whatever the lang parameter says. Use circuitLocalized for anything a reader sees.
    pub circuit: String,
    /// Circuit family name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "circuitLocalized", skip_serializing_if = "Option::is_none")]
    pub circuit_localized: Option<String>,
    /// Whether the channel is a defined Strength: both of its gates are present somewhere in the group, so the function it governs has no gap.
    pub defined: bool,
    /// First gate of the Penta channel.
    #[serde(rename = "gateA")]
    pub gate_a: f64,
    /// Zero-based indices of the members whose chart holds gate A, in member order.
    #[serde(rename = "gateAHeldBy")]
    pub gate_aheld_by: Vec<f64>,
    /// Second gate of the Penta channel.
    #[serde(rename = "gateB")]
    pub gate_b: f64,
    /// Zero-based indices of the members whose chart holds gate B, in member order.
    #[serde(rename = "gateBHeldBy")]
    pub gate_bheld_by: Vec<f64>,
    /// Whether this is the 2/14 Channel of the Beat, the material core of the Penta vortex: gate 2 the direction for resources, gate 14 the resources themselves.
    #[serde(rename = "isCore")]
    pub is_core: bool,
    /// Name of the Penta channel. One of The Alpha, Inspiration, The Prodigal, Rhythm, The Beat, Discovery. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Penta channel name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Position of the channel in the Penta. upper channels run from the G Center to the Throat and carry the leadership and how-the-group-presents roles. lower channels run from the G Center to the Sacral and carry the managed, generative, resource roles.
    pub position: String,
}
/// Request body of `calculatePenta`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePentaRequest {
    /// Birth moments of the three to five people in the group. Below three no Penta forms; above five a second Penta emerges.
    pub members: Vec<CalculatePentaRequestMembersItem>,
}
/// One entry of `members`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePentaRequestMembersItem {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculatePentaRequestMembersItemNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculatePentaRequestMembersItemTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculatePentaRequestMembersItemTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculatePentaRequestMembersItemNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculatePenta`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePentaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculatePentaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculatePentaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateParallels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateParallelsResponse {
    /// Datetime used for the declination calculation, echoed as the local civil date and time supplied in the request (YYYY-MM-DDTHH:MM:SS). The timezone field of the request is what converts it to the instant the declinations are computed for.
    pub datetime: String,
    /// All parallel and contraparallel aspects found within the specified orb. Parallels are powerful hidden aspects often overlooked in standard chart analysis.
    pub parallels: Vec<CalculateParallelsResponseParallelsItem>,
    /// Declination and right ascension for each planet at the given moment.
    pub planets: Vec<CalculateParallelsResponsePlanetsItem>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateParallelsResponsePlanetsItem {
    /// Celestial declination in degrees. Positive = north of celestial equator, negative = south.
    pub declination: f64,
    /// Planet name (Sun through Saturn, the 7 visible planets).
    pub name: String,
    /// Right ascension in degrees (0-360) along the celestial equator.
    #[serde(rename = "rightAscension")]
    pub right_ascension: f64,
}
/// One entry of `parallels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateParallelsResponseParallelsItem {
    /// Declination of the first planet in degrees.
    pub dec1: f64,
    /// Declination of the second planet in degrees.
    pub dec2: f64,
    /// Angular difference from exact parallel/contraparallel in degrees. Smaller = stronger.
    pub orb: f64,
    /// First planet in the parallel/contraparallel pair.
    pub planet1: String,
    /// Second planet in the pair.
    pub planet2: String,
    /// Parallel = same declination (acts like conjunction). Contraparallel = opposite declination (acts like opposition).
    pub r#type: CalculateParallelsResponseParallelsItemType,
}
string_enum! {
    /// Parallel = same declination (acts like conjunction). Contraparallel = opposite declination (acts like opposition).
    CalculateParallelsResponseParallelsItemType {
        Parallel = "parallel",
        Contraparallel = "contraparallel",
    }
}
/// Request body of `calculateParallels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateParallelsRequest {
    /// Date in YYYY-MM-DD format. Planetary declinations are calculated for this date to find parallel and contraparallel aspects.
    pub date: String,
    /// Birth latitude in decimal degrees, part of the birth record. Declinations are geocentric, as every published ephemeris prints them, so it does not move them.
    pub latitude: f64,
    /// Birth longitude in decimal degrees, part of the birth record. Declinations are geocentric, so it does not move them; the instant comes from date, time and timezone.
    pub longitude: f64,
    /// Orb in degrees for parallel/contraparallel detection. Defaults to 1.5°.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub orb: Option<f64>,
    /// Time in HH:MM:SS format (24-hour). Exact time affects declination values, especially for the fast-moving Moon.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<CalculateParallelsRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateParallelsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Path and query parameters of `calculatePapasamyam`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculatePapasamyamParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculatePapasamyamParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculatePapasamyamParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateNumCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityResponse {
    /// Practical relationship advice
    pub advice: String,
    /// Potential relationship challenges
    pub challenges: Vec<String>,
    /// The `expression` field.
    pub expression: CalculateNumCompatibilityResponseExpression,
    /// The `lifePath` field.
    #[serde(rename = "lifePath")]
    pub life_path: CalculateNumCompatibilityResponseLifePath,
    /// Overall compatibility score: 50% Life Path, 30% Expression and 20% Soul Urge pair scores, rounded. Every pair score runs 50 to 100, so the overall score does too.
    #[serde(rename = "overallScore")]
    pub overall_score: f64,
    /// Compatibility rating from overallScore: Highly Compatible (90 and up), Very Compatible (75 to 89), Compatible (60 to 74) or Moderately Compatible (50 to 59). The scale also names Challenging below 45, which no pair of core numbers reaches.
    pub rating: String,
    /// The `soulUrge` field.
    #[serde(rename = "soulUrge")]
    pub soul_urge: CalculateNumCompatibilityResponseSoulUrge,
    /// Key relationship strengths
    pub strengths: Vec<String>,
}
/// The `soulUrge` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityResponseSoulUrge {
    /// Soul Urge compatibility score (50-100)
    pub compatibility: f64,
    /// Detailed Soul Urge compatibility analysis
    pub description: String,
    /// Person 1 Soul Urge number
    pub person1: f64,
    /// Person 2 Soul Urge number
    pub person2: f64,
}
/// The `lifePath` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityResponseLifePath {
    /// Life Path compatibility score (50-100)
    pub compatibility: f64,
    /// Detailed Life Path compatibility analysis
    pub description: String,
    /// Person 1 Life Path number
    pub person1: f64,
    /// Person 2 Life Path number
    pub person2: f64,
}
/// The `expression` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityResponseExpression {
    /// Expression compatibility score (50-100)
    pub compatibility: f64,
    /// Detailed Expression compatibility analysis
    pub description: String,
    /// Person 1 Expression number
    pub person1: f64,
    /// Person 2 Expression number
    pub person2: f64,
}
/// Request body of `calculateNumCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityRequest {
    /// The `person1` field.
    pub person1: CalculateNumCompatibilityRequestPerson1,
    /// The `person2` field.
    pub person2: CalculateNumCompatibilityRequestPerson2,
}
/// The `person2` value.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityRequestPerson2 {
    /// Birth day (1-31). Required with year and month for automatic Life Path calculation.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub day: Option<i64>,
    /// Person 2 Expression number (1-9, 11, 22, 33). Optional if fullName is provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub expression: Option<i64>,
    /// Full birth name to calculate Expression and Soul Urge numbers automatically. Use instead of passing expression and soulUrge directly.
    #[serde(rename = "fullName", skip_serializing_if = "Option::is_none")]
    pub full_name: Option<String>,
    /// Person 2 Life Path number (1-9, 11, 22, 33). Optional if year, month, day are provided.
    #[serde(rename = "lifePath", skip_serializing_if = "Option::is_none")]
    pub life_path: Option<i64>,
    /// Birth month (1-12). Required with year and day for automatic Life Path calculation.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Person 2 Soul Urge number (1-9, 11, 22, 33). Optional if fullName is provided.
    #[serde(rename = "soulUrge", skip_serializing_if = "Option::is_none")]
    pub soul_urge: Option<i64>,
    /// Birth year to calculate Life Path automatically. Use with month and day instead of passing lifePath directly.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// The `person1` value.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityRequestPerson1 {
    /// Birth day (1-31). Required with year and month for automatic Life Path calculation.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub day: Option<i64>,
    /// Person 1 Expression number (1-9, 11, 22, 33). Optional if fullName is provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub expression: Option<i64>,
    /// Full birth name to calculate Expression and Soul Urge numbers automatically. Use instead of passing expression and soulUrge directly.
    #[serde(rename = "fullName", skip_serializing_if = "Option::is_none")]
    pub full_name: Option<String>,
    /// Person 1 Life Path number (1-9, 11, 22, 33). Optional if year, month, day are provided.
    #[serde(rename = "lifePath", skip_serializing_if = "Option::is_none")]
    pub life_path: Option<i64>,
    /// Birth month (1-12). Required with year and day for automatic Life Path calculation.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Person 1 Soul Urge number (1-9, 11, 22, 33). Optional if fullName is provided.
    #[serde(rename = "soulUrge", skip_serializing_if = "Option::is_none")]
    pub soul_urge: Option<i64>,
    /// Birth year to calculate Life Path automatically. Use with month and day instead of passing lifePath directly.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Path and query parameters of `calculateNumCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateNumCompatibilityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateNumCompatibilityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateNumCompatibilityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateNameCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityResponse {
    /// Which band the composite falls in: high, moderate or low. Derived from the score, always English.
    pub band: String,
    /// Every component of the composite with its own maximum, so a caller who disagrees with the weighting can recompute rather than argue.
    pub components: Vec<CalculateNameCompatibilityResponseComponentsItem>,
    /// The `conventions` field.
    pub conventions: CalculateNameCompatibilityResponseConventions,
    /// The `first` field.
    pub first: CalculateNameCompatibilityResponseFirst,
    /// The composed reading, in the requested language. It states that the score is ours.
    pub reading: String,
    /// The composite, 0 to 100. A RoxyAPI composite, not a classical measure: no source scores two names against each other, so the components below are published and the number is derivable from them.
    pub score: f64,
    /// The `second` field.
    pub second: CalculateNameCompatibilityResponseSecond,
    /// Every cipher on which the two names give the same number. Empty when they share none, which happens often and carries no traditional reading of its own.
    #[serde(rename = "sharedValues")]
    pub shared_values: Vec<CalculateNameCompatibilityResponseSharedValuesItem>,
}
/// One entry of `sharedValues`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityResponseSharedValuesItem {
    /// Machine identifier of the cipher the two names agree on.
    pub cipher: String,
    /// Display name of that cipher.
    pub name: String,
    /// The value both names give under it.
    pub value: f64,
}
/// The `second` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityResponseSecond {
    /// The Hebrew spelling this side was scored from.
    pub hebrew: String,
    /// The name as sent, in whichever script it was sent in.
    pub input: String,
    /// The standard value reduced by repeated digit sum, stopping at ten.
    pub reduced: f64,
    /// Latin transcription of that spelling, from the one mechanical letter map.
    pub romanization: String,
    /// Why this spelling was chosen over the other parses.
    pub rule: String,
    /// Machine identifier of the sephirah the reduced value points at.
    pub sephirah: String,
    /// The English gloss of that sephirah, in the requested language.
    #[serde(rename = "sephirahEnglish")]
    pub sephirah_english: String,
    /// Value under the standard reading, which is the relation the tradition works with.
    pub standard: f64,
}
/// The `first` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityResponseFirst {
    /// The Hebrew spelling this side was scored from.
    pub hebrew: String,
    /// The name as sent, in whichever script it was sent in.
    pub input: String,
    /// The standard value reduced by repeated digit sum, stopping at ten.
    pub reduced: f64,
    /// Latin transcription of that spelling, from the one mechanical letter map.
    pub romanization: String,
    /// Why this spelling was chosen over the other parses.
    pub rule: String,
    /// Machine identifier of the sephirah the reduced value points at.
    pub sephirah: String,
    /// The English gloss of that sephirah, in the requested language.
    #[serde(rename = "sephirahEnglish")]
    pub sephirah_english: String,
    /// Value under the standard reading, which is the relation the tradition works with.
    pub standard: f64,
}
/// The `conventions` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityResponseConventions {
    /// Which of the two published methods the name mispar gadol was read as.
    #[serde(rename = "misparGadol")]
    pub mispar_gadol: String,
    /// The Latin to Hebrew scheme applied. Absent when the caller sent Hebrew directly.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub transliteration: Option<String>,
}
/// One entry of `components`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityResponseComponentsItem {
    /// Machine identifier of the component.
    pub id: String,
    /// Whether the component found anything at all.
    pub matched: bool,
    /// The most it can contribute. The four maxima sum to 100, so the weighting is visible rather than implied.
    pub maximum: f64,
    /// What this component contributed.
    pub points: f64,
}
/// The two names to compare. Each side takes the Latin field or the Hebrew one, never both: which one you send decides whether a transliteration step runs for that side.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityRequest {
    /// First name in Latin script. Send firstNameHebrew instead to control the spelling.
    #[serde(rename = "firstName", skip_serializing_if = "Option::is_none")]
    pub first_name: Option<String>,
    /// First name already in Hebrew, which skips the transliteration step.
    #[serde(rename = "firstNameHebrew", skip_serializing_if = "Option::is_none")]
    pub first_name_hebrew: Option<String>,
    /// Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
    #[serde(rename = "misparGadol", skip_serializing_if = "Option::is_none")]
    pub mispar_gadol: Option<CalculateNameCompatibilityRequestMisparGadol>,
    /// Second name in Latin script. Send secondNameHebrew instead to control the spelling.
    #[serde(rename = "secondName", skip_serializing_if = "Option::is_none")]
    pub second_name: Option<String>,
    /// Second name already in Hebrew, which skips the transliteration step.
    #[serde(rename = "secondNameHebrew", skip_serializing_if = "Option::is_none")]
    pub second_name_hebrew: Option<String>,
    /// How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub transliteration: Option<CalculateNameCompatibilityRequestTransliteration>,
}
string_enum! {
    /// How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
    CalculateNameCompatibilityRequestTransliteration {
        LetterMapMathers = "letter-map-mathers",
        LetterMapModern = "letter-map-modern",
    }
}
string_enum! {
    /// Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
    CalculateNameCompatibilityRequestMisparGadol {
        Finals500900 = "finals-500-900",
        Milui = "milui",
    }
}
/// Path and query parameters of `calculateNameCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateNameCompatibilityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateNameCompatibilityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateNameCompatibilityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateMayanCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityResponse {
    /// The five structural ties, in a fixed order, each either holding or not. Every one of them is a property of the count itself or of the measured daykeeper cross convention; what is ours is only the decision to weigh them together.
    pub components: Vec<CalculateMayanCompatibilityResponseComponentsItem>,
    /// The conventions this comparison was computed under. The direction scheme is echoed because one of the five ties is read off the world directions, which the two schemes assign differently.
    pub conventions: CalculateMayanCompatibilityResponseConventions,
    /// How far apart the two days sit in the 260 day round, taken the short way round, so the value never exceeds 130. Two people on the same nawal are 0 apart.
    #[serde(rename = "daysApart")]
    pub days_apart: f64,
    /// The Tzolkin day the first person was born on.
    #[serde(rename = "personA")]
    pub person_a: CalculateMayanCompatibilityResponsePersonA,
    /// The Tzolkin day the second person was born on.
    #[serde(rename = "personB")]
    pub person_b: CalculateMayanCompatibilityResponsePersonB,
    /// A RoxyAPI COMPOSITE, not a traditional rating. No classical source rates a pair of Tzolkin days, so this number is a floor of 45 plus the weight of every tie that holds, capped at 100. The components above are what is sourced; this is what we built out of them, and it is labelled so that nobody cites it as tradition.
    pub score: f64,
    /// One composed sentence naming both nawals and the distance between them, for a headline above the component list. When no tie holds at all it says so, because that is the common case and a blank component list is not self explanatory.
    pub summary: String,
    /// Coarse band the composite score falls in: excellent, strong, workable or reserved. Built for badges and filters that should not hard code a threshold against a number whose weighting may be tuned.
    pub verdict: String,
}
/// The Tzolkin day the second person was born on.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityResponsePersonB {
    /// Echo of the second birth date.
    pub date: String,
    /// Machine identifier of the Tzolkin day sign, always lowercase ASCII Yucatec whatever the lang parameter says, so it stays safe to compare against in code. The twenty ids run imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// The sixteenth century Yucatec spelling of the same sign, which is the form most printed reference tables and older sources use. Useful for matching a name a reader copied out of a book.
    #[serde(rename = "daySignClassic")]
    pub day_sign_classic: String,
    /// The Kʼicheʼ name of the same day from the living highland daykeeping tradition, which is the vocabulary a nawal reading in Guatemala uses. A parallel naming tradition rather than a translation, so it is identical under every lang.
    #[serde(rename = "daySignKiche")]
    pub day_sign_kiche: String,
    /// Display name of the day sign in the standard Maya orthography, where the ejective is written with a modifier letter rather than a typewriter quote. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// The Tzolkin coefficient, 1 to 13. This is the classical day number that runs alongside the twenty signs; it is not a rank and a 13 is not better than a 1. Nine of the thirteen carry a recorded character, which is returned separately.
    pub number: f64,
    /// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
    pub trecena: CalculateMayanCompatibilityResponsePersonBTrecena,
}
/// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityResponsePersonBTrecena {
    /// Position of this day inside its trecena, 1 to 13. Always equal to the coefficient, because a trecena is exactly one run of the coefficient.
    #[serde(rename = "dayOfTrecena")]
    pub day_of_trecena: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20. Trecena 1 opens on 1 Imix.
    pub number: f64,
    /// Machine identifier of the day sign the trecena opens on, which the tradition reads as colouring all thirteen of its days.
    #[serde(rename = "rulingSign")]
    pub ruling_sign: String,
    /// Display name of the sign the trecena opens on. A proper noun carried as data.
    #[serde(rename = "rulingSignName")]
    pub ruling_sign_name: String,
}
/// The Tzolkin day the first person was born on.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityResponsePersonA {
    /// Echo of the first birth date.
    pub date: String,
    /// Machine identifier of the Tzolkin day sign, always lowercase ASCII Yucatec whatever the lang parameter says, so it stays safe to compare against in code. The twenty ids run imix, ik, akbal, kan, chikchan, kimi, manik, lamat, muluk, ok, chuwen, eb, ben, ix, men, kib, kaban, etznab, kawak, ajaw.
    #[serde(rename = "daySign")]
    pub day_sign: String,
    /// The sixteenth century Yucatec spelling of the same sign, which is the form most printed reference tables and older sources use. Useful for matching a name a reader copied out of a book.
    #[serde(rename = "daySignClassic")]
    pub day_sign_classic: String,
    /// The Kʼicheʼ name of the same day from the living highland daykeeping tradition, which is the vocabulary a nawal reading in Guatemala uses. A parallel naming tradition rather than a translation, so it is identical under every lang.
    #[serde(rename = "daySignKiche")]
    pub day_sign_kiche: String,
    /// Display name of the day sign in the standard Maya orthography, where the ejective is written with a modifier letter rather than a typewriter quote. A proper noun carried as data, so it is identical under every lang.
    #[serde(rename = "daySignName")]
    pub day_sign_name: String,
    /// The Tzolkin coefficient, 1 to 13. This is the classical day number that runs alongside the twenty signs; it is not a rank and a 13 is not better than a 1. Nine of the thirteen carry a recorded character, which is returned separately.
    pub number: f64,
    /// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
    pub trecena: CalculateMayanCompatibilityResponsePersonATrecena,
}
/// The thirteen day period this day belongs to. The trecena is the unit a daykeeper reads a run of days in, and the sign it opens on is what gives the whole period its character.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityResponsePersonATrecena {
    /// Position of this day inside its trecena, 1 to 13. Always equal to the coefficient, because a trecena is exactly one run of the coefficient.
    #[serde(rename = "dayOfTrecena")]
    pub day_of_trecena: f64,
    /// Which of the twenty thirteen day periods this day falls in, 1 to 20. Trecena 1 opens on 1 Imix.
    pub number: f64,
    /// Machine identifier of the day sign the trecena opens on, which the tradition reads as colouring all thirteen of its days.
    #[serde(rename = "rulingSign")]
    pub ruling_sign: String,
    /// Display name of the sign the trecena opens on. A proper noun carried as data.
    #[serde(rename = "rulingSignName")]
    pub ruling_sign_name: String,
}
/// The conventions this comparison was computed under. The direction scheme is echoed because one of the five ties is read off the world directions, which the two schemes assign differently.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityResponseConventions {
    /// The correlation constant actually applied, whether it was requested or defaulted. Store this beside any Maya date you persist: the same civil date resolves to a different Long Count under each constant, and a date with no correlation recorded cannot be reproduced.
    pub correlation: String,
    /// The direction reading actually applied. The two readings sit one quarter turn apart, so a direction stored without this value is ambiguous.
    #[serde(rename = "directionScheme")]
    pub direction_scheme: String,
}
/// One entry of `components`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityResponseComponentsItem {
    /// Whether this tie holds for the pair. Every component is returned whether it holds or not, so a caller can render the misses as well as the hits.
    pub holds: bool,
    /// Which tie this row reports: same-sign, same-trecena, same-number, cross-partner or shared-direction. Always English so it stays safe to switch on.
    pub id: String,
    /// One line on what this tie means. Present ONLY when the tie holds, so a caller can render the hits without filtering and a miss carries no sentence to explain away.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub reading: Option<String>,
    /// Points this tie contributes to the score when it holds, and nothing when it does not. The weights are published rather than hidden precisely because the weighting is ours rather than traditional.
    pub weight: f64,
}
/// Request body of `calculateMayanCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityRequest {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub correlation: Option<CalculateMayanCompatibilityRequestCorrelation>,
    /// Which reading of the world direction and colour to serve for a day sign. The two published assignments differ by exactly one quarter turn on all twenty signs, so neither is a rounding of the other and a silent pick would be a school choice. "madrid-codex" is the codex reading and the default; "landa" is the sixteenth century assignment recorded beside it.
    #[serde(rename = "directionScheme", skip_serializing_if = "Option::is_none")]
    pub direction_scheme: Option<CalculateMayanCompatibilityRequestDirectionScheme>,
    /// The first person, by birth date. Only a date is needed: the Tzolkin is a day count, so no time, timezone or place changes the answer.
    #[serde(rename = "personA")]
    pub person_a: CalculateMayanCompatibilityRequestPersonA,
    /// The second person, by birth date. The comparison is symmetric except for the cross tie, which is checked in both directions.
    #[serde(rename = "personB")]
    pub person_b: CalculateMayanCompatibilityRequestPersonB,
}
/// The second person, by birth date. The comparison is symmetric except for the cross tie, which is checked in both directions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityRequestPersonB {
    /// Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform. Years 1 to 4000 are accepted. A reference converter that switches to the Julian calendar below the reform will disagree with a date before 15 October 1582 by ten or eleven days; that is a difference of input convention rather than of arithmetic, and passing the Julian equivalent to such a tool reproduces these values exactly. A single-digit month or day is accepted and zero padded.
    pub date: String,
}
/// The first person, by birth date. Only a date is needed: the Tzolkin is a day count, so no time, timezone or place changes the answer.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityRequestPersonA {
    /// Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform. Years 1 to 4000 are accepted. A reference converter that switches to the Julian calendar below the reform will disagree with a date before 15 October 1582 by ten or eleven days; that is a difference of input convention rather than of arithmetic, and passing the Julian equivalent to such a tool reproduces these values exactly. A single-digit month or day is accepted and zero padded.
    pub date: String,
}
string_enum! {
    /// Which reading of the world direction and colour to serve for a day sign. The two published assignments differ by exactly one quarter turn on all twenty signs, so neither is a rounding of the other and a silent pick would be a school choice. "madrid-codex" is the codex reading and the default; "landa" is the sixteenth century assignment recorded beside it.
    CalculateMayanCompatibilityRequestDirectionScheme {
        MadridCodex = "madrid-codex",
        Landa = "landa",
    }
}
string_enum! {
    /// Which correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.
    CalculateMayanCompatibilityRequestCorrelation {
        Gmt584283 = "gmt-584283",
        MartinezHernandez584281 = "martinez-hernandez-584281",
        Astronomical584285 = "astronomical-584285",
        MartinSkidmore584286 = "martin-skidmore-584286",
    }
}
/// Path and query parameters of `calculateMayanCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateMayanCompatibilityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateMayanCompatibilityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateMayanCompatibilityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateMaturity`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMaturityResponse {
    /// Full step-by-step reduction showing Life Path plus Expression combined and reduced to the final Maturity number. This synthesis represents the convergence of your life purpose and natural talents into mature wisdom.
    pub calculation: String,
    /// Indicates whether a Karmic Debt number (13, 14, 16, or 19) appeared during the Life Path plus Expression reduction. Karmic Debt in the Maturity position reveals past-life lessons that surface during midlife transformation, typically after age 35 to 40.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
    #[serde(rename = "karmicDebtMeaning", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_meaning: Option<CalculateMaturityResponseKarmicDebtMeaning>,
    /// The specific Karmic Debt number detected during the Maturity reduction, if any. Each debt number (13, 14, 16, 19) represents a distinct past-life challenge that becomes especially prominent as you enter the second half of life.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// The `meaning` field.
    pub meaning: CalculateMaturityResponseMeaning,
    /// Your Maturity number (also called Realization number), revealing who you are becoming in the second half of life. Derived from the sum of your Life Path and Expression numbers. Values range from 1 to 9 for single digits, or 11, 22, 33 for Master Numbers.
    pub number: f64,
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers in the Maturity position indicate a powerful late-life awakening with extraordinary potential for spiritual leadership and legacy.
    pub r#type: CalculateMaturityResponseType,
}
string_enum! {
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers in the Maturity position indicate a powerful late-life awakening with extraordinary potential for spiritual leadership and legacy.
    CalculateMaturityResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMaturityResponseMeaning {
    /// Career evolution and professional reinvention for the second act. Covers industries, roles, and pursuits that align with your mature energy and accumulated wisdom.
    pub career: String,
    /// Growth areas to watch as Maturity energy intensifies. Understanding these early helps you navigate the transition with awareness and grace.
    pub challenges: Vec<String>,
    /// Core interpretation of the person being grown into in the second half of life, the wisdom gained through lived experience. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Emerging traits and qualities that strengthen after age 35 to 40. These energies gradually integrate into your personality as you mature.
    pub keywords: Vec<String>,
    /// How your relationships deepen and transform as Maturity energy takes hold. Covers evolving partnership needs, family dynamics, and the relationship wisdom that comes with age.
    pub relationships: String,
    /// Spiritual awakening in the mature years. Explores the deeper meaning that emerges when life experience meets the Maturity number, and practices for this transformative phase.
    pub spirituality: String,
    /// Late-blooming strengths that emerge with age and experience. These are the gifts that become your greatest assets in the second half of life.
    pub strengths: Vec<String>,
    /// Numerology archetype for the Maturity number. Reveals who you are becoming in the second half of life, such as "The Builder" for 4 or "The Humanitarian" for 9.
    pub title: String,
}
/// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateMaturityResponseKarmicDebtMeaning {
    /// The specific challenge from past lives that must be confronted.
    pub challenge: String,
    /// Title describing the karmic debt theme and core past-life pattern.
    pub description: String,
    /// Practical guidance for resolving the karmic debt.
    pub resolution: String,
}
/// Path and query parameters of `calculateMaturity`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateMaturityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateMaturityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateMaturityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateLunarDate`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLunarDateResponse {
    /// The Gregorian date, echoed when one was sent and computed when the lunar fields were. Echoes the request, or the current UTC date when neither side was supplied.
    #[serde(rename = "gregorianDate")]
    pub gregorian_date: String,
    /// The month this lunisolar year repeats, when it has thirteen months. Absent in a twelve month year, so a caller can branch on presence rather than on a sentinel.
    #[serde(rename = "leapMonthOfYear", skip_serializing_if = "Option::is_none")]
    pub leap_month_of_year: Option<f64>,
    /// The `lunar` field.
    pub lunar: CalculateLunarDateResponseLunar,
    /// Decimal UTC offset the calendar was evaluated at. Fixed at 8, which is what makes a Chinese lunar date a world constant.
    #[serde(rename = "referenceOffset")]
    pub reference_offset: f64,
}
/// The `lunar` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLunarDateResponseLunar {
    /// The Gregorian date this lunar day covers, evaluated at the reference meridian.
    pub date: String,
    /// Day of the lunar month, 1 to 30. A lunar month never has 31 days.
    pub day: f64,
    /// True when this is the leap repetition of the month number rather than the first pass through it.
    #[serde(rename = "isLeapMonth")]
    pub is_leap_month: bool,
    /// Lunar month, 1 to 12. A leap month repeats the number of the month it follows.
    pub month: f64,
    /// Days in this lunar month, 29 for a short month or 30 for a long one. It is the interval between two new moons, so it varies month to month.
    #[serde(rename = "monthLength")]
    pub month_length: f64,
    /// Lunisolar year. It advances on the first day of month 1, not at Li Chun, so it can lag the Gregorian year by up to seven weeks.
    pub year: f64,
}
/// Path and query parameters of `calculateLunarDate`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateLunarDateParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateLunarDateParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateLunarDateParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateLuckPillars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponse {
    /// Year-by-year overlay, present only when annualFromYear was sent. Each year names the luck pillar it falls inside.
    #[serde(rename = "annualPillars", skip_serializing_if = "Option::is_none")]
    pub annual_pillars: Option<Vec<CalculateLuckPillarsResponseAnnualPillarsItem>>,
    /// Echo of the birth moment the chart was computed from.
    #[serde(rename = "birthData")]
    pub birth_data: CalculateLuckPillarsResponseBirthData,
    /// The minor solar term the count ran to. One of the twelve that also move the month pillar. Always the pinyin identifier, whatever the lang parameter says.
    #[serde(rename = "boundaryTerm")]
    pub boundary_term: String,
    /// Display name of that same term, in the requested language. Always present, and English when lang is en. Several English renderings of a term are in circulation, so treat this as the label and boundaryTerm as the value.
    #[serde(rename = "boundaryTermName")]
    pub boundary_term_name: String,
    /// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
    pub conventions: CalculateLuckPillarsResponseConventions,
    /// Days from the birth instant to the minor solar term the count ran to, before conversion. Published so the start age can be checked rather than taken on trust.
    #[serde(rename = "daysToTerm")]
    pub days_to_term: f64,
    /// Which way the sequence walks the sexagenary cycle. A male born in a yang-stem year and a female born in a yin-stem year run forward, and the other two combinations run backward. Always English, whatever the lang parameter says.
    pub direction: String,
    /// Echo of the sex sent, which is what selected the direction below.
    pub gender: String,
    /// The ten-year periods in order, each with the relation its stem holds to the natal Day Master.
    #[serde(rename = "luckPillars")]
    pub luck_pillars: Vec<CalculateLuckPillarsResponseLuckPillarsItem>,
    /// Age in whole years at which the first luck pillar begins. Counted from the birth instant to the adjacent minor solar term at three days to the year, forward for a forward direction and backward for a reverse one.
    #[serde(rename = "startAge")]
    pub start_age: f64,
    /// Additional months past startAge, 0 to 11, from the remainder of the same count at one day to four months. Calculators that round the whole count to the nearest year will differ from this by up to six months.
    #[serde(rename = "startAgeMonths")]
    pub start_age_months: f64,
    /// One-paragraph reading of the sequence direction and its start.
    pub summary: String,
}
/// One entry of `luckPillars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseLuckPillarsItem {
    /// The Earthly Branch of this luck pillar, with its animal, element and polarity.
    pub branch: CalculateLuckPillarsResponseLuckPillarsItemBranch,
    /// Age in whole years at which this period ends and the next one begins.
    #[serde(rename = "endAge")]
    pub end_age: f64,
    /// Gregorian year this period ends.
    #[serde(rename = "endYear")]
    pub end_year: f64,
    /// Pillar identifier, the stem id and the branch id joined by a hyphen.
    pub id: String,
    /// Position in the sequence, starting at 1 for the first ten-year period.
    pub index: f64,
    /// Position of this pillar in the sexagenary cycle, 1 to 60. Consecutive luck pillars always differ by exactly one step, forward or backward, because the sequence walks the cycle from the birth month pillar.
    pub number: f64,
    /// Age in whole years at which this ten-year period begins.
    #[serde(rename = "startAge")]
    pub start_age: f64,
    /// Gregorian year this period begins, the birth year plus startAge.
    #[serde(rename = "startYear")]
    pub start_year: f64,
    /// The Heavenly Stem of this luck pillar, with its element and polarity.
    pub stem: CalculateLuckPillarsResponseLuckPillarsItemStem,
    /// Relation the luck pillar STEM holds to the natal Day Master. This is what tells you whether a decade supports the chart or spends it.
    #[serde(rename = "tenGod")]
    pub ten_god: CalculateLuckPillarsResponseLuckPillarsItemTenGod,
}
/// Relation the luck pillar STEM holds to the natal Day Master. This is what tells you whether a decade supports the chart or spends it.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseLuckPillarsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// The Heavenly Stem of this luck pillar, with its element and polarity.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseLuckPillarsItemStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// The Earthly Branch of this luck pillar, with its animal, element and polarity.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseLuckPillarsItemBranch {
    /// Zodiac animal of the branch. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig. Always English, whatever the lang parameter says. Use animalLocalized for anything a reader sees.
    pub animal: String,
    /// Zodiac animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The branch in hanzi. Identical under every lang.
    pub chinese: String,
    /// Five-phase element of the branch. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Earthly Branch identifier. One of zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai. Always English pinyin, whatever the lang parameter says. Note that "wu" is also a stem identifier: they never share a field, so a branch id is only ever read out of a branch position.
    pub id: String,
    /// Tone-marked pinyin for the branch. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the branch, yang or yin.
    pub polarity: String,
}
/// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseConventions {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    #[serde(rename = "dayBoundary")]
    pub day_boundary: CalculateLuckPillarsResponseConventionsDayBoundary,
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    #[serde(rename = "hourClock")]
    pub hour_clock: CalculateLuckPillarsResponseConventionsHourClock,
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: CalculateLuckPillarsResponseConventionsYearBoundary,
}
string_enum! {
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    CalculateLuckPillarsResponseConventionsYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    CalculateLuckPillarsResponseConventionsHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    CalculateLuckPillarsResponseConventionsDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Echo of the birth moment the chart was computed from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
    pub timezone: f64,
}
/// One entry of `annualPillars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseAnnualPillarsItem {
    /// Annual pillar identifier for that year, under the year boundary applied.
    pub id: String,
    /// Which returned luck pillar this year falls inside, by its index. 0 means the year falls before the first luck pillar begins, in the stretch still governed by the natal chart alone.
    #[serde(rename = "luckPillarIndex")]
    pub luck_pillar_index: f64,
    /// Position of the annual pillar in the sexagenary cycle, 1 to 60.
    pub number: f64,
    /// Relation the annual pillar STEM holds to the natal Day Master.
    #[serde(rename = "tenGod")]
    pub ten_god: CalculateLuckPillarsResponseAnnualPillarsItemTenGod,
    /// Gregorian year.
    pub year: f64,
}
/// Relation the annual pillar STEM holds to the natal Day Master.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsResponseAnnualPillarsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// Request body of `calculateLuckPillars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLuckPillarsRequest {
    /// First Gregorian year of the annual pillar overlay. Omit it to leave annualPillars out of the response entirely. The annual pillar is the year the chart is currently walking through, read against the ten-year luck pillar underneath it.
    #[serde(rename = "annualFromYear", skip_serializing_if = "Option::is_none")]
    pub annual_from_year: Option<i64>,
    /// How many consecutive years the annual overlay covers, 1 to 20. Ignored unless annualFromYear is present.
    #[serde(rename = "annualYears", skip_serializing_if = "Option::is_none")]
    pub annual_years: Option<i64>,
    /// How many ten-year luck pillars to return, 1 to 12. Eight covers eighty years from the start age, which reaches past a normal lifetime for most start ages.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub count: Option<i64>,
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    #[serde(rename = "dayBoundary", skip_serializing_if = "Option::is_none")]
    pub day_boundary: Option<CalculateLuckPillarsRequestDayBoundary>,
    /// Subject sex, used only to pick the luck-pillar direction: a male born in a yang-stem year and a female born in a yin-stem year run forward through the sexagenary cycle, and the other two combinations run backward. It affects nothing else in the response.
    pub gender: CalculateLuckPillarsRequestGender,
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    #[serde(rename = "hourClock", skip_serializing_if = "Option::is_none")]
    pub hour_clock: Option<CalculateLuckPillarsRequestHourClock>,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateLuckPillarsRequestTimezone,
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<CalculateLuckPillarsRequestYearBoundary>,
}
string_enum! {
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    CalculateLuckPillarsRequestYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateLuckPillarsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    CalculateLuckPillarsRequestHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Subject sex, used only to pick the luck-pillar direction: a male born in a yang-stem year and a female born in a yin-stem year run forward through the sexagenary cycle, and the other two combinations run backward. It affects nothing else in the response.
    CalculateLuckPillarsRequestGender {
        Male = "male",
        Female = "female",
    }
}
string_enum! {
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    CalculateLuckPillarsRequestDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Path and query parameters of `calculateLuckPillars`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateLuckPillarsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateLuckPillarsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateLuckPillarsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateLifePath`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLifePathResponse {
    /// Every step of the calculation: the birth month, day and year each reduced, then combined into the final Life Path number.
    pub calculation: String,
    /// Indicates whether a Karmic Debt number (13, 14, 16, or 19) appeared during the reduction chain. Karmic Debt reveals past-life challenges carried into this lifetime.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
    #[serde(rename = "karmicDebtMeaning", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_meaning: Option<CalculateLifePathResponseKarmicDebtMeaning>,
    /// The specific Karmic Debt number detected during reduction, if any. Each debt number (13, 14, 16, 19) represents a distinct past-life lesson requiring resolution.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// The `meaning` field.
    pub meaning: CalculateLifePathResponseMeaning,
    /// Your Life Path number, the single most important number in Pythagorean numerology. Values range from 1 to 9 for single digits, or 11, 22, 33 for Master Numbers.
    pub number: f64,
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers carry amplified spiritual significance and are never reduced further.
    pub r#type: CalculateLifePathResponseType,
}
string_enum! {
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22, 33). Master Numbers carry amplified spiritual significance and are never reduced further.
    CalculateLifePathResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLifePathResponseMeaning {
    /// Tailored career guidance covering ideal industries, roles, and work environments. Includes specific job titles and explains why certain professional paths align with this number.
    pub career: String,
    /// Growth areas and shadow qualities to be aware of. Each entry names the challenge and explains its root cause and how to work through it constructively.
    pub challenges: Vec<String>,
    /// Core interpretation of the number covering personality, purpose and life themes. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full-page reading.
    pub description: String,
    /// Defining personality traits and energetic themes of this number. Useful for quick personality snapshots, tag clouds and compatibility matching.
    pub keywords: Vec<String>,
    /// Love, friendship, and family dynamics. Covers romantic compatibility with other Life Path numbers, communication style, and the key relationship lessons for this number.
    pub relationships: String,
    /// Spiritual path, soul lessons, and recommended practices. Explores the deeper purpose behind this number and offers guidance for personal growth and inner alignment.
    pub spirituality: String,
    /// Core strengths and positive qualities. Each entry includes a trait name followed by a detailed explanation of how it manifests in daily life.
    pub strengths: Vec<String>,
    /// Numerology archetype name for this Life Path number. Encapsulates the core identity and energy in a single phrase, such as "The Leader" for 1 or "The Master Builder" for 22.
    pub title: String,
}
/// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLifePathResponseKarmicDebtMeaning {
    /// The specific challenge or pattern from past lives that must be confronted.
    pub challenge: String,
    /// Title describing the karmic debt theme and core past-life pattern.
    pub description: String,
    /// Practical guidance for resolving the karmic debt and transforming the challenge into growth.
    pub resolution: String,
}
/// Path and query parameters of `calculateLifePath`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateLifePathParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateLifePathParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateLifePathParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateKuaNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateKuaNumberResponse {
    /// Calendar date of the boundary that decided the year, computed astronomically rather than assumed. Li Chun is commonly quoted as 4 February and lands on the 3rd or the 5th in roughly one year in four.
    #[serde(rename = "boundaryDate")]
    pub boundary_date: String,
    /// The `conventions` field.
    pub conventions: CalculateKuaNumberResponseConventions,
    /// Echo of the sex sent, which selected the formula variant.
    pub gender: String,
    /// Life group, east or west. East group Kuas are 1, 3, 4 and 9 and share North, East, Southeast and South as their favourable sectors; west group Kuas are 2, 6, 7 and 8 and share Northeast, Southwest, West and Northwest. Always English, safe to compare against.
    pub group: String,
    /// Kua number, 1 to 9 excluding 5. This is the value every other feng shui calculation about a person keys on.
    pub kua: f64,
    /// The formula output before any reassignment. Equal to kua except when the formula produced 5, which has no trigram and no direction and must be moved.
    #[serde(rename = "rawKua")]
    pub raw_kua: f64,
    /// Whether the raw result was 5 and had to be moved onto a trigram, to 2 for a man and to 8 for a woman.
    pub reassigned: bool,
    /// All eight sectors classified for this Kua, in compass order from North. Exactly four are auspicious and four are inauspicious, and the two sets partition the compass. Call the eight mansions endpoint for the same map with full readings and ranked placement guidance.
    pub sectors: Vec<CalculateKuaNumberResponseSectorsItem>,
    /// The Chinese year the birth date fell in under the boundary applied. This is the year the formula actually used, which is the previous calendar year for an early-in-the-year birthday.
    #[serde(rename = "solarYear")]
    pub solar_year: f64,
    /// The `trigram` field.
    pub trigram: CalculateKuaNumberResponseTrigram,
}
/// The `trigram` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateKuaNumberResponseTrigram {
    /// Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
    pub binary: String,
    /// Chinese character for the trigram. Data, identical in every language.
    pub chinese: String,
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "directionLocalized", skip_serializing_if = "Option::is_none")]
    pub direction_localized: Option<String>,
    /// Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
    pub element: String,
    /// Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
    pub english: String,
    /// Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
    pub number: f64,
    /// Tone-marked pinyin for the trigram. Data, identical in every language.
    pub pinyin: String,
    /// Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
    pub symbol: String,
}
/// One entry of `sectors`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateKuaNumberResponseSectorsItem {
    /// Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
    pub direction: String,
    /// The life domain this sector governs, in a few words, written in the requested language.
    pub domain: String,
    /// Whether the sector helps or harms: auspicious or inauspicious.
    pub nature: String,
    /// Order within its nature, 1 to 4. Among auspicious sectors 1 is the strongest; among inauspicious sectors 1 is the mildest and 4 the most serious, which is what tells you which affliction to accept when no favourable sector is reachable.
    pub rank: f64,
    /// Eight Mansions star for this sector, one of sheng-chi, tian-yi, yan-nian, fu-wei, huo-hai, wu-gui, liu-sha, jue-ming. Always English, safe to compare against and to key styling on.
    pub star: String,
    /// Display name of the star. Always English, whatever the lang parameter says. Use starNameLocalized for anything a reader sees.
    #[serde(rename = "starName")]
    pub star_name: String,
    /// Star name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat starName exactly. Never compare against this value.
    #[serde(rename = "starNameLocalized", skip_serializing_if = "Option::is_none")]
    pub star_name_localized: Option<String>,
}
/// The `conventions` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateKuaNumberResponseConventions {
    /// Which boundary decided the Chinese year for this calculation. li-chun starts the year at the astronomical start of spring, in early February, and is the classical position that feng shui uses throughout. lunar-new-year starts it at the first day of the lunar year, which is usually two to four weeks later and is what most popular zodiac tables use. Echoes the resolved value, whether it was sent or defaulted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: String,
}
/// Request body of `calculateKuaNumber`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateKuaNumberRequest {
    /// Birth date in YYYY-MM-DD format. Only the Chinese YEAR this date falls in enters the formula, so no birth time, latitude or longitude is needed. A January or early February birthday is the case that matters: it usually belongs to the PREVIOUS Chinese year and produces a different Kua. A date is read at the start of its day, and the boundary falls part-way through its own day, so a birth date landing exactly on the boundary day is placed in the outgoing year.
    pub date: String,
    /// Selects the Kua formula variant. The two formulas are different arithmetic on the same year, and they also differ in where a raw result of 5 is reassigned.
    pub gender: CalculateKuaNumberRequestGender,
    /// Which boundary starts the Chinese year. Defaults to li-chun, the astronomical start of spring in early February, which is the classical position and the one feng shui uses for periods, annual stars and afflictions alike. Send lunar-new-year to match popular zodiac tables, which start the year two to four weeks later. The two disagree for anyone born between the two dates.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<CalculateKuaNumberRequestYearBoundary>,
}
string_enum! {
    /// Which boundary starts the Chinese year. Defaults to li-chun, the astronomical start of spring in early February, which is the classical position and the one feng shui uses for periods, annual stars and afflictions alike. Send lunar-new-year to match popular zodiac tables, which start the year two to four weeks later. The two disagree for anyone born between the two dates.
    CalculateKuaNumberRequestYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Selects the Kua formula variant. The two formulas are different arithmetic on the same year, and they also differ in where a raw result of 5 is reassigned.
    CalculateKuaNumberRequestGender {
        Male = "male",
        Female = "female",
    }
}
/// Path and query parameters of `calculateKuaNumber`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateKuaNumberParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateKuaNumberParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateKuaNumberParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `calculateHouses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateHousesRequest {
    /// Birth date in YYYY-MM-DD format. Date is critical for house cusp calculations as it determines planetary positions used in some house systems.
    pub date: String,
    /// House system for dividing ecliptic into 12 houses. Placidus (most popular) uses time, Whole Sign (ancient) uses signs, Equal divides from Ascendant. Use "all" to compare all 4 systems side-by-side for educational purposes.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<CalculateHousesRequestHouseSystem>,
    /// Birth location latitude in decimal degrees (-90 to 90). Location determines the local horizon and meridian, which are fundamental to house division. Higher latitudes cause more distortion in time-based systems like Placidus.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Affects local time and horizon calculations for house cusps.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is ESSENTIAL for accurate house cusps, and even minutes matter. The Ascendant (1st house cusp) changes roughly every 4 minutes. Without accurate time, house placements will be incorrect.
    pub time: String,
    /// Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST) OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the chart date.
    pub timezone: CalculateHousesRequestTimezone,
}
/// Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST) OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the chart date.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateHousesRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// House system for dividing ecliptic into 12 houses. Placidus (most popular) uses time, Whole Sign (ancient) uses signs, Equal divides from Ascendant. Use "all" to compare all 4 systems side-by-side for educational purposes.
    CalculateHousesRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
        All = "all",
    }
}
/// Path and query parameters of `calculateHouses`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateHousesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateHousesParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateHousesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateGunMilan`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateGunMilanParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateGunMilanParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateGunMilanParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateGematria`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponse {
    /// The `chosen` field.
    pub chosen: CalculateGematriaResponseChosen,
    /// The `conventions` field.
    pub conventions: CalculateGematriaResponseConventions,
    /// Every Hebrew spelling the input can be written as, greedy parse first. One entry when Hebrew was sent, since there is nothing to choose.
    #[serde(rename = "hebrewForms")]
    pub hebrew_forms: Vec<CalculateGematriaResponseHebrewFormsItem>,
    /// The `input` field.
    pub input: CalculateGematriaResponseInput,
    /// The Latin alphabet ciphers applied to the Latin text. Present only when latinCiphers was set and a Latin text was sent.
    #[serde(rename = "latinValues", skip_serializing_if = "Option::is_none")]
    pub latin_values: Option<Vec<CalculateGematriaResponseLatinValuesItem>>,
    /// Curated words whose standard value equals the chosen spelling. Matching is on the standard reading only, because that is the relation the classical method works with. Empty when nothing matches, which is the ordinary case.
    pub matches: Vec<CalculateGematriaResponseMatchesItem>,
    /// The two substitution transformations applied to the chosen spelling. Each exchanges letters and returns a new word, so the interesting output is often the string rather than the number.
    pub transformations: Vec<CalculateGematriaResponseTransformationsItem>,
    /// Every requested cipher applied to the chosen spelling, in catalogue order, each named as the catalogue names it. Only computed ciphers appear, so every row carries a number.
    pub values: Vec<CalculateGematriaResponseValuesItem>,
}
/// One entry of `values`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseValuesItem {
    /// Other published totals for the same string, ascending. Present only where the cipher is not single valued: letter names have several accepted spellings, so several totals are equally published. Absent otherwise, so a caller can branch on presence.
    #[serde(rename = "alternateValues", skip_serializing_if = "Option::is_none")]
    pub alternate_values: Option<Vec<f64>>,
    /// Machine identifier of the cipher. Call the ciphers endpoint for the definition, the tradition and the sources behind each one.
    pub id: String,
    /// Display name of the cipher in the requested language, the same string the ciphers catalogue serves for this id. Present so a caller holding one response can label a row without humanizing the identifier or fetching the catalogue. Switch on id, never on this.
    pub name: String,
    /// The first published source this cipher was taken from.
    pub source: String,
    /// Provenance class of the cipher, one of rabbinic, renaissance-latin, golden-dawn-transliterated or modern. Always English, so it stays safe to compare against in code.
    pub tradition: String,
    /// The number this cipher gives for the string. Always a number: the one catalogued cipher this API does not compute is absent from this array rather than present without a value, so no row here has to be guarded. Its catalogue entry carries computed false and says why.
    pub value: f64,
}
/// One entry of `transformations`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseTransformationsItem {
    /// Machine identifier of the transformation.
    pub id: String,
    /// Display name of the transformation as the catalogue names it, in the requested language.
    pub name: String,
    /// The substituted Hebrew string. Absent when atbashOutput asked for the value alone.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub output: Option<String>,
    /// Latin transcription of the substituted string, from the same mechanical letter map.
    #[serde(rename = "outputRomanization", skip_serializing_if = "Option::is_none")]
    pub output_romanization: Option<String>,
    /// The first published source the substitution table was taken from.
    pub source: String,
    /// Provenance class of the transformation.
    pub tradition: String,
    /// Standard value of the substituted string. Absent when atbashOutput asked for the string alone.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub value: Option<f64>,
}
/// One entry of `matches`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseMatchesItem {
    /// The word in Hebrew. Data, identical in every language.
    pub hebrew: String,
    /// Machine identifier of the entry, an ASCII romanization.
    pub id: String,
    /// What the word means, in the requested language.
    pub meaning: String,
    /// What the tradition says about the equality, in the requested language.
    pub note: String,
    /// Latin transcription of the Hebrew beside it, from the same mechanical letter map.
    pub romanization: String,
    /// Where the value is attested. Every entry in the lexicon carries at least two independent sources, which is why the list is short rather than long.
    pub sources: Vec<String>,
    /// Its value under the standard reading, which is why it matched.
    pub value: f64,
}
/// One entry of `latinValues`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseLatinValuesItem {
    /// Machine identifier of the Latin cipher.
    pub id: String,
    /// Where the cipher comes from, stated so it cannot be misattributed.
    pub lineage: String,
    /// Provenance class. None of these is rabbinic, whatever a consumer calculator calls them.
    pub tradition: String,
    /// The number this cipher gives for the Latin text as sent.
    pub value: f64,
}
/// The `input` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseInput {
    /// Echo of the Latin text sent. Absent when Hebrew was sent instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub text: Option<String>,
    /// Echo of the Hebrew text sent. Absent when Latin was sent instead.
    #[serde(rename = "textHebrew", skip_serializing_if = "Option::is_none")]
    pub text_hebrew: Option<String>,
}
/// One entry of `hebrewForms`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseHebrewFormsItem {
    /// One Hebrew spelling the Latin input can be written as. Data, identical in every language.
    pub hebrew: String,
    /// The per letter breakdown of this spelling under the standard reading.
    pub letters: Vec<CalculateGematriaResponseHebrewFormsItemLettersItem>,
    /// Latin transcription of the Hebrew beside it, produced by one mechanical letter map. It is a label for reading the string back, never a pronunciation claim.
    pub romanization: String,
    /// Why this spelling came out of the map: the parse rule first, then one sentence for every reading the scheme applied that the letters alone would not show, so a caller can tell the parses apart.
    pub rule: String,
    /// Every computed cipher applied to this spelling, in catalogue order. The rows carry no display name, because they are the same ciphers in the same order for every spelling: read the names off the top level values array once.
    pub values: Vec<CalculateGematriaResponseHebrewFormsItemValuesItem>,
}
/// One entry of `values`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseHebrewFormsItemValuesItem {
    /// Other published totals for the same string, ascending. Present only where the cipher is not single valued: letter names have several accepted spellings, so several totals are equally published. Absent otherwise, so a caller can branch on presence.
    #[serde(rename = "alternateValues", skip_serializing_if = "Option::is_none")]
    pub alternate_values: Option<Vec<f64>>,
    /// Machine identifier of the cipher. Call the ciphers endpoint for the definition, the tradition and the sources behind each one.
    pub id: String,
    /// The first published source this cipher was taken from.
    pub source: String,
    /// Provenance class of the cipher, one of rabbinic, renaissance-latin, golden-dawn-transliterated or modern. Always English, so it stays safe to compare against in code.
    pub tradition: String,
    /// The number this cipher gives for the string. Always a number: the one catalogued cipher this API does not compute is absent from this array rather than present without a value, so no row here has to be guarded. Its catalogue entry carries computed false and says why.
    pub value: f64,
}
/// One entry of `letters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseHebrewFormsItemLettersItem {
    /// The Hebrew letter as it stands in the string. Data, identical in every language.
    pub glyph: String,
    /// True when the glyph is the word final form. Under the finals-500-900 reading the same letter scores differently in final position, which is why this is on the row.
    #[serde(rename = "isFinal")]
    pub is_final: bool,
    /// Machine identifier of the letter, always English romanization so it stays safe to compare against in code.
    #[serde(rename = "letterId")]
    pub letter_id: String,
    /// Display name of the letter, in the requested language. Branch on letterId, never on this.
    pub name: String,
    /// What this letter contributed under the standard reading, or under the finals reading when one applies.
    pub value: f64,
}
/// The `conventions` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseConventions {
    /// What the substitution transformations returned.
    #[serde(rename = "atbashOutput")]
    pub atbash_output: String,
    /// Which of the two published methods the name mispar gadol was read as.
    #[serde(rename = "misparGadol")]
    pub mispar_gadol: String,
    /// The Latin to Hebrew scheme applied. Absent when the caller sent Hebrew directly.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub transliteration: Option<String>,
}
/// The `chosen` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGematriaResponseChosen {
    /// The spelling the values and matches on this response were taken from.
    pub hebrew: String,
    /// Why this spelling was chosen over the others.
    pub rule: String,
}
/// What to score and how. Send text for a Latin input or textHebrew for a Hebrew one, never both: which one you send decides whether a transliteration step runs at all. Every other field has a default.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateGematriaRequest {
    /// What AtBash and Albam return: the substituted Hebrew string, its standard value, or both. The biblical witness for AtBash is a substituted WORD rather than a number, which is why the string is available on its own.
    #[serde(rename = "atbashOutput", skip_serializing_if = "Option::is_none")]
    pub atbash_output: Option<CalculateGematriaRequestAtbashOutput>,
    /// Which ciphers to return, by identifier. Omit for every computed cipher. Valid values are mispar-hechrachi, mispar-gadol, otiyot-be-milui, mispar-katan, mispar-kidmi, mispar-prati, mispar-ha-merubah-ha-klali, mispar-meshulash, mispar-musafi, kolel.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ciphers: Option<Vec<CalculateGematriaRequestCiphersItem>>,
    /// Whether to return the curated equal value entries for the chosen spelling. Set false to skip the lookup when only the numbers are wanted.
    #[serde(rename = "includeMatches", skip_serializing_if = "Option::is_none")]
    pub include_matches: Option<bool>,
    /// Whether to also score the Latin text with the three Latin alphabet ciphers. They are Renaissance Christian and modern in lineage rather than rabbinic, and the response labels each one. Ignored when textHebrew was sent.
    #[serde(rename = "latinCiphers", skip_serializing_if = "Option::is_none")]
    pub latin_ciphers: Option<bool>,
    /// Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
    #[serde(rename = "misparGadol", skip_serializing_if = "Option::is_none")]
    pub mispar_gadol: Option<CalculateGematriaRequestMisparGadol>,
    /// Latin text to write in Hebrew and then score, up to 200 characters. Non Latin scripts are folded to Latin first, so a Cyrillic or Devanagari name works. Send textHebrew instead to control the Hebrew spelling yourself.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub text: Option<String>,
    /// Hebrew text to score, up to 200 characters. Anything outside the Hebrew script is rejected. Vowel points, cantillation marks, maqaf and paseq are removed before scoring, so a pointed and an unpointed spelling of one word give the same number.
    #[serde(rename = "textHebrew", skip_serializing_if = "Option::is_none")]
    pub text_hebrew: Option<String>,
    /// How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub transliteration: Option<CalculateGematriaRequestTransliteration>,
}
string_enum! {
    /// How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
    CalculateGematriaRequestTransliteration {
        LetterMapMathers = "letter-map-mathers",
        LetterMapModern = "letter-map-modern",
    }
}
string_enum! {
    /// Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
    CalculateGematriaRequestMisparGadol {
        Finals500900 = "finals-500-900",
        Milui = "milui",
    }
}
string_enum! {
    /// One entry of `ciphers`.
    CalculateGematriaRequestCiphersItem {
        MisparHechrachi = "mispar-hechrachi",
        MisparGadol = "mispar-gadol",
        OtiyotBeMilui = "otiyot-be-milui",
        MisparKatan = "mispar-katan",
        MisparKidmi = "mispar-kidmi",
        MisparPrati = "mispar-prati",
        MisparHaMerubahHaKlali = "mispar-ha-merubah-ha-klali",
        MisparMeshulash = "mispar-meshulash",
        MisparMusafi = "mispar-musafi",
        Kolel = "kolel",
    }
}
string_enum! {
    /// What AtBash and Albam return: the substituted Hebrew string, its standard value, or both. The biblical witness for AtBash is a substituted WORD rather than a number, which is why the string is available on its own.
    CalculateGematriaRequestAtbashOutput {
        Both = "both",
        String = "string",
        Value = "value",
    }
}
/// Path and query parameters of `calculateGematria`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateGematriaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateGematriaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateGematriaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateGates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGatesResponse {
    /// The 13 unconscious Design activations computed 88 degrees of solar arc before birth, in red on a standard chart.
    pub design: Vec<CalculateGatesResponseDesignItem>,
    /// The 13 conscious Personality activations computed at the exact birth moment, in black on a standard chart.
    pub personality: Vec<CalculateGatesResponsePersonalityItem>,
}
/// One entry of `personality`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGatesResponsePersonalityItem {
    /// Human Design gate number from 1 to 64 that this activation falls in.
    pub gate: f64,
    /// Bodygraph function of the gate: what it does in the center it sits in and the channel it forms. This is NOT the meaning of the I-Ching hexagram that shares its number. They share a number, not a definition.
    #[serde(rename = "gateDescription")]
    pub gate_description: String,
    /// Human Design keynote name of the gate, describing its bodygraph function. Always English, whatever the lang parameter says. Use gateNameLocalized for anything a reader sees.
    #[serde(rename = "gateName")]
    pub gate_name: String,
    /// Gate keynote name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "gateNameLocalized", skip_serializing_if = "Option::is_none")]
    pub gate_name_localized: Option<String>,
    /// Cross-reference to the I-Ching hexagram that shares this gate number.
    #[serde(rename = "ichingHexagram")]
    pub iching_hexagram: CalculateGatesResponsePersonalityItemIchingHexagram,
    /// Line number from 1 to 6 within the gate, setting the line keynote and the profile.
    pub line: f64,
    /// Meaning of this gate at this specific line, one of 384. The finest interpretive layer in the chart and the one that makes a reading specific rather than generic. This is not the six abstract line archetypes: gate 41 line 3 carries its own meaning that neither the gate keynote nor the line-3 archetype holds alone.
    #[serde(rename = "lineMeaning")]
    pub line_meaning: String,
    /// Activating body. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto. Always English, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// What this planetary activation contributes in Human Design specifically, which is not its meaning in western astrology.
    #[serde(rename = "planetDescription")]
    pub planet_description: String,
    /// Activating body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Chart side. personality is the conscious birth-moment activation, design is the unconscious activation 88 degrees of solar arc before birth.
    pub side: String,
}
/// Cross-reference to the I-Ching hexagram that shares this gate number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGatesResponsePersonalityItemIchingHexagram {
    /// English name of the corresponding I-Ching hexagram.
    pub english: String,
    /// I-Ching hexagram number, identical to the gate number it corresponds to.
    pub number: f64,
}
/// One entry of `design`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGatesResponseDesignItem {
    /// Human Design gate number from 1 to 64 that this activation falls in.
    pub gate: f64,
    /// Bodygraph function of the gate: what it does in the center it sits in and the channel it forms. This is NOT the meaning of the I-Ching hexagram that shares its number. They share a number, not a definition.
    #[serde(rename = "gateDescription")]
    pub gate_description: String,
    /// Human Design keynote name of the gate, describing its bodygraph function. Always English, whatever the lang parameter says. Use gateNameLocalized for anything a reader sees.
    #[serde(rename = "gateName")]
    pub gate_name: String,
    /// Gate keynote name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "gateNameLocalized", skip_serializing_if = "Option::is_none")]
    pub gate_name_localized: Option<String>,
    /// Cross-reference to the I-Ching hexagram that shares this gate number.
    #[serde(rename = "ichingHexagram")]
    pub iching_hexagram: CalculateGatesResponseDesignItemIchingHexagram,
    /// Line number from 1 to 6 within the gate, setting the line keynote and the profile.
    pub line: f64,
    /// Meaning of this gate at this specific line, one of 384. The finest interpretive layer in the chart and the one that makes a reading specific rather than generic. This is not the six abstract line archetypes: gate 41 line 3 carries its own meaning that neither the gate keynote nor the line-3 archetype holds alone.
    #[serde(rename = "lineMeaning")]
    pub line_meaning: String,
    /// Activating body. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto. Always English, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// What this planetary activation contributes in Human Design specifically, which is not its meaning in western astrology.
    #[serde(rename = "planetDescription")]
    pub planet_description: String,
    /// Activating body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Chart side. personality is the conscious birth-moment activation, design is the unconscious activation 88 degrees of solar arc before birth.
    pub side: String,
}
/// Cross-reference to the I-Ching hexagram that shares this gate number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGatesResponseDesignItemIchingHexagram {
    /// English name of the corresponding I-Ching hexagram.
    pub english: String,
    /// I-Ching hexagram number, identical to the gate number it corresponds to.
    pub number: f64,
}
/// Request body of `calculateGates`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateGatesRequest {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateGatesRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateGatesRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateGatesRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateGatesRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateGates`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateGatesParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateGatesParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateGatesParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateExpression`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateExpressionResponse {
    /// Every letter value of the birth name, grouped by name: each name is summed and reduced, then the names are added and reduced to the final Expression number.
    pub calculation: String,
    /// Whether a Karmic Debt number (13, 14, 16, 19) appeared in the final reduction, the sum of the reduced names. Indicates inherited challenges embedded in your given name.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Detailed interpretation of the Karmic Debt number when present. Includes the debt theme, the inherited challenge, and guidance for resolution. Only returned when hasKarmicDebt is true.
    #[serde(rename = "karmicDebtMeaning", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_meaning: Option<CalculateExpressionResponseKarmicDebtMeaning>,
    /// Specific Karmic Debt number found during reduction. Each debt (13, 14, 16, 19) points to a distinct lesson woven into the talents your name bestows.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// The `meaning` field.
    pub meaning: CalculateExpressionResponseMeaning,
    /// Expression number (also called Destiny number) from every letter of the full birth name. Reveals natural talents, abilities, and the goals you are meant to achieve. Values: 1 to 9, 11, 22, or 33.
    pub number: f64,
    /// Single-digit (1 to 9) or Master Number (11, 22, 33). Master Numbers in the Expression position indicate extraordinary innate talent that demands conscious development.
    pub r#type: CalculateExpressionResponseType,
}
string_enum! {
    /// Single-digit (1 to 9) or Master Number (11, 22, 33). Master Numbers in the Expression position indicate extraordinary innate talent that demands conscious development.
    CalculateExpressionResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateExpressionResponseMeaning {
    /// Professional guidance aligned with your natural Expression talents. Covers ideal industries, specific roles, and the work environments where you will thrive.
    pub career: String,
    /// Shadow side of your talents and areas requiring conscious effort. Each challenge explains its root cause and practical strategies for transformation.
    pub challenges: Vec<String>,
    /// Core interpretation of the natural abilities, life mission and destiny the birth name describes. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Defining traits and talent themes for this Expression number. Ideal for personality profiles, compatibility engines, and talent-matching features.
    pub keywords: Vec<String>,
    /// How your Expression number shapes love, friendship, and family bonds. Includes compatibility insights with other numbers and communication patterns.
    pub relationships: String,
    /// The spiritual dimension of your Expression energy. Explores soul lessons, recommended practices, and the deeper purpose your talents are meant to serve.
    pub spirituality: String,
    /// Natural talents and innate gifts. Each strength includes a detailed explanation of how it shows up in work, relationships, and personal growth.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Expression number. Captures the essence of your natural abilities, such as "The Communicator" for 3 or "The Master Intuitive" for 11.
    pub title: String,
}
/// Detailed interpretation of the Karmic Debt number when present. Includes the debt theme, the inherited challenge, and guidance for resolution. Only returned when hasKarmicDebt is true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateExpressionResponseKarmicDebtMeaning {
    /// The specific challenge or pattern from past lives that must be confronted. Explains the root cause of recurring obstacles.
    pub challenge: String,
    /// Title describing the karmic debt theme. Identifies the core past-life pattern that this debt number carries forward.
    pub description: String,
    /// Practical guidance for resolving the karmic debt. Actionable steps for transforming the inherited challenge into growth.
    pub resolution: String,
}
/// Path and query parameters of `calculateExpression`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateExpressionParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateExpressionParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateExpressionParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateEntrancePada`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaResponse {
    /// How the stated effect reads: auspicious for a gain, inauspicious for a harm, mixed where the text names a gain and a loss together. A RoxyAPI classification of the verse effect rather than a word in the text, and always English so it is safe to key styling on.
    pub auspiciousness: String,
    /// The square as a row and column, which is what you draw with. Row 1 is the northern edge and column 1 the western one.
    pub cell: CalculateEntrancePadaResponseCell,
    /// The switches this reading resolved, echoed so a stored response can be reproduced years later without knowing what the defaults were on the day it was made.
    pub conventions: CalculateEntrancePadaResponseConventions,
    /// The devata holding the entrance square. Present only on the 81 pada grid, because 53.55 to 56 gives the 64 pada division its structure and names no devata on it. The effects themselves apply to either division, which is why the pada and the effect are returned in both cases.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub devata: Option<CalculateEntrancePadaResponseDevata>,
    /// What the chapter says follows from a main entrance on this pada. Original prose composed from the verse, translated in place when lang is set.
    pub effect: String,
    /// Position of the pada along its own side, 1 to 8, counting from the start corner. Useful for drawing a door strip without recomputing the global index.
    #[serde(rename = "ordinalOnSide")]
    pub ordinal_on_side: f64,
    /// Which of the 32 perimeter padas the main door falls on, numbered 1 to 32. Padas 1 to 8 run down the east side from the north-east corner, 9 to 16 along the south from the south-east, 17 to 24 up the west from the south-west and 25 to 32 along the north from the north-west. This index is the identifier every entrance verdict keys on.
    pub pada: f64,
    /// The verdict as a sentence, for a report or a chat answer. Composed from the pada, its side and its effect, and translated in place when lang is set.
    pub reading: String,
    /// The padas on this same side whose stated effect is a gain, so a door can be moved to the nearest favourable position without re-reading the whole table. Empty on a side where the chapter names no gain at all, which is true of the south.
    #[serde(rename = "recommendedPadas")]
    pub recommended_padas: Vec<f64>,
    /// Which of the four sides the pada belongs to. A corner square belongs to exactly one side, decided by the verses rather than by geometry, so the south-east corner reads South even though it sits at the end of the east edge.
    pub side: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculateEntrancePadaResponseSource,
    /// The square of the 81 pada grid the door falls in, 1 to 81. It is always the 81 pada square, whichever grid you ask for, because that is the division the chapter numbers and the one the 32 padas are enumerated on. Squares run row-major over the printed plate, so the corners are 1 north-east, 9 south-east, 73 north-west and 81 south-west.
    pub square: f64,
    /// The corner the chapter counts this side from. The four start corners are stated in the verses themselves, which is what makes the effect to pada alignment a reading rather than an inference.
    #[serde(rename = "startCorner")]
    pub start_corner: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaResponseSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// The devata holding the entrance square. Present only on the 81 pada grid, because 53.55 to 56 gives the 64 pada division its structure and names no devata on it. The effects themselves apply to either division, which is why the pada and the effect are returned in both cases.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaResponseDevata {
    /// Identifier of the devata holding that square. Always English transliteration, safe to compare against and to look up on the devatas endpoint.
    pub id: String,
    /// Display name of the devata. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi. Compare on id, never on this.
    pub name: String,
    /// How many of the 81 squares this devata holds: one for a padika, two for a dvipada, three for a tripada and nine for Brahma.
    #[serde(rename = "padaCount")]
    pub pada_count: f64,
}
/// The switches this reading resolved, echoed so a stored response can be reproduced years later without knowing what the defaults were on the day it was made.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaResponseConventions {
    /// Which division of the ground was read. Echoes the resolved value whether it was sent or defaulted.
    pub grid: String,
    /// Unit every distance and area in the response is measured in, areas in its square. Echoes the resolved value whether it was sent or defaulted.
    pub unit: CalculateEntrancePadaResponseConventionsUnit,
}
string_enum! {
    /// Unit every distance and area in the response is measured in, areas in its square. Echoes the resolved value whether it was sent or defaulted.
    CalculateEntrancePadaResponseConventionsUnit {
        Feet = "feet",
        Metres = "metres",
    }
}
/// The square as a row and column, which is what you draw with. Row 1 is the northern edge and column 1 the western one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaResponseCell {
    /// Column of the grid the square sits in, 1 at the western edge.
    #[serde(rename = "columnFromWest")]
    pub column_from_west: f64,
    /// Row of the grid the square sits in, 1 at the northern edge.
    #[serde(rename = "rowFromNorth")]
    pub row_from_north: f64,
}
/// Where the main door sits on the plot. Send facing or facingDegrees, never both, and locate the door with either door coordinates or doorPosition, never both.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaRequest {
    /// Where the main door sits, in plot coordinates. The point is snapped to the nearest boundary of the plot, so a coordinate read off a drawing that lands slightly inside or outside still resolves. Send this or doorPosition, never both.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub door: Option<CalculateEntrancePadaRequestDoor>,
    /// Where the main door sits along the facing side, as a fraction from 0 to 1 measured from the corner the chapter starts that side at: the north-east for an east facing, the south-east for a south facing, the south-west for a west facing and the north-west for a north facing. The side carries 8 padas, so to aim at pada n of 8 send its midpoint, (n - 0.5) / 8: 0.0625 for the first pada, 0.4375 for the fourth, 0.9375 for the eighth. The response names the pada the fraction resolved to in ordinalOnSide. Requires a cardinal facing, since an intercardinal facing names no single side. Send this or door, never both.
    #[serde(rename = "doorPosition", skip_serializing_if = "Option::is_none")]
    pub door_position: Option<f64>,
    /// Direction the front of the house looks out toward, one of the eight compass sectors. Case and punctuation are folded, so north-east, northeast and NorthEast all resolve. Send this or facingDegrees, never both.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub facing: Option<CalculateEntrancePadaRequestFacing>,
    /// Direction the front of the house looks out toward, as a compass bearing in degrees clockwise from true north, measured looking OUT from the building. The same convention the feng shui facing endpoints use, so a bearing works unchanged across the two domains. Send this or facing, never both.
    #[serde(rename = "facingDegrees", skip_serializing_if = "Option::is_none")]
    pub facing_degrees: Option<f64>,
    /// Which division of the ground to read: 81-pada is the Paramasayika of Brihat Samhita 53.42, the grid the chapter numbers and names every devata on, and 64-pada is the Manduka of 53.55, for which the chapter gives structure only and no devata names. Defaults to 81-pada.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub grid: Option<CalculateEntrancePadaRequestGrid>,
    /// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
    pub plot: CalculateEntrancePadaRequestPlot,
}
/// The ground the mandala is projected over. Send width and depth for a compass-aligned rectangle, or polygon for anything else. The x axis runs east and the y axis north, and the mandala is aligned to the compass rather than to the building.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateEntrancePadaRequestPlot {
    /// North-south extent of a rectangular plot, in the unit given. Send this with width for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub depth: Option<f64>,
    /// The plot outline as 3 to 16 vertices in plot coordinates, x east and y north, in either winding order. Use this instead of width and depth for a plot with a cut corner, an extension or an irregular boundary.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub polygon: Option<Vec<CalculateEntrancePadaRequestPlotPolygonItem>>,
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub unit: Option<CalculateEntrancePadaRequestPlotUnit>,
    /// East-west extent of a rectangular plot, in the unit given. Send this with depth for a rectangle, or send polygon instead.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub width: Option<f64>,
}
string_enum! {
    /// Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.
    CalculateEntrancePadaRequestPlotUnit {
        Feet = "feet",
        Metres = "metres",
    }
}
/// One entry of `polygon`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaRequestPlotPolygonItem {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
string_enum! {
    /// Which division of the ground to read: 81-pada is the Paramasayika of Brihat Samhita 53.42, the grid the chapter numbers and names every devata on, and 64-pada is the Manduka of 53.55, for which the chapter gives structure only and no devata names. Defaults to 81-pada.
    CalculateEntrancePadaRequestGrid {
        Variant81Pada = "81-pada",
        Variant64Pada = "64-pada",
    }
}
string_enum! {
    /// Direction the front of the house looks out toward, one of the eight compass sectors. Case and punctuation are folded, so north-east, northeast and NorthEast all resolve. Send this or facingDegrees, never both.
    CalculateEntrancePadaRequestFacing {
        North = "North",
        Northeast = "Northeast",
        East = "East",
        Southeast = "Southeast",
        South = "South",
        Southwest = "Southwest",
        West = "West",
        Northwest = "Northwest",
    }
}
/// Where the main door sits, in plot coordinates. The point is snapped to the nearest boundary of the plot, so a coordinate read off a drawing that lands slightly inside or outside still resolves. Send this or doorPosition, never both.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateEntrancePadaRequestDoor {
    /// Distance east of the plot origin, in the same unit as the plot. The x axis runs east.
    pub x: f64,
    /// Distance north of the plot origin, in the same unit as the plot. The y axis runs north.
    pub y: f64,
}
/// Path and query parameters of `calculateEntrancePada`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateEntrancePadaParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateEntrancePadaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateEntrancePadaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateDual`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDualResponse {
    /// True when both systems reduce to the same single-digit energy (Pythagorean number reduced to one digit equals the Chaldean root). Agreement is read as a name whose vibrations are in harmony.
    pub agreement: bool,
    /// The `chaldean` field.
    pub chaldean: CalculateDualResponseChaldean,
    /// The name analyzed.
    pub name: String,
    /// Plain-language comparison of the two systems for this name.
    pub note: String,
    /// The `pythagorean` field.
    pub pythagorean: CalculateDualResponsePythagorean,
}
/// The `pythagorean` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDualResponsePythagorean {
    /// Pythagorean letter breakdown and reduction.
    pub calculation: String,
    /// Core themes in the Pythagorean reading.
    pub keywords: Vec<String>,
    /// Pythagorean Expression number (1 to 9, 11, 22, 33).
    pub number: f64,
    /// Archetype of the number.
    pub title: String,
    /// Single digit or preserved master number.
    pub r#type: CalculateDualResponsePythagoreanType,
}
string_enum! {
    /// Single digit or preserved master number.
    CalculateDualResponsePythagoreanType {
        Single = "single",
        Master = "master",
    }
}
/// The `chaldean` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDualResponseChaldean {
    /// Chaldean letter breakdown to compound and root.
    pub calculation: String,
    /// True when the Chaldean root is 4 or 8, the numbers of caution.
    pub caution: bool,
    /// Chaldean compound number (10 to 52), the hidden influence, or null.
    pub compound: Option<f64>,
    /// Cheiro compound interpretation when present.
    #[serde(rename = "compoundMeaning")]
    pub compound_meaning: Option<CalculateDualResponseChaldeanCompoundMeaning>,
    /// Planetary ruler of the Chaldean root.
    pub planet: String,
    /// Chaldean root (1 to 9).
    pub root: f64,
    /// Archetype of the Chaldean root.
    pub title: String,
    /// The sum the compound is read from: for a one-word name, its Chaldean letter total; for a longer name, the sum of each word reduced to its single number, as Cheiro works John Smith (18 to 9, 17 to 8, total 17).
    pub total: f64,
}
/// Cheiro compound interpretation when present.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDualResponseChaldeanCompoundMeaning {
    /// Cheiro interpretation.
    pub meaning: String,
    /// Symbolic title.
    pub name: Option<String>,
    /// Tenor of the compound.
    pub nature: CalculateDualResponseChaldeanCompoundMeaningNature,
    /// The compound number.
    pub number: f64,
    /// Series equivalent for 33 to 52.
    #[serde(rename = "sameAs", skip_serializing_if = "Option::is_none")]
    pub same_as: Option<f64>,
}
string_enum! {
    /// Tenor of the compound.
    CalculateDualResponseChaldeanCompoundMeaningNature {
        Fortunate = "fortunate",
        Unfortunate = "unfortunate",
        Mixed = "mixed",
    }
}
/// Path and query parameters of `calculateDual`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateDualParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateDualParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateDualParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateDrishti`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDrishtiResponse {
    /// Aspect table grouped by aspecting planet. useful for rendering aspect grids in astrology software.
    #[serde(rename = "aspectTable")]
    pub aspect_table: Vec<CalculateDrishtiResponseAspectTableItem>,
    /// Complete list of all Vedic aspects (drishti) between planets. Includes full (7th) and special aspects (Mars 4th/8th, Jupiter 5th/9th, Saturn 3rd/10th).
    pub aspects: Vec<CalculateDrishtiResponseAspectsItem>,
    /// Chart time the aspects were calculated for, echoed back as the local wall clock of the request (ISO 8601, no offset). This is the `date` and `time` you sent, NOT a UTC instant: hold them fixed and vary `timezone` and every longitude moves while this field does not. Combine it with the `timezone` you sent to recover the absolute moment.
    pub datetime: String,
    /// Pairs of planets aspecting each other simultaneously. Mutual aspects amplify planetary influence significantly.
    #[serde(rename = "mutualAspects")]
    pub mutual_aspects: Vec<CalculateDrishtiResponseMutualAspectsItem>,
    /// Sidereal positions of all 9 planets at the given time.
    pub planets: Vec<CalculateDrishtiResponsePlanetsItem>,
}
/// One entry of `planets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDrishtiResponsePlanetsItem {
    /// Sidereal longitude in degrees (0-360).
    pub longitude: f64,
    /// Planet name (Sun through Ketu, all 9 Vedic grahas).
    pub name: String,
    /// Vedic zodiac sign (rashi) the planet occupies.
    pub sign: String,
}
/// One entry of `mutualAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDrishtiResponseMutualAspectsItem {
    /// The aspect type shared mutually. Mutual aspects are especially strong in Vedic astrology.
    #[serde(rename = "aspectType")]
    pub aspect_type: String,
    /// First planet in the mutual aspect pair.
    pub planet1: String,
    /// Second planet in the mutual aspect pair.
    pub planet2: String,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDrishtiResponseAspectsItem {
    /// Vedic aspect type. All planets have 7th aspect. Special aspects: Mars 4th/8th, Jupiter 5th/9th, Saturn 3rd/10th.
    #[serde(rename = "aspectType")]
    pub aspect_type: CalculateDrishtiResponseAspectsItemAspectType,
    /// Planet receiving the aspect.
    #[serde(rename = "aspectedPlanet")]
    pub aspected_planet: String,
    /// Planet casting the aspect (graha drishti).
    #[serde(rename = "aspectingPlanet")]
    pub aspecting_planet: String,
    /// Angular distance from exact aspect in degrees. Smaller orb = more potent aspect.
    pub orb: f64,
    /// Aspect strength percentage (0-100). 100 = exact aspect, decreases with orb distance.
    pub strength: f64,
}
string_enum! {
    /// Vedic aspect type. All planets have 7th aspect. Special aspects: Mars 4th/8th, Jupiter 5th/9th, Saturn 3rd/10th.
    CalculateDrishtiResponseAspectsItemAspectType {
        Conjunction = "conjunction",
        Variant7th = "7th",
        Variant4th = "4th",
        Variant8th = "8th",
        Variant5th = "5th",
        Variant9th = "9th",
        Variant3rd = "3rd",
        Variant10th = "10th",
    }
}
/// One entry of `aspectTable`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDrishtiResponseAspectTableItem {
    /// All aspects cast by this planet.
    pub aspects: Vec<CalculateDrishtiResponseAspectTableItemAspectsItem>,
    /// Planet casting aspects.
    pub planet: String,
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDrishtiResponseAspectTableItemAspectsItem {
    /// Vedic aspect house (7th, 4th, 8th, 5th, 9th, 3rd, 10th, or conjunction).
    #[serde(rename = "aspectType")]
    pub aspect_type: String,
    /// Planet being aspected.
    pub planet: String,
    /// Aspect strength percentage.
    pub strength: f64,
}
/// Request body of `calculateDrishti`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDrishtiRequest {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    #[serde(rename = "coordinateSystem", skip_serializing_if = "Option::is_none")]
    pub coordinate_system: Option<CalculateDrishtiRequestCoordinateSystem>,
    /// Date in YYYY-MM-DD format. Planetary positions are calculated for this date to determine mutual aspects (drishti).
    pub date: String,
    /// Observer latitude in decimal degrees. Used for Lagna calculation which affects house-based aspect analysis.
    pub latitude: f64,
    /// Observer longitude in decimal degrees. Affects local sidereal time for positional calculations.
    pub longitude: f64,
    /// Time in HH:MM:SS format (24-hour). Exact time affects fast-moving planets (Moon, Mercury) and aspect orbs.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<CalculateDrishtiRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateDrishtiRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa, the standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
    CalculateDrishtiRequestCoordinateSystem {
        Sidereal = "sidereal",
        Tropical = "tropical",
    }
}
/// Response body of `calculateDayMasterStrength`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthResponse {
    /// Echo of the birth moment the chart was computed from.
    #[serde(rename = "birthData")]
    pub birth_data: CalculateDayMasterStrengthResponseBirthData,
    /// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
    pub conventions: CalculateDayMasterStrengthResponseConventions,
    /// The day stem whose strength is being assessed.
    #[serde(rename = "dayMaster")]
    pub day_master: CalculateDayMasterStrengthResponseDayMaster,
    /// The three classical factors behind the verdict, each with what it found and what it contributed. These are the citable part of the reading; the score is our arithmetic over them.
    pub factors: Vec<CalculateDayMasterStrengthResponseFactorsItem>,
    /// Elements that help this chart. A weak Day Master wants its own element and the one that generates it; a strong one wants the three that drain, spend, or restrain it. Empty when the verdict is balanced, because a centred chart has no categorically favourable element and the incoming luck pillar decides. Always English, whatever the lang parameter says.
    #[serde(rename = "favorableElements")]
    pub favorable_elements: Vec<String>,
    /// Element headcount across the eight characters, the plain distribution behind the weighted verdict.
    #[serde(rename = "fiveElements")]
    pub five_elements: Vec<CalculateDayMasterStrengthResponseFiveElementsItem>,
    /// How many of the four branches store a stem of the Day Master element. Zero means the day stem is rootless, which is the single most decisive finding a strength reading can return.
    #[serde(rename = "rootCount")]
    pub root_count: f64,
    /// Composite support score, negative for an under-supported Day Master and positive for a well-supported one. A RoxyAPI weighting of the three classical factors rather than a figure from any text, published so the verdict can be audited: the three factor contributions sum to exactly this number.
    pub score: f64,
    /// State of the Day Master element in the birth month, the strongest single input. One of prosperous, supported, resting, imprisoned, dead, which render the classical five wang xiang xiu qiu si. Always English, whatever the lang parameter says; the translated reading is seasonalStateMeaning.
    #[serde(rename = "seasonalState")]
    pub seasonal_state: String,
    /// The seasonal state in hanzi. Identical under every lang.
    #[serde(rename = "seasonalStateChinese")]
    pub seasonal_state_chinese: String,
    /// What this seasonal state means for the chart.
    #[serde(rename = "seasonalStateMeaning")]
    pub seasonal_state_meaning: String,
    /// One-paragraph reading composed from the verdict, the seasonal state, and the rooting finding.
    pub summary: String,
    /// Elements that burden this chart, the complement of favorableElements. Also empty when the verdict is balanced.
    #[serde(rename = "unfavorableElements")]
    pub unfavorable_elements: Vec<String>,
    /// Strength verdict. One of very-weak, weak, balanced, strong, very-strong, banded on the composite score below: under -3 is very-weak, -3 to under -1 is weak, -1 to under 1 is balanced, 1 to under 3 is strong, 3 and above is very-strong. Always English, whatever the lang parameter says.
    pub verdict: String,
}
/// One entry of `fiveElements`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthResponseFiveElementsItem {
    /// How many of the eight chart characters carry this element, four stems and four branch elements at one point each.
    pub count: f64,
    /// Five-phase element. Always English, whatever the lang parameter says.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// How represented the element is. deficient is absent, excess is three or more, balanced is one or two.
    pub level: String,
    /// What this level of representation means for the chart.
    pub reading: String,
}
/// One entry of `factors`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthResponseFactorsItem {
    /// The factor named in hanzi. Identical under every lang.
    pub chinese: String,
    /// Points this factor contributed to the composite score, positive for support and negative for drain. The three contributions sum to score, so a caller who weights the factors differently can rebuild its own total from the same findings.
    pub contribution: f64,
    /// What the factor actually found in this chart, in one clause.
    pub detail: String,
    /// Which classical factor this is. month-command is de ling, whether the birth month season backs the Day Master element. rooting is de di, whether any branch stores a stem of that element. party is de shi, whether the other three stems, and the principal stems of the three branches outside the month, help or spend it. Always English, whatever the lang parameter says.
    pub id: String,
    /// Display name of the factor. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Tone-marked pinyin for the factor. Identical under every lang.
    pub pinyin: String,
}
/// The day stem whose strength is being assessed.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthResponseDayMaster {
    /// The Day Master stem in hanzi.
    pub chinese: String,
    /// Five-phase element of the Day Master, the element whose support is being weighed. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// What this particular stem is like as a Day Master.
    pub nature: String,
    /// Tone-marked pinyin for the Day Master stem.
    pub pinyin: String,
    /// Polarity of the Day Master, yang or yin.
    pub polarity: String,
    /// Day stem identifier. Always English pinyin, whatever the lang parameter says.
    pub stem: String,
}
/// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthResponseConventions {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    #[serde(rename = "dayBoundary")]
    pub day_boundary: CalculateDayMasterStrengthResponseConventionsDayBoundary,
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    #[serde(rename = "hourClock")]
    pub hour_clock: CalculateDayMasterStrengthResponseConventionsHourClock,
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: CalculateDayMasterStrengthResponseConventionsYearBoundary,
}
string_enum! {
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    CalculateDayMasterStrengthResponseConventionsYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    CalculateDayMasterStrengthResponseConventionsHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    CalculateDayMasterStrengthResponseConventionsDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Echo of the birth moment the chart was computed from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
    pub timezone: f64,
}
/// Request body of `calculateDayMasterStrength`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthRequest {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    #[serde(rename = "dayBoundary", skip_serializing_if = "Option::is_none")]
    pub day_boundary: Option<CalculateDayMasterStrengthRequestDayBoundary>,
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    #[serde(rename = "hourClock", skip_serializing_if = "Option::is_none")]
    pub hour_clock: Option<CalculateDayMasterStrengthRequestHourClock>,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateDayMasterStrengthRequestTimezone,
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<CalculateDayMasterStrengthRequestYearBoundary>,
}
string_enum! {
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    CalculateDayMasterStrengthRequestYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateDayMasterStrengthRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    CalculateDayMasterStrengthRequestHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    CalculateDayMasterStrengthRequestDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Path and query parameters of `calculateDayMasterStrength`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateDayMasterStrengthParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateDayMasterStrengthParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateDayMasterStrengthParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateDashakoot`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateDashakootParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateDashakootParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateDashakootParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateConnection`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateConnectionResponse {
    /// All nine centers with their defined state in the combined connection bodygraph and which person defines each.
    pub centers: Vec<CalculateConnectionResponseCentersItem>,
    /// Every connected channel between the two people with its dynamic. A channel is connected when the two people together hold both of its gates.
    pub channels: Vec<CalculateConnectionResponseChannelsItem>,
    /// Definition of the combined connection bodygraph from connected components among its defined centers. One of None, Single, Split, Triple Split, Quadruple Split. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use combinedDefinitionLocalized for anything a reader sees.
    #[serde(rename = "combinedDefinition")]
    pub combined_definition: String,
    /// Combined definition name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(
        rename = "combinedDefinitionLocalized",
        skip_serializing_if = "Option::is_none"
    )]
    pub combined_definition_localized: Option<String>,
    /// All unique active Human Design gate numbers for person A, in ascending order, including hanging gates that do not complete a channel. Use with personBGates to draw every activation on the combined bodygraph. Gate numbers are machine identifiers and do not change with lang.
    #[serde(rename = "personAGates", skip_serializing_if = "Option::is_none")]
    pub person_agates: Option<Vec<i64>>,
    /// All unique active Human Design gate numbers for person B, in ascending order, including hanging gates that do not complete a channel. Use with personAGates to draw every activation on the combined bodygraph. Gate numbers are machine identifiers and do not change with lang.
    #[serde(rename = "personBGates", skip_serializing_if = "Option::is_none")]
    pub person_bgates: Option<Vec<i64>>,
    /// Count of each connection dynamic across all connected channels.
    pub summary: CalculateConnectionResponseSummary,
    /// Total number of connected channels between the two people. Equals the length of channels and the sum of the summary counts.
    #[serde(rename = "totalChannels")]
    pub total_channels: f64,
}
/// Count of each connection dynamic across all connected channels.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateConnectionResponseSummary {
    /// Count of companionship channels, where both people share the whole channel.
    pub companionship: f64,
    /// Count of compromise channels, a full channel meeting a single hanging gate.
    pub compromise: f64,
    /// Count of dominance channels, where one person conditions the other one way.
    pub dominance: f64,
    /// Count of electromagnetic channels, the points of mutual attraction.
    pub electromagnetic: f64,
}
/// One entry of `channels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateConnectionResponseChannelsItem {
    /// The two centers this channel connects in the bodygraph.
    pub centers: Vec<String>,
    /// Circuit family of the channel. One of Individual, Collective, Tribal. Always English, whatever the lang parameter says. Use circuitLocalized for anything a reader sees.
    pub circuit: String,
    /// Circuit family name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "circuitLocalized", skip_serializing_if = "Option::is_none")]
    pub circuit_localized: Option<String>,
    /// Connection dynamic for this channel. Electromagnetic means each person holds one of the two gates and the channel completes only together, the classic point of attraction. Dominance means one person holds both gates and the other holds neither, a one-way conditioning. Compromise means one person holds both gates and the other holds a single hanging gate. Companionship means both people independently hold both gates, a shared and familiar frequency. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use dynamicLocalized for anything a reader sees.
    pub dynamic: String,
    /// Connection dynamic name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "dynamicLocalized", skip_serializing_if = "Option::is_none")]
    pub dynamic_localized: Option<String>,
    /// First gate of the channel.
    #[serde(rename = "gateA")]
    pub gate_a: f64,
    /// Second gate of the channel.
    #[serde(rename = "gateB")]
    pub gate_b: f64,
    /// Name of the channel whose connection dynamic is reported. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Channel name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Which of the channel two gates person A holds, from one to both.
    #[serde(rename = "personAGates")]
    pub person_agates: Vec<f64>,
    /// Which of the channel two gates person B holds, from one to both.
    #[serde(rename = "personBGates")]
    pub person_bgates: Vec<f64>,
}
/// One entry of `centers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateConnectionResponseCentersItem {
    /// Whether the center is defined in the combined connection bodygraph, where a channel counts as defined when the two people together hold both of its gates.
    pub defined: bool,
    /// Who defines this center in their own chart. A, B, both, or empty when the center is open in both individual charts.
    #[serde(rename = "definedBy")]
    pub defined_by: Vec<String>,
    /// Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
    pub id: String,
    /// Display name of the center. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Center name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
}
/// Request body of `calculateConnection`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateConnectionRequest {
    /// Birth moment of the first person in the connection.
    #[serde(rename = "personA")]
    pub person_a: CalculateConnectionRequestPersonA,
    /// Birth moment of the second person in the connection.
    #[serde(rename = "personB")]
    pub person_b: CalculateConnectionRequestPersonB,
}
/// Birth moment of the second person in the connection.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateConnectionRequestPersonB {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateConnectionRequestPersonBNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateConnectionRequestPersonBTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateConnectionRequestPersonBTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateConnectionRequestPersonBNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Birth moment of the first person in the connection.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateConnectionRequestPersonA {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateConnectionRequestPersonANodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateConnectionRequestPersonATimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateConnectionRequestPersonATimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateConnectionRequestPersonANodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateConnection`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateConnectionParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateConnectionParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateConnectionParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponse {
    /// Relationship archetype based on score pattern, category strengths, and elemental balance. One of eight archetypes: Kindred Spirits, Opposites Attract, The Power Couple, The Nurturers, The Adventurers, Growth Partners, The Balancers, The Mystics.
    pub archetype: CalculateCompatibilityResponseArchetype,
    /// Synastry aspect breakdown showing the balance of harmonious, challenging, and neutral inter-chart aspects.
    #[serde(rename = "aspectBreakdown")]
    pub aspect_breakdown: CalculateCompatibilityResponseAspectBreakdown,
    /// Compatibility breakdown by life area. Each category evaluates specific planetary pair interactions that govern that domain.
    pub categories: CalculateCompatibilityResponseCategories,
    /// Potential friction points based on challenging inter-chart aspects. Each includes specific guidance for navigating the tension.
    pub challenges: Vec<String>,
    /// Elemental balance comparison. Shows how fire, earth, air, and water energy is distributed across both charts.
    #[serde(rename = "elementBalance")]
    pub element_balance: CalculateCompatibilityResponseElementBalance,
    /// Detailed compatibility interpretation analyzing the synastry aspect patterns between both charts.
    pub interpretation: String,
    /// The most significant inter-chart aspects involving personal planets (Sun through Saturn), sorted by strength. Each includes a relationship-specific interpretation.
    #[serde(rename = "keyAspects")]
    pub key_aspects: Vec<CalculateCompatibilityResponseKeyAspectsItem>,
    /// Overall compatibility score (0-100). Weighted average across romantic, emotional, intellectual, physical, and spiritual categories.
    #[serde(rename = "overallScore")]
    pub overall_score: f64,
    /// Summary of key planetary positions for both people. Includes the four planets most relevant to relationship compatibility.
    pub persons: CalculateCompatibilityResponsePersons,
    /// Sign-by-sign compatibility analysis for the four key relationship planets. Each entry describes how the two signs interact through that planetary lens.
    #[serde(rename = "signCompatibility")]
    pub sign_compatibility: CalculateCompatibilityResponseSignCompatibility,
    /// Top relationship strengths based on harmonious inter-chart aspects. Each includes the planet pair, aspect type, and relationship-specific interpretation.
    pub strengths: Vec<String>,
    /// Narrative overview of the relationship compatibility, highlighting the dominant themes.
    pub summary: String,
}
/// Sign-by-sign compatibility analysis for the four key relationship planets. Each entry describes how the two signs interact through that planetary lens.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseSignCompatibility {
    /// Mars sign compatibility. Reveals how you handle passion, conflict, and desire.
    pub mars: CalculateCompatibilityResponseSignCompatibilityMars,
    /// Moon sign compatibility. Reveals how you process emotions and nurture each other.
    pub moon: CalculateCompatibilityResponseSignCompatibilityMoon,
    /// Sun sign compatibility. Reveals core personality dynamic as a couple.
    pub sun: CalculateCompatibilityResponseSignCompatibilitySun,
    /// Venus sign compatibility. Reveals love languages and what you find beautiful together.
    pub venus: CalculateCompatibilityResponseSignCompatibilityVenus,
}
/// Venus sign compatibility. Reveals love languages and what you find beautiful together.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseSignCompatibilityVenus {
    /// Narrative analysis of how these two signs interact through this planet.
    pub description: String,
    /// Person 1 sign for this planet.
    #[serde(rename = "person1Sign")]
    pub person1_sign: String,
    /// Person 2 sign for this planet.
    #[serde(rename = "person2Sign")]
    pub person2_sign: String,
}
/// Sun sign compatibility. Reveals core personality dynamic as a couple.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseSignCompatibilitySun {
    /// Narrative analysis of how these two signs interact through this planet.
    pub description: String,
    /// Person 1 sign for this planet.
    #[serde(rename = "person1Sign")]
    pub person1_sign: String,
    /// Person 2 sign for this planet.
    #[serde(rename = "person2Sign")]
    pub person2_sign: String,
}
/// Moon sign compatibility. Reveals how you process emotions and nurture each other.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseSignCompatibilityMoon {
    /// Narrative analysis of how these two signs interact through this planet.
    pub description: String,
    /// Person 1 sign for this planet.
    #[serde(rename = "person1Sign")]
    pub person1_sign: String,
    /// Person 2 sign for this planet.
    #[serde(rename = "person2Sign")]
    pub person2_sign: String,
}
/// Mars sign compatibility. Reveals how you handle passion, conflict, and desire.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseSignCompatibilityMars {
    /// Narrative analysis of how these two signs interact through this planet.
    pub description: String,
    /// Person 1 sign for this planet.
    #[serde(rename = "person1Sign")]
    pub person1_sign: String,
    /// Person 2 sign for this planet.
    #[serde(rename = "person2Sign")]
    pub person2_sign: String,
}
/// Summary of key planetary positions for both people. Includes the four planets most relevant to relationship compatibility.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersons {
    /// Key planet positions for person 1. Sun, Moon, Venus, and Mars sign placements.
    pub person1: CalculateCompatibilityResponsePersonsPerson1,
    /// Key planet positions for person 2. Sun, Moon, Venus, and Mars sign placements.
    pub person2: CalculateCompatibilityResponsePersonsPerson2,
}
/// Key planet positions for person 2. Sun, Moon, Venus, and Mars sign placements.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson2 {
    /// Mars sign position. Passion, desire, and conflict style.
    pub mars: CalculateCompatibilityResponsePersonsPerson2Mars,
    /// Moon sign position. Emotional nature and instincts.
    pub moon: CalculateCompatibilityResponsePersonsPerson2Moon,
    /// Sun sign position. Core identity and ego.
    pub sun: CalculateCompatibilityResponsePersonsPerson2Sun,
    /// Venus sign position. Love language and relationship style.
    pub venus: CalculateCompatibilityResponsePersonsPerson2Venus,
}
/// Venus sign position. Love language and relationship style.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson2Venus {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// Sun sign position. Core identity and ego.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson2Sun {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// Moon sign position. Emotional nature and instincts.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson2Moon {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// Mars sign position. Passion, desire, and conflict style.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson2Mars {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// Key planet positions for person 1. Sun, Moon, Venus, and Mars sign placements.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson1 {
    /// Mars sign position. Passion, desire, and conflict style.
    pub mars: CalculateCompatibilityResponsePersonsPerson1Mars,
    /// Moon sign position. Emotional nature and instincts.
    pub moon: CalculateCompatibilityResponsePersonsPerson1Moon,
    /// Sun sign position. Core identity and ego.
    pub sun: CalculateCompatibilityResponsePersonsPerson1Sun,
    /// Venus sign position. Love language and relationship style.
    pub venus: CalculateCompatibilityResponsePersonsPerson1Venus,
}
/// Venus sign position. Love language and relationship style.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson1Venus {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// Sun sign position. Core identity and ego.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson1Sun {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// Moon sign position. Emotional nature and instincts.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson1Moon {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// Mars sign position. Passion, desire, and conflict style.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponsePersonsPerson1Mars {
    /// Degree within the zodiac sign (0-29.999).
    pub degree: f64,
    /// Zodiac sign this planet occupies in the tropical zodiac.
    pub sign: String,
}
/// One entry of `keyAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseKeyAspectsItem {
    /// Relationship-specific interpretation of this aspect between the two charts.
    pub description: String,
    /// Aspect nature. Harmonious flows easily. Challenging creates growth-oriented tension.
    pub interpretation: CalculateCompatibilityResponseKeyAspectsItemInterpretation,
    /// Deviation from exact aspect in degrees. Tighter orb = stronger influence.
    pub orb: f64,
    /// First planet in the aspect.
    pub planet1: String,
    /// Second planet in the aspect.
    pub planet2: String,
    /// Aspect type (conjunction, trine, square, etc.).
    pub r#type: String,
}
string_enum! {
    /// Aspect nature. Harmonious flows easily. Challenging creates growth-oriented tension.
    CalculateCompatibilityResponseKeyAspectsItemInterpretation {
        Harmonious = "harmonious",
        Challenging = "challenging",
        Neutral = "neutral",
    }
}
/// Elemental balance comparison. Shows how fire, earth, air, and water energy is distributed across both charts.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseElementBalance {
    /// How the elemental balance between charts shapes the relationship dynamic.
    pub description: String,
    /// Element distribution across person 1 natal planets.
    pub person1: CalculateCompatibilityResponseElementBalancePerson1,
    /// Element distribution across person 2 natal planets.
    pub person2: CalculateCompatibilityResponseElementBalancePerson2,
    /// Dominant element shared by both charts, or null if dominant elements differ.
    #[serde(rename = "sharedElement")]
    pub shared_element: Option<String>,
}
/// Element distribution across person 2 natal planets.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseElementBalancePerson2 {
    /// Count of planets in air signs (Gemini, Libra, Aquarius).
    pub air: f64,
    /// Count of planets in earth signs (Taurus, Virgo, Capricorn).
    pub earth: f64,
    /// Count of planets in fire signs (Aries, Leo, Sagittarius).
    pub fire: f64,
    /// Count of planets in water signs (Cancer, Scorpio, Pisces).
    pub water: f64,
}
/// Element distribution across person 1 natal planets.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseElementBalancePerson1 {
    /// Count of planets in air signs (Gemini, Libra, Aquarius).
    pub air: f64,
    /// Count of planets in earth signs (Taurus, Virgo, Capricorn).
    pub earth: f64,
    /// Count of planets in fire signs (Aries, Leo, Sagittarius).
    pub fire: f64,
    /// Count of planets in water signs (Cancer, Scorpio, Pisces).
    pub water: f64,
}
/// Compatibility breakdown by life area. Each category evaluates specific planetary pair interactions that govern that domain.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseCategories {
    /// Emotional compatibility score based on Moon-Moon and Moon-Venus inter-aspects.
    pub emotional: f64,
    /// Intellectual compatibility score based on Mercury-Mercury and Sun-Mercury inter-aspects.
    pub intellectual: f64,
    /// Physical compatibility score based on Mars-Mars and Mars-Sun inter-aspects.
    pub physical: f64,
    /// Romantic compatibility score based on Sun-Moon, Venus-Mars, and Sun-Venus inter-aspects.
    pub romantic: f64,
    /// Spiritual compatibility score based on Jupiter-Sun and Jupiter-Jupiter inter-aspects.
    pub spiritual: f64,
}
/// Synastry aspect breakdown showing the balance of harmonious, challenging, and neutral inter-chart aspects.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseAspectBreakdown {
    /// Count of challenging aspects (square, opposition). These create dynamic tension and growth.
    pub challenging: f64,
    /// Count of harmonious aspects (trine, sextile). These indicate natural ease and flow.
    pub harmonious: f64,
    /// Count of neutral aspects (conjunction). Outcome depends on the planets involved.
    pub neutral: f64,
    /// Total number of inter-chart aspects found between the two natal charts.
    pub total: f64,
}
/// Relationship archetype based on score pattern, category strengths, and elemental balance. One of eight archetypes: Kindred Spirits, Opposites Attract, The Power Couple, The Nurturers, The Adventurers, Growth Partners, The Balancers, The Mystics.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityResponseArchetype {
    /// Narrative description of the relationship archetype and what it means.
    pub description: String,
    /// Relationship archetype label. A headline-friendly label for the dynamic.
    pub label: String,
}
/// Request body of `calculateCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityRequest {
    /// First person birth details (date, time, location, timezone). Required for calculating natal planetary positions.
    pub person1: CalculateCompatibilityRequestPerson1,
    /// Second person birth details. Compared against person1 to evaluate inter-chart aspects and compatibility.
    pub person2: CalculateCompatibilityRequestPerson2,
}
/// Second person birth details. Compared against person1 to evaluate inter-chart aspects and compatibility.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityRequestPerson2 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateCompatibilityRequestPerson2NodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: CalculateCompatibilityRequestPerson2Timezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateCompatibilityRequestPerson2Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    CalculateCompatibilityRequestPerson2NodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// First person birth details (date, time, location, timezone). Required for calculating natal planetary positions.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCompatibilityRequestPerson1 {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateCompatibilityRequestPerson1NodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: CalculateCompatibilityRequestPerson1Timezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateCompatibilityRequestPerson1Timezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    CalculateCompatibilityRequestPerson1NodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateCompatibilityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateCompatibilityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateCompatibilityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateCharaKarakas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateCharaKarakasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateCharaKarakasParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateCharaKarakasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateChannels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChannelsResponse {
    /// The defined channels, where both gates are activated.
    pub channels: Vec<CalculateChannelsResponseChannelsItem>,
    /// The centers defined by these channels.
    #[serde(rename = "definedCenters")]
    pub defined_centers: Vec<String>,
    /// Number of defined channels in the bodygraph.
    pub total: f64,
}
/// One entry of `channels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChannelsResponseChannelsItem {
    /// The two centers this channel connects and defines.
    pub centers: Vec<String>,
    /// Circuit family of the channel. One of Individual, Collective, Tribal. Always English, whatever the lang parameter says. Use circuitLocalized for anything a reader sees.
    pub circuit: String,
    /// What the circuit family of this channel governs.
    #[serde(rename = "circuitDescription")]
    pub circuit_description: String,
    /// Circuit family name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "circuitLocalized", skip_serializing_if = "Option::is_none")]
    pub circuit_localized: Option<String>,
    /// What this channel wires between its two centers and the nature of the energy it carries.
    pub description: String,
    /// First gate of the channel.
    #[serde(rename = "gateA")]
    pub gate_a: f64,
    /// Second gate of the channel.
    #[serde(rename = "gateB")]
    pub gate_b: f64,
    /// Name of the defined channel. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Channel name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
}
/// Request body of `calculateChannels`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChannelsRequest {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateChannelsRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateChannelsRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateChannelsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateChannelsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateChannels`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateChannelsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateChannelsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateChannelsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateChaldean`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponse {
    /// True when the Destiny root is 4 or 8, the karmic numbers Cheiro advises adjusting a name away from for material success.
    pub caution: bool,
    /// The Destiny or name number from all letters. The primary Chaldean number, revealing the overall direction encoded in the name.
    pub destiny: CalculateChaldeanResponseDestiny,
    /// The name analyzed.
    pub name: String,
    /// The `numberMeaning` field.
    #[serde(rename = "numberMeaning")]
    pub number_meaning: CalculateChaldeanResponseNumberMeaning,
    /// The Personality number from the consonants, revealing the outer impression. Root may be 0 when the name has no consonants.
    pub personality: CalculateChaldeanResponsePersonality,
    /// The Soul Urge number from the vowels, revealing inner desire. Root may be 0 when the name has no vowels.
    #[serde(rename = "soulUrge")]
    pub soul_urge: CalculateChaldeanResponseSoulUrge,
    /// One-line plain-language summary of the Chaldean reading.
    pub summary: String,
}
/// The Soul Urge number from the vowels, revealing inner desire. Root may be 0 when the name has no vowels.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponseSoulUrge {
    /// Letter-by-letter Chaldean breakdown, name by name for a longer name, summed to the total, then to compound and root.
    pub calculation: String,
    /// The interpretable compound number (10 to 52), the hidden influence behind the name, or null when the total resolves below 10.
    pub compound: Option<f64>,
    /// Cheiro compound-number interpretation when the aspect carries a compound layer.
    #[serde(rename = "compoundMeaning")]
    pub compound_meaning: Option<CalculateChaldeanResponseSoulUrgeCompoundMeaning>,
    /// The single-digit root (1 to 9), the outward expression. Chaldean does not preserve master numbers.
    pub root: f64,
    /// The sum the compound is read from: for a one-word name, its Chaldean letter total; for a longer name, the sum of each word reduced to its single number, as Cheiro works John Smith (18 to 9, 17 to 8, total 17).
    pub total: f64,
}
/// Cheiro compound-number interpretation when the aspect carries a compound layer.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponseSoulUrgeCompoundMeaning {
    /// Cheiro interpretation of the hidden influence carried by this compound number.
    pub meaning: String,
    /// Classical symbolic title from Cheiro, or null when the number has no named symbol.
    pub name: Option<String>,
    /// Overall tenor of the compound. "mixed" covers conditional numbers that are fortunate only alongside a favorable single number or in a specific domain.
    pub nature: CalculateChaldeanResponseSoulUrgeCompoundMeaningNature,
    /// The compound number (10 to 52).
    pub number: f64,
    /// For numbers 33 to 52, the lower compound in the same series whose meaning this number shares.
    #[serde(rename = "sameAs", skip_serializing_if = "Option::is_none")]
    pub same_as: Option<f64>,
}
string_enum! {
    /// Overall tenor of the compound. "mixed" covers conditional numbers that are fortunate only alongside a favorable single number or in a specific domain.
    CalculateChaldeanResponseSoulUrgeCompoundMeaningNature {
        Fortunate = "fortunate",
        Unfortunate = "unfortunate",
        Mixed = "mixed",
    }
}
/// The Personality number from the consonants, revealing the outer impression. Root may be 0 when the name has no consonants.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponsePersonality {
    /// Letter-by-letter Chaldean breakdown, name by name for a longer name, summed to the total, then to compound and root.
    pub calculation: String,
    /// The interpretable compound number (10 to 52), the hidden influence behind the name, or null when the total resolves below 10.
    pub compound: Option<f64>,
    /// Cheiro compound-number interpretation when the aspect carries a compound layer.
    #[serde(rename = "compoundMeaning")]
    pub compound_meaning: Option<CalculateChaldeanResponsePersonalityCompoundMeaning>,
    /// The single-digit root (1 to 9), the outward expression. Chaldean does not preserve master numbers.
    pub root: f64,
    /// The sum the compound is read from: for a one-word name, its Chaldean letter total; for a longer name, the sum of each word reduced to its single number, as Cheiro works John Smith (18 to 9, 17 to 8, total 17).
    pub total: f64,
}
/// Cheiro compound-number interpretation when the aspect carries a compound layer.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponsePersonalityCompoundMeaning {
    /// Cheiro interpretation of the hidden influence carried by this compound number.
    pub meaning: String,
    /// Classical symbolic title from Cheiro, or null when the number has no named symbol.
    pub name: Option<String>,
    /// Overall tenor of the compound. "mixed" covers conditional numbers that are fortunate only alongside a favorable single number or in a specific domain.
    pub nature: CalculateChaldeanResponsePersonalityCompoundMeaningNature,
    /// The compound number (10 to 52).
    pub number: f64,
    /// For numbers 33 to 52, the lower compound in the same series whose meaning this number shares.
    #[serde(rename = "sameAs", skip_serializing_if = "Option::is_none")]
    pub same_as: Option<f64>,
}
string_enum! {
    /// Overall tenor of the compound. "mixed" covers conditional numbers that are fortunate only alongside a favorable single number or in a specific domain.
    CalculateChaldeanResponsePersonalityCompoundMeaningNature {
        Fortunate = "fortunate",
        Unfortunate = "unfortunate",
        Mixed = "mixed",
    }
}
/// The `numberMeaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponseNumberMeaning {
    /// True for roots 4 and 8, the two numbers Cheiro counsels caution with.
    pub caution: bool,
    /// Core themes of the Destiny root.
    pub keywords: Vec<String>,
    /// Planetary interpretation of the Destiny root number.
    pub meaning: String,
    /// The Destiny root (1 to 9).
    pub number: f64,
    /// Ruling planet.
    pub planet: String,
    /// Archetype of the root number.
    pub title: String,
}
/// The Destiny or name number from all letters. The primary Chaldean number, revealing the overall direction encoded in the name.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponseDestiny {
    /// Letter-by-letter Chaldean breakdown, name by name for a longer name, summed to the total, then to compound and root.
    pub calculation: String,
    /// The interpretable compound number (10 to 52), the hidden influence behind the name, or null when the total resolves below 10.
    pub compound: Option<f64>,
    /// Cheiro compound-number interpretation when the aspect carries a compound layer.
    #[serde(rename = "compoundMeaning")]
    pub compound_meaning: Option<CalculateChaldeanResponseDestinyCompoundMeaning>,
    /// The single-digit root (1 to 9), the outward expression. Chaldean does not preserve master numbers.
    pub root: f64,
    /// The sum the compound is read from: for a one-word name, its Chaldean letter total; for a longer name, the sum of each word reduced to its single number, as Cheiro works John Smith (18 to 9, 17 to 8, total 17).
    pub total: f64,
}
/// Cheiro compound-number interpretation when the aspect carries a compound layer.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanResponseDestinyCompoundMeaning {
    /// Cheiro interpretation of the hidden influence carried by this compound number.
    pub meaning: String,
    /// Classical symbolic title from Cheiro, or null when the number has no named symbol.
    pub name: Option<String>,
    /// Overall tenor of the compound. "mixed" covers conditional numbers that are fortunate only alongside a favorable single number or in a specific domain.
    pub nature: CalculateChaldeanResponseDestinyCompoundMeaningNature,
    /// The compound number (10 to 52).
    pub number: f64,
    /// For numbers 33 to 52, the lower compound in the same series whose meaning this number shares.
    #[serde(rename = "sameAs", skip_serializing_if = "Option::is_none")]
    pub same_as: Option<f64>,
}
string_enum! {
    /// Overall tenor of the compound. "mixed" covers conditional numbers that are fortunate only alongside a favorable single number or in a specific domain.
    CalculateChaldeanResponseDestinyCompoundMeaningNature {
        Fortunate = "fortunate",
        Unfortunate = "unfortunate",
        Mixed = "mixed",
    }
}
/// Path and query parameters of `calculateChaldean`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateChaldeanParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateChaldeanParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateChaldeanParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateCenters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCentersResponse {
    /// All nine centers with their defined state and active gates.
    pub centers: Vec<CalculateCentersResponseCentersItem>,
    /// How many of the nine centers are defined.
    #[serde(rename = "definedCount")]
    pub defined_count: f64,
}
/// One entry of `centers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCentersResponseCentersItem {
    /// Whether this is an awareness center. The three awareness centers are Ajna, Solar Plexus, and Spleen.
    pub awareness: bool,
    /// The gland, organ, or system this center corresponds to in the body.
    pub biology: String,
    /// Whether the center is defined. A defined center is a consistent source of energy or awareness; an undefined center is open and conditioned by others.
    pub defined: bool,
    /// Active gate numbers that sit in this center.
    pub gates: Vec<f64>,
    /// Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
    pub id: String,
    /// Whether this is a motor center (energy source). The four motors are Heart, Sacral, Solar Plexus, and Root.
    pub motor: bool,
    /// Display name of the center. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Center name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// The conditioning trap of this center when it is open. Returned on every center so a consumer can surface it the moment `defined` is false, which is where the not-self operates.
    #[serde(rename = "notSelfQuestion")]
    pub not_self_question: String,
    /// Theme text describing the center in its current defined or undefined state.
    pub theme: String,
}
/// Request body of `calculateCenters`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateCentersRequest {
    /// Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
    pub date: String,
    /// Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<CalculateCentersRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateCentersRequestTimezone,
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateCentersRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node activations. True is what professional Human Design software uses (HumanDesign.ai, Total Human Design) and is the value RoxyAPI verifies against, so leave it unset for a standard chart. It matters only when a node sits on a gate boundary, where the choice moves a node gate. Because a gate can be half of a channel, that can change the completed channels and, with them, whether a center reads defined or open, plus the definition, authority, profile or type. A chart where only one center disagrees is the usual shape, since the type and profile often survive unchanged. If another calculator disagrees on any of those, it is almost certainly using the mean node: pass "mean" to match it. Defaults to "true".
    CalculateCentersRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Path and query parameters of `calculateCenters`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateCentersParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateCentersParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateCentersParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateBusinessName`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBusinessNameResponse {
    /// Chaldean letter breakdown of the business name.
    pub calculation: String,
    /// Chaldean compound number (10 to 52), the hidden influence, or null.
    pub compound: Option<f64>,
    /// Cheiro compound interpretation when present.
    #[serde(rename = "compoundMeaning")]
    pub compound_meaning: Option<CalculateBusinessNameResponseCompoundMeaning>,
    /// True when the compound number is one of Cheiro fortunate compounds, an extra positive signal layered over the root rating.
    #[serde(rename = "favorableCompound")]
    pub favorable_compound: bool,
    /// Plain-language guidance for using this number as a brand.
    pub guidance: String,
    /// Industries the business root favors.
    pub industries: Vec<String>,
    /// The business name analyzed.
    pub name: String,
    /// Planetary ruler of the business root.
    pub planet: String,
    /// Overall favorability of the root for business. excellent and good are growth-friendly; caution (7, 8) and avoid (4) flag the demanding and unstable roots.
    pub rating: CalculateBusinessNameResponseRating,
    /// Single-digit business root (1 to 9), the outward commercial expression.
    pub root: f64,
    /// One-line plain-language verdict for the business name.
    pub summary: String,
    /// The sum the compound is read from: for a one-word name, its Chaldean letter total; for a longer name, the sum of each word reduced to its single number, as Cheiro works John Smith (18 to 9, 17 to 8, total 17).
    pub total: f64,
}
string_enum! {
    /// Overall favorability of the root for business. excellent and good are growth-friendly; caution (7, 8) and avoid (4) flag the demanding and unstable roots.
    CalculateBusinessNameResponseRating {
        Excellent = "excellent",
        Good = "good",
        Caution = "caution",
        Avoid = "avoid",
    }
}
/// Cheiro compound interpretation when present.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBusinessNameResponseCompoundMeaning {
    /// Cheiro interpretation.
    pub meaning: String,
    /// Symbolic title, if any.
    pub name: Option<String>,
    /// Tenor of the compound.
    pub nature: CalculateBusinessNameResponseCompoundMeaningNature,
    /// The compound number.
    pub number: f64,
    /// Series equivalent for 33 to 52.
    #[serde(rename = "sameAs", skip_serializing_if = "Option::is_none")]
    pub same_as: Option<f64>,
}
string_enum! {
    /// Tenor of the compound.
    CalculateBusinessNameResponseCompoundMeaningNature {
        Fortunate = "fortunate",
        Unfortunate = "unfortunate",
        Mixed = "mixed",
    }
}
/// Path and query parameters of `calculateBusinessName`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateBusinessNameParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateBusinessNameParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateBusinessNameParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateBridgeNumbers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponse {
    /// Bridge between Expression and Personality numbers, a pairing this API adds beside the classical bridges. Reveals the gap between your true talents (all letters) and how others perceive you (consonants only). A high bridge means others may not see your real capabilities, requiring you to present yourself more authentically.
    #[serde(rename = "expressionPersonality")]
    pub expression_personality: CalculateBridgeNumbersResponseExpressionPersonality,
    /// Bridge between Expression and Soul Urge numbers. Reveals the gap between your outward talents (all letters) and your deepest inner desires (vowels only). A high bridge means what you are good at may differ from what your soul truly craves, calling for realignment.
    #[serde(rename = "expressionSoulUrge")]
    pub expression_soul_urge: CalculateBridgeNumbersResponseExpressionSoulUrge,
    /// Bridge between Life Path and Expression numbers. Reveals the gap between your destined life purpose (from birth date) and your natural talents and abilities (from birth name). A high bridge here means your innate skills may not directly serve your life mission without conscious effort.
    #[serde(rename = "lifePathExpression")]
    pub life_path_expression: CalculateBridgeNumbersResponseLifePathExpression,
    /// Bridge between Soul Urge and Personality numbers, one of the classical bridges. Reveals the gap between your inner self (vowels only) and the image others meet first (consonants only). A high bridge means what you want and how you come across pull apart, calling for a more transparent presentation of your real motives.
    #[serde(rename = "soulUrgePersonality")]
    pub soul_urge_personality: CalculateBridgeNumbersResponseSoulUrgePersonality,
}
/// Bridge between Soul Urge and Personality numbers, one of the classical bridges. Reveals the gap between your inner self (vowels only) and the image others meet first (consonants only). A high bridge means what you want and how you come across pull apart, calling for a more transparent presentation of your real motives.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseSoulUrgePersonality {
    /// Bridge number (0 to 8). The absolute difference between two core numerology numbers after reducing master numbers to single digits. 0 means the two aspects are already in natural harmony. Higher values indicate greater tension requiring conscious adjustment.
    pub bridge: i64,
    /// The `from` field.
    pub from: CalculateBridgeNumbersResponseSoulUrgePersonalityFrom,
    /// Actionable guidance for bridging the gap between these two aspects of your numerology profile. Explains what adjustments to make to bring these energies into harmony.
    pub meaning: String,
    /// The `to` field.
    pub to: CalculateBridgeNumbersResponseSoulUrgePersonalityTo,
}
/// The `to` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseSoulUrgePersonalityTo {
    /// Name of the second core number in this bridge pair. Identifies the other aspect of personality or destiny being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the second core number used in the bridge calculation.
    pub number: f64,
}
/// The `from` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseSoulUrgePersonalityFrom {
    /// Name of the first core number in this bridge pair. Identifies which aspect of personality or destiny is being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the first core number used in the bridge calculation.
    pub number: f64,
}
/// Bridge between Life Path and Expression numbers. Reveals the gap between your destined life purpose (from birth date) and your natural talents and abilities (from birth name). A high bridge here means your innate skills may not directly serve your life mission without conscious effort.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseLifePathExpression {
    /// Bridge number (0 to 8). The absolute difference between two core numerology numbers after reducing master numbers to single digits. 0 means the two aspects are already in natural harmony. Higher values indicate greater tension requiring conscious adjustment.
    pub bridge: i64,
    /// The `from` field.
    pub from: CalculateBridgeNumbersResponseLifePathExpressionFrom,
    /// Actionable guidance for bridging the gap between these two aspects of your numerology profile. Explains what adjustments to make to bring these energies into harmony.
    pub meaning: String,
    /// The `to` field.
    pub to: CalculateBridgeNumbersResponseLifePathExpressionTo,
}
/// The `to` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseLifePathExpressionTo {
    /// Name of the second core number in this bridge pair. Identifies the other aspect of personality or destiny being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the second core number used in the bridge calculation.
    pub number: f64,
}
/// The `from` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseLifePathExpressionFrom {
    /// Name of the first core number in this bridge pair. Identifies which aspect of personality or destiny is being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the first core number used in the bridge calculation.
    pub number: f64,
}
/// Bridge between Expression and Soul Urge numbers. Reveals the gap between your outward talents (all letters) and your deepest inner desires (vowels only). A high bridge means what you are good at may differ from what your soul truly craves, calling for realignment.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseExpressionSoulUrge {
    /// Bridge number (0 to 8). The absolute difference between two core numerology numbers after reducing master numbers to single digits. 0 means the two aspects are already in natural harmony. Higher values indicate greater tension requiring conscious adjustment.
    pub bridge: i64,
    /// The `from` field.
    pub from: CalculateBridgeNumbersResponseExpressionSoulUrgeFrom,
    /// Actionable guidance for bridging the gap between these two aspects of your numerology profile. Explains what adjustments to make to bring these energies into harmony.
    pub meaning: String,
    /// The `to` field.
    pub to: CalculateBridgeNumbersResponseExpressionSoulUrgeTo,
}
/// The `to` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseExpressionSoulUrgeTo {
    /// Name of the second core number in this bridge pair. Identifies the other aspect of personality or destiny being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the second core number used in the bridge calculation.
    pub number: f64,
}
/// The `from` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseExpressionSoulUrgeFrom {
    /// Name of the first core number in this bridge pair. Identifies which aspect of personality or destiny is being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the first core number used in the bridge calculation.
    pub number: f64,
}
/// Bridge between Expression and Personality numbers, a pairing this API adds beside the classical bridges. Reveals the gap between your true talents (all letters) and how others perceive you (consonants only). A high bridge means others may not see your real capabilities, requiring you to present yourself more authentically.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseExpressionPersonality {
    /// Bridge number (0 to 8). The absolute difference between two core numerology numbers after reducing master numbers to single digits. 0 means the two aspects are already in natural harmony. Higher values indicate greater tension requiring conscious adjustment.
    pub bridge: i64,
    /// The `from` field.
    pub from: CalculateBridgeNumbersResponseExpressionPersonalityFrom,
    /// Actionable guidance for bridging the gap between these two aspects of your numerology profile. Explains what adjustments to make to bring these energies into harmony.
    pub meaning: String,
    /// The `to` field.
    pub to: CalculateBridgeNumbersResponseExpressionPersonalityTo,
}
/// The `to` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseExpressionPersonalityTo {
    /// Name of the second core number in this bridge pair. Identifies the other aspect of personality or destiny being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the second core number used in the bridge calculation.
    pub number: f64,
}
/// The `from` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersResponseExpressionPersonalityFrom {
    /// Name of the first core number in this bridge pair. Identifies which aspect of personality or destiny is being compared.
    pub name: String,
    /// The reduced single-digit value (1 to 9) of the first core number used in the bridge calculation.
    pub number: f64,
}
/// Path and query parameters of `calculateBridgeNumbers`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateBridgeNumbersParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateBridgeNumbersParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateBirthDay`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBirthDayResponse {
    /// Step-by-step digit reduction of the birth day. Single-digit days (1 to 9) remain as they are, a day that is or reduces to 11 or 22 keeps it, and every other two-digit day is reduced to one digit.
    pub calculation: String,
    /// Indicates whether a Karmic Debt number (13, 14, 16, or 19) corresponds to the birth day. Karmic Debt in the Birth Day position reveals past-life challenges woven directly into your natural talents, influencing how your gifts manifest.
    #[serde(rename = "hasKarmicDebt")]
    pub has_karmic_debt: bool,
    /// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
    #[serde(rename = "karmicDebtMeaning", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_meaning: Option<CalculateBirthDayResponseKarmicDebtMeaning>,
    /// The specific Karmic Debt number detected from the birth day, if any. Each debt number (13, 14, 16, 19) represents a distinct past-life lesson embedded in the talents your birth day bestows.
    #[serde(rename = "karmicDebtNumber", skip_serializing_if = "Option::is_none")]
    pub karmic_debt_number: Option<f64>,
    /// The `meaning` field.
    pub meaning: CalculateBirthDayResponseMeaning,
    /// Your Birth Day number, revealing the special talents and innate abilities you carry from the day you were born. Values range from 1 to 9 for single digits, or 11, 22 for Master Numbers (the 11th, 22nd and 29th).
    pub number: f64,
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22). Master Numbers in the Birth Day position indicate extraordinary innate gifts that are available from birth and demand conscious development.
    pub r#type: CalculateBirthDayResponseType,
}
string_enum! {
    /// Whether this is a standard single-digit number (1 to 9) or a Master Number (11, 22). Master Numbers in the Birth Day position indicate extraordinary innate gifts that are available from birth and demand conscious development.
    CalculateBirthDayResponseType {
        Single = "single",
        Master = "master",
    }
}
/// The `meaning` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBirthDayResponseMeaning {
    /// Professional paths where your birth day talents create an immediate advantage. Covers specific roles, industries, and work styles that align with your innate abilities.
    pub career: String,
    /// The flip side of your gifts. Each challenge explains how an overreliance on natural talent can become a liability without conscious balance.
    pub challenges: Vec<String>,
    /// Core interpretation of the special abilities the birth day brings and how they complement the Life Path and Expression numbers. Together with the strengths, challenges, career, relationships and spirituality fields it makes a full reading.
    pub description: String,
    /// Innate talents and natural aptitudes encoded in your birth day. These gifts are available from birth and become more refined with age.
    pub keywords: Vec<String>,
    /// How your birth day gifts shape the way you connect with others. Covers romantic chemistry, friendship dynamics, and the relationship patterns rooted in your natural temperament.
    pub relationships: String,
    /// The spiritual dimension of your natural gifts. Explores how your birth day talents serve a higher purpose and the practices that help you channel them with intention.
    pub spirituality: String,
    /// Natural-born strengths that come effortlessly. These are the talents you can rely on even without formal training or conscious development.
    pub strengths: Vec<String>,
    /// Numerology archetype for this Birth Day number. Represents the specific talent or gift you brought into this life, like "The Nurturer" for 6 or "The Seeker" for 7.
    pub title: String,
}
/// Detailed interpretation of the Karmic Debt number when present. Only returned when hasKarmicDebt is true.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBirthDayResponseKarmicDebtMeaning {
    /// The specific challenge from past lives that must be confronted.
    pub challenge: String,
    /// Title describing the karmic debt theme and core past-life pattern.
    pub description: String,
    /// Practical guidance for resolving the karmic debt.
    pub resolution: String,
}
/// Path and query parameters of `calculateBirthDay`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateBirthDayParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateBirthDayParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateBirthDayParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateBioCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityResponse {
    /// Practical relationship guidance based on the combined cycle analysis.
    pub advice: String,
    /// Potential relationship challenges to be aware of.
    pub challenges: Vec<String>,
    /// Per-cycle compatibility analysis for physical, emotional, and intellectual cycles.
    pub cycles: CalculateBioCompatibilityResponseCycles,
    /// The `dailySync` field.
    #[serde(rename = "dailySync")]
    pub daily_sync: CalculateBioCompatibilityResponseDailySync,
    /// Overall compatibility score from 0 (fully opposed) to 100 (perfectly synchronized).
    #[serde(rename = "overallScore")]
    pub overall_score: f64,
    /// The `person1` field.
    pub person1: CalculateBioCompatibilityResponsePerson1,
    /// The `person2` field.
    pub person2: CalculateBioCompatibilityResponsePerson2,
    /// Compatibility rating label. One of: Highly Aligned, Well Aligned, Moderately Aligned, Misaligned, Opposed.
    pub rating: String,
    /// Relationship strengths based on the compatibility profile.
    pub strengths: Vec<String>,
    /// Date this compatibility was calculated for.
    #[serde(rename = "targetDate")]
    pub target_date: String,
}
/// The `person2` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityResponsePerson2 {
    /// Birth date of person 2.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
}
/// The `person1` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityResponsePerson1 {
    /// Birth date of person 1.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
}
/// The `dailySync` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityResponseDailySync {
    /// Absolute difference in emotional cycle values (0-200). Lower = more aligned.
    #[serde(rename = "emotionalDiff")]
    pub emotional_diff: f64,
    /// Absolute difference in intellectual cycle values (0-200). Lower = more aligned.
    #[serde(rename = "intellectualDiff")]
    pub intellectual_diff: f64,
    /// Absolute difference in physical cycle values (0-200). Lower = more aligned.
    #[serde(rename = "physicalDiff")]
    pub physical_diff: f64,
}
/// Per-cycle compatibility analysis for physical, emotional, and intellectual cycles.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityResponseCycles {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        CalculateBioCompatibilityResponseCyclesAdditionalProperty,
    >,
}
/// How the two people sit against each other on one cycle: each value, the gap between them, an alignment score, the pair phase, and a sentence on what it means for the relationship.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityResponseCyclesAdditionalProperty {
    /// Alignment score from 0 (perfectly opposed) to 100 (perfectly in sync).
    pub alignment: f64,
    /// Human-readable description of how this cycle alignment affects the relationship.
    pub description: String,
    /// Absolute difference between the two values (0-200). Lower values indicate better alignment.
    pub difference: f64,
    /// Person 1 cycle value on the target date (-100 to 100).
    #[serde(rename = "person1Value")]
    pub person1_value: f64,
    /// Person 2 cycle value on the target date (-100 to 100).
    #[serde(rename = "person2Value")]
    pub person2_value: f64,
    /// How the cycles of the two people sit against each other. One of: in_sync, complementary, neutral, opposing. This is a PAIR alignment and shares no values with the single-person cycle phase.
    pub phase: CalculateBioCompatibilityResponseCyclesAdditionalPropertyPhase,
}
string_enum! {
    /// How the cycles of the two people sit against each other. One of: in_sync, complementary, neutral, opposing. This is a PAIR alignment and shares no values with the single-person cycle phase.
    CalculateBioCompatibilityResponseCyclesAdditionalPropertyPhase {
        InSync = "in_sync",
        Complementary = "complementary",
        Neutral = "neutral",
        Opposing = "opposing",
    }
}
/// Request body of `calculateBioCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityRequest {
    /// The `person1` field.
    pub person1: CalculateBioCompatibilityRequestPerson1,
    /// The `person2` field.
    pub person2: CalculateBioCompatibilityRequestPerson2,
    /// Date to evaluate compatibility on in YYYY-MM-DD format. Defaults to today (UTC). Compatibility varies by day since biorhythm cycles are continuous.
    #[serde(rename = "targetDate", skip_serializing_if = "Option::is_none")]
    pub target_date: Option<String>,
}
/// The `person2` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityRequestPerson2 {
    /// Birth date of person 2 in YYYY-MM-DD format.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
}
/// The `person1` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityRequestPerson1 {
    /// Birth date of person 1 in YYYY-MM-DD format.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
}
/// Path and query parameters of `calculateBioCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateBioCompatibilityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateBioCompatibilityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateBioCompatibilityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateBhavaBala`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateBhavaBalaParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<CalculateBhavaBalaParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateBhavaBalaParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateBhavaBalaParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    CalculateBhavaBalaParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Path and query parameters of `calculateBhavChalit`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateBhavChalitParams {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub focus: Option<CalculateBhavChalitParamsFocus>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateBhavChalitParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateBhavChalitParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
    CalculateBhavChalitParamsFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Response body of `calculateBaziCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponse {
    /// How many of the interactions break between them.
    #[serde(rename = "challengingCount")]
    pub challenging_count: f64,
    /// How the two Day Masters stand to each other by the five-phase cycle, read from person A. peer means the same element, output means A generates B, wealth means A controls B, influence means B controls A, resource means B generates A. Always English, whatever the lang parameter says.
    #[serde(rename = "dayMasterRelation")]
    pub day_master_relation: String,
    /// How many of the interactions bind the two charts together.
    #[serde(rename = "harmoniousCount")]
    pub harmonious_count: f64,
    /// Every combination, clash, harm and punishment that crosses between the two charts, with each position prefixed by its subject. Only cross-chart pairs are searched: a three-branch formation assembled from two different people is not a formation either chart holds, so trines are not reported here.
    pub interactions: Vec<CalculateBaziCompatibilityResponseInteractionsItem>,
    /// Resolved chart of the first person.
    #[serde(rename = "personA")]
    pub person_a: CalculateBaziCompatibilityResponsePersonA,
    /// Resolved chart of the second person.
    #[serde(rename = "personB")]
    pub person_b: CalculateBaziCompatibilityResponsePersonB,
    /// Compatibility score from 0 to 100. A RoxyAPI tally over the interactions listed above rather than a figure from any classical text: it starts at a neutral 50, adds for each binding interaction and subtracts for each breaking one. Recompute it yourself from the interactions array if you want a different weighting.
    pub score: f64,
    /// One-paragraph reading of the balance between binding and breaking interactions.
    pub summary: String,
}
/// Resolved chart of the second person.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonB {
    /// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
    pub conventions: CalculateBaziCompatibilityResponsePersonBConventions,
    /// The day stem of this person.
    #[serde(rename = "dayMaster")]
    pub day_master: CalculateBaziCompatibilityResponsePersonBDayMaster,
    /// The four pillars of this person, year first.
    pub pillars: Vec<CalculateBaziCompatibilityResponsePersonBPillarsItem>,
    /// Day Master strength verdict for this person, so a reader can see which of the two chart carries more capacity. One of very-weak, weak, balanced, strong, very-strong.
    pub strength: String,
}
/// One entry of `pillars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBPillarsItem {
    /// The Earthly Branch of this pillar.
    pub branch: CalculateBaziCompatibilityResponsePersonBPillarsItemBranch,
    /// Stems stored inside the branch, principal first. These carry the qi a branch holds without showing it, and they are where a Day Master finds a root.
    #[serde(rename = "hiddenStems")]
    pub hidden_stems: Vec<
        CalculateBaziCompatibilityResponsePersonBPillarsItemHiddenStemsItem,
    >,
    /// Pillar identifier, the stem id and the branch id joined by a hyphen. Always English pinyin, whatever the lang parameter says.
    pub id: String,
    /// Na Yin sound element of the pillar, an older elemental reading assigned to each of the 30 stem-and-branch pairs. The hanzi name sits beside it in naYinChinese.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// The Na Yin name in hanzi. Identical under every lang.
    #[serde(rename = "naYinChinese")]
    pub na_yin_chinese: String,
    /// Element the Na Yin resolves to. Independent of the stem element and often different from it, which is why it is reported separately rather than folded in. Always English, whatever the lang parameter says. Use naYinElementLocalized for anything a reader sees.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Na Yin element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "naYinElementLocalized", skip_serializing_if = "Option::is_none")]
    pub na_yin_element_localized: Option<String>,
    /// Position of this pillar in the sexagenary cycle, 1 to 60, where jia-zi is 1. The cycle runs stems and branches together, which is why only 60 of the 120 possible pairings occur.
    pub number: f64,
    /// Which of the four pillars this is. One of year, month, day, hour. The year pillar reads ancestry and early life, the month career and parents, the day the self and the partner, the hour later life and children.
    pub position: String,
    /// The Heavenly Stem of this pillar.
    pub stem: CalculateBaziCompatibilityResponsePersonBPillarsItemStem,
    /// Relation the pillar STEM holds to the Day Master. The day pillar carries day-master instead, because the day stem is the reference point every other position is measured from rather than a relation to itself.
    #[serde(rename = "tenGod")]
    pub ten_god: CalculateBaziCompatibilityResponsePersonBPillarsItemTenGod,
}
/// Relation the pillar STEM holds to the Day Master. The day pillar carries day-master instead, because the day stem is the reference point every other position is measured from rather than a relation to itself.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBPillarsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// The Heavenly Stem of this pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBPillarsItemStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// One entry of `hiddenStems`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBPillarsItemHiddenStemsItem {
    /// Rank of this stem inside the branch, by the classical day-count that divides a thirty-day month 18, 9 and 3 days between the stems a branch holds. principal is the first-ranked stem and always matches the branch element; middle is the second-ranked; residual is the third. A branch holds one to three, always returned in rank order. What each rank CONTAINS depends on the branch family: on a storage branch the second-ranked stem is the seasonal carryover from the month before and the third is the stem that branch stores as the close of its trine, while on a growth branch the second-ranked stem is the one beginning its long-life phase there and the third is the carryover. Some schools name the same three positions by that function rather than by rank, which swaps the second and third labels on the four storage branches, so compare on rank rather than assuming a name.
    pub role: String,
    /// The stem stored in the branch.
    pub stem: CalculateBaziCompatibilityResponsePersonBPillarsItemHiddenStemsItemStem,
    /// Relation this hidden stem holds to the Day Master.
    #[serde(rename = "tenGod")]
    pub ten_god: CalculateBaziCompatibilityResponsePersonBPillarsItemHiddenStemsItemTenGod,
}
/// Relation this hidden stem holds to the Day Master.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBPillarsItemHiddenStemsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// The stem stored in the branch.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBPillarsItemHiddenStemsItemStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// The Earthly Branch of this pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBPillarsItemBranch {
    /// Zodiac animal of the branch. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig. Always English, whatever the lang parameter says. Use animalLocalized for anything a reader sees.
    pub animal: String,
    /// Zodiac animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The branch in hanzi. Identical under every lang.
    pub chinese: String,
    /// Five-phase element of the branch. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Earthly Branch identifier. One of zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai. Always English pinyin, whatever the lang parameter says. Note that "wu" is also a stem identifier: they never share a field, so a branch id is only ever read out of a branch position.
    pub id: String,
    /// Tone-marked pinyin for the branch. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the branch, yang or yin.
    pub polarity: String,
}
/// The day stem of this person.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBDayMaster {
    /// The Day Master stem in hanzi.
    pub chinese: String,
    /// Five-phase element of this Day Master. Always English, whatever the lang parameter says.
    pub element: String,
    /// Display copy of the element in the requested language. Absent for English, so an English response is unchanged.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// What this stem is like as a Day Master.
    pub nature: String,
    /// Tone-marked pinyin for the Day Master stem.
    pub pinyin: String,
    /// Polarity, yang or yin.
    pub polarity: String,
    /// Day stem identifier for this person.
    pub stem: String,
}
/// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonBConventions {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    #[serde(rename = "dayBoundary")]
    pub day_boundary: CalculateBaziCompatibilityResponsePersonBConventionsDayBoundary,
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    #[serde(rename = "hourClock")]
    pub hour_clock: CalculateBaziCompatibilityResponsePersonBConventionsHourClock,
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: CalculateBaziCompatibilityResponsePersonBConventionsYearBoundary,
}
string_enum! {
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    CalculateBaziCompatibilityResponsePersonBConventionsYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    CalculateBaziCompatibilityResponsePersonBConventionsHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    CalculateBaziCompatibilityResponsePersonBConventionsDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Resolved chart of the first person.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonA {
    /// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
    pub conventions: CalculateBaziCompatibilityResponsePersonAConventions,
    /// The day stem of this person.
    #[serde(rename = "dayMaster")]
    pub day_master: CalculateBaziCompatibilityResponsePersonADayMaster,
    /// The four pillars of this person, year first.
    pub pillars: Vec<CalculateBaziCompatibilityResponsePersonAPillarsItem>,
    /// Day Master strength verdict for this person, so a reader can see which of the two chart carries more capacity. One of very-weak, weak, balanced, strong, very-strong.
    pub strength: String,
}
/// One entry of `pillars`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAPillarsItem {
    /// The Earthly Branch of this pillar.
    pub branch: CalculateBaziCompatibilityResponsePersonAPillarsItemBranch,
    /// Stems stored inside the branch, principal first. These carry the qi a branch holds without showing it, and they are where a Day Master finds a root.
    #[serde(rename = "hiddenStems")]
    pub hidden_stems: Vec<
        CalculateBaziCompatibilityResponsePersonAPillarsItemHiddenStemsItem,
    >,
    /// Pillar identifier, the stem id and the branch id joined by a hyphen. Always English pinyin, whatever the lang parameter says.
    pub id: String,
    /// Na Yin sound element of the pillar, an older elemental reading assigned to each of the 30 stem-and-branch pairs. The hanzi name sits beside it in naYinChinese.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// The Na Yin name in hanzi. Identical under every lang.
    #[serde(rename = "naYinChinese")]
    pub na_yin_chinese: String,
    /// Element the Na Yin resolves to. Independent of the stem element and often different from it, which is why it is reported separately rather than folded in. Always English, whatever the lang parameter says. Use naYinElementLocalized for anything a reader sees.
    #[serde(rename = "naYinElement")]
    pub na_yin_element: String,
    /// Na Yin element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "naYinElementLocalized", skip_serializing_if = "Option::is_none")]
    pub na_yin_element_localized: Option<String>,
    /// Position of this pillar in the sexagenary cycle, 1 to 60, where jia-zi is 1. The cycle runs stems and branches together, which is why only 60 of the 120 possible pairings occur.
    pub number: f64,
    /// Which of the four pillars this is. One of year, month, day, hour. The year pillar reads ancestry and early life, the month career and parents, the day the self and the partner, the hour later life and children.
    pub position: String,
    /// The Heavenly Stem of this pillar.
    pub stem: CalculateBaziCompatibilityResponsePersonAPillarsItemStem,
    /// Relation the pillar STEM holds to the Day Master. The day pillar carries day-master instead, because the day stem is the reference point every other position is measured from rather than a relation to itself.
    #[serde(rename = "tenGod")]
    pub ten_god: CalculateBaziCompatibilityResponsePersonAPillarsItemTenGod,
}
/// Relation the pillar STEM holds to the Day Master. The day pillar carries day-master instead, because the day stem is the reference point every other position is measured from rather than a relation to itself.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAPillarsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// The Heavenly Stem of this pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAPillarsItemStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// One entry of `hiddenStems`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAPillarsItemHiddenStemsItem {
    /// Rank of this stem inside the branch, by the classical day-count that divides a thirty-day month 18, 9 and 3 days between the stems a branch holds. principal is the first-ranked stem and always matches the branch element; middle is the second-ranked; residual is the third. A branch holds one to three, always returned in rank order. What each rank CONTAINS depends on the branch family: on a storage branch the second-ranked stem is the seasonal carryover from the month before and the third is the stem that branch stores as the close of its trine, while on a growth branch the second-ranked stem is the one beginning its long-life phase there and the third is the carryover. Some schools name the same three positions by that function rather than by rank, which swaps the second and third labels on the four storage branches, so compare on rank rather than assuming a name.
    pub role: String,
    /// The stem stored in the branch.
    pub stem: CalculateBaziCompatibilityResponsePersonAPillarsItemHiddenStemsItemStem,
    /// Relation this hidden stem holds to the Day Master.
    #[serde(rename = "tenGod")]
    pub ten_god: CalculateBaziCompatibilityResponsePersonAPillarsItemHiddenStemsItemTenGod,
}
/// Relation this hidden stem holds to the Day Master.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAPillarsItemHiddenStemsItemTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// The stem stored in the branch.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAPillarsItemHiddenStemsItemStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// The Earthly Branch of this pillar.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAPillarsItemBranch {
    /// Zodiac animal of the branch. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig. Always English, whatever the lang parameter says. Use animalLocalized for anything a reader sees.
    pub animal: String,
    /// Zodiac animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The branch in hanzi. Identical under every lang.
    pub chinese: String,
    /// Five-phase element of the branch. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Earthly Branch identifier. One of zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai. Always English pinyin, whatever the lang parameter says. Note that "wu" is also a stem identifier: they never share a field, so a branch id is only ever read out of a branch position.
    pub id: String,
    /// Tone-marked pinyin for the branch. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the branch, yang or yin.
    pub polarity: String,
}
/// The day stem of this person.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonADayMaster {
    /// The Day Master stem in hanzi.
    pub chinese: String,
    /// Five-phase element of this Day Master. Always English, whatever the lang parameter says.
    pub element: String,
    /// Display copy of the element in the requested language. Absent for English, so an English response is unchanged.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// What this stem is like as a Day Master.
    pub nature: String,
    /// Tone-marked pinyin for the Day Master stem.
    pub pinyin: String,
    /// Polarity, yang or yin.
    pub polarity: String,
    /// Day stem identifier for this person.
    pub stem: String,
}
/// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponsePersonAConventions {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    #[serde(rename = "dayBoundary")]
    pub day_boundary: CalculateBaziCompatibilityResponsePersonAConventionsDayBoundary,
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    #[serde(rename = "hourClock")]
    pub hour_clock: CalculateBaziCompatibilityResponsePersonAConventionsHourClock,
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: CalculateBaziCompatibilityResponsePersonAConventionsYearBoundary,
}
string_enum! {
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    CalculateBaziCompatibilityResponsePersonAConventionsYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    CalculateBaziCompatibilityResponsePersonAConventionsHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    CalculateBaziCompatibilityResponsePersonAConventionsDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// One entry of `interactions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityResponseInteractionsItem {
    /// The interaction named in hanzi. Identical under every lang.
    pub chinese: String,
    /// Punishments only. True when the third branch of the group is also present in the chart, which is what a complete three-punishment means. False marks the partial case, where only two of the three are in play.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub complete: Option<bool>,
    /// Identifier of the pairing itself, the member ids joined by hyphens in canonical order.
    pub id: String,
    /// What this kind of interaction does between the positions it joins.
    pub meaning: String,
    /// The stem or branch ids taking part, in the same order as positions.
    pub members: Vec<String>,
    /// Tone-marked pinyin for the interaction. Identical under every lang.
    pub pinyin: String,
    /// The chart positions taking part, in the same order as members. On a two-person reading these are prefixed with the subject, for example personA.day.
    pub positions: Vec<String>,
    /// Whether the interaction binds or breaks. harmonious for combinations and trines, challenging for clashes, harms and punishments. Always English, whatever the lang parameter says.
    pub quality: String,
    /// Element the formation resolves to. Present on stem combinations and on complete trines, absent on everything else. Branch six combinations deliberately carry none: the classical sources assign transformed elements to the stem pairs and not to these, and one of the six is contested between schools.
    #[serde(rename = "transformsTo", skip_serializing_if = "Option::is_none")]
    pub transforms_to: Option<String>,
    /// Kind of interaction. stem-combination and six-combination bind two positions, trine binds three, and clash, harm, punishment and stem-clash break them. Always English, whatever the lang parameter says.
    pub r#type: String,
    /// Class of a punishment, present on punishments only. ungrateful is the tiger, snake and monkey group, bullying the ox, dog and goat group, discourteous the rat and rabbit pair, and self a branch doubled against itself.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub variety: Option<String>,
}
/// Request body of `calculateBaziCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityRequest {
    /// Birth moment of the first person. Each subject carries its own school switches, so two charts built under different conventions can still be compared.
    #[serde(rename = "personA")]
    pub person_a: CalculateBaziCompatibilityRequestPersonA,
    /// Birth moment of the second person.
    #[serde(rename = "personB")]
    pub person_b: CalculateBaziCompatibilityRequestPersonB,
}
/// Birth moment of the second person.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityRequestPersonB {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    #[serde(rename = "dayBoundary", skip_serializing_if = "Option::is_none")]
    pub day_boundary: Option<CalculateBaziCompatibilityRequestPersonBDayBoundary>,
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    #[serde(rename = "hourClock", skip_serializing_if = "Option::is_none")]
    pub hour_clock: Option<CalculateBaziCompatibilityRequestPersonBHourClock>,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateBaziCompatibilityRequestPersonBTimezone,
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<CalculateBaziCompatibilityRequestPersonBYearBoundary>,
}
string_enum! {
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    CalculateBaziCompatibilityRequestPersonBYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateBaziCompatibilityRequestPersonBTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    CalculateBaziCompatibilityRequestPersonBHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    CalculateBaziCompatibilityRequestPersonBDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Birth moment of the first person. Each subject carries its own school switches, so two charts built under different conventions can still be compared.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityRequestPersonA {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    #[serde(rename = "dayBoundary", skip_serializing_if = "Option::is_none")]
    pub day_boundary: Option<CalculateBaziCompatibilityRequestPersonADayBoundary>,
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    #[serde(rename = "hourClock", skip_serializing_if = "Option::is_none")]
    pub hour_clock: Option<CalculateBaziCompatibilityRequestPersonAHourClock>,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateBaziCompatibilityRequestPersonATimezone,
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<CalculateBaziCompatibilityRequestPersonAYearBoundary>,
}
string_enum! {
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    CalculateBaziCompatibilityRequestPersonAYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateBaziCompatibilityRequestPersonATimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    CalculateBaziCompatibilityRequestPersonAHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    CalculateBaziCompatibilityRequestPersonADayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Path and query parameters of `calculateBaziCompatibility`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateBaziCompatibilityParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateBaziCompatibilityParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateBaziCompatibilityParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateAyurvedicConstitution`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponse {
    /// The blended reading. The factors are cited and this is not, which is why it carries a convention label.
    pub composite: CalculateAyurvedicConstitutionResponseComposite,
    /// The conventions this reading was produced under.
    pub conventions: CalculateAyurvedicConstitutionResponseConventions,
    /// The three scored factors, in the order they are weighted.
    pub factors: Vec<CalculateAyurvedicConstitutionResponseFactorsItem>,
    /// The sidereal frame this reading was cast in.
    pub frame: CalculateAyurvedicConstitutionResponseFrame,
    /// The rising sign, lowercase and always English. It is the best attested of the three factors and carries the heaviest weight.
    #[serde(rename = "lagnaSign")]
    pub lagna_sign: String,
    /// Scope of the response.
    pub meta: CalculateAyurvedicConstitutionResponseMeta,
    /// The sign the Moon occupies, lowercase and always English. It is read through the same sign table as the rising sign, on the warrant of the verse that equates the two.
    #[serde(rename = "moonSign")]
    pub moon_sign: String,
    /// The graha to humour and graha to constituent table, as reference. It is informational and does not vary with the request.
    #[serde(rename = "planetDoshas")]
    pub planet_doshas: Vec<CalculateAyurvedicConstitutionResponsePlanetDoshasItem>,
    /// The seven grahas ranked by shadbala, strongest first. Rahu and Ketu are not ranked, because shadbala is defined over the seven.
    #[serde(rename = "strengthRanking")]
    pub strength_ranking: Vec<CalculateAyurvedicConstitutionResponseStrengthRankingItem>,
    /// The reading in prose, composed from the factors rather than selected from stock text, and translated in place.
    pub summary: String,
}
/// One graha of the strength ranking.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseStrengthRankingItem {
    /// Graha name, as a Vedic birth chart returns it.
    pub graha: String,
    /// Position in the ranking, 1 for the strongest of the seven.
    pub rank: f64,
    /// Whether this graha reached the strength cutoff and therefore contributed to the reading. More than one true value is what makes the reading a blend.
    pub strong: bool,
    /// Total shadbala in virupas, the six-fold strength measure. Higher is stronger, and the ranking below is taken from it.
    #[serde(rename = "totalVirupas")]
    pub total_virupas: f64,
}
/// One graha of the informational seven-graha table. Rahu and Ketu are absent because the verses assign a humour to the seven grahas only, and nothing classical supplies one for the nodes.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponsePlanetDoshasItem {
    /// The bodily constituent this graha rules, in English. Saturn returns a deliberately neutral rendering, because the one Sanskrit word behind it is attested as sinew, tendon, muscle and nerve alike and the two published translations split on it.
    pub dhatu: String,
    /// The same constituent in Sanskrit. Read this rather than the English wherever the two translations disagree. These seven are not the standard seven dhatus and three of them will not line up against such a list.
    #[serde(rename = "dhatuSanskrit")]
    pub dhatu_sanskrit: String,
    /// Where one claim in this response comes from.
    #[serde(rename = "dhatuSource")]
    pub dhatu_source: CalculateAyurvedicConstitutionResponsePlanetDoshasItemDhatuSource,
    /// Where one claim in this response comes from.
    #[serde(rename = "doshaSource")]
    pub dosha_source: CalculateAyurvedicConstitutionResponsePlanetDoshasItemDoshaSource,
    /// The humours the verses give this graha. The Moon and Venus rows carry vata before kapha in both published translations, which is the row material in general circulation most often reverses.
    pub doshas: Vec<String>,
    /// Graha name, matching the name a Vedic birth chart uses, so this table joins to a chart with nothing in between.
    pub graha: String,
    /// The graha name in Sanskrit, in the standard diacritic transliteration.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: String,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponsePlanetDoshasItemDoshaSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponsePlanetDoshasItemDhatuSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// Scope of the response.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseMeta {
    /// The scope of everything in this response, in the requested language. Present on every response from this API, and intended to be shown to the reader rather than stripped.
    pub disclaimer: String,
}
/// The sidereal frame this reading was cast in.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseFrame {
    /// The sidereal frame the chart was cast in, echoing the request. Always English, so it is safe to compare against.
    pub ayanamsa: String,
    /// The frame offset in degrees at the birth instant, read once and used for both sign factors and for the strength ranking, so the three cannot come from frames a fraction of a degree apart.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// One cited factor of the reading.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseFactorsItem {
    /// The humours this factor carries, as the Sanskrit identifiers vata, pitta and kapha. Never translated, so they stay safe to compare against. Where a factor carries more than one they are stored in the standing order and that order means nothing, because the two translations of the source order them differently and their sets are identical.
    pub doshas: Vec<String>,
    /// Which factor this is. One of lagna-sign, moon-sign or strongest-planet. Always English and stable, so it is safe to switch on. There are three and only three, because the two indicators often listed beside them, the lagna lord and the Sun, carry no classical rule that they show the native humour.
    pub id: String,
    /// What this factor read: a sign id for the two sign factors, or the space-separated grahas that reached the strength cutoff for the third.
    pub input: String,
    /// Where one claim in this response comes from.
    pub source: CalculateAyurvedicConstitutionResponseFactorsItemSource,
    /// How much of the composite this factor is given. The weights are a RoxyAPI convention and no primary text states them, which is why every one of them is published here rather than kept private.
    pub weight: f64,
}
/// Where one claim in this response comes from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseFactorsItemSource {
    /// Chapter or sthana, as printed in that edition. Use it with the verse to find the passage in any copy.
    pub chapter: String,
    /// A recorded disagreement between sources, or a stated limit on what the citation covers. Present only where one exists, and never resolved silently in favour of one reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
    /// Whether the cited translation may be quoted. When false the verse reference is the citation and the translator wording is not reproduced anywhere in this API, so a caller reproducing a source must go to the verse rather than to us.
    #[serde(rename = "publicDomain")]
    pub public_domain: bool,
    /// Title of the work the claim is taken from, as it should be cited.
    pub text: String,
    /// The named translator, or null where the English shipped here was written from the Sanskrit because no public-domain translation of that work exists.
    pub translation: Option<String>,
    /// Verse or verse range, printed as the source prints it, so it is a string and not always numeric. Where the claim sits in an appended note or a commentary rather than in a numbered verse, this value is prose, as in "note to 20". Join it to the chapter with a dot only when it is numeric, and otherwise render it after the chapter with a comma, so the pair reads "18, note to 20" rather than "18.note to 20".
    pub verse: String,
    /// Publication year of the named translation, or null where no translation is cited. Use it with publicDomain to judge what may be quoted.
    pub year: Option<f64>,
}
/// The conventions this reading was produced under.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseConventions {
    /// Which sidereal frame the chart was cast in. Echoes the request, and is repeated here beside the other conventions so one object answers what was chosen.
    pub ayanamsa: String,
    /// Which sign table the two sign factors were read through. Echoes the request.
    #[serde(rename = "signDoshaScheme")]
    pub sign_dosha_scheme: String,
}
/// The blended reading. The factors are cited and this is not, which is why it carries a convention label.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseComposite {
    /// The version of the blending convention this composite was built under. It is ours and not classical, and it is versioned so a caller comparing two readings taken months apart can tell whether the rule moved.
    pub convention: String,
    /// The humour holding the largest share. A Sanskrit identifier, never translated.
    pub dominant: String,
    /// Share of kapha in whole percent.
    pub kapha: f64,
    /// Share of pitta in whole percent.
    pub pitta: f64,
    /// The humour holding the second largest share. Reported whether or not it reached the margin that would put it in the type label.
    pub secondary: String,
    /// The derived label: one humour when it leads clearly, two joined by a hyphen when the second is within the published margin, and sama when all three sit inside that band. Built from Sanskrit identifiers, so it stays the same string in every language.
    pub r#type: String,
    /// Share of vata in whole percent. The three shares always sum to exactly 100, by largest remainder, so a caller can render them as a bar without normalising first.
    pub vata: f64,
    /// Every number behind the blend, published so a caller who disagrees can re-weigh the factors themselves.
    pub weighting: CalculateAyurvedicConstitutionResponseCompositeWeighting,
}
/// Every number behind the blend, published so a caller who disagrees can re-weigh the factors themselves.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionResponseCompositeWeighting {
    /// Percentage-point gap below which the second humour joins the type label. When all three sit inside it the label is sama.
    #[serde(rename = "dualTypeMargin")]
    pub dual_type_margin: f64,
    /// Weight given to the rising sign factor.
    #[serde(rename = "lagnaSign")]
    pub lagna_sign: f64,
    /// Weight given to the Moon sign factor, lower than the rising sign because its classical warrant is the narrower of the two.
    #[serde(rename = "moonSign")]
    pub moon_sign: f64,
    /// Fraction of the leading shadbala total at which a second graha also counts as strong. The verse licenses a blended result where several planets attain strength and gives no number for several, so this one is ours.
    #[serde(rename = "strongPlanetThreshold")]
    pub strong_planet_threshold: f64,
    /// Weight given to the strongest graha factor.
    #[serde(rename = "strongestPlanet")]
    pub strongest_planet: f64,
}
/// Path and query parameters of `calculateAyurvedicConstitution`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateAyurvedicConstitutionParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateAyurvedicConstitutionParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateAyurvedicConstitutionParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateAyadi`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiResponse {
    /// The switches this calculation resolved, echoed so it can be reproduced years later without knowing what the defaults were on the day it was made.
    pub conventions: CalculateAyadiResponseConventions,
    /// What was actually divided, in whole cubits. Every remainder is unit sensitive and the formulas are integer arithmetic, so a measure sent in feet or metres is converted and rounded and the rounded figure is published here rather than left for you to infer.
    pub measures: CalculateAyadiResponseMeasures,
    /// The six proportional formulas, each with its measure, multiplier, divisor, remainder and the member that remainder names.
    pub vargas: Vec<CalculateAyadiResponseVargasItem>,
    /// The seventh formula of the perimeter family, which takes the QUOTIENT of the perimeter times eight over twenty seven where rksha takes the remainder. An age or span rather than a member of a named group, and not part of the Manasara six.
    pub vayas: f64,
    /// The two verdict rules the texts actually state: the yoni must be one of the four favourable members, and the aya remainder should exceed the vyaya remainder.
    pub verdict: CalculateAyadiResponseVerdict,
}
/// The two verdict rules the texts actually state: the yoni must be one of the four favourable members, and the aya remainder should exceed the vyaya remainder.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiResponseVerdict {
    /// How the aya compares with the vyaya: aya-greater is conducive to prosperity, equal carries no defect, aya-lesser is defective, and zero-remainder means one of the two divided exactly, which the text calls auspicious in its own right. Always English, safe to compare against.
    #[serde(rename = "ayaVyaya")]
    pub aya_vyaya: String,
    /// The verdict as a sentence, for a report. Composed from the yoni and the aya against vyaya rule, and translated in place when lang is set.
    pub reading: String,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculateAyadiResponseVerdictSource,
    /// Whether the yoni is one of the four favourable members. A remainder of zero is a reject rather than the eighth name, because a zero remainder would face the building north-east and the reference rule says the proportions must be altered instead.
    #[serde(rename = "yoniAuspicious")]
    pub yoni_auspicious: bool,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiResponseVerdictSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// One entry of `vargas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiResponseVargasItem {
    /// Whether this remainder is favourable under the rule the text states for that group: the odd yonis, the odd nakshatras, and four of the seven varas. Absent where no source states a rule for the group.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub auspicious: Option<bool>,
    /// What the product was divided by, which is also the size of the group named.
    pub divisor: f64,
    /// The first member of the group, for the two groups where that is all any source gives. Present on aya and on vyaya, and on nothing else.
    #[serde(rename = "firstName", skip_serializing_if = "Option::is_none")]
    pub first_name: Option<String>,
    /// What the yoni name means in plain words. Present on the yoni row only, and translated in place when lang is set.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gloss: Option<String>,
    /// How many members the group has. Aya is a group of twelve and vyaya a group of ten, which is stated in the text even though the names are not.
    #[serde(rename = "groupSize")]
    pub group_size: f64,
    /// What the measure was multiplied by, per the formula of the chosen text family.
    pub multiplier: f64,
    /// The member the remainder names. Present for the four groups whose names are sourced: the eight yonis, the 27 nakshatras, the 30 tithis and the seven varas. Absent for aya and vyaya, whose names beyond the first are printed in no public-domain source and are never invented here.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Which measure the formula multiplied: length, breadth, circumference, perimeter or area. This is where the three text families differ most, since the Manasara reads three measures separately and the perimeter family reads one.
    pub operand: String,
    /// The measure in whole hasta, after any conversion and rounding. This is the number actually multiplied, so a surprising remainder can be traced to it.
    #[serde(rename = "operandValue")]
    pub operand_value: f64,
    /// The measure times the multiplier, shown so the arithmetic can be checked by hand.
    pub product: f64,
    /// What the division left. This is the Ayadi result: the remainder, not the quotient, names the member of the group.
    pub remainder: f64,
    /// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
    pub source: CalculateAyadiResponseVargasItemSource,
    /// Which of the six proportional formulas this row is: aya, vyaya, yoni, rksha, tithi or vara. Always English, safe to compare against.
    pub varga: String,
}
/// Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiResponseVargasItemSource {
    /// Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub basis: Option<String>,
    /// Chapter of the primary text. Absent on a convention, which has no chapter to cite.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub chapter: Option<f64>,
    /// Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
    #[serde(rename = "publicDomain", skip_serializing_if = "Option::is_none")]
    pub public_domain: Option<bool>,
    /// The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
    pub text: String,
    /// Translator of the edition the verse was read in. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub translation: Option<String>,
    /// Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub verse: Option<String>,
    /// Publication year of that edition. Absent on a convention.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<f64>,
}
/// What was actually divided, in whole cubits. Every remainder is unit sensitive and the formulas are integer arithmetic, so a measure sent in feet or metres is converted and rounded and the rounded figure is published here rather than left for you to infer.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiResponseMeasures {
    /// Length times breadth in whole hasta squared, which is the measure the Utpala yoni formula reads.
    pub area: f64,
    /// Breadth in whole hasta, after conversion and rounding.
    pub breadth: f64,
    /// Circumference in whole hasta, defaulting to the perimeter.
    pub circumference: f64,
    /// Length in whole hasta, after conversion and rounding.
    pub length: f64,
    /// Perimeter in whole hasta, either as you sent it or as twice length plus twice breadth.
    pub perimeter: f64,
}
/// The switches this calculation resolved, echoed so it can be reproduced years later without knowing what the defaults were on the day it was made.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiResponseConventions {
    /// Which family of formulas was applied. Echoes the resolved value.
    #[serde(rename = "ayadiText")]
    pub ayadi_text: String,
    /// How long one hasta was taken to be, in inches. Echoed because the remainders are unit sensitive and a stored reading cannot be reproduced without it.
    #[serde(rename = "hastaInches")]
    pub hasta_inches: f64,
    /// Which unit the dimensions arrived in. Echoes the resolved value.
    pub unit: String,
    /// Which of the two perimeter vyaya formulas was applied. Echoed even under the Manasara family, which has one vyaya formula and ignores it, so a stored response always says what was resolved.
    #[serde(rename = "vyayaFormula")]
    pub vyaya_formula: String,
}
/// Request body of `calculateAyadi`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAyadiRequest {
    /// Which family of Ayadi formulas to apply. manasara takes length, breadth and circumference separately and is double sourced. perimeter-texts runs every formula on the perimeter alone and is the family the usual worked example is printed for. utpala supplies a yoni formula from the length times the breadth and nothing else, so the other five vargas fall back to the perimeter family and the response says so. Defaults to manasara.
    #[serde(rename = "ayadiText", skip_serializing_if = "Option::is_none")]
    pub ayadi_text: Option<CalculateAyadiRequestAyadiText>,
    /// Breadth of the building or room, in the unit given. Under the Manasara family this is the measure the vyaya and yoni formulas multiply.
    pub breadth: f64,
    /// Circumference or height, if the Manasara vara and tithi formulas should read something other than the perimeter. Defaults to the perimeter, which is what a rectangular plan supplies.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub circumference: Option<f64>,
    /// Length of one hasta, the classical cubit, in inches. Defaults to 18, which is 24 angula at three quarters of an inch each and is the value three independent sources agree on. Raise it if your lineage measures the cubit differently; the value used is echoed on the response so a stored reading can be reproduced years later. Only used when unit is feet or metres.
    #[serde(rename = "hastaInches", skip_serializing_if = "Option::is_none")]
    pub hasta_inches: Option<f64>,
    /// Length of the building or room, in the unit given. Under the Manasara family this is the measure the aya and rksha formulas multiply; under the perimeter family it only feeds the perimeter.
    pub length: f64,
    /// Perimeter of the plan, if it is not simply twice the length plus twice the breadth. The perimeter family runs every formula on this one measure, so it is the number that decides all six remainders there.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub perimeter: Option<f64>,
    /// Unit the Ayadi dimensions are given in. Every remainder is unit sensitive, so this is an input and never assumed: the same building measured in cubits and in feet gives different remainders. hasta is the classical cubit and needs no conversion; feet and metres are converted using hastaInches and rounded to whole cubits, and the rounded figures are returned. Defaults to hasta.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub unit: Option<CalculateAyadiRequestUnit>,
    /// Which vyaya formula the perimeter family uses. The printed table gives two joined by the word or and states no rule for choosing. p9-10 multiplies by nine and divides by ten, which is the only divisor consistent with the ten member vyaya group, so its remainder can be placed in that group and it is the default. p3-14 multiplies by three and divides by fourteen, and its remainder maps to no group any source enumerates. Ignored when ayadiText is manasara, which has one vyaya formula.
    #[serde(rename = "vyayaFormula", skip_serializing_if = "Option::is_none")]
    pub vyaya_formula: Option<CalculateAyadiRequestVyayaFormula>,
}
string_enum! {
    /// Which vyaya formula the perimeter family uses. The printed table gives two joined by the word or and states no rule for choosing. p9-10 multiplies by nine and divides by ten, which is the only divisor consistent with the ten member vyaya group, so its remainder can be placed in that group and it is the default. p3-14 multiplies by three and divides by fourteen, and its remainder maps to no group any source enumerates. Ignored when ayadiText is manasara, which has one vyaya formula.
    CalculateAyadiRequestVyayaFormula {
        P910 = "p9-10",
        P314 = "p3-14",
    }
}
string_enum! {
    /// Unit the Ayadi dimensions are given in. Every remainder is unit sensitive, so this is an input and never assumed: the same building measured in cubits and in feet gives different remainders. hasta is the classical cubit and needs no conversion; feet and metres are converted using hastaInches and rounded to whole cubits, and the rounded figures are returned. Defaults to hasta.
    CalculateAyadiRequestUnit {
        Hasta = "hasta",
        Feet = "feet",
        Metres = "metres",
    }
}
string_enum! {
    /// Which family of Ayadi formulas to apply. manasara takes length, breadth and circumference separately and is double sourced. perimeter-texts runs every formula on the perimeter alone and is the family the usual worked example is printed for. utpala supplies a yoni formula from the length times the breadth and nothing else, so the other five vargas fall back to the perimeter family and the response says so. Defaults to manasara.
    CalculateAyadiRequestAyadiText {
        Manasara = "manasara",
        PerimeterTexts = "perimeter-texts",
        Utpala = "utpala",
    }
}
/// Path and query parameters of `calculateAyadi`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateAyadiParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateAyadiParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateAyadiParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateAspects`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateAspectsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateAspectsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateAspectsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateArudhaPadas`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateArudhaPadasParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateArudhaPadasParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateArudhaPadasParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Path and query parameters of `calculateArabicLots`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateArabicLotsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateArabicLotsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateArabicLotsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `calculateAnnualForecast`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponse {
    /// Zodiac animal of the year branch. Always English, whatever the lang parameter says. Use animalLocalized for anything a reader sees.
    pub animal: String,
    /// Display copy of the animal name in the requested language. Absent for English, so an English response is unchanged.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The sexagenary pillar of the year being read.
    #[serde(rename = "annualPillar")]
    pub annual_pillar: CalculateAnnualForecastResponseAnnualPillar,
    /// True when the year returns the birth animal, which is exactly the case where yearBranchRelation is same. Surfaced as its own boolean because it is the one relation most consumers render on its own.
    #[serde(rename = "benMingNian")]
    pub ben_ming_nian: bool,
    /// Echo of the birth moment the chart was computed from.
    #[serde(rename = "birthData")]
    pub birth_data: CalculateAnnualForecastResponseBirthData,
    /// Relation the principal hidden stem of the annual branch holds to the natal Day Master, the slower half of the same reading.
    #[serde(rename = "branchTenGod")]
    pub branch_ten_god: CalculateAnnualForecastResponseBranchTenGod,
    /// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
    pub conventions: CalculateAnnualForecastResponseConventions,
    /// Every combination, clash, harm and punishment the annual pillar forms with each of the four natal pillars. Positions are named natal.year through natal.hour against annual.
    pub interactions: Vec<CalculateAnnualForecastResponseInteractionsItem>,
    /// One-paragraph reading of what the year asks of this chart.
    pub summary: String,
    /// Relation the ANNUAL STEM holds to the natal Day Master. This is the single most useful line of an annual reading: it says what the year asks of the chart.
    #[serde(rename = "tenGod")]
    pub ten_god: CalculateAnnualForecastResponseTenGod,
    /// Echo of the year requested, which the annual pillar below was resolved for.
    pub year: f64,
    /// How the annual branch stands to the NATAL YEAR branch. same is the twelve-yearly return of the birth animal, the year commonly called ben ming nian. clash, harm and punishment are the three breaking relations, and none means the two branches form no structural relation at all. Always English, whatever the lang parameter says.
    #[serde(rename = "yearBranchRelation")]
    pub year_branch_relation: String,
    /// What this relation between the annual branch and the natal year branch means.
    #[serde(rename = "yearBranchRelationMeaning")]
    pub year_branch_relation_meaning: String,
}
/// Relation the ANNUAL STEM holds to the natal Day Master. This is the single most useful line of an annual reading: it says what the year asks of the chart.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// One entry of `interactions`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseInteractionsItem {
    /// The interaction named in hanzi. Identical under every lang.
    pub chinese: String,
    /// Punishments only. True when the third branch of the group is also present in the chart, which is what a complete three-punishment means. False marks the partial case, where only two of the three are in play.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub complete: Option<bool>,
    /// Identifier of the pairing itself, the member ids joined by hyphens in canonical order.
    pub id: String,
    /// What this kind of interaction does between the positions it joins.
    pub meaning: String,
    /// The stem or branch ids taking part, in the same order as positions.
    pub members: Vec<String>,
    /// Tone-marked pinyin for the interaction. Identical under every lang.
    pub pinyin: String,
    /// The chart positions taking part, in the same order as members. On a two-person reading these are prefixed with the subject, for example personA.day.
    pub positions: Vec<String>,
    /// Whether the interaction binds or breaks. harmonious for combinations and trines, challenging for clashes, harms and punishments. Always English, whatever the lang parameter says.
    pub quality: String,
    /// Element the formation resolves to. Present on stem combinations and on complete trines, absent on everything else. Branch six combinations deliberately carry none: the classical sources assign transformed elements to the stem pairs and not to these, and one of the six is contested between schools.
    #[serde(rename = "transformsTo", skip_serializing_if = "Option::is_none")]
    pub transforms_to: Option<String>,
    /// Kind of interaction. stem-combination and six-combination bind two positions, trine binds three, and clash, harm, punishment and stem-clash break them. Always English, whatever the lang parameter says.
    pub r#type: String,
    /// Class of a punishment, present on punishments only. ungrateful is the tiger, snake and monkey group, bullying the ox, dog and goat group, discourteous the rat and rabbit pair, and self a branch doubled against itself.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub variety: Option<String>,
}
/// The three school conventions this result was computed under. Returned on every BaZi response so a chart is self-describing: two calculators can produce different pillars for one birth and both be correct, and this object says which reading you are holding.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseConventions {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    #[serde(rename = "dayBoundary")]
    pub day_boundary: CalculateAnnualForecastResponseConventionsDayBoundary,
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    #[serde(rename = "hourClock")]
    pub hour_clock: CalculateAnnualForecastResponseConventionsHourClock,
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    #[serde(rename = "yearBoundary")]
    pub year_boundary: CalculateAnnualForecastResponseConventionsYearBoundary,
}
string_enum! {
    /// Year-boundary school actually applied. Echoes the request, or the default when it was omitted.
    CalculateAnnualForecastResponseConventionsYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
string_enum! {
    /// Hour clock actually applied. Echoes the request, or the default when omitted.
    CalculateAnnualForecastResponseConventionsHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Day-boundary school actually applied. Echoes the request, or the default when it was omitted. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
    CalculateAnnualForecastResponseConventionsDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Relation the principal hidden stem of the annual branch holds to the natal Day Master, the slower half of the same reading.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseBranchTenGod {
    /// Which of the five cycle relations this belongs to. peer is the same element as the Day Master, output is what the Day Master generates, wealth is what it controls, influence is what controls it, resource is what generates it, and self marks the Day Master itself. Always English, whatever the lang parameter says.
    pub category: String,
    /// The relation in traditional hanzi. Identical under every lang.
    pub chinese: String,
    /// Ten God identifier. One of friend, rob-wealth, eating-god, hurting-officer, indirect-wealth, direct-wealth, seven-killings, direct-officer, indirect-resource, direct-resource, plus day-master in the day-stem position. Always English, whatever the lang parameter says.
    pub id: String,
    /// One-line summary of what this relation contributes, for a compact rendering that has no room for the full meaning.
    pub keynote: String,
    /// Display name of the relation. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Ten God name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tone-marked pinyin for the relation. Identical under every lang.
    pub pinyin: String,
}
/// Echo of the birth moment the chart was computed from.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseBirthData {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
    pub timezone: f64,
}
/// The sexagenary pillar of the year being read.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseAnnualPillar {
    /// Earthly Branch of the year.
    pub branch: CalculateAnnualForecastResponseAnnualPillarBranch,
    /// Annual pillar identifier, the stem id and the branch id joined by a hyphen.
    pub id: String,
    /// Na Yin sound element of the annual pillar.
    #[serde(rename = "naYin")]
    pub na_yin: String,
    /// The Na Yin name in hanzi. Identical under every lang.
    #[serde(rename = "naYinChinese")]
    pub na_yin_chinese: String,
    /// Position of the annual pillar in the sexagenary cycle, 1 to 60.
    pub number: f64,
    /// Heavenly Stem of the year.
    pub stem: CalculateAnnualForecastResponseAnnualPillarStem,
}
/// Heavenly Stem of the year.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseAnnualPillarStem {
    /// The stem in hanzi. Data rather than display copy, so it is identical under every lang.
    pub chinese: String,
    /// Five-phase element of the stem. One of Wood, Fire, Earth, Metal, Water. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Heavenly Stem identifier. One of jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. Always English pinyin, whatever the lang parameter says, so it stays safe to compare against in code and to key a glyph table on.
    pub id: String,
    /// Tone-marked pinyin for the stem. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the stem, yang or yin. The five odd stems are yang and the five even ones are yin, and this is half of what decides every Ten God relation in the chart.
    pub polarity: String,
}
/// Earthly Branch of the year.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastResponseAnnualPillarBranch {
    /// Zodiac animal of the branch. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig. Always English, whatever the lang parameter says. Use animalLocalized for anything a reader sees.
    pub animal: String,
    /// Zodiac animal name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "animalLocalized", skip_serializing_if = "Option::is_none")]
    pub animal_localized: Option<String>,
    /// The branch in hanzi. Identical under every lang.
    pub chinese: String,
    /// Five-phase element of the branch. Always English, whatever the lang parameter says. Use elementLocalized for anything a reader sees.
    pub element: String,
    /// Element name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "elementLocalized", skip_serializing_if = "Option::is_none")]
    pub element_localized: Option<String>,
    /// Earthly Branch identifier. One of zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai. Always English pinyin, whatever the lang parameter says. Note that "wu" is also a stem identifier: they never share a field, so a branch id is only ever read out of a branch position.
    pub id: String,
    /// Tone-marked pinyin for the branch. Identical under every lang.
    pub pinyin: String,
    /// Polarity of the branch, yang or yin.
    pub polarity: String,
}
/// Request body of `calculateAnnualForecast`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateAnnualForecastRequest {
    /// Birth date in YYYY-MM-DD format. Sets the year, month and day pillars. The year pillar turns at Beginning of Spring rather than on 1 January, and the month pillar turns at each of the twelve minor solar terms rather than at a calendar month boundary.
    pub date: String,
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    #[serde(rename = "dayBoundary", skip_serializing_if = "Option::is_none")]
    pub day_boundary: Option<CalculateAnnualForecastRequestDayBoundary>,
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    #[serde(rename = "hourClock", skip_serializing_if = "Option::is_none")]
    pub hour_clock: Option<CalculateAnnualForecastRequestHourClock>,
    /// Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub latitude: Option<f64>,
    /// Birth longitude in decimal degrees. Positive is East, negative is West. Required when hourClock is "local-mean" or "solar", which shift the hour branch to the sun over the birth place; omitting it in either case returns 400. Ignored when hourClock is "clock".
    #[serde(skip_serializing_if = "Option::is_none")]
    pub longitude: Option<f64>,
    /// Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring. Each Earthly Branch covers two hours, so a birth within a few minutes of an odd hour can land in either. All four pillars are read in the local clock of the birth, and the day boundary is applied in that same clock; only the lunisolar calendar date itself is a world constant, fixed at UTC plus 8 so one instant has one Chinese date everywhere.
    pub time: String,
    /// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
    pub timezone: CalculateAnnualForecastRequestTimezone,
    /// Gregorian year to read against the natal chart. The annual pillar for that year is resolved under the same year boundary the request selected, so a li-chun reading and a lunar-new-year reading of the same calendar year can differ.
    pub year: i64,
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    #[serde(rename = "yearBoundary", skip_serializing_if = "Option::is_none")]
    pub year_boundary: Option<CalculateAnnualForecastRequestYearBoundary>,
}
string_enum! {
    /// Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late January and late February. The two disagree for any birth in the weeks between them: 14 February 2026 is a Wood Snake year under lunar-new-year and a Fire Horse year under li-chun.
    CalculateAnnualForecastRequestYearBoundary {
        LiChun = "li-chun",
        LunarNewYear = "lunar-new-year",
    }
}
/// IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state at that moment. On a transition day a time in the repeated hour is read as its first occurrence and a time in the skipped hour is moved forward past the gap. Invalid timezones return 400 with a validation error.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum CalculateAnnualForecastRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
    CalculateAnnualForecastRequestHourClock {
        Clock = "clock",
        LocalMean = "local-mean",
        Solar = "solar",
    }
}
string_enum! {
    /// Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from that day. "early-zi" turns the whole day at 23:00, the practice in Hong Kong, Taiwan and much of South East Asia. "split-zi" is the compromise most software implements and the default here: the day still turns at 00:00, but the hour stem is taken from the next day. The three give three different answers for a late-evening birth and identical answers for every other birth.
    CalculateAnnualForecastRequestDayBoundary {
        SplitZi = "split-zi",
        Midnight = "midnight",
        EarlyZi = "early-zi",
    }
}
/// Path and query parameters of `calculateAnnualForecast`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateAnnualForecastParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<CalculateAnnualForecastParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    CalculateAnnualForecastParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Response body of `generateBirthChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponse {
    /// The `aquarius` field.
    pub aquarius: BirthChartResponseAquarius,
    /// The `aries` field.
    pub aries: BirthChartResponseAries,
    /// The `cancer` field.
    pub cancer: BirthChartResponseCancer,
    /// The `capricorn` field.
    pub capricorn: BirthChartResponseCapricorn,
    /// Combust planets (astangata graha): grahas within their combustion orb of the Sun. Combustion weakens a planet significations. Empty when no planet is combust.
    pub combustion: Vec<BirthChartResponseCombustionItem>,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: BirthChartResponseFrame,
    /// The `gemini` field.
    pub gemini: BirthChartResponseGemini,
    /// The twelve bhavas (houses) in order, each with its classical name and significations. Houses are counted whole-sign from the Lagna.
    pub houses: Vec<BirthChartResponseHousesItem>,
    /// Planet-in-rashi and planet-in-nakshatra interpretation summaries, keyed by planet name. Translated when a supported lang is requested.
    pub interpretations: BirthChartResponseInterpretations,
    /// The `leo` field.
    pub leo: BirthChartResponseLeo,
    /// The `libra` field.
    pub libra: BirthChartResponseLibra,
    /// Quick lookup of all planet positions keyed by planet name. Contains Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu, and Lagna (Ascendant).
    pub meta: BirthChartResponseMeta,
    /// Uranus, Neptune and Pluto, present only when modernPlanets true was sent. Deliberately separate from meta and deliberately without dignity, avastha, combustion or aspect fields: those are constructs of the nine-graha system and the modern planets rule no sign, so no classical value exists for them. Order is always Uranus, Neptune, Pluto.
    #[serde(rename = "modernPlanets", skip_serializing_if = "Option::is_none")]
    pub modern_planets: Option<Vec<BirthChartResponseModernPlanetsItem>>,
    /// The `pisces` field.
    pub pisces: BirthChartResponsePisces,
    /// Planetary wars (graha yuddha): pairs of visible planets within 1 degree of each other. Empty when no two planets are in war.
    #[serde(rename = "planetaryWar")]
    pub planetary_war: Vec<BirthChartResponsePlanetaryWarItem>,
    /// The `sagittarius` field.
    pub sagittarius: BirthChartResponseSagittarius,
    /// The `scorpio` field.
    pub scorpio: BirthChartResponseScorpio,
    /// The `taurus` field.
    pub taurus: BirthChartResponseTaurus,
    /// The `virgo` field.
    pub virgo: BirthChartResponseVirgo,
    /// Forty-four classical yogas detected against this chart. Twelve conjunction and dignity yogas: Gajakesari (three-rule parashara definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Plus all 32 Nabhasa distribution yogas across the Asraya, Dala, Akriti and Sankhya families, which read how the seven visible grahas are spread over the whole chart rather than any single conjunction, and which apply the four classical precedence norms so an outranked yoga is returned as absent with evidence naming the norm that silenced it. Each entry carries an `id` (matches `GET /yoga/{id}` for full glossary lookup), a `present` boolean, a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent), and classical-text `evidence` for the rule that triggered or failed. Filter on `present === true` for the active list.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub yogas: Option<Vec<BirthChartResponseYogasItem>>,
}
/// One entry of `yogas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseYogasItem {
    /// Brief classical formation rule. Identifies the planetary placement, lordship, dignity, aspect pattern, sign modality, or whole-chart bhava distribution required for the yoga to form.
    pub description: String,
    /// Human-readable rationale naming the specific rule that triggered or failed the detection, including planetary positions, dignity, kendradhipati status, lordship, malefic drishti, sign modality, or whole-chart bhava distribution. For a Nabhasa yoga that matched its own rule but was outranked, this names the precedence norm that silenced it, for example that an Akriti yoga outranks Asraya or that any other Nabhasa family suppresses Sankhya. English in every language, like the per-graha stateSource on POST /daily, because it is provenance to be checked against a text rather than display copy.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub evidence: Option<String>,
    /// Classical grouping, ALWAYS present on a detection verdict: one of the four Nabhasa families (asraya, dala, akriti, sankhya) or classical for the twelve single-combination yogas such as Gajakesari and the Pancha Mahapurusha. Group the verdict list on this key to render a Nabhasa result the way the tradition arranges it. Never translated, so grouping works identically under any lang.
    pub family: BirthChartResponseYogasItemFamily,
    /// Glossary id (lowercase, kebab-case) matching an entry in the 301-entry planetary-yoga catalog. Use with GET /yoga/{id} to retrieve the full glossary text.
    pub id: String,
    /// Classical Sanskrit name of the yoga as referenced in BPHS (Brihat Parashara Hora Shastra), Phaladeepika, and B.V. Raman *Three Hundred Important Combinations*.
    pub name: String,
    /// True if every classical condition for the yoga is satisfied by the given chart. False means one of TWO different things: the rule failed, or the rule held and a stronger family outranked it. Read `suppressedBy` to tell those apart, which is exact and locale-independent; `evidence` says the same thing in English prose.
    pub present: bool,
    /// Overall nature. Auspicious yogas (Pancha Mahapurusha, Gajakesari) bestow benefits; inauspicious yogas (Kemadruma) indicate challenges; Both denotes context-dependent effects.
    pub quality: BirthChartResponseYogasItemQuality,
    /// Classical phala (life-effect) description of the yoga when present, sourced from the parashari and phaladeepika tradition.
    pub result: String,
    /// Set ONLY when this yoga matched its own classical rule and was then silenced by a higher-ranking family, so `present` is false for a reason a practitioner reads very differently from a failed rule. Names the family that took precedence, under the four classical norms: Akriti outranks Asraya, and Akriti, Asraya and Dala each outrank Sankhya. Absent means the rule genuinely did not hold.
    #[serde(rename = "suppressedBy", skip_serializing_if = "Option::is_none")]
    pub suppressed_by: Option<BirthChartResponseYogasItemSuppressedBy>,
}
string_enum! {
    /// Set ONLY when this yoga matched its own classical rule and was then silenced by a higher-ranking family, so `present` is false for a reason a practitioner reads very differently from a failed rule. Names the family that took precedence, under the four classical norms: Akriti outranks Asraya, and Akriti, Asraya and Dala each outrank Sankhya. Absent means the rule genuinely did not hold.
    BirthChartResponseYogasItemSuppressedBy {
        Classical = "classical",
        Asraya = "asraya",
        Dala = "dala",
        Akriti = "akriti",
        Sankhya = "sankhya",
    }
}
string_enum! {
    /// Overall nature. Auspicious yogas (Pancha Mahapurusha, Gajakesari) bestow benefits; inauspicious yogas (Kemadruma) indicate challenges; Both denotes context-dependent effects.
    BirthChartResponseYogasItemQuality {
        Positive = "Positive",
        Negative = "Negative",
        Both = "Both",
    }
}
string_enum! {
    /// Classical grouping, ALWAYS present on a detection verdict: one of the four Nabhasa families (asraya, dala, akriti, sankhya) or classical for the twelve single-combination yogas such as Gajakesari and the Pancha Mahapurusha. Group the verdict list on this key to render a Nabhasa result the way the tradition arranges it. Never translated, so grouping works identically under any lang.
    BirthChartResponseYogasItemFamily {
        Classical = "classical",
        Asraya = "asraya",
        Dala = "dala",
        Akriti = "akriti",
        Sankhya = "sankhya",
    }
}
/// The `virgo` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseVirgo {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseVirgoSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseVirgoSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseVirgoSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseVirgoSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseVirgoSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseVirgoSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseVirgoSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseVirgoSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseVirgoSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseVirgoSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseVirgoSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseVirgoSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The `taurus` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseTaurus {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseTaurusSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseTaurusSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseTaurusSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseTaurusSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseTaurusSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseTaurusSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseTaurusSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseTaurusSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseTaurusSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseTaurusSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseTaurusSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseTaurusSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The `scorpio` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseScorpio {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseScorpioSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseScorpioSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseScorpioSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseScorpioSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseScorpioSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseScorpioSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseScorpioSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseScorpioSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseScorpioSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseScorpioSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseScorpioSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseScorpioSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The `sagittarius` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseSagittarius {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseSagittariusSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseSagittariusSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseSagittariusSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseSagittariusSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseSagittariusSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseSagittariusSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseSagittariusSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseSagittariusSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseSagittariusSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseSagittariusSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseSagittariusSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseSagittariusSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// One entry of `planetaryWar`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponsePlanetaryWarItem {
    /// Angular separation between the two grahas in degrees.
    pub distance: f64,
    /// First graha in the planetary war (graha yuddha) pair.
    pub planet1: String,
    /// Second graha in the planetary war (graha yuddha) pair.
    pub planet2: String,
    /// Graha that wins the planetary war, the one with the more northerly ecliptic latitude. The winner keeps its strength, the loser is weakened.
    pub winner: String,
}
/// The `pisces` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponsePisces {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponsePiscesSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponsePiscesSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponsePiscesSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponsePiscesSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponsePiscesSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponsePiscesSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponsePiscesSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponsePiscesSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponsePiscesSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponsePiscesSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponsePiscesSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponsePiscesSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// One entry of `modernPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseModernPlanetsItem {
    /// Degrees advanced into the sign, 0 to 30. This is the figure a chart displays beside the sign.
    #[serde(rename = "degreeInRashi")]
    pub degree_in_rashi: f64,
    /// True when the body appears to move backward. All three are retrograde for roughly 40 percent of each year, so this is the normal case rather than the exception.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Sidereal longitude in degrees (0-360), in the same ayanamsa frame as every other position in this response.
    pub longitude: f64,
    /// Nakshatra placement. Reported because it is purely positional; it does not imply the body participates in Vimshottari dasha, which is built on the Moon alone.
    pub nakshatra: BirthChartResponseModernPlanetsItemNakshatra,
    /// Modern planet name. These three are outside the classical Navagraha and are returned only when modernPlanets true is sent.
    pub planet: BirthChartResponseModernPlanetsItemPlanet,
    /// Zodiac sign (rashi) the body occupies.
    pub rashi: String,
    /// Sanskrit name Indian software prints for this body: Arun for Uranus, Varun for Neptune, Yam for Pluto. Transliterated rather than translated, the same treatment as rashi and nakshatra lord names, so it is identical in every locale.
    #[serde(rename = "sanskritName")]
    pub sanskrit_name: BirthChartResponseModernPlanetsItemSanskritName,
}
string_enum! {
    /// Sanskrit name Indian software prints for this body: Arun for Uranus, Varun for Neptune, Yam for Pluto. Transliterated rather than translated, the same treatment as rashi and nakshatra lord names, so it is identical in every locale.
    BirthChartResponseModernPlanetsItemSanskritName {
        Arun = "Arun",
        Varun = "Varun",
        Yam = "Yam",
    }
}
string_enum! {
    /// Modern planet name. These three are outside the classical Navagraha and are returned only when modernPlanets true is sent.
    BirthChartResponseModernPlanetsItemPlanet {
        Uranus = "Uranus",
        Neptune = "Neptune",
        Pluto = "Pluto",
    }
}
/// Nakshatra placement. Reported because it is purely positional; it does not imply the body participates in Vimshottari dasha, which is built on the Moon alone.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseModernPlanetsItemNakshatra {
    /// Nakshatra index (1-27) starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra.
    pub lord: BirthChartResponseModernPlanetsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the body occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4).
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra.
    BirthChartResponseModernPlanetsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
/// Quick lookup of all planet positions keyed by planet name. Contains Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu, and Lagna (Ascendant).
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseMeta {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        BirthChartResponseMetaAdditionalProperty,
    >,
}
/// One graha placement: rashi, sidereal longitude, nakshatra with pada and lord, whole-sign bhava, retrogression, and the Baladi, Jagradadi and Deeptadi avastha states.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseMetaAdditionalProperty {
    /// Localized readings for this graha avastha states, present only when avasthaInfo true was sent. Each key mirrors the state field of the same name and carries a short meaning plus a one-sentence classical interpretation, so a client can label Yuva or Swapna without a second lookup call.
    #[serde(rename = "avasthaInfo", skip_serializing_if = "Option::is_none")]
    pub avastha_info: Option<BirthChartResponseMetaAdditionalPropertyAvasthaInfo>,
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseMetaAdditionalPropertyAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseMetaAdditionalPropertyDeeptadi>,
    /// Planet (graha) name. One of 9 Navagraha (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu) or Lagna (Ascendant). Used for matching transits and dasha lords to natal positions.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi; Lagna itself is house 1). Present on the D1 birth chart; divisional charts omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if the planet is in retrograde motion (appears to move backward through the zodiac). Retrograde planets carry intensified or internalized significations in Vedic interpretation.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseMetaAdditionalPropertyJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa. Precise position used for aspect calculations, divisional chart mapping, and transit analysis.
    pub longitude: f64,
    /// Nakshatra (lunar mansion) data for this planet. Nakshatras are the 27-fold division of the zodiac central to Vedic timing and compatibility systems.
    pub nakshatra: BirthChartResponseMetaAdditionalPropertyNakshatra,
    /// Zodiac sign (rashi) the planet occupies in the birth chart. One of 12 Vedic rashis from Aries (Mesha) to Pisces (Meena).
    pub rashi: String,
}
/// Nakshatra (lunar mansion) data for this planet. Nakshatras are the 27-fold division of the zodiac central to Vedic timing and compatibility systems.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseMetaAdditionalPropertyNakshatra {
    /// Nakshatra sequence number (1-27) in zodiac order starting from Ashwini. Used for Tara Bala compatibility and dasha calculations.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseMetaAdditionalPropertyNakshatraLord,
    /// Nakshatra (lunar mansion) the planet occupies. One of 27 Vedic nakshatras spanning 13 degrees 20 minutes each. Determines dasha lord and behavioral qualities.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra divides into 4 padas of 3 degrees 20 minutes. Pada determines Navamsa sign and refines personality traits.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseMetaAdditionalPropertyNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseMetaAdditionalPropertyJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseMetaAdditionalPropertyDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseMetaAdditionalPropertyAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// Localized readings for this graha avastha states, present only when avasthaInfo true was sent. Each key mirrors the state field of the same name and carries a short meaning plus a one-sentence classical interpretation, so a client can label Yuva or Swapna without a second lookup call.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseMetaAdditionalPropertyAvasthaInfo {
    /// The `awastha` field.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseMetaAdditionalPropertyAvasthaInfoAwastha>,
    /// The `deeptadi` field.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseMetaAdditionalPropertyAvasthaInfoDeeptadi>,
    /// The `jagradadi` field.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseMetaAdditionalPropertyAvasthaInfoJagradadi>,
}
/// The `jagradadi` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseMetaAdditionalPropertyAvasthaInfoJagradadi {
    /// Single-sentence classical reading of what the state does to the graha results, sourced from BPHS ch. 45, Saravali ch. 5 and Phaladeepika ch. 9. Localized by the lang query parameter.
    pub interpretation: String,
    /// One or two word gloss of the state, suitable for a table cell beside the graha.
    pub meaning: String,
}
/// The `deeptadi` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseMetaAdditionalPropertyAvasthaInfoDeeptadi {
    /// Single-sentence classical reading of what the state does to the graha results, sourced from BPHS ch. 45, Saravali ch. 5 and Phaladeepika ch. 9. Localized by the lang query parameter.
    pub interpretation: String,
    /// One or two word gloss of the state, suitable for a table cell beside the graha.
    pub meaning: String,
}
/// The `awastha` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseMetaAdditionalPropertyAvasthaInfoAwastha {
    /// Single-sentence classical reading of what the state does to the graha results, sourced from BPHS ch. 45, Saravali ch. 5 and Phaladeepika ch. 9. Localized by the lang query parameter.
    pub interpretation: String,
    /// One or two word gloss of the state, suitable for a table cell beside the graha.
    pub meaning: String,
}
/// The `libra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseLibra {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseLibraSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseLibraSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseLibraSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseLibraSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseLibraSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseLibraSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseLibraSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseLibraSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseLibraSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseLibraSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseLibraSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseLibraSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The `leo` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseLeo {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseLeoSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseLeoSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseLeoSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseLeoSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseLeoSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseLeoSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseLeoSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseLeoSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseLeoSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseLeoSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseLeoSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseLeoSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// Planet-in-rashi and planet-in-nakshatra interpretation summaries, keyed by planet name. Translated when a supported lang is requested.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseInterpretations {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<
        String,
        BirthChartResponseInterpretationsAdditionalProperty,
    >,
}
/// The two composed readings for one graha: what its rashi placement says, and what its nakshatra placement says. Both are full sentences ready to render.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseInterpretationsAdditionalProperty {
    /// Interpretation of the planet placement in its nakshatra.
    pub nakshatra: String,
    /// Interpretation of the planet placement in its rashi (sign).
    pub rashi: String,
}
/// One entry of `houses`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseHousesItem {
    /// Significations of the bhava (house). Present when an interpretation entry exists for this house.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    /// Classical name of the bhava (house). Present when an interpretation entry exists for this house.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Bhava (house) number 1-12. House 1 is the Lagna (Ascendant), house 7 the partnership axis, house 10 the career axis.
    pub number: i64,
    /// Significations of the bhava as short keywords, the compact form of description. Bhava 1 covers self, body and vitality; 2 wealth and speech; 7 marriage and partnership; 10 career and status. Suited to chart labels, table cells and legends where the full classical description is too long, and identical to the houseThemes map returned by the Vimshottari dasha and KP chart routes. Localized by the lang query parameter.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub themes: Option<Vec<String>>,
}
/// The `gemini` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseGemini {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseGeminiSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseGeminiSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseGeminiSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseGeminiSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseGeminiSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseGeminiSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseGeminiSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseGeminiSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseGeminiSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseGeminiSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseGeminiSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseGeminiSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// One entry of `combustion`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseCombustionItem {
    /// Angular separation from the Sun in degrees.
    #[serde(rename = "distanceFromSun")]
    pub distance_from_sun: f64,
    /// Combustion orb in degrees applied for this graha. A planet within this orb of the Sun is treated as combust, weakening its results.
    pub orb: f64,
    /// Graha that is combust (too close to the Sun, astangata).
    pub planet: String,
}
/// The `capricorn` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseCapricorn {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseCapricornSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseCapricornSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseCapricornSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseCapricornSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseCapricornSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseCapricornSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseCapricornSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseCapricornSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseCapricornSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseCapricornSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseCapricornSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseCapricornSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The `cancer` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseCancer {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseCancerSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseCancerSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseCancerSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseCancerSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseCancerSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseCancerSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseCancerSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseCancerSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseCancerSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseCancerSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseCancerSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseCancerSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The `aries` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseAries {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseAriesSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseAriesSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseAriesSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseAriesSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseAriesSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseAriesSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseAriesSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseAriesSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseAriesSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseAriesSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseAriesSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseAriesSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// The `aquarius` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseAquarius {
    /// Zodiac sign name in lowercase. Always equals the key of the block it sits in, so the aries block carries "aries" and the pisces block carries "pisces".
    pub rashi: String,
    /// Planets placed in this zodiac sign.
    pub signs: Vec<BirthChartResponseAquariusSignsItem>,
}
/// One entry of `signs`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseAquariusSignsItem {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awastha: Option<BirthChartResponseAquariusSignsItemAwastha>,
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub deeptadi: Option<BirthChartResponseAquariusSignsItemDeeptadi>,
    /// Planet (graha) placed in this sign.
    pub graha: String,
    /// Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi). Present on the D1 birth chart; divisional charts (navamsa, varga) omit it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub house: Option<i64>,
    /// True if planet is in retrograde motion (appears to move backward). Retrograde planets have altered significations.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub jagradadi: Option<BirthChartResponseAquariusSignsItemJagradadi>,
    /// Sidereal longitude in degrees (0-360) using Lahiri ayanamsa.
    pub longitude: f64,
    /// The `nakshatra` field.
    pub nakshatra: BirthChartResponseAquariusSignsItemNakshatra,
}
/// The `nakshatra` value.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartResponseAquariusSignsItemNakshatra {
    /// Nakshatra index (1-27) in the zodiac sequence starting from Ashwini.
    pub key: f64,
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    pub lord: BirthChartResponseAquariusSignsItemNakshatraLord,
    /// Nakshatra (lunar mansion, 1 of 27) the planet occupies.
    pub name: String,
    /// Nakshatra pada (quarter, 1-4). Each nakshatra has 4 padas of 3 degrees 20 each.
    pub pada: f64,
}
string_enum! {
    /// Vimshottari ruling planet of this nakshatra. One of the nine grahas (Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury). Drives the dasha sequence and the nakshatra qualities.
    BirthChartResponseAquariusSignsItemNakshatraLord {
        Ketu = "Ketu",
        Venus = "Venus",
        Sun = "Sun",
        Moon = "Moon",
        Mars = "Mars",
        Rahu = "Rahu",
        Jupiter = "Jupiter",
        Saturn = "Saturn",
        Mercury = "Mercury",
    }
}
string_enum! {
    /// Jagradadi avastha, the waking state of the graha set by its sign dignity: Jagrat (awake, own sign or exaltation, full results), Swapna (dreaming, a friendly or neutral sign, medium results), Sushupti (sleeping, an enemy sign or debilitation, no results). Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna own no sign and are omitted.
    BirthChartResponseAquariusSignsItemJagradadi {
        Jagrat = "Jagrat",
        Swapna = "Swapna",
        Sushupti = "Sushupti",
    }
}
string_enum! {
    /// Deeptadi avastha, the dispositional state of the graha, one of nine: Dipta (exalted, blazing), Svastha (own sign, healthy), Pramudita (great friend sign, delighted), Shanta (friendly sign, at peace), Dina (neutral sign, helpless), Duhkhita (enemy sign, sorrowful), Khala (great enemy sign, harsh), Vikala (joined by a natural malefic, disabled), Kopa (eclipsed by the Sun, enraged). Where more than one applies the more severe is returned, so combustion outranks a malefic conjunction, which outranks the sign reading. Present for the seven classical grahas on the D1 chart; Rahu, Ketu and the Lagna are omitted.
    BirthChartResponseAquariusSignsItemDeeptadi {
        Dipta = "Dipta",
        Svastha = "Svastha",
        Pramudita = "Pramudita",
        Shanta = "Shanta",
        Dina = "Dina",
        Duhkhita = "Duhkhita",
        Vikala = "Vikala",
        Khala = "Khala",
        Kopa = "Kopa",
    }
}
string_enum! {
    /// Baladi avastha, the planetary age-state set by the graha degree within its sign: Bala (infant), Kumara (child), Yuva (adult, strongest results), Vriddha (old), Mrita (dead, weakest). Bands run forward in odd signs and reversed in even signs. D1 birth chart only.
    BirthChartResponseAquariusSignsItemAwastha {
        Bala = "Bala",
        Kumara = "Kumara",
        Yuva = "Yuva",
        Vriddha = "Vriddha",
        Mrita = "Mrita",
    }
}
/// Request body of `generateBirthChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BirthChartRequest {
    /// Set true to include a localized meaning and one-sentence classical interpretation beside each graha avastha state, under avasthaInfo on that graha in meta. Defaults to false, so an existing integration is byte-identical until it opts in. Saves a second call to GET /avasthas and the client-side join that would otherwise be needed to turn Yuva or Swapna into readable text.
    #[serde(rename = "avasthaInfo", skip_serializing_if = "Option::is_none")]
    pub avastha_info: Option<bool>,
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<BirthChartRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Set true to also return Uranus, Neptune and Pluto, under the Sanskrit names Arun, Varun and Yam that Indian software prints for them. They arrive in a separate modernPlanets array, NOT inside meta, because classical Jyotish is defined over nine grahas: the moderns rule no sign, so they have no dignity, avastha, combustion or aspect strength and it would be fabrication to report one. Each carries longitude, rashi, degree in sign, nakshatra with pada and lord, and retrograde status. Defaults to false, so an existing integration is byte-identical until it opts in.
    #[serde(rename = "modernPlanets", skip_serializing_if = "Option::is_none")]
    pub modern_planets: Option<bool>,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<BirthChartRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum BirthChartRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    BirthChartRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Complete Bhava Bala (house strength) analysis per Brihat Parashara Hora Shastra, with a localized house-meaning legend.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavaBalaResponse {
    /// Bhava Bala for all twelve houses in order, house 1 first. Each entry carries its own components so a client can explain a score rather than just display it.
    pub bhavas: Vec<BhavaBalaResponseBhavasItem>,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    pub focus: BhavaBalaResponseFocus,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: BhavaBalaResponseFrame,
    /// House frame the bhavas were built on. Always sripati: Bhava Bala is defined on unequal bhava madhyas, not on whole signs.
    #[serde(rename = "houseSystem")]
    pub house_system: String,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes")]
    pub house_themes: BhavaBalaResponseHouseThemes,
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavaBalaResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavaBalaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    BhavaBalaResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// Bhava Bala for a single house, with the three classical components, the madhya it was measured at, and its rank.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavaBalaResponseBhavasItem {
    /// Bhavadhipati Bala in virupas: the total Shadbala of the house lord, carried across unchanged. The dominant term of the three, typically 250 to 650. Two bhavas ruled by the same graha therefore share this value exactly.
    #[serde(rename = "bhavadhipatiBala")]
    pub bhavadhipati_bala: f64,
    /// Bhava Digbala (directional strength) in virupas, 0 to 60 in steps of 10. Each rashi class is strongest in one cardinal bhava (human signs at the Lagna, quadruped at the 10th, watery at the 4th, Scorpio at the 7th) and loses 10 virupas per bhava of separation, reaching 0 at the seventh from it.
    #[serde(rename = "digBala")]
    pub dig_bala: f64,
    /// Bhava Drishti Bala (aspectual strength) in virupas, computed on the bhava madhya exactly as Graha Drik Bala is computed on a graha. Benefic aspects add and malefic aspects subtract, so this term is often negative.
    #[serde(rename = "drishtiBala")]
    pub drishti_bala: f64,
    /// Bhava (house) number 1 to 12, counted from the Lagna. House 1 is the Ascendant bhava, house 10 the career bhava, house 7 the partnership bhava.
    pub house: f64,
    /// Bhavadhipati (house lord), the ruler of the sign holding the madhya. Its Shadbala is what this bhava inherits, so a house ruled by a strong graha starts strong.
    pub lord: String,
    /// Bhava madhya (mid-cusp) longitude in degrees, sidereal Lahiri. The point every strength component below is measured at. Bhavas 1, 4, 7 and 10 sit on the Ascendant, IC, Descendant and Midheaven; the rest trisect the quadrants between them.
    pub madhya: f64,
    /// Strength rank among the twelve bhavas, 1 = strongest. Ranked on totalVirupas, so it never disagrees with the published totals.
    pub rank: f64,
    /// Zodiac sign holding this bhavas madhya (mid-cusp). Under the Sripati house system the bhavas are unequal, so this is NOT always the nth sign from the Lagna, and two bhavas can share a sign while another sign holds none.
    pub rashi: String,
    /// Total Bhava Bala in rupas (totalVirupas / 60). 1 rupa equals 60 virupas. Rupas are the conventional unit in classical tables.
    #[serde(rename = "totalRupas")]
    pub total_rupas: f64,
    /// Total Bhava Bala in virupas, the sum of the three components above. Use it to compare houses within one chart: the strongest bhavas are the life areas that unfold with least resistance.
    #[serde(rename = "totalVirupas")]
    pub total_virupas: f64,
}
/// Request body of `calculateBhavaBala`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavaBalaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<BhavaBalaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<BhavaBalaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum BhavaBalaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    BhavaBalaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Bhav Chalit (Chalit Kundli): every graha placed by unequal Sripati bhava, with the whole-sign placement beside it for comparison.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavChalitResponse {
    /// Sidereal Lahiri Ascendant in degrees. The madhya of bhava 1.
    pub ascendant: f64,
    /// The twelve Sripati bhavas in order with their boundaries and occupants.
    pub bhavas: Vec<BhavChalitResponseBhavasItem>,
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    pub focus: BhavChalitResponseFocus,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: BhavChalitResponseFrame,
    /// All nine grahas with both their Chalit bhava and their whole-sign Rashi house, plus a moved flag.
    pub grahas: Vec<BhavChalitResponseGrahasItem>,
    /// House frame used to build the bhavas. Always sripati for the Chalit chart.
    #[serde(rename = "houseSystem")]
    pub house_system: String,
    /// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
    #[serde(rename = "houseThemes")]
    pub house_themes: BhavChalitResponseHouseThemes,
    /// Sidereal Lahiri Midheaven in degrees. The madhya of bhava 10.
    pub midheaven: f64,
    /// How many of the nine grahas change house between the Rashi chart and the Chalit chart. Zero is a perfectly normal result and means the two charts agree for this nativity.
    #[serde(rename = "movedCount")]
    pub moved_count: f64,
}
/// Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavChalitResponseHouseThemes {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, Vec<String>>,
}
/// One graha placed in both frames, with a flag marking the placements that move.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavChalitResponseGrahasItem {
    /// Bhava the graha falls in under the unequal Sripati cusps. This is the Bhav Chalit placement and the reason the chart exists.
    pub bhava: f64,
    /// Graha name. All nine are placed, the seven classical grahas plus the lunar nodes Rahu and Ketu.
    pub graha: String,
    /// Sidereal Lahiri longitude in degrees.
    pub longitude: f64,
    /// True when bhava and rashiHouse disagree, i.e. the graha changes house between the Rashi chart and the Chalit chart. These are the placements a practitioner opens this chart to check.
    pub moved: bool,
    /// Zodiac sign the graha occupies. Identical to the Rashi (D1) chart.
    pub rashi: String,
    /// House the same graha occupies in the whole-sign Rashi chart, counted from the Lagna sign. Returned alongside bhava so the difference is visible without a second request.
    #[serde(rename = "rashiHouse")]
    pub rashi_house: f64,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavChalitResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
string_enum! {
    /// Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
    BhavChalitResponseFocus {
        General = "general",
        Finance = "finance",
    }
}
/// One Sripati bhava with its boundaries and occupants.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavChalitResponseBhavasItem {
    /// Bhava sandhi closing this bhava. Identical to the next bhavas start, so the twelve bhavas tile the zodiac with no gap.
    pub end: f64,
    /// Grahas falling inside this bhava. Empty when the bhava is unoccupied.
    pub grahas: Vec<String>,
    /// Bhava number 1 to 12.
    pub house: f64,
    /// Bhava madhya (mid-cusp) in degrees. Bhavas 1, 4, 7 and 10 sit exactly on the Ascendant, IC, Descendant and Midheaven; the other eight trisect the quadrant arcs between them.
    pub madhya: f64,
    /// Sign holding the madhya. Because bhavas are unequal, two bhavas can share a sign while another sign holds no madhya at all.
    pub rashi: String,
    /// Width of the bhava in degrees. Rarely 30: the Ascendant and Midheaven are only 90 degrees apart by coincidence of latitude and epoch, so quadrants stretch and squeeze and the bhavas with them.
    pub span: f64,
    /// Bhava sandhi (junction) opening this bhava, in degrees. The midpoint between this madhya and the previous one. A graha exactly on a sandhi belongs to the bhava it opens.
    pub start: f64,
}
/// Request body of `calculateBhavChalit`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BhavChalitRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<BhavChalitRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<BhavChalitRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum BhavChalitRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    BhavChalitRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// One entry of `cards`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct BasicCard {
    /// Whether this card belongs to the Major Arcana (22 trump cards representing major life themes) or Minor Arcana (56 suit cards for daily situations).
    pub arcana: BasicCardArcana,
    /// Unique card identifier in kebab-case, with no leading article on Major Arcana (e.g. fool, star, ace-of-cups, queen-of-swords). This is the canonical form, whatever spelling was requested.
    pub id: String,
    /// URL to the tarot card artwork image in the Rider-Waite-Smith style.
    #[serde(rename = "imageUrl")]
    pub image_url: String,
    /// Display name of the tarot card as it appears in the Rider-Waite-Smith tradition.
    pub name: String,
    /// Card number within its arcana. Major Arcana: 0 (Fool) through 21 (World). Minor Arcana: 1 (Ace) through 14 (King).
    pub number: f64,
    /// Suit of the card (Minor Arcana only). Cups=emotions, Wands=creativity, Swords=intellect, Pentacles=material. Null for Major Arcana cards.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub suit: Option<BasicCardSuit>,
}
string_enum! {
    /// Suit of the card (Minor Arcana only). Cups=emotions, Wands=creativity, Swords=intellect, Pentacles=material. Null for Major Arcana cards.
    BasicCardSuit {
        Cups = "cups",
        Wands = "wands",
        Swords = "swords",
        Pentacles = "pentacles",
    }
}
string_enum! {
    /// Whether this card belongs to the Major Arcana (22 trump cards representing major life themes) or Minor Arcana (56 suit cards for daily situations).
    BasicCardArcana {
        Major = "major",
        Minor = "minor",
    }
}
/// Request body of `getRitucharya`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AyurvedaRitucharyaRequest {
    /// The date to resolve, in YYYY-MM-DD format. The season is read at midday UTC on this date, because a season boundary is an instant and a calendar day has to be reduced to one; on a day that carries a boundary, the half the midday falls in is the answer. Within about two months of either end of the supported span, a date whose season opens or closes outside that span answers 400.
    pub date: String,
    /// Which half of the world the season names are stated for. Defaults to "northern", which is the half the primary text describes. It is NEVER inferred from a latitude: a silent flip would change the answer without the caller asking, and no classical text handles the southern case at all. Passing "southern" rotates the six season names by three places, following a modern almanac rather than a verse, and the response says so and states what was not rotated with them.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub hemisphere: Option<AyurvedaRitucharyaRequestHemisphere>,
    /// Which zodiac the solar-month boundaries are measured in. "sayana" is the tropical reading, which is what published almanacs use for seasons and is the default. "nirayana" is the sidereal reading in the Lahiri frame, which runs about 24 days later. The gap is the size of the ayanamsa, so near a boundary the two answer with different seasons for the same date, which is why the value is echoed in every response.
    #[serde(rename = "rituZodiac", skip_serializing_if = "Option::is_none")]
    pub ritu_zodiac: Option<AyurvedaRitucharyaRequestRituZodiac>,
    /// Which six-season division the year is cut into. "sutrasthana-6" is the standard set of sisira, vasanta, grisma, varsa, sarad and hemanta, and is the default. "vimana-8" is the alternate division in which three seasons of extreme character alternate with three of moderate character and pravrt, the season of the first rains, replaces sisira. The alternate is not a relabelling: five of the six boundaries move, and because its verse gives no solar-month boundaries the month allocation is a RoxyAPI convention, stated in the response.
    #[serde(rename = "ritucharyaScheme", skip_serializing_if = "Option::is_none")]
    pub ritucharya_scheme: Option<AyurvedaRitucharyaRequestRitucharyaScheme>,
}
string_enum! {
    /// Which six-season division the year is cut into. "sutrasthana-6" is the standard set of sisira, vasanta, grisma, varsa, sarad and hemanta, and is the default. "vimana-8" is the alternate division in which three seasons of extreme character alternate with three of moderate character and pravrt, the season of the first rains, replaces sisira. The alternate is not a relabelling: five of the six boundaries move, and because its verse gives no solar-month boundaries the month allocation is a RoxyAPI convention, stated in the response.
    AyurvedaRitucharyaRequestRitucharyaScheme {
        Sutrasthana6 = "sutrasthana-6",
        Vimana8 = "vimana-8",
    }
}
string_enum! {
    /// Which zodiac the solar-month boundaries are measured in. "sayana" is the tropical reading, which is what published almanacs use for seasons and is the default. "nirayana" is the sidereal reading in the Lahiri frame, which runs about 24 days later. The gap is the size of the ayanamsa, so near a boundary the two answer with different seasons for the same date, which is why the value is echoed in every response.
    AyurvedaRitucharyaRequestRituZodiac {
        Sayana = "sayana",
        Nirayana = "nirayana",
    }
}
string_enum! {
    /// Which half of the world the season names are stated for. Defaults to "northern", which is the half the primary text describes. It is NEVER inferred from a latitude: a silent flip would change the answer without the caller asking, and no classical text handles the southern case at all. Passing "southern" rotates the six season names by three places, following a modern almanac rather than a verse, and the response says so and states what was not rotated with them.
    AyurvedaRitucharyaRequestHemisphere {
        Northern = "northern",
        Southern = "southern",
    }
}
/// Request body of `getDinacharyaSchedule`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AyurvedaDinacharyaRequest {
    /// The local calendar date, in YYYY-MM-DD format. Sunrise and sunset are computed for this date at the given place, and the whole routine follows from them, so the answer changes through the year at any latitude away from the equator.
    pub date: String,
    /// How the six dosha periods are cut. "sunrise-anchored" divides the actual day and the actual night at this place into thirds, which is the division the frame chapter states, and is the default. "clock-hours" is the modern grid of six four-hour blocks from six in the morning; no classical text assigns clock hours, and the grid is only exact at an equinox near the equator. Both sets are returned whichever is chosen, so a caller can show one and reconcile against the other.
    #[serde(rename = "doshaClock", skip_serializing_if = "Option::is_none")]
    pub dosha_clock: Option<AyurvedaDinacharyaRequestDoshaClock>,
    /// Latitude in decimal degrees. It sets how long the day and the night actually are, which is the whole difference between this and a printed timetable: at 51 north in June the day runs about sixteen and a half hours and its thirds are five and a half hours each.
    pub latitude: f64,
    /// Longitude in decimal degrees. It sets the clock time of sunrise at this place.
    pub longitude: f64,
    /// Timezone as an IANA name such as "Europe/London", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the requested date, and on the clock-hour grid at the local hour each block opens, so on a daylight-saving change every block keeps its printed hour and one that falls in the skipped hour moves forward past it. It decides which local day is meant and, on the clock-hour grid, where the blocks fall. Defaults to 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<AyurvedaDinacharyaRequestTimezone>,
}
/// Timezone as an IANA name such as "Europe/London", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the requested date, and on the clock-hour grid at the local hour each block opens, so on a daylight-saving change every block keeps its printed hour and one that falls in the skipped hour moves forward past it. It decides which local day is meant and, on the clock-hour grid, where the blocks fall. Defaults to 0.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum AyurvedaDinacharyaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// How the six dosha periods are cut. "sunrise-anchored" divides the actual day and the actual night at this place into thirds, which is the division the frame chapter states, and is the default. "clock-hours" is the modern grid of six four-hour blocks from six in the morning; no classical text assigns clock hours, and the grid is only exact at an equinox near the equator. Both sets are returned whichever is chosen, so a caller can show one and reconcile against the other.
    AyurvedaDinacharyaRequestDoshaClock {
        SunriseAnchored = "sunrise-anchored",
        ClockHours = "clock-hours",
    }
}
/// Request body of `calculateAyurvedicConstitution`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AyurvedaConstitutionRequest {
    /// Sidereal frame the chart is cast in. "lahiri" is the traditional Vedic standard used by most software and is the default. "raman" sits about 1.45 degrees below it. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue. The frame rotates the whole zodiac, so a graha within 1.45 degrees of a boundary can change rashi when you switch, which moves both sign factors of the reading.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<AyurvedaConstitutionRequestAyanamsa>,
    /// Custom sidereal frame value in degrees. Required when ayanamsa is "custom" and ignored otherwise. Use it to reconcile exactly against a specific reference program.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. It sets the sidereal positions the whole reading is built from, so an approximate date gives an approximate constitution.
    pub date: String,
    /// Birth latitude in decimal degrees. It sets the local sidereal time behind the rising sign, and it feeds the strength of each graha through the sunrise at that place.
    pub latitude: f64,
    /// Birth longitude in decimal degrees. It sets the local sidereal time behind the rising sign, together with the latitude.
    pub longitude: f64,
    /// Which classical sign table the rising sign and the Moon sign are read through. "satyacharya" is the twelve-sign extract appended to Brihat Jataka 18.20, carried in two independent public-domain translations that agree on all twelve rows, and is the default. "bphs" is the Brihat Parasara Hora Sastra rule by elemental triplicity. The two agree exactly on three signs of twelve, overlap in part on seven, and share no humour at all on Scorpio or Sagittarius, so the choice can change the reading outright and is echoed in the response.
    #[serde(rename = "signDoshaScheme", skip_serializing_if = "Option::is_none")]
    pub sign_dosha_scheme: Option<AyurvedaConstitutionRequestSignDoshaScheme>,
    /// Birth time in 24-hour HH:MM:SS format. The rising sign turns roughly every two hours and carries the heaviest weight of the three factors, so time is the input a reading is most sensitive to.
    pub time: String,
    /// Timezone as an IANA name such as "Asia/Kolkata", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the birth date, so a summer-time birth is placed correctly. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<AyurvedaConstitutionRequestTimezone>,
}
/// Timezone as an IANA name such as "Asia/Kolkata", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the birth date, so a summer-time birth is placed correctly. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum AyurvedaConstitutionRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Which classical sign table the rising sign and the Moon sign are read through. "satyacharya" is the twelve-sign extract appended to Brihat Jataka 18.20, carried in two independent public-domain translations that agree on all twelve rows, and is the default. "bphs" is the Brihat Parasara Hora Sastra rule by elemental triplicity. The two agree exactly on three signs of twelve, overlap in part on seven, and share no humour at all on Scorpio or Sagittarius, so the choice can change the reading outright and is echoed in the response.
    AyurvedaConstitutionRequestSignDoshaScheme {
        Satyacharya = "satyacharya",
        Bphs = "bphs",
    }
}
string_enum! {
    /// Sidereal frame the chart is cast in. "lahiri" is the traditional Vedic standard used by most software and is the default. "raman" sits about 1.45 degrees below it. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue. The frame rotates the whole zodiac, so a graha within 1.45 degrees of a boundary can change rashi when you switch, which moves both sign factors of the reading.
    AyurvedaConstitutionRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `generateAstrocartography`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponse {
    /// Echo of the birth moment and place used to compute every planetary line.
    #[serde(rename = "birthDetails")]
    pub birth_details: AstrocartographyResponseBirthDetails,
    /// One entry per body, each carrying its Midheaven, Imum Coeli, Ascendant, and Descendant planetary lines for relocation mapping.
    pub lines: Vec<AstrocartographyResponseLinesItem>,
    /// Short overview of the astrocartography map for previews and report intros.
    pub summary: String,
}
/// One entry of `lines`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseLinesItem {
    /// Ascendant (rising) line. Places where the body was on the eastern horizon, tied to identity, vitality, and self-expression.
    pub ascendant: AstrocartographyResponseLinesItemAscendant,
    /// Equatorial declination of the body in degrees (-90 to 90), which sets how far the rising and setting lines curve.
    pub declination: f64,
    /// Descendant (setting) line. Places where the body was on the western horizon, tied to relationships and partnerships.
    pub descendant: AstrocartographyResponseLinesItemDescendant,
    /// Imum Coeli (IC) line, opposite the MC. Places where the body was anti-culminating, tied to home, family, and inner foundations.
    pub ic: AstrocartographyResponseLinesItemIc,
    /// Midheaven (MC) line. Places along this meridian where the body was culminating overhead, tied to public life, career, and reputation.
    pub mc: AstrocartographyResponseLinesItemMc,
    /// Celestial body this set of planetary lines belongs to. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use planetLocalized for anything a reader sees.
    pub planet: String,
    /// Body name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planetLocalized", skip_serializing_if = "Option::is_none")]
    pub planet_localized: Option<String>,
    /// Equatorial right ascension of the body in degrees (0 to 360), the basis for every line.
    #[serde(rename = "rightAscension")]
    pub right_ascension: f64,
    /// Unicode astronomical symbol for this body.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
}
/// Midheaven (MC) line. Places along this meridian where the body was culminating overhead, tied to public life, career, and reputation.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseLinesItemMc {
    /// Plain language meaning of this Midheaven planetary line for relocation, suitable for chart reports and AI agents.
    pub interpretation: String,
    /// Constant geographic longitude of this vertical meridian line in decimal degrees. The body culminates (MC) along it, so plot it as a straight north to south line.
    pub longitude: f64,
}
/// Imum Coeli (IC) line, opposite the MC. Places where the body was anti-culminating, tied to home, family, and inner foundations.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseLinesItemIc {
    /// Plain language meaning of this Imum Coeli planetary line for relocation, suitable for chart reports and AI agents.
    pub interpretation: String,
    /// Constant geographic longitude of this vertical meridian line in decimal degrees. The body anti-culminates (IC) along it, so plot it as a straight north to south line.
    pub longitude: f64,
}
/// Descendant (setting) line. Places where the body was on the western horizon, tied to relationships and partnerships.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseLinesItemDescendant {
    /// Absolute latitude in degrees beyond which the body never crosses the horizon, so the line has no points past it. Null when the line spans the full sampled range.
    #[serde(rename = "circumpolarBeyond")]
    pub circumpolar_beyond: Option<f64>,
    /// Plain language meaning of this setting (Descendant) planetary line for relocation, suitable for chart reports and AI agents.
    pub interpretation: String,
    /// Sampled geographic points tracing this setting line from 70 South to 70 North. Join them in latitude order to draw the curved planetary line on a world map.
    pub points: Vec<AstrocartographyResponseLinesItemDescendantPointsItem>,
}
/// One entry of `points`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseLinesItemDescendantPointsItem {
    /// Geographic latitude of this sampled point in decimal degrees.
    pub latitude: f64,
    /// Geographic longitude in decimal degrees where the body sits exactly on the western (setting) horizon at this latitude.
    pub longitude: f64,
}
/// Ascendant (rising) line. Places where the body was on the eastern horizon, tied to identity, vitality, and self-expression.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseLinesItemAscendant {
    /// Absolute latitude in degrees beyond which the body never crosses the horizon, so the line has no points past it. Null when the line spans the full sampled range.
    #[serde(rename = "circumpolarBeyond")]
    pub circumpolar_beyond: Option<f64>,
    /// Plain language meaning of this rising (Ascendant) planetary line for relocation, suitable for chart reports and AI agents.
    pub interpretation: String,
    /// Sampled geographic points tracing this rising line from 70 South to 70 North. Join them in latitude order to draw the curved planetary line on a world map.
    pub points: Vec<AstrocartographyResponseLinesItemAscendantPointsItem>,
}
/// One entry of `points`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseLinesItemAscendantPointsItem {
    /// Geographic latitude of this sampled point in decimal degrees.
    pub latitude: f64,
    /// Geographic longitude in decimal degrees where the body sits exactly on the eastern (rising) horizon at this latitude.
    pub longitude: f64,
}
/// Echo of the birth moment and place used to compute every planetary line.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AstrocartographyResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Response body of `generateAsteroids`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AsteroidsResponse {
    /// The four classical asteroid goddesses in canonical order: Ceres, Pallas, Juno, and Vesta, each with its tropical position, house, motion, and interpretation.
    pub asteroids: Vec<AsteroidsResponseAsteroidsItem>,
    /// Echo of the birth moment and place used to compute every asteroid.
    #[serde(rename = "birthDetails")]
    pub birth_details: AsteroidsResponseBirthDetails,
    /// House system actually used to place the asteroids, after any polar fallback to Whole Sign.
    #[serde(rename = "houseSystem")]
    pub house_system: AsteroidsResponseHouseSystem,
    /// Short overview of the asteroid set for previews and report intros.
    pub summary: String,
}
string_enum! {
    /// House system actually used to place the asteroids, after any polar fallback to Whole Sign.
    AsteroidsResponseHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Echo of the birth moment and place used to compute every asteroid.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AsteroidsResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// One entry of `asteroids`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AsteroidsResponseAsteroidsItem {
    /// Degree of the asteroid within its zodiac sign (0 to 29.999).
    pub degree: f64,
    /// Natal house placement (1 to 12) from the selected house system and birth location.
    pub house: i64,
    /// Plain language meaning of this asteroid in its sign, suitable for chart reports and AI agents. Localized to the requested language.
    pub interpretation: String,
    /// Whether the asteroid appears to move backward from Earth, true when the daily speed is negative.
    #[serde(rename = "isRetrograde")]
    pub is_retrograde: bool,
    /// Ecliptic latitude in degrees, the angular distance north or south of the ecliptic plane.
    pub latitude: f64,
    /// Absolute tropical ecliptic longitude of the asteroid in degrees (0 to 360).
    pub longitude: f64,
    /// Name of the asteroid: Ceres, Pallas, Juno, or Vesta. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Asteroid name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign the asteroid falls in.
    pub sign: String,
    /// Daily motion in degrees per day. Negative values indicate retrograde motion.
    pub speed: f64,
}
/// Request body of `generateAsteroids`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AsteroidsRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// House system used to assign each asteroid to a natal house. Placidus (default), Whole Sign, Equal, or Koch. Above the polar circle, quadrant systems fall back to Whole Sign and the echoed houseSystem reports the system actually used.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<AsteroidsRequestHouseSystem>,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<AsteroidsRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: AsteroidsRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum AsteroidsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    AsteroidsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system used to assign each asteroid to a natal house. Placidus (default), Whole Sign, Equal, or Koch. Above the polar circle, quadrant systems fall back to Whole Sign and the echoed houseSystem reports the system actually used.
    AsteroidsRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Response body of `calculateAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponse {
    /// All aspects found between the specified planets, with strength, orb, and interpretation.
    pub aspects: Vec<AspectsResponseAspectsItem>,
    /// Total number of aspects found after any filters applied.
    #[serde(rename = "aspectsFound")]
    pub aspects_found: f64,
    /// Date used for this aspect calculation (YYYY-MM-DD).
    pub date: String,
    /// Detected multi-planet aspect configurations (Grand Trine, Kite, T-Square, Grand Cross, Yod, Mystic Rectangle, Stellium).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub patterns: Option<Vec<AspectsResponsePatternsItem>>,
    /// Aspect summary with counts by nature and type.
    pub summary: AspectsResponseSummary,
    /// Time used for this calculation (HH:MM:SS).
    pub time: String,
    /// Timezone offset from UTC in decimal hours.
    pub timezone: f64,
}
/// Aspect summary with counts by nature and type.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponseSummary {
    /// Aspect count grouped by type.
    #[serde(rename = "byType")]
    pub by_type: AspectsResponseSummaryByType,
    /// Count of challenging aspects (square, opposition).
    pub challenging: f64,
    /// Count of harmonious aspects (trine, sextile).
    pub harmonious: f64,
    /// Count of neutral aspects (conjunction).
    pub neutral: f64,
    /// Total aspects found.
    #[serde(rename = "totalAspects")]
    pub total_aspects: f64,
}
/// Aspect count grouped by type.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponseSummaryByType {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// One entry of `patterns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponsePatternsItem {
    /// Focal planet for Kite, T-Square, and Yod patterns. Receives the released energy of the configuration and is the recommended integration point.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub apex: Option<String>,
    /// True if the pattern is out-of-sign (one or more planets in a neighboring element or modality). Dissociate patterns are still valid but operate with weakened thematic coherence.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub dissociate: Option<bool>,
    /// Dominant element when the pattern is element-coherent (Grand Trine, Kite). Reported lowercase. Absent for patterns whose meaning does not pivot on element.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<AspectsResponsePatternsItemElement>,
    /// Concise one-line interpretation naming the participating planets and theme. Localized to the requested language via the lang query parameter (defaults to English).
    pub interpretation: String,
    /// Stable template identifier used to render the interpretation. Useful for clients that wish to swap in a custom narrative template while preserving the structured variables.
    #[serde(rename = "interpretationKey")]
    pub interpretation_key: String,
    /// Variables that were interpolated into the interpretation template. Names already resolved to the requested language where appropriate.
    #[serde(rename = "interpretationVars")]
    pub interpretation_vars: AspectsResponsePatternsItemInterpretationVars,
    /// Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
    pub kind: AspectsResponsePatternsItemKind,
    /// Dominant modality for tension-based patterns (T-Square, Grand Cross). Cardinal initiates, Fixed sustains, Mutable adapts.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub modality: Option<AspectsResponsePatternsItemModality>,
    /// Human-readable name of the configuration as used in astrological literature.
    pub name: String,
    /// Participating bodies in canonical order. For Kite, T-Square, and Yod the apex planet appears first.
    pub planets: Vec<String>,
    /// Tightness score (0-100) derived from the average orb tightness across all defining aspects. Higher means closer to exact and stronger thematic expression.
    pub tightness: f64,
}
string_enum! {
    /// Dominant modality for tension-based patterns (T-Square, Grand Cross). Cardinal initiates, Fixed sustains, Mutable adapts.
    AspectsResponsePatternsItemModality {
        Cardinal = "cardinal",
        Fixed = "fixed",
        Mutable = "mutable",
    }
}
string_enum! {
    /// Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
    AspectsResponsePatternsItemKind {
        GrandTrine = "GRAND_TRINE",
        Kite = "KITE",
        TSquare = "T_SQUARE",
        GrandCross = "GRAND_CROSS",
        Yod = "YOD",
        MysticRectangle = "MYSTIC_RECTANGLE",
        Stellium = "STELLIUM",
    }
}
/// Variables that were interpolated into the interpretation template. Names already resolved to the requested language where appropriate.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponsePatternsItemInterpretationVars {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, String>,
}
string_enum! {
    /// Dominant element when the pattern is element-coherent (Grand Trine, Kite). Reported lowercase. Absent for patterns whose meaning does not pivot on element.
    AspectsResponsePatternsItemElement {
        Fire = "fire",
        Earth = "earth",
        Air = "air",
        Water = "water",
    }
}
/// One entry of `aspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponseAspectsItem {
    /// Exact angle defining this aspect type in degrees.
    pub angle: f64,
    /// Aspect nature for this pair: harmonious, challenging, or neutral. Always English, whatever the lang parameter says, because it is an identifier to compare and style on. This is the field to branch on; meaning.nature is the reference card characterisation of the aspect type and is translated for display.
    pub interpretation: String,
    /// Whether the aspect is applying (growing stronger) or separating (fading).
    #[serde(rename = "isApplying")]
    pub is_applying: bool,
    /// Aspect meaning with keywords, description, and nature classification.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub meaning: Option<AspectsResponseAspectsItemMeaning>,
    /// Distance from exact aspect in degrees. Tighter orb means stronger influence.
    pub orb: f64,
    /// First planet in the aspect pair. Always English, whatever the lang parameter says. Use planet1Localized for anything a reader sees.
    pub planet1: String,
    /// First planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet1Localized", skip_serializing_if = "Option::is_none")]
    pub planet1_localized: Option<String>,
    /// Second planet in the aspect pair. Always English, whatever the lang parameter says. Use planet2Localized for anything a reader sees.
    pub planet2: String,
    /// Second planet name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "planet2Localized", skip_serializing_if = "Option::is_none")]
    pub planet2_localized: Option<String>,
    /// Aspect strength (0-100) based on orb tightness.
    pub strength: f64,
    /// Aspect type (CONJUNCTION, OPPOSITION, TRINE, SQUARE, SEXTILE, etc.). Always English, whatever the lang parameter says. Use typeLocalized for anything a reader sees.
    pub r#type: String,
    /// Aspect type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
/// Aspect meaning with keywords, description, and nature classification.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponseAspectsItemMeaning {
    /// Aspect meaning in short and long form.
    pub description: AspectsResponseAspectsItemMeaningDescription,
    /// Keywords associated with this aspect type.
    pub keywords: Vec<String>,
    /// Aspect display name.
    pub name: String,
    /// How this aspect type is characterised in its reference card, in the requested language, exactly like the name, description and keywords beside it. This is a property of the aspect TYPE, so branch on the aspect-level interpretation field instead, which is always English and is the classification applied to this particular pair.
    pub nature: String,
}
/// Aspect meaning in short and long form.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsResponseAspectsItemMeaningDescription {
    /// Detailed aspect description with astrological context.
    pub long: String,
    /// Brief aspect description.
    pub short: String,
}
/// Request body of `calculateAspects`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectsRequest {
    /// Optional: specific aspect types to find (defaults to all 9)
    #[serde(rename = "aspectTypes", skip_serializing_if = "Option::is_none")]
    pub aspect_types: Option<Vec<String>>,
    /// Date in YYYY-MM-DD format
    pub date: String,
    /// Optional: specific bodies to calculate aspects for (defaults to all 14: the 10 classical planets, the lunar nodes, Chiron, and Black Moon Lilith)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub planets: Option<Vec<String>>,
    /// Time in HH:MM:SS format (24-hour)
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: AspectsRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum AspectsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
/// Response body of `detectAspectPatterns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectPatternsResponse {
    /// Echo of the options used for this detection run. Useful for reproducibility and for downstream UI display.
    pub options: AspectPatternsResponseOptions,
    /// All aspect patterns detected in the chart, in detection order: Grand Cross first, then Kite, Grand Trine, T-Square, Yod, Mystic Rectangle, Stellium. Patterns absorbed by a higher-priority detection (T-Squares inside a Grand Cross, Grand Trines absorbed by a Kite) are not reported separately.
    pub patterns: Vec<AspectPatternsResponsePatternsItem>,
    /// Total number of detected aspect patterns in this chart.
    pub total: f64,
}
/// One entry of `patterns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectPatternsResponsePatternsItem {
    /// Focal planet for Kite, T-Square, and Yod patterns. Receives the released energy of the configuration and is the recommended integration point.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub apex: Option<String>,
    /// True if the pattern is out-of-sign (one or more planets in a neighboring element or modality). Dissociate patterns are still valid but operate with weakened thematic coherence.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub dissociate: Option<bool>,
    /// Dominant element when the pattern is element-coherent (Grand Trine, Kite). Reported lowercase. Absent for patterns whose meaning does not pivot on element.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub element: Option<AspectPatternsResponsePatternsItemElement>,
    /// Concise one-line interpretation naming the participating planets and theme. Localized to the requested language via the lang query parameter (defaults to English).
    pub interpretation: String,
    /// Stable template identifier used to render the interpretation. Useful for clients that wish to swap in a custom narrative template while preserving the structured variables.
    #[serde(rename = "interpretationKey")]
    pub interpretation_key: String,
    /// Variables that were interpolated into the interpretation template. Names already resolved to the requested language where appropriate.
    #[serde(rename = "interpretationVars")]
    pub interpretation_vars: AspectPatternsResponsePatternsItemInterpretationVars,
    /// Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
    pub kind: AspectPatternsResponsePatternsItemKind,
    /// Dominant modality for tension-based patterns (T-Square, Grand Cross). Cardinal initiates, Fixed sustains, Mutable adapts.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub modality: Option<AspectPatternsResponsePatternsItemModality>,
    /// Human-readable name of the configuration as used in astrological literature.
    pub name: String,
    /// Participating bodies in canonical order. For Kite, T-Square, and Yod the apex planet appears first.
    pub planets: Vec<String>,
    /// Tightness score (0-100) derived from the average orb tightness across all defining aspects. Higher means closer to exact and stronger thematic expression.
    pub tightness: f64,
}
string_enum! {
    /// Dominant modality for tension-based patterns (T-Square, Grand Cross). Cardinal initiates, Fixed sustains, Mutable adapts.
    AspectPatternsResponsePatternsItemModality {
        Cardinal = "cardinal",
        Fixed = "fixed",
        Mutable = "mutable",
    }
}
string_enum! {
    /// Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
    AspectPatternsResponsePatternsItemKind {
        GrandTrine = "GRAND_TRINE",
        Kite = "KITE",
        TSquare = "T_SQUARE",
        GrandCross = "GRAND_CROSS",
        Yod = "YOD",
        MysticRectangle = "MYSTIC_RECTANGLE",
        Stellium = "STELLIUM",
    }
}
/// Variables that were interpolated into the interpretation template. Names already resolved to the requested language where appropriate.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectPatternsResponsePatternsItemInterpretationVars {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, String>,
}
string_enum! {
    /// Dominant element when the pattern is element-coherent (Grand Trine, Kite). Reported lowercase. Absent for patterns whose meaning does not pivot on element.
    AspectPatternsResponsePatternsItemElement {
        Fire = "fire",
        Earth = "earth",
        Air = "air",
        Water = "water",
    }
}
/// Echo of the options used for this detection run. Useful for reproducibility and for downstream UI display.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectPatternsResponseOptions {
    /// Optional bodies included beyond the default Sun-Pluto set. Empty means classical 10-planet detection only.
    pub include: Vec<AspectPatternsResponseOptionsIncludeItem>,
    /// Whether the tight orb budget was used. False uses the standard pattern-detection orbs (8 degrees for major aspects, 9 for square, 6 for sextile, 3 for quincunx).
    #[serde(rename = "strictOrbs")]
    pub strict_orbs: bool,
}
string_enum! {
    /// One entry of `include`.
    AspectPatternsResponseOptionsIncludeItem {
        Chiron = "chiron",
        NorthNode = "northNode",
    }
}
/// Request body of `detectAspectPatterns`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AspectPatternsRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<AspectPatternsRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: AspectPatternsRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum AspectPatternsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    AspectPatternsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
/// Complete Ashtakavarga analysis for a birth chart
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaResponse {
    /// Individual planetary strength grids (Bhinnashtakavarga). Eight entries: one for each of the 7 classical planets plus Lagna. Each entry shows how many of the 8 contributors (7 planets + Lagna) give benefic points to that planet in each of the 12 signs.
    pub bhinnashtakavarga: Vec<AshtakavargaResponseBhinnashtakavargaItem>,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: AshtakavargaResponseFrame,
    /// Reduced Bhinnashtakavarga after two-step Shodhana (purification) per BPHS Ch. 67-68. Step 1: Trikona Shodhana subtracts minimum bindu among trine groups (1-5-9, 2-6-10, 3-7-11, 4-8-12). Step 2: Ekadipati Shodhana adjusts dual-lordship sign pairs (Mars: Aries/Scorpio, Venus: Taurus/Libra, Mercury: Gemini/Virgo, Jupiter: Sagittarius/Pisces, Saturn: Capricorn/Aquarius). Used as input for Shodhya Pinda planetary strength.
    #[serde(rename = "reducedBhinnashtakavarga")]
    pub reduced_bhinnashtakavarga: Vec<AshtakavargaResponseReducedBhinnashtakavargaItem>,
    /// Reduced Sarvashtakavarga. Sum of the 7 reduced planetary Bhinnashtakavarga values per sign (Lagna excluded). Indicates relative sign strength after Shodhana purification.
    #[serde(rename = "reducedSarvashtakavarga")]
    pub reduced_sarvashtakavarga: AshtakavargaResponseReducedSarvashtakavarga,
    /// Sarvashtakavarga (SAV) combining all 7 planetary Bhinnashtakavarga scores per sign. Total is always 337.
    pub sarvashtakavarga: AshtakavargaResponseSarvashtakavarga,
    /// Shodhya Pinda planetary strength scores per BPHS Ch. 69. Derived from Reduced Ashtakavarga. Each entry contains Rashi Pinda (sign-weighted strength), Graha Pinda (planet-association-weighted strength), and total Shodhya Pinda. Used for comparing planetary strength, predicting dasha results, and transit analysis.
    #[serde(rename = "shodhyaPinda")]
    pub shodhya_pinda: Vec<AshtakavargaResponseShodhyaPindaItem>,
    /// Sign names in order, for mapping bindus array indices to zodiac signs. Index 0 = Aries through index 11 = Pisces.
    pub signs: Vec<AshtakavargaResponseSignsItem>,
}
string_enum! {
    /// One entry of `signs`.
    AshtakavargaResponseSignsItem {
        Aries = "Aries",
        Taurus = "Taurus",
        Gemini = "Gemini",
        Cancer = "Cancer",
        Leo = "Leo",
        Virgo = "Virgo",
        Libra = "Libra",
        Scorpio = "Scorpio",
        Sagittarius = "Sagittarius",
        Capricorn = "Capricorn",
        Aquarius = "Aquarius",
        Pisces = "Pisces",
    }
}
/// Shodhya Pinda strength values for a single planet, derived from Reduced Ashtakavarga per BPHS Ch. 69.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaResponseShodhyaPindaItem {
    /// Graha Pinda component. Weighted sum of reduced Bhinnashtakavarga bindus per sign multiplied by the Graha Gunakar of planets occupying each sign (Sun=5, Moon=5, Mars=8, Mercury=5, Jupiter=10, Venus=7, Saturn=5). Reflects planetary association strength.
    #[serde(rename = "grahaPinda")]
    pub graha_pinda: f64,
    /// Planet or Lagna name. Shodhya Pinda is calculated for all 7 classical planets plus Lagna.
    pub planet: String,
    /// Rashi Pinda component. Weighted sum of reduced Bhinnashtakavarga bindus per sign multiplied by Rashi Gunakar weights per BPHS Ch. 69. Higher values indicate stronger sign-based planetary strength.
    #[serde(rename = "rashiPinda")]
    pub rashi_pinda: f64,
    /// Total Shodhya Pinda (Rashi Pinda + Graha Pinda). Primary planetary strength score derived from Ashtakavarga reduction. Used for comparing relative strength of planets in a birth chart and predicting dasha period results.
    #[serde(rename = "shodhyaPinda")]
    pub shodhya_pinda: f64,
}
/// Sarvashtakavarga (SAV) combining all 7 planetary Bhinnashtakavarga scores per sign. Total is always 337.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaResponseSarvashtakavarga {
    /// Combined benefic points per sign from all 7 planets (Lagna excluded from SAV), ordered Aries through Pisces. Higher values indicate stronger signs for transit predictions and house strength analysis. Average is approximately 28 per sign.
    pub bindus: Vec<f64>,
    /// Sum of all SAV bindus across 12 signs. Always equals 337 for every birth chart. This mathematical constant serves as a validation checksum for the calculation.
    pub total: f64,
}
/// Reduced Sarvashtakavarga. Sum of the 7 reduced planetary Bhinnashtakavarga values per sign (Lagna excluded). Indicates relative sign strength after Shodhana purification.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaResponseReducedSarvashtakavarga {
    /// Combined benefic points per sign from all 7 planets (Lagna excluded from SAV), ordered Aries through Pisces. Higher values indicate stronger signs for transit predictions and house strength analysis. Average is approximately 28 per sign.
    pub bindus: Vec<f64>,
    /// Sum of all SAV bindus across 12 signs. Always equals 337 for every birth chart. This mathematical constant serves as a validation checksum for the calculation.
    pub total: f64,
}
/// Bhinnashtakavarga for a single planet or Lagna
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaResponseReducedBhinnashtakavargaItem {
    /// Benefic points (bindus) for each of the 12 signs, ordered Aries through Pisces (index 0 = Aries, index 11 = Pisces). Each value ranges from 0 to 8, representing how many of the 8 contributors (7 planets + Lagna) provide a benefic point for this planet in that sign. Higher bindus indicate stronger planetary support.
    pub bindus: Vec<f64>,
    /// Planet or Lagna name. Seven classical planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn) plus Lagna (Ascendant). Rahu and Ketu are excluded from Ashtakavarga per BPHS.
    pub planet: String,
    /// Sum of bindus across all 12 signs. This total is constant per planet regardless of birth chart: Sun = 48, Moon = 49, Mars = 39, Mercury = 54, Jupiter = 56, Venus = 52, Saturn = 39, Lagna = 49. Useful as a validation checksum.
    pub total: f64,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Bhinnashtakavarga for a single planet or Lagna
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaResponseBhinnashtakavargaItem {
    /// Benefic points (bindus) for each of the 12 signs, ordered Aries through Pisces (index 0 = Aries, index 11 = Pisces). Each value ranges from 0 to 8, representing how many of the 8 contributors (7 planets + Lagna) provide a benefic point for this planet in that sign. Higher bindus indicate stronger planetary support.
    pub bindus: Vec<f64>,
    /// Planet or Lagna name. Seven classical planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn) plus Lagna (Ascendant). Rahu and Ketu are excluded from Ashtakavarga per BPHS.
    pub planet: String,
    /// Sum of bindus across all 12 signs. This total is constant per planet regardless of birth chart: Sun = 48, Moon = 49, Mars = 39, Mercury = 54, Jupiter = 56, Venus = 52, Saturn = 39, Lagna = 49. Useful as a validation checksum.
    pub total: f64,
}
/// Request body of `calculateAshtakavarga`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AshtakavargaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<AshtakavargaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<AshtakavargaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum AshtakavargaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    AshtakavargaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// The twelve Arudha padas of a birth chart, computed per the Jaimini rule with the classical exception applied.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArudhaResponse {
    /// Zodiac sign of the Arudha Lagna (AL), the pada of the first house and the single most used value in this response. Repeated at the top level so a client rendering only the AL does not have to search the array.
    #[serde(rename = "arudhaLagna")]
    pub arudha_lagna: String,
    /// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
    pub frame: ArudhaResponseFrame,
    /// Zodiac sign of the Ascendant (Lagna), which anchors the twelve bhavas the padas are derived from.
    #[serde(rename = "lagnaRashi")]
    pub lagna_rashi: String,
    /// All twelve Arudha padas in bhava order, a1 through a12. Each carries the lord and the count it came from, so the derivation can be checked by hand.
    pub padas: Vec<ArudhaResponsePadasItem>,
    /// Zodiac sign of the Upapada (UL), the pada of the twelfth house, read for marriage and its durability. The second most used value, so it is also lifted to the top level.
    pub upapada: String,
}
/// One Arudha pada: the bhava it belongs to, the lord and count that produced it, the sign it lands in, and what it is read for.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArudhaResponsePadasItem {
    /// Practitioner shorthand written on a chart: AL for the Arudha Lagna, A2 through A11, and UL for the Upapada.
    pub abbreviation: String,
    /// Zodiac sign (rashi) occupying that bhava, counted whole-sign from the Lagna. The count to the pada starts here.
    #[serde(rename = "bhavaRashi")]
    pub bhava_rashi: String,
    /// True when the raw pada landed in the same bhava or the seventh from it and was moved to the tenth from there, as the classical rule requires. Surfaced so a reader can see exactly why a pada sits where it does, which is the step implementations most often skip.
    #[serde(rename = "exceptionApplied")]
    pub exception_applied: bool,
    /// Bhava (house) number 1-12 whose pada this is. The pada is the perceived, outward form of that bhava.
    pub house: i64,
    /// Which house from the Lagna the pada sits in, counted inclusively 1-12. Reading a pada against the natal Lagna is how its strength is judged.
    #[serde(rename = "houseFromLagna")]
    pub house_from_lagna: i64,
    /// Pada identifier, a1 through a12, matching the bhava it belongs to. a1 is the Arudha Lagna and a12 the Upapada.
    pub id: String,
    /// Lord of the bhava sign. The pada is found by counting to this graha and then the same distance again.
    pub lord: String,
    /// Zodiac sign the bhava lord occupies, which sets the length of the count.
    #[serde(rename = "lordRashi")]
    pub lord_rashi: String,
    /// Short label for what this pada is read for, sized for a table cell.
    pub meaning: String,
    /// Classical Sanskrit name of the pada, for example Arudha Lagna, Dhana Pada, Dara Pada, Upapada.
    pub name: String,
    /// Zodiac sign the pada falls in, after the classical exception is applied. This is the answer most readings start from.
    pub rashi: String,
    /// What this pada governs. Padas describe how a matter is PERCEIVED, which is what separates them from the bhava significations of the same house.
    pub significations: String,
}
/// The sidereal frame this response was computed in, so a cached or forwarded payload is self describing.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArudhaResponseFrame {
    /// Sidereal frame this chart was cast in, echoing the ayanamsa request field. "lahiri" when the field was omitted.
    pub ayanamsa: String,
    /// Degrees actually subtracted from every tropical longitude to produce this chart, read at the birth instant. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
    #[serde(rename = "ayanamsaDegrees")]
    pub ayanamsa_degrees: f64,
}
/// Request body of `calculateArudhaPadas`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArudhaRequest {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ayanamsa: Option<ArudhaRequestAyanamsa>,
    /// Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
    #[serde(rename = "ayanamsaValue", skip_serializing_if = "Option::is_none")]
    pub ayanamsa_value: Option<f64>,
    /// Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
    pub date: String,
    /// Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<ArudhaRequestTimezone>,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ArudhaRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Sidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.
    ArudhaRequestAyanamsa {
        KpNewcomb = "kp-newcomb",
        KpOld = "kp-old",
        Lahiri = "lahiri",
        Raman = "raman",
        Custom = "custom",
    }
}
/// Response body of `calculateArabicLots`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArabicLotsResponse {
    /// Echo of the birth moment and place used to compute every lot.
    #[serde(rename = "birthDetails")]
    pub birth_details: ArabicLotsResponseBirthDetails,
    /// The seven Hermetic lots in canonical order: Part of Fortune and Part of Spirit from the luminaries, then Eros, Necessity, Courage, Victory, and Nemesis from a planet paired with Fortune or Spirit.
    pub lots: Vec<ArabicLotsResponseLotsItem>,
    /// Chart sect that selected each formula. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Every lot swaps its two non-Ascendant terms between day and night.
    pub sect: ArabicLotsResponseSect,
    /// Short overview of the lot set for previews and report intros.
    pub summary: String,
}
string_enum! {
    /// Chart sect that selected each formula. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Every lot swaps its two non-Ascendant terms between day and night.
    ArabicLotsResponseSect {
        Day = "day",
        Night = "night",
    }
}
/// One entry of `lots`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArabicLotsResponseLotsItem {
    /// Degree of the lot within its zodiac sign (0 to 29.999).
    pub degree: f64,
    /// Human readable arc used for this chart, with the day or night term order already applied by sect.
    pub formula: String,
    /// Stable machine identifier for the lot (fortune, spirit, eros, necessity, courage, victory, nemesis). Use this for lookups.
    pub id: String,
    /// Plain language meaning of this lot in its sign, suitable for chart reports and AI agents. Localized to the requested language.
    pub interpretation: String,
    /// Absolute tropical ecliptic longitude of the lot in degrees (0 to 360).
    pub longitude: f64,
    /// Name of the lot. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Lot name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// Tropical zodiac sign the lot falls in.
    pub sign: String,
}
/// Echo of the birth moment and place used to compute every lot.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArabicLotsResponseBirthDetails {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9.
    pub timezone: f64,
}
/// Request body of `calculateArabicLots`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ArabicLotsRequest {
    /// Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
    pub date: String,
    /// House system used to place the Sun, which determines the chart sect (day when the Sun is above the horizon, night when below) and therefore which lot formula applies. Placidus (default), Whole Sign, Equal, or Koch.
    #[serde(rename = "houseSystem", skip_serializing_if = "Option::is_none")]
    pub house_system: Option<ArabicLotsRequestHouseSystem>,
    /// Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
    pub latitude: f64,
    /// Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
    pub longitude: f64,
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    #[serde(rename = "nodeType", skip_serializing_if = "Option::is_none")]
    pub node_type: Option<ArabicLotsRequestNodeType>,
    /// Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
    pub time: String,
    /// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
    pub timezone: ArabicLotsRequestTimezone,
}
/// Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
pub enum ArabicLotsRequestTimezone {
    /// A number value.
    Number(f64),
    /// A string value.
    String(String),
}
string_enum! {
    /// Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true".
    ArabicLotsRequestNodeType {
        Mean = "mean",
        TrueValue = "true",
    }
}
string_enum! {
    /// House system used to place the Sun, which determines the chart sect (day when the Sun is above the horizon, night when below) and therefore which lot formula applies. Placidus (default), Whole Sign, Equal, or Koch.
    ArabicLotsRequestHouseSystem {
        Placidus = "placidus",
        WholeSign = "whole-sign",
        Equal = "equal",
        Koch = "koch",
    }
}
/// Response body of `analyzeNumberSequence`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeNumberSequenceResponse {
    /// Present only when the context query parameter is supplied. A short reading layered on top of the meaning that accounts for WHERE the number was seen (clock, receipt, license plate, phone, address, price), since the place of a sighting shifts its emphasis.
    #[serde(rename = "contextNote", skip_serializing_if = "Option::is_none")]
    pub context_note: Option<String>,
    /// Numerology digit root from summing and reducing all digits. Links to foundational single-digit meaning. Master numbers 11, 22, 33 are preserved.
    #[serde(rename = "digitRoot")]
    pub digit_root: f64,
    /// The foundational meaning of this number based on its digit root. Every number reduces to a root digit (0-9) or master number (11, 22, 33), which provides the base interpretation even for unknown sequences.
    #[serde(rename = "digitRootMeaning")]
    pub digit_root_meaning: Option<AnalyzeNumberSequenceResponseDigitRootMeaning>,
    /// Total number of digits in the sequence.
    pub digits: f64,
    /// Whether the number reads the same forwards and backwards (e.g., 1221, 1001).
    #[serde(rename = "isPalindrome")]
    pub is_palindrome: bool,
    /// Whether all digits are identical (e.g., 111, 4444, 777).
    #[serde(rename = "isRepeating")]
    pub is_repeating: bool,
    /// Full angel number meaning if this number exists in the curated database (75+ known sequences). Null if the number is not in the database, in which case use the analysis fields (type, digitRoot) and the digitRootMeaning fallback for interpretation.
    #[serde(rename = "knownMeaning")]
    pub known_meaning: Option<AnalyzeNumberSequenceResponseKnownMeaning>,
    /// The number sequence that was analyzed.
    pub number: String,
    /// Pattern classification detected for this number. "repeating" means all same digits. "sequential" means consecutive ascending or descending. "mirror" means palindrome or alternating pattern. "master" means numerology master number. "root" means single digit. "compound" means a multi-digit sequence with no pure pattern (e.g. 911, 1122).
    pub r#type: String,
    /// Count of unique digits. A repeating number like 111 has 1 unique digit; 1234 has 4.
    #[serde(rename = "uniqueDigits")]
    pub unique_digits: f64,
}
/// Full angel number meaning if this number exists in the curated database (75+ known sequences). Null if the number is not in the database, in which case use the analysis fields (type, digitRoot) and the digitRootMeaning fallback for interpretation.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeNumberSequenceResponseKnownMeaning {
    /// Actionable steps when you see this number.
    #[serde(rename = "actionSteps")]
    pub action_steps: Vec<String>,
    /// Positive affirmation for this number.
    pub affirmation: String,
    /// Biblical and religious perspective, framed honestly.
    pub biblical: String,
    /// Core message summary.
    #[serde(rename = "coreMessage")]
    pub core_message: String,
    /// Energy classification (positive, neutral, cautionary).
    pub energy: String,
    /// Keywords for this angel number.
    pub keywords: Vec<String>,
    /// Detailed interpretations across life areas.
    pub meaning: AnalyzeNumberSequenceResponseKnownMeaningMeaning,
    /// Shadow or cautionary reading for this number.
    pub shadow: String,
    /// Title of the matched angel number meaning.
    pub title: String,
}
/// Detailed interpretations across life areas.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeNumberSequenceResponseKnownMeaningMeaning {
    /// Career and vocation guidance. Money and finances are returned separately in the money field.
    pub career: String,
    /// Love and relationship interpretation for singles, couples, and those healing from past relationships.
    pub love: String,
    /// Money, finances, and material abundance guidance, distinct from career.
    pub money: String,
    /// Spiritual interpretation covering divine guidance, higher purpose, and metaphysical significance.
    pub spiritual: String,
    /// Twin flame connection interpretation covering union, separation, and spiritual growth.
    #[serde(rename = "twinFlame")]
    pub twin_flame: String,
}
/// The foundational meaning of this number based on its digit root. Every number reduces to a root digit (0-9) or master number (11, 22, 33), which provides the base interpretation even for unknown sequences.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeNumberSequenceResponseDigitRootMeaning {
    /// Affirmation for the root digit.
    pub affirmation: String,
    /// Core message of the foundational root digit.
    #[serde(rename = "coreMessage")]
    pub core_message: String,
    /// Keywords for the root digit.
    pub keywords: Vec<String>,
    /// Full life-area interpretation of the underlying root digit. For an unknown sequence this is the substantive reading to display, so a synchronicity app never dead-ends on an arbitrary number.
    pub meaning: AnalyzeNumberSequenceResponseDigitRootMeaningMeaning,
    /// Root digit number (0-9) or master number (11, 22, 33).
    pub number: String,
    /// Title of the root digit meaning in numerology.
    pub title: String,
}
/// Full life-area interpretation of the underlying root digit. For an unknown sequence this is the substantive reading to display, so a synchronicity app never dead-ends on an arbitrary number.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeNumberSequenceResponseDigitRootMeaningMeaning {
    /// Career and vocation guidance for the root digit. Money and finances are returned separately in the money field.
    pub career: String,
    /// Love and relationship interpretation of the root digit, for singles, couples, and those healing from past relationships.
    pub love: String,
    /// Money, finances, and material abundance guidance for the root digit, kept distinct from career.
    pub money: String,
    /// Spiritual interpretation of the root digit, covering divine guidance, higher purpose, and metaphysical significance.
    pub spiritual: String,
    /// Twin flame interpretation of the root digit, covering union, separation, and spiritual growth.
    #[serde(rename = "twinFlame")]
    pub twin_flame: String,
}
/// Path and query parameters of `analyzeNumberSequence`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeNumberSequenceParams {
    /// Where the number was seen. When supplied, the response adds a contextNote tailoring the reading to the sighting: clock (a glanced time), receipt (a purchase), license-plate (in transit), phone (a call or notification), address (a home or place), price (a total or amount).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub context: Option<AnalyzeNumberSequenceParamsContext>,
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<AnalyzeNumberSequenceParamsLang>,
    /// Number sequence to analyze (1-8 digits). Can be any number the user has encountered: clock times (1111), addresses (717), receipts (888), license plates (4444), or any repeating pattern.
    pub number: String,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    AnalyzeNumberSequenceParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
string_enum! {
    /// Where the number was seen. When supplied, the response adds a contextNote tailoring the reading to the sighting: clock (a glanced time), receipt (a purchase), license-plate (in transit), phone (a call or notification), address (a home or place), price (a total or amount).
    AnalyzeNumberSequenceParamsContext {
        Clock = "clock",
        Receipt = "receipt",
        LicensePlate = "license-plate",
        Phone = "phone",
        Address = "address",
        Price = "price",
    }
}
/// Response body of `analyzeKarmicLessons`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeKarmicLessonsResponse {
    /// The `lessons` field.
    pub lessons: Vec<AnalyzeKarmicLessonsResponseLessonsItem>,
    /// Numbers missing from name (karmic lessons)
    #[serde(rename = "missingNumbers")]
    pub missing_numbers: Vec<f64>,
    /// Count of each number present in name
    #[serde(rename = "presentNumbers")]
    pub present_numbers: AnalyzeKarmicLessonsResponsePresentNumbers,
}
/// Count of each number present in name
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeKarmicLessonsResponsePresentNumbers {
    /// Every other key of the object, by name.
    #[serde(flatten)]
    pub additional_properties: std::collections::BTreeMap<String, f64>,
}
/// One entry of `lessons`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeKarmicLessonsResponseLessonsItem {
    /// Detailed lesson explanation
    pub description: String,
    /// Practical guidance for developing this quality
    #[serde(rename = "howToOvercome")]
    pub how_to_overcome: String,
    /// Core lesson summary
    pub lesson: String,
    /// Missing number
    pub number: f64,
}
/// Path and query parameters of `analyzeKarmicLessons`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct AnalyzeKarmicLessonsParams {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lang: Option<AnalyzeKarmicLessonsParamsLang>,
}
string_enum! {
    /// Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
    AnalyzeKarmicLessonsParamsLang {
        En = "en",
        Tr = "tr",
        De = "de",
        Es = "es",
        Hi = "hi",
        Pt = "pt",
        Fr = "fr",
        Ru = "ru",
        ZhHans = "zh-Hans",
        ZhHant = "zh-Hant",
    }
}
/// Request body of `analyzeKarmicLessons`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct AnalyzeKarmicLessonsRequest {
    /// Full birth name to analyze for missing numbers. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName")]
    pub full_name: String,
}
/// Request body of `calculateBirthDay`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBirthDayRequest {
    /// Day of birth (1-31)
    pub day: i64,
}
/// Request body of `calculateBridgeNumbers`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBridgeNumbersRequest {
    /// Birth day (1 to 31)
    pub day: i64,
    /// Full birth name as it appears on the birth certificate, first, middle and last names separated by spaces. Used to calculate the Expression, Soul Urge and Personality numbers. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName")]
    pub full_name: String,
    /// Birth month (1 to 12)
    pub month: i64,
    /// Birth year between 100 and 2100. Used to calculate the Life Path number via Pythagorean reduction.
    pub year: i64,
}
/// Request body of `calculateBusinessName`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateBusinessNameRequest {
    /// The business or brand name to evaluate. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    pub name: String,
}
/// Request body of `calculateChaldean`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateChaldeanRequest {
    /// The name to analyze. Chaldean tradition uses the name a person is most known by, not necessarily the full legal birth name. It needs at least one vowel (A, E, I, O, U) and one consonant, since the Soul Urge is read from the vowels and the Personality from the consonants; Y counts as a consonant. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    pub name: String,
}
/// Request body of `calculateDual`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateDualRequest {
    /// The name to analyze in both systems. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    pub name: String,
}
/// Request body of `calculateExpression`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateExpressionRequest {
    /// Full birth name (first, middle, last). A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName")]
    pub full_name: String,
}
/// Request body of `calculateLifePath`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateLifePathRequest {
    /// Birth day (1-31)
    pub day: i64,
    /// Birth month (1-12)
    pub month: i64,
    /// Birth year between 100 and 2100. Supports historical figures like Einstein (1879) and Shakespeare (1564).
    pub year: i64,
}
/// Send a Gregorian date to convert forward, or a lunar year, month and day to convert back. The two sides are exclusive, which is why the whole body carries one example rather than leaving the per field ones to be read together.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateLunarDateRequest {
    /// Gregorian date to convert to the lunisolar calendar. Send this OR the lunar fields, never both. Converts from the first day of lunar year 1551 to the last day of lunar year 2648, a little inside the supported date span, because numbering a lunar month needs the winter solstice on each side of it and placing a leap month needs the year before; a date outside that answers 400 date_out_of_range.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Set true to address the leap repetition of lunarMonth rather than the first pass. Requesting a leap month a year does not have returns 400.
    #[serde(rename = "isLeapMonth", skip_serializing_if = "Option::is_none")]
    pub is_leap_month: Option<bool>,
    /// Day of the lunar month, 1 to 30. Requires lunarYear and lunarMonth.
    #[serde(rename = "lunarDay", skip_serializing_if = "Option::is_none")]
    pub lunar_day: Option<i64>,
    /// Lunar month, 1 to 12. Requires lunarYear and lunarDay.
    #[serde(rename = "lunarMonth", skip_serializing_if = "Option::is_none")]
    pub lunar_month: Option<i64>,
    /// Lunisolar year to convert back to a Gregorian date. Requires lunarMonth and lunarDay.
    #[serde(rename = "lunarYear", skip_serializing_if = "Option::is_none")]
    pub lunar_year: Option<i64>,
}
/// Request body of `calculateMaturity`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CalculateMaturityRequest {
    /// Birth day (1-31). Required with year and month for automatic Life Path calculation.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub day: Option<i64>,
    /// Your Expression number (1-9, 11, 22, 33). Optional if fullName is provided.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub expression: Option<i64>,
    /// Full birth name to calculate the Expression number automatically. Use instead of passing expression directly. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName", skip_serializing_if = "Option::is_none")]
    pub full_name: Option<String>,
    /// Your Life Path number (1-9, 11, 22, 33). Optional if year, month, day are provided.
    #[serde(rename = "lifePath", skip_serializing_if = "Option::is_none")]
    pub life_path: Option<i64>,
    /// Birth month (1-12). Required with year and day for automatic Life Path calculation.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Birth year to calculate Life Path automatically. Use with month and day instead of passing lifePath directly.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Request body of `calculatePersonalDay`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalDayRequest {
    /// Birth day (1-31)
    pub day: i64,
    /// Birth month (1-12)
    pub month: i64,
    /// Target date in YYYY-MM-DD format, in the years 100 to 2100. Defaults to today (UTC).
    #[serde(rename = "targetDate", skip_serializing_if = "Option::is_none")]
    pub target_date: Option<String>,
}
/// Response body of `calculatePersonalDay`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalDayResponse {
    /// Actionable daily guidance. Specific advice for how to work with the energy of this Personal Day.
    pub guidance: String,
    /// Personal Day number (1-9). The most granular numerology cycle, revealing the energy and theme for this specific day based on your birth data.
    #[serde(rename = "personalDay")]
    pub personal_day: f64,
    /// The parent Personal Month number this day falls within.
    #[serde(rename = "personalMonth")]
    pub personal_month: f64,
    /// Theme of the parent Personal Month, providing broader context for the daily forecast.
    #[serde(rename = "personalMonthTheme")]
    pub personal_month_theme: String,
    /// The parent Personal Year number this day falls within.
    #[serde(rename = "personalYear")]
    pub personal_year: f64,
    /// Theme of the parent Personal Year, providing the broadest cycle context.
    #[serde(rename = "personalYearTheme")]
    pub personal_year_theme: String,
    /// The calendar date this forecast applies to in YYYY-MM-DD format.
    #[serde(rename = "targetDate")]
    pub target_date: String,
    /// Central theme for this Personal Day. A concise label capturing the dominant energy of the day.
    pub theme: String,
}
/// Request body of `calculatePersonalMonth`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalMonthRequest {
    /// Birth day (1-31)
    pub day: i64,
    /// Birth month (1-12)
    pub month: i64,
    /// Target calendar month to forecast (1 to 12). Defaults to the current UTC month.
    #[serde(rename = "targetMonth", skip_serializing_if = "Option::is_none")]
    pub target_month: Option<i64>,
    /// Target year. Defaults to the current UTC year.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Response body of `calculatePersonalMonth`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalMonthResponse {
    /// The calendar month this forecast applies to (1-12).
    #[serde(rename = "calendarMonth")]
    pub calendar_month: f64,
    /// Practical guidance for this month. Specific actions, areas of focus, and advice for making the most of this monthly energy.
    pub focus: String,
    /// Personal Month number (1-9). Each month in the cycle carries specific energy and themes that guide decisions and focus.
    #[serde(rename = "personalMonth")]
    pub personal_month: f64,
    /// The parent Personal Year number this month falls within.
    #[serde(rename = "personalYear")]
    pub personal_year: f64,
    /// Theme of the parent Personal Year, providing broader context for the monthly forecast.
    #[serde(rename = "personalYearTheme")]
    pub personal_year_theme: String,
    /// Central theme for this Personal Month. A concise label capturing the dominant energy.
    pub theme: String,
}
/// Request body of `calculatePersonalYear`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalYearRequest {
    /// Birth day (1-31)
    pub day: i64,
    /// Birth month (1-12)
    pub month: i64,
    /// Year to forecast. Defaults to the current UTC year; the Personal Year turns over on 1 January.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Response body of `calculatePersonalYear`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalYearResponse {
    /// Practical guidance for navigating the year
    pub advice: String,
    /// Challenges to navigate
    pub challenges: Vec<String>,
    /// Position in the 9-year cycle
    pub cycle: String,
    /// Detailed year forecast (200-300 words)
    pub forecast: String,
    /// Key opportunities in this year
    pub opportunities: Vec<String>,
    /// Personal Year number (1-9)
    #[serde(rename = "personalYear")]
    pub personal_year: f64,
    /// Main theme of the year
    pub theme: String,
}
/// Request body of `calculatePersonality`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculatePersonalityRequest {
    /// Full birth name. Its consonants give the Personality number, so a name with none is refused. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName")]
    pub full_name: String,
}
/// Response body of `calculateProfile`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateProfileResponse {
    /// Keynote of the Design line, the unconscious half of the profile.
    #[serde(rename = "designKeynote")]
    pub design_keynote: String,
    /// Line number from 1 to 6 of the unconscious Design Sun.
    #[serde(rename = "designLine")]
    pub design_line: f64,
    /// Keynote of the Personality line, the conscious half of the profile.
    #[serde(rename = "personalityKeynote")]
    pub personality_keynote: String,
    /// Line number from 1 to 6 of the conscious Personality Sun.
    #[serde(rename = "personalityLine")]
    pub personality_line: f64,
    /// Profile in conscious/unconscious form, the Personality Sun line over the Design Sun line.
    pub profile: String,
}
/// Request body of `calculateSoulUrge`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateSoulUrgeRequest {
    /// Full birth name. Its vowels A, E, I, O and U give the Soul Urge, so a name with none is refused. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName")]
    pub full_name: String,
}
/// Request body of `calculateTonalpohualli`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTonalpohualliRequest {
    /// Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform. Years 1 to 4000 are accepted. A reference converter that switches to the Julian calendar below the reform will disagree with a date before 15 October 1582 by ten or eleven days; that is a difference of input convention rather than of arithmetic, and passing the Julian equivalent to such a tool reproduces these values exactly. A single-digit month or day is accepted and zero padded.
    pub date: String,
}
/// Response body of `calculateType`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct CalculateTypeResponse {
    /// The aura mechanic of the type: how the energy field itself operates, for example open and enveloping, or closed and repelling.
    pub aura: String,
    /// Inner authority for decision making. One of Emotional, Sacral, Splenic, Ego, Self-Projected, Mental, Lunar. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use authorityLocalized for anything a reader sees.
    pub authority: String,
    /// How the decision is made, the timing it requires, and the characteristic trap. Inner authority is the most actionable output of a Human Design chart.
    #[serde(rename = "authorityDescription")]
    pub authority_description: String,
    /// Inner authority name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "authorityLocalized", skip_serializing_if = "Option::is_none")]
    pub authority_localized: Option<String>,
    /// The not-self theme that signals being out of alignment. Always English, whatever the lang parameter says. Use notSelfLocalized for anything a reader sees.
    #[serde(rename = "notSelf")]
    pub not_self: String,
    /// Not-self theme name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "notSelfLocalized", skip_serializing_if = "Option::is_none")]
    pub not_self_localized: Option<String>,
    /// Profile from the Personality Sun line over the Design Sun line.
    pub profile: String,
    /// The signature feeling of living in alignment. Always English, whatever the lang parameter says. Use signatureLocalized for anything a reader sees.
    pub signature: String,
    /// Signature theme name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "signatureLocalized", skip_serializing_if = "Option::is_none")]
    pub signature_localized: Option<String>,
    /// The aura strategy for engaging life correctly for this type. Always English, whatever the lang parameter says. Use strategyLocalized for anything a reader sees.
    pub strategy: String,
    /// How to actually apply the strategy. The strategy field alone is a bare label such as Respond or Inform; this is the operating instruction behind it.
    #[serde(rename = "strategyDescription")]
    pub strategy_description: String,
    /// Strategy name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "strategyLocalized", skip_serializing_if = "Option::is_none")]
    pub strategy_localized: Option<String>,
    /// Human Design energy type. One of Manifestor, Generator, Manifesting Generator, Projector, Reflector. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use typeLocalized for anything a reader sees.
    pub r#type: String,
    /// What the aura of this type does and how it is designed to engage life. The grounding text for the type label, so a consuming agent does not have to supply the meaning itself.
    #[serde(rename = "typeDescription")]
    pub type_description: String,
    /// Energy type name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "typeLocalized", skip_serializing_if = "Option::is_none")]
    pub type_localized: Option<String>,
}
/// Request body of `castCareerSpread`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastCareerSpreadRequest {
    /// Optional querent question to focus the career spread. It is echoed back on the reading and gives the seven career positions their context. Omit for general work and vocation guidance.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Optional seed for reproducible results. The same seed always draws the same seven cards into the same career positions, which is what lets a reading be shared or re-rendered. Omit for a random draw.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `castCelticCross`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastCelticCrossRequest {
    /// Optional querent question to focus the Celtic Cross. It is echoed back on the reading and gives the ten positions their context. Omit for a general reading of the situation.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Optional seed for reproducible results. The same seed always draws the same ten cards into the same Celtic Cross positions, which is what lets a reading be shared or re-rendered. Omit for a random draw.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `castDailyReading`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastDailyReadingRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same hexagram every time. Pass any unique identifier (userId, email hash, session token) to give each user their own hexagram for the day. Without a seed every caller receives the same shared hexagram of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `castLoveSpread`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastLoveSpreadRequest {
    /// Optional querent question to focus the love spread. It is echoed back on the reading and gives the five relationship positions their context. Omit for general relationship guidance.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Optional seed for reproducible results. The same seed always draws the same five cards into the same love positions, which is what lets a reading be shared or re-rendered. Omit for a random draw.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `castThreeCard`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastThreeCardRequest {
    /// Optional specific question to focus the reading. Examples: "What should I know about my relationship?", "How can I improve my finances?", "What is blocking my creative growth?" Leave empty for general guidance.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Optional seed for reproducible results. Same seed = same 3 cards in same positions. Useful for sharing readings, testing, or ensuring users get consistent results. Omit for random draws.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `castYesNo`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CastYesNoRequest {
    /// Your specific yes/no question. Be clear and focused. Good: "Should I move to a new city?" Bad: "What should I do about my life?" The more specific the question, the more useful the tarot guidance.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub question: Option<String>,
    /// Optional seed for reproducible results. Same seed + same question = same answer. Useful for testing, sharing readings, or ensuring consistency. Omit for random draws each time.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `checkKarmicDebt`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct CheckKarmicDebtRequest {
    /// Birth day (checks Birth Day on its own, and Life Path with year and month)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub day: Option<i64>,
    /// Full birth name (checks Expression, Soul Urge, Personality). A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName", skip_serializing_if = "Option::is_none")]
    pub full_name: Option<String>,
    /// Birth month (checks Life Path)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Birth year (checks Life Path)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Request body of `drawCards`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct DrawCardsRequest {
    /// Whether same card can be drawn multiple times. Set false for traditional deck behavior (each card drawn only once). Set true for statistical analysis or oracle-style readings. Default: false.
    #[serde(rename = "allowDuplicates", skip_serializing_if = "Option::is_none")]
    pub allow_duplicates: Option<bool>,
    /// Whether cards can appear reversed (upside down). Reversed cards have different meanings. Set false for upright-only readings. Default: true (50% chance of reversal per card).
    #[serde(rename = "allowReversals", skip_serializing_if = "Option::is_none")]
    pub allow_reversals: Option<bool>,
    /// Number of cards to draw (1-78). Common values: 1 for daily card, 3 for past-present-future, 5 for relationship spread, 10 for Celtic Cross. Drawing 78 returns the entire shuffled deck.
    pub count: i64,
    /// Optional seed for reproducible results. Same seed = same cards in same order. Use format like "userId-date" for daily consistency, or "readingId" for shareable readings. Omit for true randomness.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `generateNumerologyChart`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GenerateNumerologyChartRequest {
    /// Calendar year for the Personal Year, defaults to the current UTC year. It moves the Personal Year only: the nested personalMonth and maturityStatus.currentAge always read the current UTC date.
    #[serde(rename = "currentYear", skip_serializing_if = "Option::is_none")]
    pub current_year: Option<i64>,
    /// Birth day (1-31)
    pub day: i64,
    /// Full birth name as it appears on the birth certificate. Used for every letter-based number in the chart: Expression, Soul Urge, Personality, Karmic Lessons, Hidden Passion, Subconscious Self and the special letters. A name in any script is converted to Latin letters before it is counted, Cyrillic and Greek as the passport spelling and accents folded to the base letter, and the calculation lists the letters counted. For a script that does not write its vowels, send the Latin spelling the person uses.
    #[serde(rename = "fullName")]
    pub full_name: String,
    /// Birth month (1-12)
    pub month: i64,
    /// Birth year between 100 and 2100. Supports historical figures like Einstein (1879) and Shakespeare (1564).
    pub year: i64,
}
/// Response body of `getAztecDaySign`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAztecDaySignResponse {
    /// World direction the sign belongs to: east, north, west or south. The twenty run through the four quarters in strict rotation, so every fourth sign shares a quarter.
    pub direction: String,
    /// What the sign is about, as a clause rather than a sentence, because it is spliced into composed prose elsewhere in the API. Translated in place.
    pub essence: String,
    /// What the sign name means, translated in place because it is a common noun. Where several English renderings are in circulation all of them are given rather than one being picked.
    pub gloss: String,
    /// The one thing worth doing differently under this sign.
    pub guidance: String,
    /// Machine identifier of the day sign, always lowercase ASCII Nahuatl whatever the lang parameter says, so it stays safe to compare against and to use as a path parameter. The twenty ids run cipactli, ehecatl, calli, cuetzpalin, coatl, miquiztli, mazatl, tochtli, atl, itzcuintli, ozomahtli, malinalli, acatl, ocelotl, cuauhtli, cozcacuauhtli, ollin, tecpatl, quiahuitl, xochitl.
    pub id: String,
    /// The sign in one composed sentence, built from the components above.
    pub keynote: String,
    /// Display name in Nahuatl with the vowel length marks the reference tables print. A proper noun carried as data, identical under every lang.
    #[serde(rename = "nameNahuatl")]
    pub name_nahuatl: String,
    /// Place in the twenty sign sequence, 1 to 20, counting Cipactli as 1. The sequence never varies and is what the trecenas are indexed against.
    pub position: f64,
}
/// Response body of `getAztecTrecena`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetAztecTrecenaResponse {
    /// Days in the period. Always 13, which is what the word trecena means.
    pub length: f64,
    /// Which of the twenty thirteen day periods this is, 1 to 20. Trecena 1 opens on 1 Cipactli and the openers step thirteen signs at a time from there.
    pub number: f64,
    /// The composed reading of the period, built from the sign it opens on rather than stored, so the two can never drift apart. No patron deity is named, because two of the twenty published patrons are disputed and none ships rather than eighteen shipping beside two guesses.
    pub reading: String,
    /// Machine identifier of the day sign the period opens on.
    #[serde(rename = "startSign")]
    pub start_sign: String,
    /// Display name of the sign the period opens on. A proper noun carried as data.
    #[serde(rename = "startSignName")]
    pub start_sign_name: String,
}
/// Response body of `getCenter`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCenterResponse {
    /// Whether this is an awareness center.
    pub awareness: bool,
    /// What this center means when defined: a consistent, reliable energy or awareness.
    #[serde(rename = "definedMeaning")]
    pub defined_meaning: String,
    /// Center identifier.
    pub id: String,
    /// Whether this is a motor center.
    pub motor: bool,
    /// Display name of the center. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
    pub name: String,
    /// Center name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
    #[serde(rename = "nameLocalized", skip_serializing_if = "Option::is_none")]
    pub name_localized: Option<String>,
    /// What this center means when undefined and open: a place of conditioning and learning.
    #[serde(rename = "undefinedMeaning")]
    pub undefined_meaning: String,
}
/// Path and query parameters of `getCitiesByCountry`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCitiesByCountryParams {
    /// ISO 3166-1 alpha-2 country code, case-insensitive. Common codes: DE (Germany), FR (France), GB (United Kingdom), US (United States), ES (Spain), IT (Italy), NL (Netherlands), IN (India), BR (Brazil), JP (Japan).
    pub iso2: String,
    /// Maximum items to return per page. Range: 1-100, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
/// Request body of `getCriticalDays`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetCriticalDaysRequest {
    /// Birth date of the person in YYYY-MM-DD format.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// End date of the search range in YYYY-MM-DD format. Defaults to startDate + 90 days. Maximum range: 180 days.
    #[serde(rename = "endDate", skip_serializing_if = "Option::is_none")]
    pub end_date: Option<String>,
    /// Start date of the search range in YYYY-MM-DD format. Defaults to today (UTC).
    #[serde(rename = "startDate", skip_serializing_if = "Option::is_none")]
    pub start_date: Option<String>,
}
/// Request body of `getDailyAngelNumber`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyAngelNumberRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same angel number every time. Pass any unique identifier (userId, email hash, session token) to give each user their own angel number for the day. Without a seed every caller receives the same shared angel number of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `getDailyBiorhythm`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyBiorhythmRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same reading every time. Pass any unique identifier (userId, email hash, session token) to give each user their own reading for the day. Without a seed every caller receives the same shared reading of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `getDailyCard`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyCardRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same card every time. Pass any unique identifier (userId, email hash, session token) to give each user their own card for the day. Without a seed every caller receives the same shared card of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `getDailyCrystal`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyCrystalRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same crystal every time. Pass any unique identifier (userId, email hash, session token) to give each user their own crystal for the day. Without a seed every caller receives the same shared crystal of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Response body of `getDailyCrystal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDailyCrystalResponse {
    /// Positive affirmation aligned with the selected crystal. Use for daily affirmation features and meditation guidance.
    pub affirmation: String,
    /// Chakra energy centers this crystal resonates with for energy healing practice.
    pub chakras: Vec<String>,
    /// The date used for crystal selection (UTC).
    pub date: String,
    /// Overview of the crystal covering primary healing purpose and benefits.
    pub description: String,
    /// URL-safe identifier. Call /crystals/{id} for full healing properties.
    pub id: String,
    /// URL to crystal photograph. Use for daily crystal card display and visual features.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Display name of the crystal selected for this date.
    pub name: String,
    /// Computed seed used for this reading. Same seed always produces the same crystal.
    pub seed: String,
    /// Zodiac signs this crystal is traditionally associated with. Null when zodiac data is unavailable.
    #[serde(rename = "zodiacSigns")]
    pub zodiac_signs: Option<Vec<String>>,
}
/// Request body of `getDailyDreamSymbol`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyDreamSymbolRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same symbol every time. Pass any unique identifier (userId, email hash, session token) to give each user their own symbol for the day. Without a seed every caller receives the same shared symbol of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `getDailyHexagram`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyHexagramRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same hexagram every time. Pass any unique identifier (userId, email hash, session token) to give each user their own hexagram for the day. Without a seed every caller receives the same shared hexagram of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Request body of `getDailyNumber`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetDailyNumberRequest {
    /// Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Optional seed for reproducible readings. Same seed + same date = same number every time. Pass any unique identifier (userId, email hash, session token) to give each user their own number for the day. Without a seed every caller receives the same shared number of the day.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seed: Option<String>,
}
/// Path and query parameters of `getDreamSymbol`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetDreamSymbolParams {
    /// Unique symbol identifier in kebab-case (e.g., "snake", "chase-dreams", "losing-teeth").
    pub id: String,
}
/// Request body of `getForecast`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetForecastRequest {
    /// Birth date of the person in YYYY-MM-DD format.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// End date of the forecast range in YYYY-MM-DD format. Defaults to startDate + 30 days. Maximum range: 90 days.
    #[serde(rename = "endDate", skip_serializing_if = "Option::is_none")]
    pub end_date: Option<String>,
    /// Start date of the forecast range in YYYY-MM-DD format. Defaults to today (UTC).
    #[serde(rename = "startDate", skip_serializing_if = "Option::is_none")]
    pub start_date: Option<String>,
}
/// Response body of `getHaabMonth`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetHaabMonthResponse {
    /// What the period name means, translated in place because it is a common noun rather than a name.
    pub gloss: String,
    /// Machine identifier of the Haab period, always lowercase ASCII, so it stays safe to compare against and to use as a path parameter. The nineteen ids run pop, wo, sip, sotz, sek, xul, yaxkin, mol, chen, yax, sak, keh, mak, kankin, muwan, pax, kayab, kumku, wayeb.
    pub id: String,
    /// Days in the period. Twenty for the eighteen months and five for Wayebʼ, which is never twenty. Days inside a period are numbered from 0, so a twenty day period runs 0 to 19.
    pub length: f64,
    /// The sixteenth century Yucatec spelling, which is the form most printed tables use.
    #[serde(rename = "nameClassic")]
    pub name_classic: String,
    /// Display name in the standard orthography. A proper noun carried as data, identical under every lang.
    #[serde(rename = "nameYucatec")]
    pub name_yucatec: String,
    /// Place in the Haab year, 1 to 19. Pop is 1 and Wayebʼ is 19, so a position of 19 always means the five short days.
    pub position: f64,
    /// The composed reading of the period, built from its position, its length and its gloss.
    pub reading: String,
}
/// Path and query parameters of `getKpAyanamsa`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetKpAyanamsaParams {
    /// Date for ayanamsa calculation in YYYY-MM-DD format. Defaults to today if not provided. Ayanamsa changes by ~0.01 degrees per month due to the precession of Earth.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    /// Time of day in 24-hour HH:MM:SS format, interpreted in the timezone below. Omit for midnight UTC. The ayanamsa moves about 0.14 arcseconds across a day, so supplying the time matters only when reconciling a chart against reference software to the arcsecond.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub time: Option<String>,
    /// IANA name (e.g. "Asia/Kolkata", "America/New_York"), decimal hours (e.g. 5.5 for IST, -5 for EST), or a fixed UTC offset (e.g. "+05:30"). IANA resolved to the offset in force at the given date and the time field above. Defaults to 0 (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
}
/// Request body of `getMonthlyTropicalEphemeris`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetMonthlyTropicalEphemerisRequest {
    /// Month number (1-12) for the ephemeris. Defaults to the current month (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub month: Option<i64>,
    /// Year for the monthly ephemeris (1551 to 2649). Defaults to the current year (UTC).
    #[serde(skip_serializing_if = "Option::is_none")]
    pub year: Option<i64>,
}
/// Request body of `getPhases`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetPhasesRequest {
    /// Birth date of the person in YYYY-MM-DD format.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Date to get phase information for in YYYY-MM-DD format. Defaults to today (UTC).
    #[serde(rename = "targetDate", skip_serializing_if = "Option::is_none")]
    pub target_date: Option<String>,
}
/// Response body of `getRandomCrystal`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetRandomCrystalResponse {
    /// Positive affirmation aligned with the selected crystal energy.
    pub affirmation: String,
    /// Chakra energy centers this crystal resonates with.
    pub chakras: Vec<String>,
    /// Overview of the crystal covering primary healing purpose and benefits.
    pub description: String,
    /// URL-safe identifier. Call /crystals/{id} for full healing properties.
    pub id: String,
    /// URL to crystal photograph for visual display.
    #[serde(rename = "imageUrl")]
    pub image_url: Option<String>,
    /// Display name of the randomly selected crystal.
    pub name: String,
    /// Zodiac signs this crystal is traditionally associated with. Null when zodiac data is unavailable.
    #[serde(rename = "zodiacSigns")]
    pub zodiac_signs: Option<Vec<String>>,
}
/// Path and query parameters of `getRandomSymbols`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct GetRandomSymbolsParams {
    /// Number of random symbols to return (1-10). Default: 1.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub count: Option<i64>,
}
/// Request body of `getReading`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetReadingRequest {
    /// Birth date of the person in YYYY-MM-DD format. This is the anchor for all biorhythm cycle calculations.
    #[serde(rename = "birthDate")]
    pub birth_date: String,
    /// Date to calculate the reading for in YYYY-MM-DD format. Defaults to today (UTC) if omitted.
    #[serde(rename = "targetDate", skip_serializing_if = "Option::is_none")]
    pub target_date: Option<String>,
}
/// Response body of `getTrecena`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetTrecenaResponse {
    /// Days in the period. Always 13, which is what the word trecena means.
    pub length: f64,
    /// Which of the twenty thirteen day periods this is, 1 to 20. Trecena 1 opens on 1 Imix and the openers step thirteen signs at a time from there.
    pub number: f64,
    /// The composed reading of the period, built from the sign it opens on. Composed rather than stored, so it can never drift away from the day sign it is drawn from.
    pub reading: String,
    /// Machine identifier of the day sign the period opens on, which the tradition reads as colouring all thirteen of its days.
    #[serde(rename = "rulingSign")]
    pub ruling_sign: String,
    /// Kʼicheʼ name of the same sign, the vocabulary a highland reading uses.
    #[serde(rename = "rulingSignKiche")]
    pub ruling_sign_kiche: String,
    /// Display name of the sign the period opens on. A proper noun carried as data.
    #[serde(rename = "rulingSignName")]
    pub ruling_sign_name: String,
}
/// Response body of `getUsageStats`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct GetUsageStatsResponse {
    /// Billing email the subscription is registered under.
    pub email: String,
    /// ISO 8601 timestamp when the current billing period ends. A renewal extends this date in place. API access survives a cancelled or suspended status until this moment passes. This is a BILLING date, not a quota date: the monthly allowance resets on the 1st of each month independently of it.
    #[serde(rename = "endDate")]
    pub end_date: String,
    /// Name of the subscription plan the API key belongs to. One flat plan covers every domain and the Remote MCP servers, so this is a quota tier, never a per product entitlement.
    pub plan: String,
    /// Requests left before the monthly allowance is exhausted, floored at zero. Equal to requestsPerMonth minus usedThisMonth. Refills at the calendar month rollover, whose exact instant every API response carries as a Unix timestamp in the X-RateLimit-Reset header.
    #[serde(rename = "remainingThisMonth")]
    pub remaining_this_month: f64,
    /// Monthly request allowance for the plan. One request, API or MCP, equals one unit: there is no credit weighting and no per domain fee.
    #[serde(rename = "requestsPerMonth")]
    pub requests_per_month: f64,
    /// Subscription lifecycle state. Values: active, cancelled (no longer renewing but usable until endDate), suspended (payment failed, usable until endDate), expired (past endDate), pending (checkout started, payment not captured).
    pub status: String,
    /// Billable requests counted against the current calendar month. The quota window is the UTC calendar month and resets on the 1st at 12:00 AM UTC, never on your renewal date, so an annual plan refills every month and a plan bought mid month still refills on the 1st. Read from the durable request ledger, which can trail the live limiter by up to 5 minutes; for the exact live position read the X-RateLimit-Used header on any response, including this one. Cached responses still count; a request that failed on our side with a 5xx never does.
    #[serde(rename = "usedThisMonth")]
    pub used_this_month: f64,
}
/// Response body of `getKpAyanamsa`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct KPAyanamsaResponse {
    /// KP-Newcomb ayanamsa value in degrees
    pub ayanamsa: f64,
    /// UTC timestamp when calculation was performed
    pub calculated: String,
    /// Date for which ayanamsa was calculated
    pub date: String,
    /// Mathematical basis for ayanamsa calculation
    pub formula: String,
    /// The exact UTC instant the value was computed for, after applying the time and timezone. Echoed so a client reconciling to the arcsecond can confirm the moment rather than infer it from the date alone. Equals midnight UTC of the date when no time was supplied.
    pub instant: String,
    /// Ayanamsa type identifier
    pub r#type: String,
}
/// Path and query parameters of `listCountries`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct ListCountriesParams {
    /// Maximum items to return per page. Range: 1-250, default 50.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
}
/// Response body of `listCrystalColors`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListCrystalColorsResponse {
    /// Alphabetically sorted list of all unique crystal colors. Pass any value to the color filter on GET /crystals.
    pub colors: Vec<String>,
    /// Total number of unique color values in the database.
    pub count: f64,
}
/// Response body of `listCrystalPlanets`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct ListCrystalPlanetsResponse {
    /// Total number of unique planetary values in the database.
    pub count: f64,
    /// Alphabetically sorted list of all unique planetary associations. Pass any value to the planet filter on GET /crystals.
    pub planets: Vec<String>,
}
/// Response body of `getRashi`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct RashiResponse {
    /// Key personality traits and behavioral tendencies of natives born under this rashi.
    pub characteristics: String,
    /// Approximate sidereal date range when the Sun transits this rashi.
    #[serde(rename = "dateRange")]
    pub date_range: String,
    /// Aditya (solar deity) governing this rashi in Vedic tradition.
    pub energy: String,
    /// Unique slug identifier for the rashi. Used in URL paths and cross-references.
    pub id: String,
    /// Western zodiac sign name corresponding to this Vedic rashi.
    pub name: String,
    /// Traditional symbol associated with this zodiac sign.
    pub symbol: String,
    /// Sanskrit name of the rashi as used in Vedic astrology (Jyotish).
    #[serde(rename = "vedicName")]
    pub vedic_name: String,
}
/// Path and query parameters of `searchCities`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct SearchCitiesParams {
    /// Maximum items to return per page. Range: 1-50, default 10.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
    /// Place to search for, written the way a person would. Accepts a bare city (berlin), a city plus country (berlin germany), a comma-qualified place (richfield, utah), a fully qualified place (richfield, utah, united states), or a historic name (bombay, peking, constantinople). Commas are optional, and a qualifier the dataset spells differently, such as USA for United States, still resolves. Matched against city name, alternate names, state or province, and country. Add the state or country whenever the name is common, since that is what separates the six Springfields, and Richfield, Utah from Richfield, Minnesota.
    pub q: String,
}
/// Path and query parameters of `searchDreamSymbols`.
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
#[non_exhaustive]
pub struct SearchDreamSymbolsParams {
    /// Filter symbols by starting letter (a-z). Case-insensitive.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub letter: Option<String>,
    /// Maximum items to return per page. Range: 1-50, default 20.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub limit: Option<i64>,
    /// Number of items to skip for pagination. Default 0.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offset: Option<i64>,
    /// Search query to match against symbol names and meanings. Case-insensitive.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub q: Option<String>,
}
/// Response body of `getTrigram`.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[non_exhaustive]
pub struct Trigram {
    /// Animal symbol associated with this trigram in classical I-Ching imagery and divination.
    pub animal: String,
    /// Core attribute or quality this trigram represents in I-Ching philosophy (e.g., Creative, Receptive, Arousing).
    pub attribute: String,
    /// Three-digit binary representation of the trigram lines (bottom to top). 1 = yang (solid), 0 = yin (broken).
    pub binary: String,
    /// Body part associated with this trigram in traditional Chinese medicine and I-Ching body mapping.
    #[serde(rename = "bodyPart")]
    pub body_part: String,
    /// Original Chinese character name of the trigram in traditional script.
    pub chinese: String,
    /// Compass direction in the King Wen (Later Heaven) Bagua arrangement. Used in feng shui spatial analysis.
    pub direction: String,
    /// Five element (Wu Xing) correspondence: Metal, Wood, Water, Fire, or Earth. Used in Chinese metaphysics and feng shui analysis.
    pub element: String,
    /// English name representing the natural force or element this trigram embodies.
    pub english: String,
    /// Family archetype in the Bagua system. Each trigram corresponds to a family role (Father, Mother, First Son, First Daughter, etc.).
    #[serde(rename = "familyMember")]
    pub family_member: String,
    /// Concise interpretation of the trigram covering its symbolic meaning, key associations, and guidance for understanding hexagrams containing this trigram.
    pub meaning: String,
    /// Stable identifier for the trigram, 1 to 8. This is our lookup key, not a canonical sequence: the tradition has several orderings (King Wen, Fu Xi, Earlier and Later Heaven) and they disagree, so do not read ranking or precedence into it.
    pub number: f64,
    /// Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
    pub pinyin: String,
    /// Energetic quality describing the dynamic nature of this trigram (e.g., Strong, Devoted, Joyous, Gentle).
    pub quality: String,
    /// Season or time period associated with this trigram in the annual cycle of Chinese cosmology.
    pub season: String,
    /// Unicode trigram symbol (three lines) for visual display in I-Ching interfaces and Bagua diagrams.
    pub symbol: String,
}
impl YogaDetectRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: YogaDetectRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: YogaDetectRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl UpagrahaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: UpagrahaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: UpagrahaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl TransitsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            natal_chart: Default::default(),
            node_type: Default::default(),
            time: Default::default(),
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `natalChart`.
    #[must_use]
    pub fn with_natal_chart(mut self, value: TransitsRequestNatalChart) -> Self {
        self.natal_chart = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: TransitsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `time`.
    #[must_use]
    pub fn with_time(mut self, value: String) -> Self {
        self.time = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: TransitsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl TransitsRequestNatalChart {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: TransitsRequestNatalChartTimezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone,
        }
    }
}
impl SolarArcRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: SolarArcRequestTimezone,
        target_date: String,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            target_date,
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: SolarArcRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl ShadbalaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: ShadbalaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: ShadbalaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl SearchCrystalsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(q: String) -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
            q,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: SearchCrystalsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl SadhesatiRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: SadhesatiRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: SadhesatiRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl RelocationChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: RelocationChartRequestTimezone,
        birth_latitude: f64,
        birth_longitude: f64,
        relocation_latitude: f64,
        relocation_longitude: f64,
    ) -> Self {
        Self {
            birth_latitude,
            birth_longitude,
            date,
            house_system: Default::default(),
            relocation_latitude,
            relocation_longitude,
            time,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: RelocationChartRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl ProgressionsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: ProgressionsRequestTimezone,
        target_date: String,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            target_date,
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: ProgressionsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl ProfectionsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: ProfectionsRequestTimezone,
        target_date: String,
    ) -> Self {
        Self {
            date,
            house_system: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            target_date,
            time,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(mut self, value: ProfectionsRequestHouseSystem) -> Self {
        self.house_system = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: ProfectionsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl PlanetaryPositionsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: PlanetaryPositionsRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: PlanetaryPositionsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl PapasamyamRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: PapasamyamRequestPerson1,
        person2: PapasamyamRequestPerson2,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            person1,
            person2,
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: PapasamyamRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
}
impl PapasamyamRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: PapasamyamRequestPerson2Timezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl PapasamyamRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: PapasamyamRequestPerson1Timezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl NavamsaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: NavamsaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: NavamsaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl NatalChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: NatalChartRequestTimezone,
    ) -> Self {
        Self {
            date,
            house_system: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(mut self, value: NatalChartRequestHouseSystem) -> Self {
        self.house_system = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: NatalChartRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl ManglikRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: ManglikRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: ManglikRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl LookupHexagramParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(lines: String) -> Self {
        Self {
            lang: Default::default(),
            lines,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: LookupHexagramParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl LookupAuspiciousDaysRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        activity: LookupAuspiciousDaysRequestActivity,
        start_date: String,
        end_date: String,
    ) -> Self {
        Self {
            activity,
            avoid_animal: Default::default(),
            end_date,
            start_date,
        }
    }
    /// Sets `avoidAnimal`.
    #[must_use]
    pub fn with_avoid_animal(
        mut self,
        value: LookupAuspiciousDaysRequestAvoidAnimal,
    ) -> Self {
        self.avoid_animal = Some(value);
        self
    }
}
impl LookupAuspiciousDaysParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: LookupAuspiciousDaysParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListZodiacSignsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListZodiacSignsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListZodiacAnimalsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListZodiacAnimalsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListYogasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            family: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `family`.
    #[must_use]
    pub fn with_family(mut self, value: ListYogasParamsFamily) -> Self {
        self.family = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListYogasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListTrigramsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListTrigramsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListTrecenasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListTrecenasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListSolarTermsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(year: i64) -> Self {
        Self {
            lang: Default::default(),
            year,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListSolarTermsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListShemNamesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            longitude: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListShemNamesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListRashisParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListRashisParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListRasasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListRasasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListPlanetMeaningsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListPlanetMeaningsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListNinePeriodsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListNinePeriodsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListNakshatrasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListNakshatrasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListMayanDaySignsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            direction_scheme: Default::default(),
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `directionScheme`.
    #[must_use]
    pub fn with_direction_scheme(
        mut self,
        value: ListMayanDaySignsParamsDirectionScheme,
    ) -> Self {
        self.direction_scheme = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListMayanDaySignsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListHexagramsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListHexagramsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListHebrewLettersParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            letter_attribution: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListHebrewLettersParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `letterAttribution`.
    #[must_use]
    pub fn with_letter_attribution(
        mut self,
        value: ListHebrewLettersParamsLetterAttribution,
    ) -> Self {
        self.letter_attribution = Some(value);
        self
    }
}
impl ListHaabMonthsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListHaabMonthsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListGunasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListGunasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListGematriaCiphersParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListGematriaCiphersParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListFlyingStarsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListFlyingStarsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListFiveElementsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListFiveElementsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListDoshasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListDoshasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListDikpalaDirectionsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListDikpalaDirectionsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListDevatasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListDevatasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListCrystalsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            chakra: Default::default(),
            color: Default::default(),
            element: Default::default(),
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
            planet: Default::default(),
            zodiac: Default::default(),
        }
    }
    /// Sets `chakra`.
    #[must_use]
    pub fn with_chakra(mut self, value: ListCrystalsParamsChakra) -> Self {
        self.chakra = Some(value);
        self
    }
    /// Sets `color`.
    #[must_use]
    pub fn with_color(mut self, value: String) -> Self {
        self.color = Some(value);
        self
    }
    /// Sets `element`.
    #[must_use]
    pub fn with_element(mut self, value: ListCrystalsParamsElement) -> Self {
        self.element = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListCrystalsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
    /// Sets `planet`.
    #[must_use]
    pub fn with_planet(mut self, value: String) -> Self {
        self.planet = Some(value);
        self
    }
    /// Sets `zodiac`.
    #[must_use]
    pub fn with_zodiac(mut self, value: ListCrystalsParamsZodiac) -> Self {
        self.zodiac = Some(value);
        self
    }
}
impl ListCrystalPlanetsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListCrystalPlanetsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListCrystalColorsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListCrystalColorsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ListCardsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            arcana: Default::default(),
            lang: Default::default(),
            limit: Default::default(),
            number: Default::default(),
            offset: Default::default(),
            suit: Default::default(),
        }
    }
    /// Sets `arcana`.
    #[must_use]
    pub fn with_arcana(mut self, value: ListCardsParamsArcana) -> Self {
        self.arcana = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListCardsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `number`.
    #[must_use]
    pub fn with_number(mut self, value: i64) -> Self {
        self.number = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
    /// Sets `suit`.
    #[must_use]
    pub fn with_suit(mut self, value: ListCardsParamsSuit) -> Self {
        self.suit = Some(value);
        self
    }
}
impl ListBaguaSectorsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListBaguaSectorsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListAztecTrecenasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListAztecTrecenasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListAztecDaySignsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListAztecDaySignsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl ListAvasthasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            system: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListAvasthasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `system`.
    #[must_use]
    pub fn with_system(mut self, value: ListAvasthasParamsSystem) -> Self {
        self.system = Some(value);
        self
    }
}
impl ListAngelNumbersParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
            r#type: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ListAngelNumbersParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
    /// Sets `type`.
    #[must_use]
    pub fn with_type(mut self, value: ListAngelNumbersParamsType) -> Self {
        self.r#type = Some(value);
        self
    }
}
impl LilithRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: LilithRequestTimezone,
    ) -> Self {
        Self {
            date,
            house_system: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(mut self, value: LilithRequestHouseSystem) -> Self {
        self.house_system = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: LilithRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl KalsarpaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KalsarpaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KalsarpaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl KPSublordChangesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        planet: KPSublordChangesRequestPlanet,
        start_date: String,
        end_date: String,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            end_date,
            node_type: Default::default(),
            planet,
            start_date,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPSublordChangesRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: KPSublordChangesRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPSublordChangesRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl KPRasiChangesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        planet: KPRasiChangesRequestPlanet,
        start_date: String,
        end_date: String,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            end_date,
            node_type: Default::default(),
            planet,
            start_date,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPRasiChangesRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: KPRasiChangesRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPRasiChangesRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl KPPlanetsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPPlanetsRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: KPPlanetsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPPlanetsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl KPPlanetsIntervalRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        start_datetime: String,
        end_datetime: String,
        interval_minutes: f64,
        latitude: f64,
        longitude: f64,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            end_datetime,
            interval_minutes,
            latitude,
            longitude,
            node_type: Default::default(),
            start_datetime,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPPlanetsIntervalRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: KPPlanetsIntervalRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPPlanetsIntervalRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl KPHoraryRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        horary_number: i64,
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            horary_number,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPHoraryRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: KPHoraryRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPHoraryRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl KPDailyFinanceRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        birth_date: String,
        birth_time: String,
        latitude: f64,
        longitude: f64,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            birth_date,
            birth_time,
            date: Default::default(),
            gain_houses: Default::default(),
            latitude,
            longitude,
            loss_houses: Default::default(),
            node_type: Default::default(),
            time: Default::default(),
            timezone: Default::default(),
            weights: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPDailyFinanceRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `gainHouses`.
    #[must_use]
    pub fn with_gain_houses(mut self, value: Vec<i64>) -> Self {
        self.gain_houses = Some(value);
        self
    }
    /// Sets `lossHouses`.
    #[must_use]
    pub fn with_loss_houses(mut self, value: Vec<i64>) -> Self {
        self.loss_houses = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: KPDailyFinanceRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `time`.
    #[must_use]
    pub fn with_time(mut self, value: String) -> Self {
        self.time = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPDailyFinanceRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `weights`.
    #[must_use]
    pub fn with_weights(mut self, value: KPDailyFinanceRequestWeights) -> Self {
        self.weights = Some(value);
        self
    }
}
impl KPDailyFinanceRequestWeights {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(cusps: f64, dasha: f64, ruling_planets: f64, moon_windows: f64) -> Self {
        Self {
            cusps,
            dasha,
            moon_windows,
            ruling_planets,
        }
    }
}
impl KPCuspsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPCuspsRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPCuspsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl KPChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: KPChartRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: KPChartRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: KPChartRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl HeliacalRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: HeliacalRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetZodiacSignParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: String) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetZodiacSignParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetZodiacCompatibilityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        sign1: GetZodiacCompatibilityParamsSign1,
        sign2: GetZodiacCompatibilityParamsSign2,
    ) -> Self {
        Self {
            lang: Default::default(),
            sign1,
            sign2,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetZodiacCompatibilityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetZodiacAnimalParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetZodiacAnimalParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetZodiacAnimalParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetYogaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetYogaParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetYogaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetYearlyHoroscopeParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(sign: GetYearlyHoroscopeParamsSign) -> Self {
        Self {
            lang: Default::default(),
            sign,
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetYearlyHoroscopeParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetWeeklyHoroscopeParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(sign: GetWeeklyHoroscopeParamsSign) -> Self {
        Self {
            date: Default::default(),
            lang: Default::default(),
            sign,
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetWeeklyHoroscopeParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetVedicDailyReadingRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        birth_date: String,
        birth_time: String,
        latitude: f64,
        longitude: f64,
    ) -> Self {
        Self {
            birth_date,
            birth_time,
            date: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetVedicDailyReadingRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetVedicDailyReadingRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetVedicDailyReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetVedicDailyReadingParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetVedicDailyReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetUpcomingMoonPhasesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            count: Default::default(),
            lang: Default::default(),
            start_date: Default::default(),
        }
    }
    /// Sets `count`.
    #[must_use]
    pub fn with_count(mut self, value: i64) -> Self {
        self.count = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetUpcomingMoonPhasesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `startDate`.
    #[must_use]
    pub fn with_start_date(mut self, value: String) -> Self {
        self.start_date = Some(value);
        self
    }
}
impl GetTrigramParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: String) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetTrigramParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetTreeOfLifeParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            letter_attribution: Default::default(),
            sephirot_system: Default::default(),
            tree_variant: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetTreeOfLifeParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `letterAttribution`.
    #[must_use]
    pub fn with_letter_attribution(
        mut self,
        value: GetTreeOfLifeParamsLetterAttribution,
    ) -> Self {
        self.letter_attribution = Some(value);
        self
    }
    /// Sets `sephirotSystem`.
    #[must_use]
    pub fn with_sephirot_system(
        mut self,
        value: GetTreeOfLifeParamsSephirotSystem,
    ) -> Self {
        self.sephirot_system = Some(value);
        self
    }
    /// Sets `treeVariant`.
    #[must_use]
    pub fn with_tree_variant(mut self, value: GetTreeOfLifeParamsTreeVariant) -> Self {
        self.tree_variant = Some(value);
        self
    }
}
impl GetTrecenaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: i64) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetTrecenaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetSubDashasRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            significators: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: GetSubDashasRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetSubDashasRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `significators`.
    #[must_use]
    pub fn with_significators(mut self, value: bool) -> Self {
        self.significators = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetSubDashasRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetSubDashasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(mahadasha: GetSubDashasParamsMahadasha) -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
            mahadasha,
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetSubDashasParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetSubDashasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetSookshmaDashasRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            significators: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: GetSookshmaDashasRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetSookshmaDashasRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `significators`.
    #[must_use]
    pub fn with_significators(mut self, value: bool) -> Self {
        self.significators = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetSookshmaDashasRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetSookshmaDashasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        mahadasha: GetSookshmaDashasParamsMahadasha,
        antardasha: GetSookshmaDashasParamsAntardasha,
        pratyantardasha: GetSookshmaDashasParamsPratyantardasha,
    ) -> Self {
        Self {
            antardasha,
            focus: Default::default(),
            lang: Default::default(),
            mahadasha,
            pratyantardasha,
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetSookshmaDashasParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetSookshmaDashasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetShemNameParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: i64) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetShemNameParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetSephirahParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetSephirahParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
            letter_attribution: Default::default(),
            sephirot_system: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetSephirahParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `letterAttribution`.
    #[must_use]
    pub fn with_letter_attribution(
        mut self,
        value: GetSephirahParamsLetterAttribution,
    ) -> Self {
        self.letter_attribution = Some(value);
        self
    }
    /// Sets `sephirotSystem`.
    #[must_use]
    pub fn with_sephirot_system(
        mut self,
        value: GetSephirahParamsSephirotSystem,
    ) -> Self {
        self.sephirot_system = Some(value);
        self
    }
}
impl GetRitucharyaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetRitucharyaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetRashiParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetRashiParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetRashiParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetRandomHexagramParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetRandomHexagramParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetRandomCrystalParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetRandomCrystalParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetPratyantardashasRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            significators: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: GetPratyantardashasRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetPratyantardashasRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `significators`.
    #[must_use]
    pub fn with_significators(mut self, value: bool) -> Self {
        self.significators = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetPratyantardashasRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetPratyantardashasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        mahadasha: GetPratyantardashasParamsMahadasha,
        antardasha: GetPratyantardashasParamsAntardasha,
    ) -> Self {
        Self {
            antardasha,
            focus: Default::default(),
            lang: Default::default(),
            mahadasha,
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetPratyantardashasParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetPratyantardashasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetPranaDashasRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            significators: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: GetPranaDashasRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetPranaDashasRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `significators`.
    #[must_use]
    pub fn with_significators(mut self, value: bool) -> Self {
        self.significators = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetPranaDashasRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetPranaDashasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        mahadasha: GetPranaDashasParamsMahadasha,
        antardasha: GetPranaDashasParamsAntardasha,
        pratyantardasha: GetPranaDashasParamsPratyantardasha,
        sookshma: GetPranaDashasParamsSookshma,
    ) -> Self {
        Self {
            antardasha,
            focus: Default::default(),
            lang: Default::default(),
            mahadasha,
            pratyantardasha,
            sookshma,
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetPranaDashasParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetPranaDashasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetPlanetaryPositionsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: GetPlanetaryPositionsRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GetPlanetaryPositionsRequestNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl GetPlanetaryPositionsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetPlanetaryPositionsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetPlanetaryNodePassagesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(year: i64) -> Self {
        Self {
            timezone: Default::default(),
            year,
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(
        mut self,
        value: GetPlanetaryNodePassagesRequestTimezone,
    ) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetPlanetaryNodePassagesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetPlanetaryNodePassagesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetPlanetPositionsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetPlanetPositionsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetPlanetMeaningParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: String) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetPlanetMeaningParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetPhasesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetPhasesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetNumberMeaningParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: String) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetNumberMeaningParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetNakshatraParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetNakshatraParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetNakshatraParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMoonCalendarParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(year: i64, month: i64) -> Self {
        Self {
            lang: Default::default(),
            month,
            year,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMoonCalendarParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyTzolkinCalendarParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            correlation: Default::default(),
            lang: Default::default(),
            month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `correlation`.
    #[must_use]
    pub fn with_correlation(
        mut self,
        value: GetMonthlyTzolkinCalendarParamsCorrelation,
    ) -> Self {
        self.correlation = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyTzolkinCalendarParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyTropicalTransitsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            month: Default::default(),
            node_type: Default::default(),
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GetMonthlyTropicalTransitsRequestNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(
        mut self,
        value: GetMonthlyTropicalTransitsRequestTimezone,
    ) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyTropicalTransitsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyTropicalTransitsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyTropicalEphemerisParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyTropicalEphemerisParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyTropicalAspectsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            month: Default::default(),
            node_type: Default::default(),
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GetMonthlyTropicalAspectsRequestNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(
        mut self,
        value: GetMonthlyTropicalAspectsRequestTimezone,
    ) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyTropicalAspectsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyTropicalAspectsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyTransitsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            coordinate_system: Default::default(),
            month: Default::default(),
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `coordinateSystem`.
    #[must_use]
    pub fn with_coordinate_system(
        mut self,
        value: GetMonthlyTransitsRequestCoordinateSystem,
    ) -> Self {
        self.coordinate_system = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetMonthlyTransitsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyTransitsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyTransitsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyParallelsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            month: Default::default(),
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetMonthlyParallelsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyParallelsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyParallelsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyHoroscopeParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(sign: GetMonthlyHoroscopeParamsSign) -> Self {
        Self {
            date: Default::default(),
            lang: Default::default(),
            sign,
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyHoroscopeParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetMonthlyFlyingStarsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyFlyingStarsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyEphemerisRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            coordinate_system: Default::default(),
            month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `coordinateSystem`.
    #[must_use]
    pub fn with_coordinate_system(
        mut self,
        value: GetMonthlyEphemerisRequestCoordinateSystem,
    ) -> Self {
        self.coordinate_system = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyEphemerisParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyEphemerisParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyDeclinationParallelsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            month: Default::default(),
            node_type: Default::default(),
            orb: Default::default(),
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GetMonthlyDeclinationParallelsRequestNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `orb`.
    #[must_use]
    pub fn with_orb(mut self, value: f64) -> Self {
        self.orb = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(
        mut self,
        value: GetMonthlyDeclinationParallelsRequestTimezone,
    ) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyDeclinationParallelsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyDeclinationParallelsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyAspectsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            coordinate_system: Default::default(),
            month: Default::default(),
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `coordinateSystem`.
    #[must_use]
    pub fn with_coordinate_system(
        mut self,
        value: GetMonthlyAspectsRequestCoordinateSystem,
    ) -> Self {
        self.coordinate_system = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetMonthlyAspectsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMonthlyAspectsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyAspectsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMonthlyAlmanacParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMonthlyAlmanacParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetMayanDaySignParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetMayanDaySignParamsId) -> Self {
        Self {
            direction_scheme: Default::default(),
            id,
            lang: Default::default(),
        }
    }
    /// Sets `directionScheme`.
    #[must_use]
    pub fn with_direction_scheme(
        mut self,
        value: GetMayanDaySignParamsDirectionScheme,
    ) -> Self {
        self.direction_scheme = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMayanDaySignParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetMajorDashasRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            significators: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: GetMajorDashasRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetMajorDashasRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `significators`.
    #[must_use]
    pub fn with_significators(mut self, value: bool) -> Self {
        self.significators = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetMajorDashasRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetMajorDashasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetMajorDashasParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetMajorDashasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetLunarAspectsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            coordinate_system: Default::default(),
            month: Default::default(),
            timezone: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `coordinateSystem`.
    #[must_use]
    pub fn with_coordinate_system(
        mut self,
        value: GetLunarAspectsRequestCoordinateSystem,
    ) -> Self {
        self.coordinate_system = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetLunarAspectsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetLunarAspectsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetLunarAspectsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetKuaNumberParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: i64) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetKuaNumberParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetKpRulingPlanetsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(latitude: f64, longitude: f64) -> Self {
        Self {
            birth_date: Default::default(),
            birth_time: Default::default(),
            datetime: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            timezone: Default::default(),
        }
    }
    /// Sets `birthDate`.
    #[must_use]
    pub fn with_birth_date(mut self, value: String) -> Self {
        self.birth_date = Some(value);
        self
    }
    /// Sets `birthTime`.
    #[must_use]
    pub fn with_birth_time(mut self, value: String) -> Self {
        self.birth_time = Some(value);
        self
    }
    /// Sets `datetime`.
    #[must_use]
    pub fn with_datetime(mut self, value: String) -> Self {
        self.datetime = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetKpRulingPlanetsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetKpRulingPlanetsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetKpRulingPlanetsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetKpRulingPlanetsParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetKpRulingPlanetsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetKpRulingIntervalRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        start_datetime: String,
        end_datetime: String,
        interval_minutes: i64,
        latitude: f64,
        longitude: f64,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            end_datetime,
            interval_minutes,
            latitude,
            longitude,
            node_type: Default::default(),
            start_datetime,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: GetKpRulingIntervalRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetKpRulingIntervalRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetKpRulingIntervalRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetKpRulingIntervalParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetKpRulingIntervalParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetKpRulingIntervalParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetKpCuspsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetKpCuspsParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetKpCuspsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetHoraRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetHoraRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetHexagramParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: i64) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetHexagramParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetHebrewLetterParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetHebrewLetterParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
            letter_attribution: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetHebrewLetterParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `letterAttribution`.
    #[must_use]
    pub fn with_letter_attribution(
        mut self,
        value: GetHebrewLetterParamsLetterAttribution,
    ) -> Self {
        self.letter_attribution = Some(value);
        self
    }
}
impl GetHaabMonthParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetHaabMonthParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetHaabMonthParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetGateParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: i64) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetGateParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetForecastParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetForecastParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetFieldLabelsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetFieldLabelsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetEclipticCrossingsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(year: i64) -> Self {
        Self {
            coordinate_system: Default::default(),
            timezone: Default::default(),
            year,
        }
    }
    /// Sets `coordinateSystem`.
    #[must_use]
    pub fn with_coordinate_system(
        mut self,
        value: GetEclipticCrossingsRequestCoordinateSystem,
    ) -> Self {
        self.coordinate_system = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetEclipticCrossingsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetEclipticCrossingsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetEclipticCrossingsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDoshaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetDoshaParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDoshaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDinacharyaScheduleParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDinacharyaScheduleParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDikpalaDirectionParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetDikpalaDirectionParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDikpalaDirectionParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDevataParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetDevataParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDevataParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDetailedPanchangRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetDetailedPanchangRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetDetailedPanchangParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDetailedPanchangParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyZodiacReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetDailyZodiacReadingParamsId) -> Self {
        Self {
            date: Default::default(),
            id,
            lang: Default::default(),
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyZodiacReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetDailySephirahParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            after_sunset: Default::default(),
            date: Default::default(),
            lang: Default::default(),
            timezone: Default::default(),
        }
    }
    /// Sets `afterSunset`.
    #[must_use]
    pub fn with_after_sunset(mut self, value: String) -> Self {
        self.after_sunset = Some(value);
        self
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailySephirahParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetDailyNumberParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyNumberParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyMayanReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            correlation: Default::default(),
            date: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `correlation`.
    #[must_use]
    pub fn with_correlation(
        mut self,
        value: GetDailyMayanReadingParamsCorrelation,
    ) -> Self {
        self.correlation = Some(value);
        self
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyMayanReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyHoroscopeParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(sign: GetDailyHoroscopeParamsSign) -> Self {
        Self {
            date: Default::default(),
            lang: Default::default(),
            sign,
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyHoroscopeParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetDailyHexagramParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyHexagramParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyCrystalParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyCrystalParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyCardParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyCardParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyBiorhythmParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyBiorhythmParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyAztecReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyAztecReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetDailyAyurvedaReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(latitude: f64, longitude: f64) -> Self {
        Self {
            date: Default::default(),
            lang: Default::default(),
            latitude,
            longitude,
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyAyurvedaReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetDailyAngelNumberParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetDailyAngelNumberParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetCurrentMoonPhaseParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            lang: Default::default(),
            time: Default::default(),
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCurrentMoonPhaseParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `time`.
    #[must_use]
    pub fn with_time(mut self, value: String) -> Self {
        self.time = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetCurrentDashaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            datetime: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            significators: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: GetCurrentDashaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `datetime`.
    #[must_use]
    pub fn with_datetime(mut self, value: String) -> Self {
        self.datetime = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GetCurrentDashaRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
    /// Sets `significators`.
    #[must_use]
    pub fn with_significators(mut self, value: bool) -> Self {
        self.significators = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetCurrentDashaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetCurrentDashaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GetCurrentDashaParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCurrentDashaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetCrystalsByZodiacParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(sign: GetCrystalsByZodiacParamsSign) -> Self {
        Self {
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
            sign,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCrystalsByZodiacParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl GetCrystalsByElementParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(element: GetCrystalsByElementParamsElement) -> Self {
        Self {
            element,
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCrystalsByElementParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl GetCrystalsByChakraParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(chakra: GetCrystalsByChakraParamsChakra) -> Self {
        Self {
            chakra,
            lang: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCrystalsByChakraParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl GetCrystalParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: String) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCrystalParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetCrystalPairingsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: String) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCrystalPairingsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetCriticalDaysParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCriticalDaysParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetCompoundNumberParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: String) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCompoundNumberParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetChoghadiyaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetChoghadiyaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetCenterParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetCenterParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCenterParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetCardParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: String) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetCardParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetBirthstonesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(month: i64) -> Self {
        Self {
            lang: Default::default(),
            month,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetBirthstonesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetBasicPanchangRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: GetBasicPanchangRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetBasicPanchangParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetBasicPanchangParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetBaguaSectorParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetBaguaSectorParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetBaguaSectorParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetAztecTrecenaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: i64) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetAztecTrecenaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetAztecDaySignParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetAztecDaySignParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetAztecDaySignParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetAvasthaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: GetAvasthaParamsId) -> Self {
        Self {
            id,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetAvasthaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetAnnualFlyingStarsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(year: i64) -> Self {
        Self {
            lang: Default::default(),
            year,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetAnnualFlyingStarsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetAnnualAfflictionsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(year: i64) -> Self {
        Self {
            lang: Default::default(),
            year,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetAnnualAfflictionsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetAngelNumberParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: String) -> Self {
        Self {
            lang: Default::default(),
            number,
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetAngelNumberParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GetAlmanacDayParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self {
            date,
            lang: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GetAlmanacDayParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateTransitRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_data: GenerateTransitRequestBirthData) -> Self {
        Self {
            birth_data,
            date: Default::default(),
            time: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `time`.
    #[must_use]
    pub fn with_time(mut self, value: String) -> Self {
        self.time = Some(value);
        self
    }
}
impl GenerateTransitRequestBirthData {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: GenerateTransitRequestBirthDataTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GenerateTransitRequestBirthDataNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl GenerateTransitParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateTransitParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateTimelineRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_data: GenerateTimelineRequestBirthData) -> Self {
        Self {
            birth_data,
            domain_weights: Default::default(),
            domains: Default::default(),
            end_date: Default::default(),
            min_significance: Default::default(),
            start_date: Default::default(),
        }
    }
    /// Sets `domainWeights`.
    #[must_use]
    pub fn with_domain_weights(
        mut self,
        value: GenerateTimelineRequestDomainWeights,
    ) -> Self {
        self.domain_weights = Some(value);
        self
    }
    /// Sets `domains`.
    #[must_use]
    pub fn with_domains(
        mut self,
        value: Vec<GenerateTimelineRequestDomainsItem>,
    ) -> Self {
        self.domains = Some(value);
        self
    }
    /// Sets `endDate`.
    #[must_use]
    pub fn with_end_date(mut self, value: String) -> Self {
        self.end_date = Some(value);
        self
    }
    /// Sets `minSignificance`.
    #[must_use]
    pub fn with_min_significance(mut self, value: f64) -> Self {
        self.min_significance = Some(value);
        self
    }
    /// Sets `startDate`.
    #[must_use]
    pub fn with_start_date(mut self, value: String) -> Self {
        self.start_date = Some(value);
        self
    }
}
impl GenerateTimelineRequestDomainWeights {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            biorhythm: Default::default(),
            vedic: Default::default(),
            western: Default::default(),
        }
    }
    /// Sets `biorhythm`.
    #[must_use]
    pub fn with_biorhythm(mut self, value: f64) -> Self {
        self.biorhythm = Some(value);
        self
    }
    /// Sets `vedic`.
    #[must_use]
    pub fn with_vedic(mut self, value: f64) -> Self {
        self.vedic = Some(value);
        self
    }
    /// Sets `western`.
    #[must_use]
    pub fn with_western(mut self, value: f64) -> Self {
        self.western = Some(value);
        self
    }
}
impl GenerateTimelineRequestBirthData {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: GenerateTimelineRequestBirthDataTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
}
impl GenerateTimelineParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateTimelineParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateSolarReturnRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        birth_date: String,
        birth_time: String,
        return_year: i64,
        latitude: f64,
        longitude: f64,
        timezone: GenerateSolarReturnRequestTimezone,
    ) -> Self {
        Self {
            birth_date,
            birth_time,
            house_system: Default::default(),
            latitude,
            longitude,
            return_year,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: GenerateSolarReturnRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl GenerateSolarReturnParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateSolarReturnParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateSolarArcParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateSolarArcParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateRelocationChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateRelocationChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateProgressionsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateProgressionsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateProfectionsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateProfectionsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GeneratePlanetaryReturnRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        birth_date: String,
        birth_time: String,
        planet: GeneratePlanetaryReturnRequestPlanet,
        approximate_date: String,
        latitude: f64,
        longitude: f64,
        timezone: GeneratePlanetaryReturnRequestTimezone,
    ) -> Self {
        Self {
            approximate_date,
            birth_date,
            birth_time,
            house_system: Default::default(),
            latitude,
            longitude,
            planet,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: GeneratePlanetaryReturnRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl GeneratePlanetaryReturnParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GeneratePlanetaryReturnParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateNumerologyChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateNumerologyChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateNavamsaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateNavamsaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateNatalChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateNatalChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateNameProfileRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            mispar_gadol: Default::default(),
            name: Default::default(),
            name_hebrew: Default::default(),
            transliteration: Default::default(),
        }
    }
    /// Sets `misparGadol`.
    #[must_use]
    pub fn with_mispar_gadol(
        mut self,
        value: GenerateNameProfileRequestMisparGadol,
    ) -> Self {
        self.mispar_gadol = Some(value);
        self
    }
    /// Sets `name`.
    #[must_use]
    pub fn with_name(mut self, value: String) -> Self {
        self.name = Some(value);
        self
    }
    /// Sets `nameHebrew`.
    #[must_use]
    pub fn with_name_hebrew(mut self, value: String) -> Self {
        self.name_hebrew = Some(value);
        self
    }
    /// Sets `transliteration`.
    #[must_use]
    pub fn with_transliteration(
        mut self,
        value: GenerateNameProfileRequestTransliteration,
    ) -> Self {
        self.transliteration = Some(value);
        self
    }
}
impl GenerateNameProfileParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateNameProfileParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateMayanChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self {
            correlation: Default::default(),
            date,
            year_bearer_system: Default::default(),
        }
    }
    /// Sets `correlation`.
    #[must_use]
    pub fn with_correlation(
        mut self,
        value: GenerateMayanChartRequestCorrelation,
    ) -> Self {
        self.correlation = Some(value);
        self
    }
    /// Sets `yearBearerSystem`.
    #[must_use]
    pub fn with_year_bearer_system(
        mut self,
        value: GenerateMayanChartRequestYearBearerSystem,
    ) -> Self {
        self.year_bearer_system = Some(value);
        self
    }
}
impl GenerateMayanChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateMayanChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateMandalaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(plot: GenerateMandalaRequestPlot) -> Self {
        Self {
            grid: Default::default(),
            plot,
        }
    }
    /// Sets `grid`.
    #[must_use]
    pub fn with_grid(mut self, value: GenerateMandalaRequestGrid) -> Self {
        self.grid = Some(value);
        self
    }
}
impl GenerateMandalaRequestPlot {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            depth: Default::default(),
            polygon: Default::default(),
            unit: Default::default(),
            width: Default::default(),
        }
    }
    /// Sets `depth`.
    #[must_use]
    pub fn with_depth(mut self, value: f64) -> Self {
        self.depth = Some(value);
        self
    }
    /// Sets `polygon`.
    #[must_use]
    pub fn with_polygon(
        mut self,
        value: Vec<GenerateMandalaRequestPlotPolygonItem>,
    ) -> Self {
        self.polygon = Some(value);
        self
    }
    /// Sets `unit`.
    #[must_use]
    pub fn with_unit(mut self, value: GenerateMandalaRequestPlotUnit) -> Self {
        self.unit = Some(value);
        self
    }
    /// Sets `width`.
    #[must_use]
    pub fn with_width(mut self, value: f64) -> Self {
        self.width = Some(value);
        self
    }
}
impl GenerateMandalaRequestPlotPolygonItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(x: f64, y: f64) -> Self {
        Self { x, y }
    }
}
impl GenerateMandalaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateMandalaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateLunarReturnRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        birth_date: String,
        birth_time: String,
        return_date: String,
        latitude: f64,
        longitude: f64,
        timezone: GenerateLunarReturnRequestTimezone,
    ) -> Self {
        Self {
            birth_date,
            birth_time,
            house_system: Default::default(),
            latitude,
            longitude,
            return_date,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: GenerateLunarReturnRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl GenerateLunarReturnParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateLunarReturnParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateLocalSpaceRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: GenerateLocalSpaceRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone,
        }
    }
}
impl GenerateLocalSpaceParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            include: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `include`.
    #[must_use]
    pub fn with_include(mut self, value: String) -> Self {
        self.include = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateLocalSpaceParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateLilithParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateLilithParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateKpChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GenerateKpChartParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateKpChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateFlyingStarChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            facing: Default::default(),
            facing_degrees: Default::default(),
            period: Default::default(),
        }
    }
    /// Sets `facing`.
    #[must_use]
    pub fn with_facing(mut self, value: GenerateFlyingStarChartRequestFacing) -> Self {
        self.facing = Some(value);
        self
    }
    /// Sets `facingDegrees`. `None` sends an explicit null.
    #[must_use]
    pub fn with_facing_degrees(mut self, value: Option<f64>) -> Self {
        self.facing_degrees = Some(value);
        self
    }
    /// Sets `period`.
    #[must_use]
    pub fn with_period(mut self, value: i64) -> Self {
        self.period = Some(value);
        self
    }
}
impl GenerateFlyingStarChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateFlyingStarChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateFixedStarsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: GenerateFixedStarsRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GenerateFixedStarsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl GenerateFixedStarsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            orb: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateFixedStarsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `orb`.
    #[must_use]
    pub fn with_orb(mut self, value: f64) -> Self {
        self.orb = Some(value);
        self
    }
}
impl GenerateEightMansionsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            facing: Default::default(),
            gender: Default::default(),
            kua: Default::default(),
            year_boundary: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `facing`.
    #[must_use]
    pub fn with_facing(mut self, value: GenerateEightMansionsRequestFacing) -> Self {
        self.facing = Some(value);
        self
    }
    /// Sets `gender`.
    #[must_use]
    pub fn with_gender(mut self, value: GenerateEightMansionsRequestGender) -> Self {
        self.gender = Some(value);
        self
    }
    /// Sets `kua`.
    #[must_use]
    pub fn with_kua(mut self, value: f64) -> Self {
        self.kua = Some(value);
        self
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: GenerateEightMansionsRequestYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl GenerateEightMansionsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateEightMansionsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateDivisionalChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateDivisionalChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateDigestRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_data: GenerateDigestRequestBirthData) -> Self {
        Self {
            birth_data,
            domain_weights: Default::default(),
            domains: Default::default(),
            min_significance: Default::default(),
            start_date: Default::default(),
            top: Default::default(),
        }
    }
    /// Sets `domainWeights`.
    #[must_use]
    pub fn with_domain_weights(
        mut self,
        value: GenerateDigestRequestDomainWeights,
    ) -> Self {
        self.domain_weights = Some(value);
        self
    }
    /// Sets `domains`.
    #[must_use]
    pub fn with_domains(mut self, value: Vec<GenerateDigestRequestDomainsItem>) -> Self {
        self.domains = Some(value);
        self
    }
    /// Sets `minSignificance`.
    #[must_use]
    pub fn with_min_significance(mut self, value: f64) -> Self {
        self.min_significance = Some(value);
        self
    }
    /// Sets `startDate`.
    #[must_use]
    pub fn with_start_date(mut self, value: String) -> Self {
        self.start_date = Some(value);
        self
    }
    /// Sets `top`.
    #[must_use]
    pub fn with_top(mut self, value: i64) -> Self {
        self.top = Some(value);
        self
    }
}
impl GenerateDigestRequestDomainWeights {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            biorhythm: Default::default(),
            vedic: Default::default(),
            western: Default::default(),
        }
    }
    /// Sets `biorhythm`.
    #[must_use]
    pub fn with_biorhythm(mut self, value: f64) -> Self {
        self.biorhythm = Some(value);
        self
    }
    /// Sets `vedic`.
    #[must_use]
    pub fn with_vedic(mut self, value: f64) -> Self {
        self.vedic = Some(value);
        self
    }
    /// Sets `western`.
    #[must_use]
    pub fn with_western(mut self, value: f64) -> Self {
        self.western = Some(value);
        self
    }
}
impl GenerateDigestRequestBirthData {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: GenerateDigestRequestBirthDataTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
}
impl GenerateDigestParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateDigestParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateCompositeChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: GenerateCompositeChartRequestPerson1,
        person2: GenerateCompositeChartRequestPerson2,
    ) -> Self {
        Self {
            house_system: Default::default(),
            person1,
            person2,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: GenerateCompositeChartRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl GenerateCompositeChartRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: GenerateCompositeChartRequestPerson2Timezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GenerateCompositeChartRequestPerson2NodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl GenerateCompositeChartRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: GenerateCompositeChartRequestPerson1Timezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GenerateCompositeChartRequestPerson1NodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl GenerateCompositeChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateCompositeChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateBodygraphRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: GenerateBodygraphRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: GenerateBodygraphRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl GenerateBodygraphParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateBodygraphParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateBirthProfileRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, timezone: GenerateBirthProfileRequestTimezone) -> Self {
        Self {
            after_sunset: Default::default(),
            angel_dating: Default::default(),
            date,
            leap_day_policy: Default::default(),
            time: Default::default(),
            timezone,
            year_start: Default::default(),
        }
    }
    /// Sets `afterSunset`.
    #[must_use]
    pub fn with_after_sunset(mut self, value: bool) -> Self {
        self.after_sunset = Some(value);
        self
    }
    /// Sets `angelDating`.
    #[must_use]
    pub fn with_angel_dating(
        mut self,
        value: GenerateBirthProfileRequestAngelDating,
    ) -> Self {
        self.angel_dating = Some(value);
        self
    }
    /// Sets `leapDayPolicy`.
    #[must_use]
    pub fn with_leap_day_policy(
        mut self,
        value: GenerateBirthProfileRequestLeapDayPolicy,
    ) -> Self {
        self.leap_day_policy = Some(value);
        self
    }
    /// Sets `time`.
    #[must_use]
    pub fn with_time(mut self, value: String) -> Self {
        self.time = Some(value);
        self
    }
    /// Sets `yearStart`.
    #[must_use]
    pub fn with_year_start(
        mut self,
        value: GenerateBirthProfileRequestYearStart,
    ) -> Self {
        self.year_start = Some(value);
        self
    }
}
impl GenerateBirthProfileParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateBirthProfileParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateBirthChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: GenerateBirthChartParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateBirthChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateBaziChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: GenerateBaziChartRequestTimezone,
    ) -> Self {
        Self {
            date,
            day_boundary: Default::default(),
            hour_clock: Default::default(),
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
            year_boundary: Default::default(),
        }
    }
    /// Sets `dayBoundary`.
    #[must_use]
    pub fn with_day_boundary(
        mut self,
        value: GenerateBaziChartRequestDayBoundary,
    ) -> Self {
        self.day_boundary = Some(value);
        self
    }
    /// Sets `hourClock`.
    #[must_use]
    pub fn with_hour_clock(mut self, value: GenerateBaziChartRequestHourClock) -> Self {
        self.hour_clock = Some(value);
        self
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: GenerateBaziChartRequestYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl GenerateBaziChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateBaziChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateAstrocartographyRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: GenerateAstrocartographyRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: GenerateAstrocartographyRequestNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl GenerateAstrocartographyParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            include: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `include`.
    #[must_use]
    pub fn with_include(mut self, value: String) -> Self {
        self.include = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateAstrocartographyParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl GenerateAsteroidsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: GenerateAsteroidsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ForecastTransitsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_data: ForecastTransitsRequestBirthData) -> Self {
        Self {
            birth_data,
            end_date: Default::default(),
            min_significance: Default::default(),
            start_date: Default::default(),
        }
    }
    /// Sets `endDate`.
    #[must_use]
    pub fn with_end_date(mut self, value: String) -> Self {
        self.end_date = Some(value);
        self
    }
    /// Sets `minSignificance`.
    #[must_use]
    pub fn with_min_significance(mut self, value: f64) -> Self {
        self.min_significance = Some(value);
        self
    }
    /// Sets `startDate`.
    #[must_use]
    pub fn with_start_date(mut self, value: String) -> Self {
        self.start_date = Some(value);
        self
    }
}
impl ForecastTransitsRequestBirthData {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: ForecastTransitsRequestBirthDataTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
}
impl ForecastTransitsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ForecastTransitsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl ForecastSolarReturnRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        year: i64,
        latitude: f64,
        longitude: f64,
        timezone: ForecastSolarReturnRequestTimezone,
    ) -> Self {
        Self {
            date,
            house_system: Default::default(),
            latitude,
            longitude,
            time,
            timezone,
            year,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: ForecastSolarReturnRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl ForecastSolarReturnParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ForecastSolarReturnParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl FindSignificantDatesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_data: FindSignificantDatesRequestBirthData) -> Self {
        Self {
            birth_data,
            domain_weights: Default::default(),
            domains: Default::default(),
            end_date: Default::default(),
            min_significance: Default::default(),
            start_date: Default::default(),
        }
    }
    /// Sets `domainWeights`.
    #[must_use]
    pub fn with_domain_weights(
        mut self,
        value: FindSignificantDatesRequestDomainWeights,
    ) -> Self {
        self.domain_weights = Some(value);
        self
    }
    /// Sets `domains`.
    #[must_use]
    pub fn with_domains(
        mut self,
        value: Vec<FindSignificantDatesRequestDomainsItem>,
    ) -> Self {
        self.domains = Some(value);
        self
    }
    /// Sets `endDate`.
    #[must_use]
    pub fn with_end_date(mut self, value: String) -> Self {
        self.end_date = Some(value);
        self
    }
    /// Sets `minSignificance`.
    #[must_use]
    pub fn with_min_significance(mut self, value: f64) -> Self {
        self.min_significance = Some(value);
        self
    }
    /// Sets `startDate`.
    #[must_use]
    pub fn with_start_date(mut self, value: String) -> Self {
        self.start_date = Some(value);
        self
    }
}
impl FindSignificantDatesRequestDomainWeights {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            biorhythm: Default::default(),
            vedic: Default::default(),
            western: Default::default(),
        }
    }
    /// Sets `biorhythm`.
    #[must_use]
    pub fn with_biorhythm(mut self, value: f64) -> Self {
        self.biorhythm = Some(value);
        self
    }
    /// Sets `vedic`.
    #[must_use]
    pub fn with_vedic(mut self, value: f64) -> Self {
        self.vedic = Some(value);
        self
    }
    /// Sets `western`.
    #[must_use]
    pub fn with_western(mut self, value: f64) -> Self {
        self.western = Some(value);
        self
    }
}
impl FindSignificantDatesRequestBirthData {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: FindSignificantDatesRequestBirthDataTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
}
impl FindSignificantDatesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: FindSignificantDatesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl FindGrihaPraveshDatesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        start_date: String,
        end_date: String,
        latitude: f64,
        longitude: f64,
        timezone: FindGrihaPraveshDatesRequestTimezone,
    ) -> Self {
        Self {
            end_date,
            latitude,
            longitude,
            muhurta_text: Default::default(),
            start_date,
            timezone,
        }
    }
    /// Sets `muhurtaText`.
    #[must_use]
    pub fn with_muhurta_text(
        mut self,
        value: FindGrihaPraveshDatesRequestMuhurtaText,
    ) -> Self {
        self.muhurta_text = Some(value);
        self
    }
}
impl FindGrihaPraveshDatesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: FindGrihaPraveshDatesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl DrawCardsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: DrawCardsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl DivisionalChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        division: i64,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            division,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: DivisionalChartRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: DivisionalChartRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl DetectYogasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: DetectYogasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl DetectAspectPatternsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            include: Default::default(),
            lang: Default::default(),
            strict_orbs: Default::default(),
        }
    }
    /// Sets `include`.
    #[must_use]
    pub fn with_include(mut self, value: String) -> Self {
        self.include = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: DetectAspectPatternsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `strictOrbs`.
    #[must_use]
    pub fn with_strict_orbs(mut self, value: String) -> Self {
        self.strict_orbs = Some(value);
        self
    }
}
impl DashakootRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: DashakootRequestPerson1,
        person2: DashakootRequestPerson2,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            person1,
            person2,
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: DashakootRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
}
impl DashakootRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: DashakootRequestPerson2Timezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl DashakootRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: DashakootRequestPerson1Timezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl ConvertLongCountRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            correlation: Default::default(),
            date: Default::default(),
            long_count: Default::default(),
        }
    }
    /// Sets `correlation`.
    #[must_use]
    pub fn with_correlation(
        mut self,
        value: ConvertLongCountRequestCorrelation,
    ) -> Self {
        self.correlation = Some(value);
        self
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `longCount`.
    #[must_use]
    pub fn with_long_count(mut self, value: String) -> Self {
        self.long_count = Some(value);
        self
    }
}
impl ConvertLongCountParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: ConvertLongCountParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CompatibilityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: CompatibilityRequestPerson1,
        person2: CompatibilityRequestPerson2,
    ) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            person1,
            person2,
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: CompatibilityRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
}
impl CompatibilityRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: CompatibilityRequestPerson2Timezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl CompatibilityRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: CompatibilityRequestPerson1Timezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl CheckSadhesatiParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CheckSadhesatiParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CheckManglikDoshaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CheckManglikDoshaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CheckKarmicDebtParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CheckKarmicDebtParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CheckKalsarpaDoshaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CheckKalsarpaDoshaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CharaKarakaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            scheme: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: CharaKarakaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `scheme`.
    #[must_use]
    pub fn with_scheme(mut self, value: CharaKarakaRequestScheme) -> Self {
        self.scheme = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: CharaKarakaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl CastYesNoParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastYesNoParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CastThreeCardParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastThreeCardParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CastReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            lang: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl CastLoveSpreadParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastLoveSpreadParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CastKpHoraryChartParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: CastKpHoraryChartParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastKpHoraryChartParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CastDailyReadingParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastDailyReadingParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CastCustomSpreadRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(positions: Vec<CastCustomSpreadRequestPositionsItem>) -> Self {
        Self {
            positions,
            question: Default::default(),
            seed: Default::default(),
            spread_name: Default::default(),
        }
    }
    /// Sets `question`.
    #[must_use]
    pub fn with_question(mut self, value: String) -> Self {
        self.question = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
    /// Sets `spreadName`.
    #[must_use]
    pub fn with_spread_name(mut self, value: String) -> Self {
        self.spread_name = Some(value);
        self
    }
}
impl CastCustomSpreadRequestPositionsItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(name: String, interpretation: String) -> Self {
        Self { interpretation, name }
    }
}
impl CastCustomSpreadParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastCustomSpreadParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CastCelticCrossParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastCelticCrossParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CastCareerSpreadParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CastCareerSpreadParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateZodiacAnimalRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self {
            date,
            year_boundary: Default::default(),
        }
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: CalculateZodiacAnimalRequestYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl CalculateZodiacAnimalParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateZodiacAnimalParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateVariablesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateVariablesRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: CalculateVariablesRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateVariablesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateVariablesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateTzolkinRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self {
            correlation: Default::default(),
            date,
        }
    }
    /// Sets `correlation`.
    #[must_use]
    pub fn with_correlation(
        mut self,
        value: CalculateTzolkinRequestCorrelation,
    ) -> Self {
        self.correlation = Some(value);
        self
    }
}
impl CalculateTzolkinParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateTzolkinParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateTypeRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateTypeRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: CalculateTypeRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateTypeParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateTypeParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateTransitsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateTransitsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateTransitRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        birth_date: String,
        birth_time: String,
        transit_date: String,
        latitude: f64,
        longitude: f64,
    ) -> Self {
        Self {
            birth_date,
            birth_time,
            coordinate_system: Default::default(),
            latitude,
            longitude,
            timezone: Default::default(),
            transit_date,
            transit_time: Default::default(),
        }
    }
    /// Sets `coordinateSystem`.
    #[must_use]
    pub fn with_coordinate_system(
        mut self,
        value: CalculateTransitRequestCoordinateSystem,
    ) -> Self {
        self.coordinate_system = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: CalculateTransitRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
    /// Sets `transitTime`.
    #[must_use]
    pub fn with_transit_time(mut self, value: String) -> Self {
        self.transit_time = Some(value);
        self
    }
}
impl CalculateTransitAspectsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(natal_chart: CalculateTransitAspectsRequestNatalChart) -> Self {
        Self {
            aspect_types: Default::default(),
            house_system: Default::default(),
            min_strength: Default::default(),
            natal_chart,
            planets: Default::default(),
            transit_date: Default::default(),
            transit_time: Default::default(),
        }
    }
    /// Sets `aspectTypes`.
    #[must_use]
    pub fn with_aspect_types(
        mut self,
        value: Vec<CalculateTransitAspectsRequestAspectTypesItem>,
    ) -> Self {
        self.aspect_types = Some(value);
        self
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: CalculateTransitAspectsRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
    /// Sets `minStrength`.
    #[must_use]
    pub fn with_min_strength(mut self, value: f64) -> Self {
        self.min_strength = Some(value);
        self
    }
    /// Sets `planets`.
    #[must_use]
    pub fn with_planets(
        mut self,
        value: Vec<CalculateTransitAspectsRequestPlanetsItem>,
    ) -> Self {
        self.planets = Some(value);
        self
    }
    /// Sets `transitDate`.
    #[must_use]
    pub fn with_transit_date(mut self, value: String) -> Self {
        self.transit_date = Some(value);
        self
    }
    /// Sets `transitTime`.
    #[must_use]
    pub fn with_transit_time(mut self, value: String) -> Self {
        self.transit_time = Some(value);
        self
    }
}
impl CalculateTransitAspectsRequestNatalChart {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: CalculateTransitAspectsRequestNatalChartTimezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculateTransitAspectsRequestNatalChartNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateTransitAspectsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateTransitAspectsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateTonalpohualliParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateTonalpohualliParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateSynastryRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: CalculateSynastryRequestPerson1,
        person2: CalculateSynastryRequestPerson2,
    ) -> Self {
        Self {
            house_system: Default::default(),
            person1,
            person2,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: CalculateSynastryRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl CalculateSynastryRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: CalculateSynastryRequestPerson2Timezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            name: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `name`.
    #[must_use]
    pub fn with_name(mut self, value: String) -> Self {
        self.name = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculateSynastryRequestPerson2NodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateSynastryRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: CalculateSynastryRequestPerson1Timezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            name: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `name`.
    #[must_use]
    pub fn with_name(mut self, value: String) -> Self {
        self.name = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculateSynastryRequestPerson1NodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateSynastryParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateSynastryParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateSoulUrgeParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateSoulUrgeParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateShadbalaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateShadbalaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateRoomComplianceRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        plot: CalculateRoomComplianceRequestPlot,
        rooms: Vec<CalculateRoomComplianceRequestRoomsItem>,
    ) -> Self {
        Self {
            facing: Default::default(),
            facing_degrees: Default::default(),
            plot,
            rooms,
        }
    }
    /// Sets `facing`.
    #[must_use]
    pub fn with_facing(mut self, value: CalculateRoomComplianceRequestFacing) -> Self {
        self.facing = Some(value);
        self
    }
    /// Sets `facingDegrees`.
    #[must_use]
    pub fn with_facing_degrees(mut self, value: f64) -> Self {
        self.facing_degrees = Some(value);
        self
    }
}
impl CalculateRoomComplianceRequestRoomsItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(r#type: CalculateRoomComplianceRequestRoomsItemType) -> Self {
        Self {
            direction: Default::default(),
            polygon: Default::default(),
            r#type,
        }
    }
    /// Sets `direction`.
    #[must_use]
    pub fn with_direction(
        mut self,
        value: CalculateRoomComplianceRequestRoomsItemDirection,
    ) -> Self {
        self.direction = Some(value);
        self
    }
    /// Sets `polygon`.
    #[must_use]
    pub fn with_polygon(
        mut self,
        value: Vec<CalculateRoomComplianceRequestRoomsItemPolygonItem>,
    ) -> Self {
        self.polygon = Some(value);
        self
    }
}
impl CalculateRoomComplianceRequestRoomsItemPolygonItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(x: f64, y: f64) -> Self {
        Self { x, y }
    }
}
impl CalculateRoomComplianceRequestPlot {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            depth: Default::default(),
            polygon: Default::default(),
            unit: Default::default(),
            width: Default::default(),
        }
    }
    /// Sets `depth`.
    #[must_use]
    pub fn with_depth(mut self, value: f64) -> Self {
        self.depth = Some(value);
        self
    }
    /// Sets `polygon`.
    #[must_use]
    pub fn with_polygon(
        mut self,
        value: Vec<CalculateRoomComplianceRequestPlotPolygonItem>,
    ) -> Self {
        self.polygon = Some(value);
        self
    }
    /// Sets `unit`.
    #[must_use]
    pub fn with_unit(mut self, value: CalculateRoomComplianceRequestPlotUnit) -> Self {
        self.unit = Some(value);
        self
    }
    /// Sets `width`.
    #[must_use]
    pub fn with_width(mut self, value: f64) -> Self {
        self.width = Some(value);
        self
    }
}
impl CalculateRoomComplianceRequestPlotPolygonItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(x: f64, y: f64) -> Self {
        Self { x, y }
    }
}
impl CalculateRoomComplianceParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateRoomComplianceParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateProfileRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateProfileRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: CalculateProfileRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateProfileParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateProfileParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculatePlotAnalysisRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(plot: CalculatePlotAnalysisRequestPlot) -> Self {
        Self {
            cuts: Default::default(),
            extensions: Default::default(),
            facing: Default::default(),
            facing_degrees: Default::default(),
            plot,
            road: Default::default(),
            slope_low_direction: Default::default(),
            slope_school: Default::default(),
            water: Default::default(),
        }
    }
    /// Sets `cuts`.
    #[must_use]
    pub fn with_cuts(
        mut self,
        value: Vec<CalculatePlotAnalysisRequestCutsItem>,
    ) -> Self {
        self.cuts = Some(value);
        self
    }
    /// Sets `extensions`.
    #[must_use]
    pub fn with_extensions(
        mut self,
        value: Vec<CalculatePlotAnalysisRequestExtensionsItem>,
    ) -> Self {
        self.extensions = Some(value);
        self
    }
    /// Sets `facing`.
    #[must_use]
    pub fn with_facing(mut self, value: CalculatePlotAnalysisRequestFacing) -> Self {
        self.facing = Some(value);
        self
    }
    /// Sets `facingDegrees`.
    #[must_use]
    pub fn with_facing_degrees(mut self, value: f64) -> Self {
        self.facing_degrees = Some(value);
        self
    }
    /// Sets `road`.
    #[must_use]
    pub fn with_road(mut self, value: CalculatePlotAnalysisRequestRoad) -> Self {
        self.road = Some(value);
        self
    }
    /// Sets `slopeLowDirection`.
    #[must_use]
    pub fn with_slope_low_direction(
        mut self,
        value: CalculatePlotAnalysisRequestSlopeLowDirection,
    ) -> Self {
        self.slope_low_direction = Some(value);
        self
    }
    /// Sets `slopeSchool`.
    #[must_use]
    pub fn with_slope_school(
        mut self,
        value: CalculatePlotAnalysisRequestSlopeSchool,
    ) -> Self {
        self.slope_school = Some(value);
        self
    }
    /// Sets `water`.
    #[must_use]
    pub fn with_water(mut self, value: CalculatePlotAnalysisRequestWater) -> Self {
        self.water = Some(value);
        self
    }
}
impl CalculatePlotAnalysisRequestPlot {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            depth: Default::default(),
            polygon: Default::default(),
            unit: Default::default(),
            width: Default::default(),
        }
    }
    /// Sets `depth`.
    #[must_use]
    pub fn with_depth(mut self, value: f64) -> Self {
        self.depth = Some(value);
        self
    }
    /// Sets `polygon`.
    #[must_use]
    pub fn with_polygon(
        mut self,
        value: Vec<CalculatePlotAnalysisRequestPlotPolygonItem>,
    ) -> Self {
        self.polygon = Some(value);
        self
    }
    /// Sets `unit`.
    #[must_use]
    pub fn with_unit(mut self, value: CalculatePlotAnalysisRequestPlotUnit) -> Self {
        self.unit = Some(value);
        self
    }
    /// Sets `width`.
    #[must_use]
    pub fn with_width(mut self, value: f64) -> Self {
        self.width = Some(value);
        self
    }
}
impl CalculatePlotAnalysisRequestPlotPolygonItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(x: f64, y: f64) -> Self {
        Self { x, y }
    }
}
impl CalculatePlotAnalysisParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculatePlotAnalysisParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculatePersonalityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculatePersonalityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculatePersonalYearParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculatePersonalYearParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculatePersonalMonthParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculatePersonalMonthParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculatePersonalDayParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculatePersonalDayParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculatePentaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(members: Vec<CalculatePentaRequestMembersItem>) -> Self {
        Self { members }
    }
}
impl CalculatePentaRequestMembersItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculatePentaRequestMembersItemTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculatePentaRequestMembersItemNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculatePentaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculatePentaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateParallelsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            latitude,
            longitude,
            orb: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `orb`.
    #[must_use]
    pub fn with_orb(mut self, value: f64) -> Self {
        self.orb = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: CalculateParallelsRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl CalculatePapasamyamParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculatePapasamyamParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateNumCompatibilityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: CalculateNumCompatibilityRequestPerson1,
        person2: CalculateNumCompatibilityRequestPerson2,
    ) -> Self {
        Self { person1, person2 }
    }
}
impl CalculateNumCompatibilityRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            day: Default::default(),
            expression: Default::default(),
            full_name: Default::default(),
            life_path: Default::default(),
            month: Default::default(),
            soul_urge: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `day`.
    #[must_use]
    pub fn with_day(mut self, value: i64) -> Self {
        self.day = Some(value);
        self
    }
    /// Sets `expression`.
    #[must_use]
    pub fn with_expression(mut self, value: i64) -> Self {
        self.expression = Some(value);
        self
    }
    /// Sets `fullName`.
    #[must_use]
    pub fn with_full_name(mut self, value: String) -> Self {
        self.full_name = Some(value);
        self
    }
    /// Sets `lifePath`.
    #[must_use]
    pub fn with_life_path(mut self, value: i64) -> Self {
        self.life_path = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `soulUrge`.
    #[must_use]
    pub fn with_soul_urge(mut self, value: i64) -> Self {
        self.soul_urge = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl CalculateNumCompatibilityRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            day: Default::default(),
            expression: Default::default(),
            full_name: Default::default(),
            life_path: Default::default(),
            month: Default::default(),
            soul_urge: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `day`.
    #[must_use]
    pub fn with_day(mut self, value: i64) -> Self {
        self.day = Some(value);
        self
    }
    /// Sets `expression`.
    #[must_use]
    pub fn with_expression(mut self, value: i64) -> Self {
        self.expression = Some(value);
        self
    }
    /// Sets `fullName`.
    #[must_use]
    pub fn with_full_name(mut self, value: String) -> Self {
        self.full_name = Some(value);
        self
    }
    /// Sets `lifePath`.
    #[must_use]
    pub fn with_life_path(mut self, value: i64) -> Self {
        self.life_path = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `soulUrge`.
    #[must_use]
    pub fn with_soul_urge(mut self, value: i64) -> Self {
        self.soul_urge = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl CalculateNumCompatibilityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateNumCompatibilityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateNameCompatibilityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            first_name: Default::default(),
            first_name_hebrew: Default::default(),
            mispar_gadol: Default::default(),
            second_name: Default::default(),
            second_name_hebrew: Default::default(),
            transliteration: Default::default(),
        }
    }
    /// Sets `firstName`.
    #[must_use]
    pub fn with_first_name(mut self, value: String) -> Self {
        self.first_name = Some(value);
        self
    }
    /// Sets `firstNameHebrew`.
    #[must_use]
    pub fn with_first_name_hebrew(mut self, value: String) -> Self {
        self.first_name_hebrew = Some(value);
        self
    }
    /// Sets `misparGadol`.
    #[must_use]
    pub fn with_mispar_gadol(
        mut self,
        value: CalculateNameCompatibilityRequestMisparGadol,
    ) -> Self {
        self.mispar_gadol = Some(value);
        self
    }
    /// Sets `secondName`.
    #[must_use]
    pub fn with_second_name(mut self, value: String) -> Self {
        self.second_name = Some(value);
        self
    }
    /// Sets `secondNameHebrew`.
    #[must_use]
    pub fn with_second_name_hebrew(mut self, value: String) -> Self {
        self.second_name_hebrew = Some(value);
        self
    }
    /// Sets `transliteration`.
    #[must_use]
    pub fn with_transliteration(
        mut self,
        value: CalculateNameCompatibilityRequestTransliteration,
    ) -> Self {
        self.transliteration = Some(value);
        self
    }
}
impl CalculateNameCompatibilityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateNameCompatibilityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateMayanCompatibilityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person_a: CalculateMayanCompatibilityRequestPersonA,
        person_b: CalculateMayanCompatibilityRequestPersonB,
    ) -> Self {
        Self {
            correlation: Default::default(),
            direction_scheme: Default::default(),
            person_a,
            person_b,
        }
    }
    /// Sets `correlation`.
    #[must_use]
    pub fn with_correlation(
        mut self,
        value: CalculateMayanCompatibilityRequestCorrelation,
    ) -> Self {
        self.correlation = Some(value);
        self
    }
    /// Sets `directionScheme`.
    #[must_use]
    pub fn with_direction_scheme(
        mut self,
        value: CalculateMayanCompatibilityRequestDirectionScheme,
    ) -> Self {
        self.direction_scheme = Some(value);
        self
    }
}
impl CalculateMayanCompatibilityRequestPersonB {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self { date }
    }
}
impl CalculateMayanCompatibilityRequestPersonA {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self { date }
    }
}
impl CalculateMayanCompatibilityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateMayanCompatibilityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateMaturityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateMaturityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateLunarDateParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateLunarDateParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateLuckPillarsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateLuckPillarsRequestTimezone,
        gender: CalculateLuckPillarsRequestGender,
    ) -> Self {
        Self {
            annual_from_year: Default::default(),
            annual_years: Default::default(),
            count: Default::default(),
            date,
            day_boundary: Default::default(),
            gender,
            hour_clock: Default::default(),
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
            year_boundary: Default::default(),
        }
    }
    /// Sets `annualFromYear`.
    #[must_use]
    pub fn with_annual_from_year(mut self, value: i64) -> Self {
        self.annual_from_year = Some(value);
        self
    }
    /// Sets `annualYears`.
    #[must_use]
    pub fn with_annual_years(mut self, value: i64) -> Self {
        self.annual_years = Some(value);
        self
    }
    /// Sets `count`.
    #[must_use]
    pub fn with_count(mut self, value: i64) -> Self {
        self.count = Some(value);
        self
    }
    /// Sets `dayBoundary`.
    #[must_use]
    pub fn with_day_boundary(
        mut self,
        value: CalculateLuckPillarsRequestDayBoundary,
    ) -> Self {
        self.day_boundary = Some(value);
        self
    }
    /// Sets `hourClock`.
    #[must_use]
    pub fn with_hour_clock(
        mut self,
        value: CalculateLuckPillarsRequestHourClock,
    ) -> Self {
        self.hour_clock = Some(value);
        self
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: CalculateLuckPillarsRequestYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl CalculateLuckPillarsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateLuckPillarsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateLifePathParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateLifePathParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateKuaNumberRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, gender: CalculateKuaNumberRequestGender) -> Self {
        Self {
            date,
            gender,
            year_boundary: Default::default(),
        }
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: CalculateKuaNumberRequestYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl CalculateKuaNumberParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateKuaNumberParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateHousesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: CalculateHousesRequestTimezone,
    ) -> Self {
        Self {
            date,
            house_system: Default::default(),
            latitude,
            longitude,
            time,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(
        mut self,
        value: CalculateHousesRequestHouseSystem,
    ) -> Self {
        self.house_system = Some(value);
        self
    }
}
impl CalculateHousesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateHousesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateGunMilanParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateGunMilanParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateGematriaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            atbash_output: Default::default(),
            ciphers: Default::default(),
            include_matches: Default::default(),
            latin_ciphers: Default::default(),
            mispar_gadol: Default::default(),
            text: Default::default(),
            text_hebrew: Default::default(),
            transliteration: Default::default(),
        }
    }
    /// Sets `atbashOutput`.
    #[must_use]
    pub fn with_atbash_output(
        mut self,
        value: CalculateGematriaRequestAtbashOutput,
    ) -> Self {
        self.atbash_output = Some(value);
        self
    }
    /// Sets `ciphers`.
    #[must_use]
    pub fn with_ciphers(
        mut self,
        value: Vec<CalculateGematriaRequestCiphersItem>,
    ) -> Self {
        self.ciphers = Some(value);
        self
    }
    /// Sets `includeMatches`.
    #[must_use]
    pub fn with_include_matches(mut self, value: bool) -> Self {
        self.include_matches = Some(value);
        self
    }
    /// Sets `latinCiphers`.
    #[must_use]
    pub fn with_latin_ciphers(mut self, value: bool) -> Self {
        self.latin_ciphers = Some(value);
        self
    }
    /// Sets `misparGadol`.
    #[must_use]
    pub fn with_mispar_gadol(
        mut self,
        value: CalculateGematriaRequestMisparGadol,
    ) -> Self {
        self.mispar_gadol = Some(value);
        self
    }
    /// Sets `text`.
    #[must_use]
    pub fn with_text(mut self, value: String) -> Self {
        self.text = Some(value);
        self
    }
    /// Sets `textHebrew`.
    #[must_use]
    pub fn with_text_hebrew(mut self, value: String) -> Self {
        self.text_hebrew = Some(value);
        self
    }
    /// Sets `transliteration`.
    #[must_use]
    pub fn with_transliteration(
        mut self,
        value: CalculateGematriaRequestTransliteration,
    ) -> Self {
        self.transliteration = Some(value);
        self
    }
}
impl CalculateGematriaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateGematriaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateGatesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateGatesRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: CalculateGatesRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateGatesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateGatesParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateExpressionParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateExpressionParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateEntrancePadaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(plot: CalculateEntrancePadaRequestPlot) -> Self {
        Self {
            door: Default::default(),
            door_position: Default::default(),
            facing: Default::default(),
            facing_degrees: Default::default(),
            grid: Default::default(),
            plot,
        }
    }
    /// Sets `door`.
    #[must_use]
    pub fn with_door(mut self, value: CalculateEntrancePadaRequestDoor) -> Self {
        self.door = Some(value);
        self
    }
    /// Sets `doorPosition`.
    #[must_use]
    pub fn with_door_position(mut self, value: f64) -> Self {
        self.door_position = Some(value);
        self
    }
    /// Sets `facing`.
    #[must_use]
    pub fn with_facing(mut self, value: CalculateEntrancePadaRequestFacing) -> Self {
        self.facing = Some(value);
        self
    }
    /// Sets `facingDegrees`.
    #[must_use]
    pub fn with_facing_degrees(mut self, value: f64) -> Self {
        self.facing_degrees = Some(value);
        self
    }
    /// Sets `grid`.
    #[must_use]
    pub fn with_grid(mut self, value: CalculateEntrancePadaRequestGrid) -> Self {
        self.grid = Some(value);
        self
    }
}
impl CalculateEntrancePadaRequestPlot {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            depth: Default::default(),
            polygon: Default::default(),
            unit: Default::default(),
            width: Default::default(),
        }
    }
    /// Sets `depth`.
    #[must_use]
    pub fn with_depth(mut self, value: f64) -> Self {
        self.depth = Some(value);
        self
    }
    /// Sets `polygon`.
    #[must_use]
    pub fn with_polygon(
        mut self,
        value: Vec<CalculateEntrancePadaRequestPlotPolygonItem>,
    ) -> Self {
        self.polygon = Some(value);
        self
    }
    /// Sets `unit`.
    #[must_use]
    pub fn with_unit(mut self, value: CalculateEntrancePadaRequestPlotUnit) -> Self {
        self.unit = Some(value);
        self
    }
    /// Sets `width`.
    #[must_use]
    pub fn with_width(mut self, value: f64) -> Self {
        self.width = Some(value);
        self
    }
}
impl CalculateEntrancePadaRequestPlotPolygonItem {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(x: f64, y: f64) -> Self {
        Self { x, y }
    }
}
impl CalculateEntrancePadaRequestDoor {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(x: f64, y: f64) -> Self {
        Self { x, y }
    }
}
impl CalculateEntrancePadaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateEntrancePadaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateDualParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateDualParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateDrishtiRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            coordinate_system: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `coordinateSystem`.
    #[must_use]
    pub fn with_coordinate_system(
        mut self,
        value: CalculateDrishtiRequestCoordinateSystem,
    ) -> Self {
        self.coordinate_system = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: CalculateDrishtiRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl CalculateDayMasterStrengthRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateDayMasterStrengthRequestTimezone,
    ) -> Self {
        Self {
            date,
            day_boundary: Default::default(),
            hour_clock: Default::default(),
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
            year_boundary: Default::default(),
        }
    }
    /// Sets `dayBoundary`.
    #[must_use]
    pub fn with_day_boundary(
        mut self,
        value: CalculateDayMasterStrengthRequestDayBoundary,
    ) -> Self {
        self.day_boundary = Some(value);
        self
    }
    /// Sets `hourClock`.
    #[must_use]
    pub fn with_hour_clock(
        mut self,
        value: CalculateDayMasterStrengthRequestHourClock,
    ) -> Self {
        self.hour_clock = Some(value);
        self
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: CalculateDayMasterStrengthRequestYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl CalculateDayMasterStrengthParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateDayMasterStrengthParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateDashakootParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateDashakootParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateConnectionRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person_a: CalculateConnectionRequestPersonA,
        person_b: CalculateConnectionRequestPersonB,
    ) -> Self {
        Self { person_a, person_b }
    }
}
impl CalculateConnectionRequestPersonB {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateConnectionRequestPersonBTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculateConnectionRequestPersonBNodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateConnectionRequestPersonA {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateConnectionRequestPersonATimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculateConnectionRequestPersonANodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateConnectionParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateConnectionParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateCompatibilityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: CalculateCompatibilityRequestPerson1,
        person2: CalculateCompatibilityRequestPerson2,
    ) -> Self {
        Self { person1, person2 }
    }
}
impl CalculateCompatibilityRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: CalculateCompatibilityRequestPerson2Timezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculateCompatibilityRequestPerson2NodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateCompatibilityRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: CalculateCompatibilityRequestPerson1Timezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(
        mut self,
        value: CalculateCompatibilityRequestPerson1NodeType,
    ) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateCompatibilityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateCompatibilityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateCharaKarakasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateCharaKarakasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateChannelsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateChannelsRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: CalculateChannelsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateChannelsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateChannelsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateChaldeanParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateChaldeanParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateCentersRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateCentersRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude: Default::default(),
            longitude: Default::default(),
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: CalculateCentersRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl CalculateCentersParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateCentersParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateBusinessNameParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateBusinessNameParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateBridgeNumbersParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateBridgeNumbersParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateBirthDayParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateBirthDayParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateBioCompatibilityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person1: CalculateBioCompatibilityRequestPerson1,
        person2: CalculateBioCompatibilityRequestPerson2,
    ) -> Self {
        Self {
            person1,
            person2,
            target_date: Default::default(),
        }
    }
    /// Sets `targetDate`.
    #[must_use]
    pub fn with_target_date(mut self, value: String) -> Self {
        self.target_date = Some(value);
        self
    }
}
impl CalculateBioCompatibilityRequestPerson2 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_date: String) -> Self {
        Self { birth_date }
    }
}
impl CalculateBioCompatibilityRequestPerson1 {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_date: String) -> Self {
        Self { birth_date }
    }
}
impl CalculateBioCompatibilityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateBioCompatibilityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateBhavaBalaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: CalculateBhavaBalaParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateBhavaBalaParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateBhavChalitParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            focus: Default::default(),
            lang: Default::default(),
        }
    }
    /// Sets `focus`.
    #[must_use]
    pub fn with_focus(mut self, value: CalculateBhavChalitParamsFocus) -> Self {
        self.focus = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateBhavChalitParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateBaziCompatibilityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        person_a: CalculateBaziCompatibilityRequestPersonA,
        person_b: CalculateBaziCompatibilityRequestPersonB,
    ) -> Self {
        Self { person_a, person_b }
    }
}
impl CalculateBaziCompatibilityRequestPersonB {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateBaziCompatibilityRequestPersonBTimezone,
    ) -> Self {
        Self {
            date,
            day_boundary: Default::default(),
            hour_clock: Default::default(),
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
            year_boundary: Default::default(),
        }
    }
    /// Sets `dayBoundary`.
    #[must_use]
    pub fn with_day_boundary(
        mut self,
        value: CalculateBaziCompatibilityRequestPersonBDayBoundary,
    ) -> Self {
        self.day_boundary = Some(value);
        self
    }
    /// Sets `hourClock`.
    #[must_use]
    pub fn with_hour_clock(
        mut self,
        value: CalculateBaziCompatibilityRequestPersonBHourClock,
    ) -> Self {
        self.hour_clock = Some(value);
        self
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: CalculateBaziCompatibilityRequestPersonBYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl CalculateBaziCompatibilityRequestPersonA {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateBaziCompatibilityRequestPersonATimezone,
    ) -> Self {
        Self {
            date,
            day_boundary: Default::default(),
            hour_clock: Default::default(),
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
            year_boundary: Default::default(),
        }
    }
    /// Sets `dayBoundary`.
    #[must_use]
    pub fn with_day_boundary(
        mut self,
        value: CalculateBaziCompatibilityRequestPersonADayBoundary,
    ) -> Self {
        self.day_boundary = Some(value);
        self
    }
    /// Sets `hourClock`.
    #[must_use]
    pub fn with_hour_clock(
        mut self,
        value: CalculateBaziCompatibilityRequestPersonAHourClock,
    ) -> Self {
        self.hour_clock = Some(value);
        self
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: CalculateBaziCompatibilityRequestPersonAYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl CalculateBaziCompatibilityParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateBaziCompatibilityParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateAyurvedicConstitutionParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateAyurvedicConstitutionParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateAyadiRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(length: f64, breadth: f64) -> Self {
        Self {
            ayadi_text: Default::default(),
            breadth,
            circumference: Default::default(),
            hasta_inches: Default::default(),
            length,
            perimeter: Default::default(),
            unit: Default::default(),
            vyaya_formula: Default::default(),
        }
    }
    /// Sets `ayadiText`.
    #[must_use]
    pub fn with_ayadi_text(mut self, value: CalculateAyadiRequestAyadiText) -> Self {
        self.ayadi_text = Some(value);
        self
    }
    /// Sets `circumference`.
    #[must_use]
    pub fn with_circumference(mut self, value: f64) -> Self {
        self.circumference = Some(value);
        self
    }
    /// Sets `hastaInches`.
    #[must_use]
    pub fn with_hasta_inches(mut self, value: f64) -> Self {
        self.hasta_inches = Some(value);
        self
    }
    /// Sets `perimeter`.
    #[must_use]
    pub fn with_perimeter(mut self, value: f64) -> Self {
        self.perimeter = Some(value);
        self
    }
    /// Sets `unit`.
    #[must_use]
    pub fn with_unit(mut self, value: CalculateAyadiRequestUnit) -> Self {
        self.unit = Some(value);
        self
    }
    /// Sets `vyayaFormula`.
    #[must_use]
    pub fn with_vyaya_formula(
        mut self,
        value: CalculateAyadiRequestVyayaFormula,
    ) -> Self {
        self.vyaya_formula = Some(value);
        self
    }
}
impl CalculateAyadiParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateAyadiParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateAspectsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateAspectsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateArudhaPadasParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateArudhaPadasParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateArabicLotsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateArabicLotsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl CalculateAnnualForecastRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        timezone: CalculateAnnualForecastRequestTimezone,
        year: i64,
    ) -> Self {
        Self {
            date,
            day_boundary: Default::default(),
            hour_clock: Default::default(),
            latitude: Default::default(),
            longitude: Default::default(),
            time,
            timezone,
            year,
            year_boundary: Default::default(),
        }
    }
    /// Sets `dayBoundary`.
    #[must_use]
    pub fn with_day_boundary(
        mut self,
        value: CalculateAnnualForecastRequestDayBoundary,
    ) -> Self {
        self.day_boundary = Some(value);
        self
    }
    /// Sets `hourClock`.
    #[must_use]
    pub fn with_hour_clock(
        mut self,
        value: CalculateAnnualForecastRequestHourClock,
    ) -> Self {
        self.hour_clock = Some(value);
        self
    }
    /// Sets `latitude`.
    #[must_use]
    pub fn with_latitude(mut self, value: f64) -> Self {
        self.latitude = Some(value);
        self
    }
    /// Sets `longitude`.
    #[must_use]
    pub fn with_longitude(mut self, value: f64) -> Self {
        self.longitude = Some(value);
        self
    }
    /// Sets `yearBoundary`.
    #[must_use]
    pub fn with_year_boundary(
        mut self,
        value: CalculateAnnualForecastRequestYearBoundary,
    ) -> Self {
        self.year_boundary = Some(value);
        self
    }
}
impl CalculateAnnualForecastParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: CalculateAnnualForecastParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl BirthChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            avastha_info: Default::default(),
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            modern_planets: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `avasthaInfo`.
    #[must_use]
    pub fn with_avastha_info(mut self, value: bool) -> Self {
        self.avastha_info = Some(value);
        self
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: BirthChartRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `modernPlanets`.
    #[must_use]
    pub fn with_modern_planets(mut self, value: bool) -> Self {
        self.modern_planets = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: BirthChartRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl BhavaBalaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: BhavaBalaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: BhavaBalaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl BhavChalitRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: BhavChalitRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: BhavChalitRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl AyurvedaRitucharyaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self {
            date,
            hemisphere: Default::default(),
            ritu_zodiac: Default::default(),
            ritucharya_scheme: Default::default(),
        }
    }
    /// Sets `hemisphere`.
    #[must_use]
    pub fn with_hemisphere(
        mut self,
        value: AyurvedaRitucharyaRequestHemisphere,
    ) -> Self {
        self.hemisphere = Some(value);
        self
    }
    /// Sets `rituZodiac`.
    #[must_use]
    pub fn with_ritu_zodiac(
        mut self,
        value: AyurvedaRitucharyaRequestRituZodiac,
    ) -> Self {
        self.ritu_zodiac = Some(value);
        self
    }
    /// Sets `ritucharyaScheme`.
    #[must_use]
    pub fn with_ritucharya_scheme(
        mut self,
        value: AyurvedaRitucharyaRequestRitucharyaScheme,
    ) -> Self {
        self.ritucharya_scheme = Some(value);
        self
    }
}
impl AyurvedaDinacharyaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, latitude: f64, longitude: f64) -> Self {
        Self {
            date,
            dosha_clock: Default::default(),
            latitude,
            longitude,
            timezone: Default::default(),
        }
    }
    /// Sets `doshaClock`.
    #[must_use]
    pub fn with_dosha_clock(
        mut self,
        value: AyurvedaDinacharyaRequestDoshaClock,
    ) -> Self {
        self.dosha_clock = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: AyurvedaDinacharyaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl AyurvedaConstitutionRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            sign_dosha_scheme: Default::default(),
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: AyurvedaConstitutionRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `signDoshaScheme`.
    #[must_use]
    pub fn with_sign_dosha_scheme(
        mut self,
        value: AyurvedaConstitutionRequestSignDoshaScheme,
    ) -> Self {
        self.sign_dosha_scheme = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: AyurvedaConstitutionRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl AsteroidsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: AsteroidsRequestTimezone,
    ) -> Self {
        Self {
            date,
            house_system: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(mut self, value: AsteroidsRequestHouseSystem) -> Self {
        self.house_system = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: AsteroidsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl AspectsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, timezone: AspectsRequestTimezone) -> Self {
        Self {
            aspect_types: Default::default(),
            date,
            planets: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `aspectTypes`.
    #[must_use]
    pub fn with_aspect_types(mut self, value: Vec<String>) -> Self {
        self.aspect_types = Some(value);
        self
    }
    /// Sets `planets`.
    #[must_use]
    pub fn with_planets(mut self, value: Vec<String>) -> Self {
        self.planets = Some(value);
        self
    }
}
impl AspectPatternsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: AspectPatternsRequestTimezone,
    ) -> Self {
        Self {
            date,
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: AspectPatternsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl AshtakavargaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: AshtakavargaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: AshtakavargaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl ArudhaRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String, time: String, latitude: f64, longitude: f64) -> Self {
        Self {
            ayanamsa: Default::default(),
            ayanamsa_value: Default::default(),
            date,
            latitude,
            longitude,
            time,
            timezone: Default::default(),
        }
    }
    /// Sets `ayanamsa`.
    #[must_use]
    pub fn with_ayanamsa(mut self, value: ArudhaRequestAyanamsa) -> Self {
        self.ayanamsa = Some(value);
        self
    }
    /// Sets `ayanamsaValue`.
    #[must_use]
    pub fn with_ayanamsa_value(mut self, value: f64) -> Self {
        self.ayanamsa_value = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: ArudhaRequestTimezone) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl ArabicLotsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(
        date: String,
        time: String,
        latitude: f64,
        longitude: f64,
        timezone: ArabicLotsRequestTimezone,
    ) -> Self {
        Self {
            date,
            house_system: Default::default(),
            latitude,
            longitude,
            node_type: Default::default(),
            time,
            timezone,
        }
    }
    /// Sets `houseSystem`.
    #[must_use]
    pub fn with_house_system(mut self, value: ArabicLotsRequestHouseSystem) -> Self {
        self.house_system = Some(value);
        self
    }
    /// Sets `nodeType`.
    #[must_use]
    pub fn with_node_type(mut self, value: ArabicLotsRequestNodeType) -> Self {
        self.node_type = Some(value);
        self
    }
}
impl AnalyzeNumberSequenceParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(number: String) -> Self {
        Self {
            context: Default::default(),
            lang: Default::default(),
            number,
        }
    }
    /// Sets `context`.
    #[must_use]
    pub fn with_context(mut self, value: AnalyzeNumberSequenceParamsContext) -> Self {
        self.context = Some(value);
        self
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: AnalyzeNumberSequenceParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl AnalyzeKarmicLessonsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { lang: Default::default() }
    }
    /// Sets `lang`.
    #[must_use]
    pub fn with_lang(mut self, value: AnalyzeKarmicLessonsParamsLang) -> Self {
        self.lang = Some(value);
        self
    }
}
impl AnalyzeKarmicLessonsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(full_name: String) -> Self {
        Self { full_name }
    }
}
impl CalculateBirthDayRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(day: i64) -> Self {
        Self { day }
    }
}
impl CalculateBridgeNumbersRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(full_name: String, year: i64, month: i64, day: i64) -> Self {
        Self {
            day,
            full_name,
            month,
            year,
        }
    }
}
impl CalculateBusinessNameRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(name: String) -> Self {
        Self { name }
    }
}
impl CalculateChaldeanRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(name: String) -> Self {
        Self { name }
    }
}
impl CalculateDualRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(name: String) -> Self {
        Self { name }
    }
}
impl CalculateExpressionRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(full_name: String) -> Self {
        Self { full_name }
    }
}
impl CalculateLifePathRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(year: i64, month: i64, day: i64) -> Self {
        Self { day, month, year }
    }
}
impl CalculateLunarDateRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            is_leap_month: Default::default(),
            lunar_day: Default::default(),
            lunar_month: Default::default(),
            lunar_year: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `isLeapMonth`.
    #[must_use]
    pub fn with_is_leap_month(mut self, value: bool) -> Self {
        self.is_leap_month = Some(value);
        self
    }
    /// Sets `lunarDay`.
    #[must_use]
    pub fn with_lunar_day(mut self, value: i64) -> Self {
        self.lunar_day = Some(value);
        self
    }
    /// Sets `lunarMonth`.
    #[must_use]
    pub fn with_lunar_month(mut self, value: i64) -> Self {
        self.lunar_month = Some(value);
        self
    }
    /// Sets `lunarYear`.
    #[must_use]
    pub fn with_lunar_year(mut self, value: i64) -> Self {
        self.lunar_year = Some(value);
        self
    }
}
impl CalculateMaturityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            day: Default::default(),
            expression: Default::default(),
            full_name: Default::default(),
            life_path: Default::default(),
            month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `day`.
    #[must_use]
    pub fn with_day(mut self, value: i64) -> Self {
        self.day = Some(value);
        self
    }
    /// Sets `expression`.
    #[must_use]
    pub fn with_expression(mut self, value: i64) -> Self {
        self.expression = Some(value);
        self
    }
    /// Sets `fullName`.
    #[must_use]
    pub fn with_full_name(mut self, value: String) -> Self {
        self.full_name = Some(value);
        self
    }
    /// Sets `lifePath`.
    #[must_use]
    pub fn with_life_path(mut self, value: i64) -> Self {
        self.life_path = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl CalculatePersonalDayRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(month: i64, day: i64) -> Self {
        Self {
            day,
            month,
            target_date: Default::default(),
        }
    }
    /// Sets `targetDate`.
    #[must_use]
    pub fn with_target_date(mut self, value: String) -> Self {
        self.target_date = Some(value);
        self
    }
}
impl CalculatePersonalMonthRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(month: i64, day: i64) -> Self {
        Self {
            day,
            month,
            target_month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `targetMonth`.
    #[must_use]
    pub fn with_target_month(mut self, value: i64) -> Self {
        self.target_month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl CalculatePersonalYearRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(month: i64, day: i64) -> Self {
        Self {
            day,
            month,
            year: Default::default(),
        }
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl CalculatePersonalityRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(full_name: String) -> Self {
        Self { full_name }
    }
}
impl CalculateSoulUrgeRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(full_name: String) -> Self {
        Self { full_name }
    }
}
impl CalculateTonalpohualliRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(date: String) -> Self {
        Self { date }
    }
}
impl CastCareerSpreadRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            question: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `question`.
    #[must_use]
    pub fn with_question(mut self, value: String) -> Self {
        self.question = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl CastCelticCrossRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            question: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `question`.
    #[must_use]
    pub fn with_question(mut self, value: String) -> Self {
        self.question = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl CastDailyReadingRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl CastLoveSpreadRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            question: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `question`.
    #[must_use]
    pub fn with_question(mut self, value: String) -> Self {
        self.question = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl CastThreeCardRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            question: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `question`.
    #[must_use]
    pub fn with_question(mut self, value: String) -> Self {
        self.question = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl CastYesNoRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            question: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `question`.
    #[must_use]
    pub fn with_question(mut self, value: String) -> Self {
        self.question = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl CheckKarmicDebtRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            day: Default::default(),
            full_name: Default::default(),
            month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `day`.
    #[must_use]
    pub fn with_day(mut self, value: i64) -> Self {
        self.day = Some(value);
        self
    }
    /// Sets `fullName`.
    #[must_use]
    pub fn with_full_name(mut self, value: String) -> Self {
        self.full_name = Some(value);
        self
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl DrawCardsRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(count: i64) -> Self {
        Self {
            allow_duplicates: Default::default(),
            allow_reversals: Default::default(),
            count,
            seed: Default::default(),
        }
    }
    /// Sets `allowDuplicates`.
    #[must_use]
    pub fn with_allow_duplicates(mut self, value: bool) -> Self {
        self.allow_duplicates = Some(value);
        self
    }
    /// Sets `allowReversals`.
    #[must_use]
    pub fn with_allow_reversals(mut self, value: bool) -> Self {
        self.allow_reversals = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GenerateNumerologyChartRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(full_name: String, year: i64, month: i64, day: i64) -> Self {
        Self {
            current_year: Default::default(),
            day,
            full_name,
            month,
            year,
        }
    }
    /// Sets `currentYear`.
    #[must_use]
    pub fn with_current_year(mut self, value: i64) -> Self {
        self.current_year = Some(value);
        self
    }
}
impl GetCitiesByCountryParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(iso2: String) -> Self {
        Self {
            iso2,
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl GetCriticalDaysRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_date: String) -> Self {
        Self {
            birth_date,
            end_date: Default::default(),
            start_date: Default::default(),
        }
    }
    /// Sets `endDate`.
    #[must_use]
    pub fn with_end_date(mut self, value: String) -> Self {
        self.end_date = Some(value);
        self
    }
    /// Sets `startDate`.
    #[must_use]
    pub fn with_start_date(mut self, value: String) -> Self {
        self.start_date = Some(value);
        self
    }
}
impl GetDailyAngelNumberRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GetDailyBiorhythmRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GetDailyCardRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GetDailyCrystalRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GetDailyDreamSymbolRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GetDailyHexagramRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GetDailyNumberRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            seed: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `seed`.
    #[must_use]
    pub fn with_seed(mut self, value: String) -> Self {
        self.seed = Some(value);
        self
    }
}
impl GetDreamSymbolParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(id: String) -> Self {
        Self { id }
    }
}
impl GetForecastRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_date: String) -> Self {
        Self {
            birth_date,
            end_date: Default::default(),
            start_date: Default::default(),
        }
    }
    /// Sets `endDate`.
    #[must_use]
    pub fn with_end_date(mut self, value: String) -> Self {
        self.end_date = Some(value);
        self
    }
    /// Sets `startDate`.
    #[must_use]
    pub fn with_start_date(mut self, value: String) -> Self {
        self.start_date = Some(value);
        self
    }
}
impl GetKpAyanamsaParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            date: Default::default(),
            time: Default::default(),
            timezone: Default::default(),
        }
    }
    /// Sets `date`.
    #[must_use]
    pub fn with_date(mut self, value: String) -> Self {
        self.date = Some(value);
        self
    }
    /// Sets `time`.
    #[must_use]
    pub fn with_time(mut self, value: String) -> Self {
        self.time = Some(value);
        self
    }
    /// Sets `timezone`.
    #[must_use]
    pub fn with_timezone(mut self, value: String) -> Self {
        self.timezone = Some(value);
        self
    }
}
impl GetMonthlyTropicalEphemerisRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            month: Default::default(),
            year: Default::default(),
        }
    }
    /// Sets `month`.
    #[must_use]
    pub fn with_month(mut self, value: i64) -> Self {
        self.month = Some(value);
        self
    }
    /// Sets `year`.
    #[must_use]
    pub fn with_year(mut self, value: i64) -> Self {
        self.year = Some(value);
        self
    }
}
impl GetPhasesRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_date: String) -> Self {
        Self {
            birth_date,
            target_date: Default::default(),
        }
    }
    /// Sets `targetDate`.
    #[must_use]
    pub fn with_target_date(mut self, value: String) -> Self {
        self.target_date = Some(value);
        self
    }
}
impl GetRandomSymbolsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self { count: Default::default() }
    }
    /// Sets `count`.
    #[must_use]
    pub fn with_count(mut self, value: i64) -> Self {
        self.count = Some(value);
        self
    }
}
impl GetReadingRequest {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(birth_date: String) -> Self {
        Self {
            birth_date,
            target_date: Default::default(),
        }
    }
    /// Sets `targetDate`.
    #[must_use]
    pub fn with_target_date(mut self, value: String) -> Self {
        self.target_date = Some(value);
        self
    }
}
impl ListCountriesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            limit: Default::default(),
            offset: Default::default(),
        }
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl SearchCitiesParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new(q: String) -> Self {
        Self {
            limit: Default::default(),
            offset: Default::default(),
            q,
        }
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
}
impl SearchDreamSymbolsParams {
    /// Builds the value from its required fields, in specification order. Add optional fields with the `with_` setters.
    pub fn new() -> Self {
        Self {
            letter: Default::default(),
            limit: Default::default(),
            offset: Default::default(),
            q: Default::default(),
        }
    }
    /// Sets `letter`.
    #[must_use]
    pub fn with_letter(mut self, value: String) -> Self {
        self.letter = Some(value);
        self
    }
    /// Sets `limit`.
    #[must_use]
    pub fn with_limit(mut self, value: i64) -> Self {
        self.limit = Some(value);
        self
    }
    /// Sets `offset`.
    #[must_use]
    pub fn with_offset(mut self, value: i64) -> Self {
        self.offset = Some(value);
        self
    }
    /// Sets `q`.
    #[must_use]
    pub fn with_q(mut self, value: String) -> Self {
        self.q = Some(value);
        self
    }
}