Repository navigation
Expand file tree
/
Copy pathopenapi.json
More file actions
4219 lines (4219 loc) · 144 KB
/
Copy pathopenapi.json
File metadata and controls
4219 lines (4219 loc) · 144 KB
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
{
"components": {
"schemas": {
"Absence": {
"additionalProperties": true,
"description": "The reasoned counterpart to coverage: what we do NOT hold, and why. A classification tells you whether waiting for us is worth it.",
"properties": {
"absence": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"classification": {
"type": "string"
},
"covers": {
"description": "ISO3 codes this record accounts for.",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"type": "string"
}
},
"type": "object"
},
"description": "Keyed by pattern (e.g. \"*.grid\").",
"type": "object"
},
"caveat": {
"type": "string"
},
"classifications": {
"additionalProperties": {
"type": "string"
},
"description": "The vocabulary and what each class commits us to — structural, not_yet_sourced, refused, held_not_published, not_surveyed.",
"type": "object"
},
"count": {
"type": "integer"
},
"docs": {
"format": "uri",
"type": "string"
},
"evidence": {
"description": "Public pointer to the gap classification that produced these records.",
"type": "string"
},
"meta": {
"additionalProperties": true,
"type": "object"
},
"receipt": {
"$ref": "#/components/schemas/Receipt"
}
},
"type": "object"
},
"Attribution": {
"description": "The credit the licence requires, or null on a plan that waives it. Was a bare STRING before 2026-08-25; the original string is preserved unchanged at `text`. `html` is a ready-to-paste anchor so that complying is less work than not complying, and `url` points at the public proof page for the exact factor and data version this answer used — your own audit evidence, not a marketing link.",
"properties": {
"html": {
"description": "A single anchor, no classes and no styling, ready to paste.",
"type": "string"
},
"required": {
"description": "Whether this plan must display the credit. Reports the licence position, not a technical control.",
"type": "boolean"
},
"text": {
"description": "The plain credit line. Identical to the string this field used to be.",
"type": "string"
},
"url": {
"description": "Proof page for the factor this answer used, pinned to the data version — e.g. https://verify.greencalculus.com/grid.gbr.electricity.location_based@2026.181. Null where no single factor identifies the answer. The version is deliberate: an unversioned link would silently re-point at whatever the figure becomes.",
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"BatchCalculation": {
"additionalProperties": true,
"description": "Up to 100 mixed-methodology calculations in one call. A failed item does not fail the batch — it lands in results with its own error.",
"properties": {
"attribution": {
"$ref": "#/components/schemas/Attribution"
},
"count": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"meta": {
"$ref": "#/components/schemas/CalcMeta"
},
"methodology": {
"example": "batch",
"type": "string"
},
"proof_urls": {
"$ref": "#/components/schemas/ProofUrls"
},
"receipt": {
"$ref": "#/components/schemas/Receipt"
},
"results": {
"description": "One entry per input item, in order. Each is the engine's own response shape, or an error for that item alone.",
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
"succeeded": {
"type": "integer"
},
"total": {
"additionalProperties": true,
"description": "The summed emissions across items that succeeded.",
"type": "object"
}
},
"type": "object"
},
"CalcMeta": {
"additionalProperties": true,
"properties": {
"gc_updated": {
"example": "2026-08-19",
"type": "string"
},
"gc_version": {
"example": "2026.180",
"type": "string"
},
"reproducible": {
"description": "How to pin this result for an audit.",
"type": "string"
}
},
"type": "object"
},
"Calculation": {
"additionalProperties": true,
"description": "The SINGLE-FACTOR engines — ghg-activity, freight, spend-based and business-travel. The full working, never just a total. The block echoing your input is named per engine (activity | transport | spend | trip); everything else below is shared. The other four engines answer a different question and have their own schemas: ElectricityCalculation, PcafCalculation, EmbodiedCalculation, BatchCalculation.",
"properties": {
"activity": {
"additionalProperties": true,
"description": "ghg-activity only. freight sends `transport`, spend-based `spend`, business-travel `trip`.",
"type": "object"
},
"attribution": {
"$ref": "#/components/schemas/Attribution"
},
"emissions": {
"additionalProperties": true,
"properties": {
"range": {
"additionalProperties": true,
"description": "Propagated from the factor's published uncertainty. null where the publisher states none — not a claim of certainty.",
"type": [
"object",
"null"
]
},
"unit": {
"example": "kg CO2e",
"type": "string"
},
"value": {
"example": 654.8,
"type": "number"
}
},
"type": "object"
},
"factor": {
"additionalProperties": true,
"properties": {
"citation": {
"$ref": "#/components/schemas/Citation"
},
"gas": {
"type": [
"string",
"null"
]
},
"gwp_set": {
"type": [
"string",
"null"
]
},
"key": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"resolution": {
"additionalProperties": true,
"description": "Present ONLY when the request sent `country`. tier is exact | global | proxy; proxy_of names the country the factor actually belongs to. Absent means no geography claim was made — NOT that the match was exact.",
"properties": {
"proxy_of": {
"type": [
"string",
"null"
]
},
"tier": {
"example": "proxy",
"type": "string"
}
},
"type": "object"
},
"uncertainty": {
"$ref": "#/components/schemas/Uncertainty"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
},
"meta": {
"$ref": "#/components/schemas/CalcMeta"
},
"methodology": {
"example": "ghg-activity",
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"proof_urls": {
"$ref": "#/components/schemas/ProofUrls"
},
"receipt": {
"$ref": "#/components/schemas/Receipt"
},
"scope": {
"additionalProperties": true,
"type": [
"object",
"null"
]
},
"source": {
"$ref": "#/components/schemas/SourceRef"
},
"standard": {
"example": "GHG Protocol Corporate Standard (activity-based)",
"type": "string"
},
"working": {
"additionalProperties": true,
"description": "The arithmetic in the open — unit conversion and the formula as evaluated.",
"properties": {
"formula": {
"example": "5000 kWh × 0.13096 (kg CO2e per kWh) = 654.8 kg CO2e",
"type": "string"
},
"unit_conversion": {
"example": "5 MWh = 5000 kWh (converted to the factor's basis)",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"ChangesList": {
"additionalProperties": true,
"description": "Data releases, newest first. Per-release records begin at the archive's delta watershed (meta.record_begins); earlier versions are archived and pinnable via ?as_of= but not summarised.",
"properties": {
"meta": {
"additionalProperties": true,
"properties": {
"next_cursor": {
"description": "Pass back as ?cursor= to resume. null on the last page.",
"type": [
"string",
"null"
]
},
"record_begins": {
"type": "string"
},
"returned": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"type": "object"
},
"releases": {
"items": {
"additionalProperties": true,
"properties": {
"added": {
"type": "integer"
},
"changed": {
"type": "integer"
},
"date": {
"type": [
"string",
"null"
]
},
"detail": {
"description": "URL of the per-release record.",
"type": "string"
},
"version": {
"type": "string"
},
"withdrawn": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ChangesRelease": {
"additionalProperties": true,
"description": "One release: every factor row it added, changed or withdrew, each independently checkable on its verify page.",
"properties": {
"entries": {
"items": {
"additionalProperties": true,
"properties": {
"key": {
"type": "string"
},
"kind": {
"enum": [
"added",
"changed",
"withdrawn"
],
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"value": {
"description": "The NEW headline value. Absent on withdrawn rows.",
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"meta": {
"additionalProperties": true,
"properties": {
"counts": {
"additionalProperties": {
"type": "integer"
},
"type": "object"
},
"date": {
"type": [
"string",
"null"
]
},
"entries_returned": {
"type": "integer"
},
"entries_total": {
"type": "integer"
},
"truncated": {
"description": "true when the release changed more rows than one response carries; the KV record is complete.",
"type": "boolean"
},
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"Check": {
"additionalProperties": true,
"description": "Per-row verdicts for factors you already use: which published factor each value is (source, edition, line), whether it is current, and what is wrong with it.",
"properties": {
"coverage": {
"description": "Plain statement of which sources carry edition history and which are current-only.",
"type": "string"
},
"index": {
"additionalProperties": true,
"description": "What was checked against: build date, MasterBrain version, DEFRA editions held.",
"type": "object"
},
"rows": {
"items": {
"additionalProperties": true,
"properties": {
"current": {
"additionalProperties": true,
"description": "The current value to use instead, with the percentage change and its proof page (proof_url) where we hold the factor. Suggested, never substituted.",
"type": [
"object",
"null"
]
},
"findings": {
"items": {
"additionalProperties": true,
"properties": {
"kind": {
"type": "string"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"input": {
"additionalProperties": true,
"type": "object"
},
"match": {
"additionalProperties": true,
"description": "The published factor the value matched: source ids and names, line, unit, value, a link to that edition (edition_link) and, when the match is on the current edition, its proof page (proof_url).",
"type": "object"
},
"row": {
"type": "integer"
},
"status": {
"enum": [
"current",
"outdated",
"fix",
"review",
"unverifiable",
"notcomparable"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"additionalProperties": {
"type": "integer"
},
"description": "Row count per status.",
"type": "object"
}
},
"type": "object"
},
"Citation": {
"additionalProperties": true,
"description": "A ready-to-paste citation assembled from the source registry.",
"properties": {
"cell_ref": {
"example": "'UK electricity'!E25",
"type": "string"
},
"licence": {
"type": "string"
},
"mb_version": {
"type": "string"
},
"source_id": {
"example": "DEFRA_2026",
"type": "string"
},
"source_name": {
"type": "string"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"Corpus": {
"additionalProperties": true,
"description": "Bulk feed, Business and above. Redistributable rows ONLY — filtering is driven by a per-source licence tier recorded against the data, and a source whose position has not been assessed is withheld. Every row carries redistributable: true so you can verify what you received.",
"properties": {
"factors": {
"items": {
"$ref": "#/components/schemas/FactorRow"
},
"type": "array"
},
"meta": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"Coverage": {
"additionalProperties": true,
"description": "Country × family coverage, generated from the live corpus. Scores measure PRESENCE of a family, never sufficiency — a country can score 13/13 and still lack the row you need.",
"properties": {
"caveat": {
"type": "string"
},
"coverage": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"band": {
"enum": [
"complete",
"partial",
"minimal"
],
"type": "string"
},
"families": {
"additionalProperties": {
"type": "integer"
},
"description": "Row count held per family. 0 means we hold none.",
"type": "object"
},
"name": {
"example": "UK",
"type": "string"
},
"of": {
"example": 13,
"type": "integer"
},
"score": {
"example": 13,
"type": "integer"
}
},
"type": "object"
},
"description": "Keyed by ISO3.",
"type": "object"
},
"docs": {
"format": "uri",
"type": "string"
},
"meta": {
"additionalProperties": true,
"properties": {
"bands": {
"additionalProperties": {
"type": "integer"
},
"description": "Counts per band. complete = 10+ of 13 families present, partial = 4–9, minimal = 1–3.",
"type": "object"
},
"countries": {
"example": 151,
"type": "integer"
},
"families": {
"additionalProperties": {
"type": "string"
},
"description": "The thirteen family slugs mapped to their human labels.",
"type": "object"
},
"filters": {
"additionalProperties": true,
"type": "object"
},
"gc_updated": {
"format": "date",
"type": "string"
},
"gc_version": {
"type": "string"
},
"returned": {
"type": "integer"
}
},
"type": "object"
},
"receipt": {
"$ref": "#/components/schemas/Receipt"
}
},
"type": "object"
},
"Digest": {
"additionalProperties": true,
"description": "The summary cadence for this account. Off by default. Each edition covers exactly the period since the last one, so it fits any financial year without configuration.",
"properties": {
"cadence": {
"enum": [
"off",
"monthly",
"quarterly"
],
"type": "string"
},
"last_sent": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"ElectricityCalculation": {
"additionalProperties": true,
"description": "GHG Protocol Scope 2 — reports location-based and market-based SIDE BY SIDE, which is why this engine does not share the single-factor shape. market_based is null unless you supply a market instrument.",
"properties": {
"attribution": {
"$ref": "#/components/schemas/Attribution"
},
"consumption": {
"additionalProperties": true,
"properties": {
"kwh": {
"description": "Normalised to kWh.",
"type": "number"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
},
"location_based": {
"additionalProperties": true,
"properties": {
"emissions": {
"additionalProperties": true,
"type": "object"
},
"factor": {
"additionalProperties": true,
"type": "object"
},
"formula": {
"type": "string"
},
"method": {
"example": "location-based (grid average)",
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"market_based": {
"additionalProperties": true,
"description": "null when no market instrument was supplied — the absence of a market figure, not a zero.",
"type": [
"object",
"null"
]
},
"meta": {
"$ref": "#/components/schemas/CalcMeta"
},
"methodology": {
"example": "electricity",
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"proof_urls": {
"$ref": "#/components/schemas/ProofUrls"
},
"receipt": {
"$ref": "#/components/schemas/Receipt"
},
"scope": {
"additionalProperties": true,
"type": [
"object",
"null"
]
},
"standard": {
"example": "GHG Protocol Scope 2 Guidance — location-based + market-based",
"type": "string"
}
},
"type": "object"
},
"EmbodiedCalculation": {
"additionalProperties": true,
"description": "Whole-life embodied carbon, EN 15978 modular. Per-material and per-module, with data gaps declared rather than silently zeroed.",
"properties": {
"attribution": {
"$ref": "#/components/schemas/Attribution"
},
"materials": {
"items": {
"additionalProperties": true,
"properties": {
"boundary": {
"description": "The EN 15978 modules this figure covers.",
"type": "string"
},
"embodied_carbon": {
"additionalProperties": true,
"type": "object"
},
"gaps": {},
"id": {},
"material": {},
"material_key": {
"type": "string"
},
"module_d": {},
"quantity": {
"additionalProperties": true,
"type": "object"
},
"source": {
"$ref": "#/components/schemas/SourceRef"
},
"stages": {
"description": "Per EN 15978 life-cycle stage. `in_boundary` says whether the stage counts toward this result — a stage OUTSIDE the boundary is still reported, with its value, rather than hidden.",
"items": {
"additionalProperties": true,
"properties": {
"in_boundary": {
"type": "boolean"
},
"modules": {
"items": {
"type": "string"
},
"type": "array"
},
"stage": {
"example": "A1-A3",
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"meta": {
"$ref": "#/components/schemas/CalcMeta"
},
"methodology": {
"example": "embodied-carbon",
"type": "string"
},
"proof_urls": {
"$ref": "#/components/schemas/ProofUrls"
},
"receipt": {
"$ref": "#/components/schemas/Receipt"
},
"result": {
"additionalProperties": true,
"properties": {
"has_data_gaps": {
"description": "true where a module carries no factor. The gap is declared, never treated as zero.",
"type": "boolean"
},
"materials_count": {
"type": "integer"
},
"total_embodied_carbon": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"standard": {
"type": "string"
}
},
"type": "object"
},
"Error": {
"additionalProperties": true,
"description": "The single error envelope, on every non-2xx response from every endpoint. Stated on /developers/docs and enforced at the gateway for origin-raised errors too — read the code from error.code.",
"properties": {
"error": {
"additionalProperties": true,
"properties": {
"code": {
"description": "Stable machine-readable code. Transport-level: unauthorized, forbidden_tier, not_found, rate_limited, quota_exceeded, overage_cap_reached, busy, origin_unavailable, invalid_request. Validation codes are namespaced gc_* and named per endpoint (gc_unknown_param, gc_limit_too_large, gc_offset_invalid, gc_cursor_invalid, gc_section_conflict, and the per-engine gc_<engine>_* set).",
"example": "gc_unknown_param",
"type": "string"
},
"details": {
"additionalProperties": true,
"description": "Present only when the failing endpoint attached structured detail beyond the HTTP status.",
"type": "object"
},
"docs": {
"example": "https://greencalculus.com/developers/docs/#errors",
"format": "uri",
"type": "string"
},
"message": {
"description": "Human-readable and specific — a 4xx names the offending parameter and lists the accepted set.",
"example": "Unknown query parameter: bogus. This endpoint accepts: offset, cursor, limit, section, key_prefix, family, search. Free-text lookup is ?search=.",
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
"FactorCitation": {
"additionalProperties": true,
"description": "The canonical citation for one factor row, built by the API (src/citation.ts) and printed VERBATIM by every official client (Sheets add-in, JS and Python SDKs, MCP). Format: \"<factor name>. <source name> — <publisher>, cell <cell_ref>, retrieved <date>. via GreenCalculus data version <version>, factor <key>. <proof URL>\". On GET /v1/factors/{key} the version is the one actually SERVED, so a ?as_of= lookup cites the pin. Present on rows from 2026-09-09. The format is a published specification, free for anyone to implement against their own data: https://greencalculus.com/developers/citation/",
"externalDocs": {
"description": "The factor citation specification",
"url": "https://greencalculus.com/developers/citation/"
},
"properties": {
"cell_ref": {
"example": "'UK electricity'!E25",
"type": [
"string",
"null"
]
},
"proof_url": {
"example": "https://verify.greencalculus.com/grid.gbr.electricity.location_based@2026.186",
"type": [
"string",
"null"
]
},
"source_id": {
"example": "DEFRA_2026",
"type": [
"string",
"null"
]
},
"text": {
"example": "UK grid electricity — location-based (generation). UK Government GHG Conversion Factors 2026 — Department for Energy Security and Net Zero (DESNZ), cell 'UK electricity'!E25, retrieved 2026-06-18. via GreenCalculus data version 2026.186, factor grid.gbr.electricity.location_based. https://verify.greencalculus.com/grid.gbr.electricity.location_based@2026.186",
"type": "string"
},
"version": {
"example": "2026.186",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"FactorHistory": {
"additionalProperties": true,
"properties": {
"current": {
"additionalProperties": true,
"description": "null when the key is withdrawn from the live corpus.",
"type": [
"object",
"null"
]
},
"history": {
"items": {
"additionalProperties": true,
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"kind": {
"enum": [
"recorded",
"withdrawn"
],
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"value": {
"type": [
"number",
"null"
]
},
"version": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"key": {
"type": "string"
},
"meta": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"FactorList": {
"additionalProperties": true,
"description": "Browse/search results. Open — no key, no quota. Values ARE returned on this route. Use /v1/factors/{key} when you want one row plus its audit envelope (provenance, licence, verification) or a version pin via ?as_of=.",
"properties": {
"factors": {
"items": {