-
Notifications
You must be signed in to change notification settings - Fork 0
/
1.0-rc.1.schema.json
849 lines (849 loc) · 29.4 KB
/
1.0-rc.1.schema.json
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
{
"$comment": "This file is automatically generated. Don't edit it.",
"$id": "https://finops.openmeter.io/schemas/1.0-rc.1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "FinOps Open Cost and Usage Specification (FOCUS)",
"description": "v1.0-Preview Candidate Release",
"type": "object",
"properties": {
"AvailabilityZone": {
"$ref": "columns/AvailabilityZone"
},
"BilledCost": {
"$ref": "columns/BilledCost"
},
"BillingAccountId": {
"$ref": "columns/BillingAccountId"
},
"BillingAccountName": {
"$ref": "columns/BillingAccountName"
},
"BillingCurrency": {
"$ref": "columns/BillingCurrency"
},
"BillingPeriodEnd": {
"$ref": "columns/BillingPeriodEnd"
},
"BillingPeriodStart": {
"$ref": "columns/BillingPeriodStart"
},
"ChargeCategory": {
"$ref": "columns/ChargeCategory"
},
"ChargeDescription": {
"$ref": "columns/ChargeDescription"
},
"ChargeFrequency": {
"$ref": "columns/ChargeFrequency"
},
"ChargePeriodEnd": {
"$ref": "columns/ChargePeriodEnd"
},
"ChargePeriodStart": {
"$ref": "columns/ChargePeriodStart"
},
"ChargeSubcategory": {
"$ref": "columns/ChargeSubcategory"
},
"CommitmentDiscountCategory": {
"$ref": "columns/CommitmentDiscountCategory"
},
"CommitmentDiscountId": {
"$ref": "columns/CommitmentDiscountId"
},
"CommitmentDiscountName": {
"$ref": "columns/CommitmentDiscountName"
},
"CommitmentDiscountType": {
"$ref": "columns/CommitmentDiscountType"
},
"EffectiveCost": {
"$ref": "columns/EffectiveCost"
},
"InvoiceIssuerName": {
"$ref": "columns/InvoiceIssuerName"
},
"ListCost": {
"$ref": "columns/ListCost"
},
"ListUnitPrice": {
"$ref": "columns/ListUnitPrice"
},
"PricingCategory": {
"$ref": "columns/PricingCategory"
},
"PricingQuantity": {
"$ref": "columns/PricingQuantity"
},
"PricingUnit": {
"$ref": "columns/PricingUnit"
},
"ProviderName": {
"$ref": "columns/ProviderName"
},
"PublisherName": {
"$ref": "columns/PublisherName"
},
"Region": {
"$ref": "columns/Region"
},
"ResourceId": {
"$ref": "columns/ResourceId"
},
"ResourceName": {
"$ref": "columns/ResourceName"
},
"ResourceType": {
"$ref": "columns/ResourceType"
},
"ServiceCategory": {
"$ref": "columns/ServiceCategory"
},
"ServiceName": {
"$ref": "columns/ServiceName"
},
"SkuId": {
"$ref": "columns/SkuId"
},
"SkuPriceId": {
"$ref": "columns/SkuPriceId"
},
"SubAccountId": {
"$ref": "columns/SubAccountId"
},
"SubAccountName": {
"$ref": "columns/SubAccountName"
},
"Tags": {
"$ref": "columns/Tags"
},
"UsageQuantity": {
"$ref": "columns/UsageQuantity"
},
"UsageUnit": {
"$ref": "columns/UsageUnit"
}
},
"propertyNames": {
"pattern": "^[A-Z][a-zA-Z0-9]*$"
},
"additionalProperties": {
"type": ["string", "number", "boolean", "null"]
},
"required": [
"BilledCost",
"BillingAccountId",
"BillingAccountName",
"BillingCurrency",
"BillingPeriodEnd",
"BillingPeriodStart",
"ChargeCategory",
"ChargeDescription",
"ChargeFrequency",
"ChargePeriodEnd",
"ChargePeriodStart",
"ChargeSubcategory",
"CommitmentDiscountCategory",
"CommitmentDiscountId",
"CommitmentDiscountName",
"EffectiveCost",
"InvoiceIssuerName",
"ListCost",
"ListUnitPrice",
"PricingCategory",
"PricingQuantity",
"PricingUnit",
"ProviderName",
"PublisherName",
"Region",
"ResourceId",
"ResourceName",
"ResourceType",
"ServiceCategory",
"ServiceName",
"SkuId",
"SkuPriceId",
"SubAccountId",
"SubAccountName",
"Tags",
"UsageQuantity",
"UsageUnit"
],
"$defs": {
"https://finops.openmeter.io/schemas/columns/AvailabilityZone": {
"$id": "https://finops.openmeter.io/schemas/columns/AvailabilityZone",
"title": "Availability Zone",
"description": "A provider assigned identifier for a physically separated and isolated area within a Region that provides high availability and fault tolerance.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/BilledCost": {
"$id": "https://finops.openmeter.io/schemas/columns/BilledCost",
"title": "Billed Cost",
"description": "A charge serving as the basis for invoicing, inclusive of all reduced rates and discounts while excluding the amortization of upfront charges (one-time or recurring).",
"$ref": "../formats/NumericFormat"
},
"https://finops.openmeter.io/schemas/formats/NumericFormat": {
"$id": "https://finops.openmeter.io/schemas/formats/NumericFormat",
"title": "Numeric Format",
"description": "Rules and formatting requirements for numeric columns appearing in billing data.",
"type": ["number", "string"],
"pattern": "^(?:-?[0-9]+(?:\\.[0-9]+)?(?:[Ee]-?[0-9]+)?)$"
},
"https://finops.openmeter.io/schemas/columns/BillingAccountId": {
"$id": "https://finops.openmeter.io/schemas/columns/BillingAccountId",
"title": "Billing Account ID",
"description": "The identifier assigned to a billing account by the provider.",
"type": "string"
},
"https://finops.openmeter.io/schemas/columns/BillingAccountName": {
"$id": "https://finops.openmeter.io/schemas/columns/BillingAccountName",
"title": "Billing Account Name",
"description": "The display name assigned to a billing account.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/BillingCurrency": {
"$id": "https://finops.openmeter.io/schemas/columns/BillingCurrency",
"title": "Billing Currency",
"description": "Represents the currency that a charge was billed in. (ISO 4217:2015)",
"$ref": "../formats/CurrencyCodeFormat"
},
"https://finops.openmeter.io/schemas/formats/CurrencyCodeFormat": {
"$id": "https://finops.openmeter.io/schemas/formats/CurrencyCodeFormat",
"title": "Currency Code Format",
"description": "Formatting for currency columns appearing in billing data.",
"type": "string",
"minLength": 3,
"maxLength": 3,
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BOV",
"BRL",
"BSD",
"BTN",
"BWP",
"BYN",
"BZD",
"CAD",
"CDF",
"CHE",
"CHF",
"CHW",
"CLF",
"CLP",
"CNY",
"COP",
"COU",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HTG",
"HUF",
"IDR",
"ILS",
"INR",
"IQD",
"IRR",
"ISK",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MXV",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLE",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SVC",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"USN",
"UYI",
"UYU",
"UYW",
"UZS",
"VED",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XAG",
"XAU",
"XBA",
"XBB",
"XBC",
"XBD",
"XCD",
"XDR",
"XOF",
"XPD",
"XPF",
"XPT",
"XSU",
"XTS",
"XUA",
"XXX",
"YER",
"ZAR",
"ZMW",
"ZWL"
]
},
"https://finops.openmeter.io/schemas/columns/BillingPeriodEnd": {
"$id": "https://finops.openmeter.io/schemas/columns/BillingPeriodEnd",
"title": "Billing Period End",
"description": "The end date of the billing period.",
"$ref": "../formats/DateTimeFormat"
},
"https://finops.openmeter.io/schemas/formats/DateTimeFormat": {
"$id": "https://finops.openmeter.io/schemas/formats/DateTimeFormat",
"title": "Date/Time Format",
"description": "Rules and formatting requirements for date/time related columns appearing in billing data.",
"type": "string",
"pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)Z$"
},
"https://finops.openmeter.io/schemas/columns/BillingPeriodStart": {
"$id": "https://finops.openmeter.io/schemas/columns/BillingPeriodStart",
"title": "Billing Period Start",
"description": "The start date of the billing period.",
"$ref": "../formats/DateTimeFormat"
},
"https://finops.openmeter.io/schemas/columns/ChargeCategory": {
"$id": "https://finops.openmeter.io/schemas/columns/ChargeCategory",
"title": "Charge Category",
"description": "Indicates whether the row represents an upfront or recurring fee, cost of usage that already occurred, an after-the-fact adjustment (e.g., credits), or taxes.",
"type": "string",
"oneOf": [
{
"const": "Adjustment",
"description": "Any adjustments that are applied after the original usage or purchase row. Adjustments may be related to multiple charges."
},
{
"const": "Purchase",
"description": "Charges for the acquisition of a service or resource bought upfront or on a recurring basis."
},
{
"const": "Tax",
"description": "Applicable taxes that are levied by the relevant authorities. Tax charges may vary depending on factors such as the location, jurisdiction, and local or federal regulations."
},
{
"const": "Usage",
"description": "Charges based on the quantity of a service or resource that was consumed over a given period of time."
}
]
},
"https://finops.openmeter.io/schemas/columns/ChargeDescription": {
"$id": "https://finops.openmeter.io/schemas/columns/ChargeDescription",
"title": "Charge Description",
"description": "Self-contained summary of the charge's purpose and price.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/ChargeFrequency": {
"$id": "https://finops.openmeter.io/schemas/columns/ChargeFrequency",
"title": "Charge Frequency",
"description": "Indicates how often a charge will occur.",
"type": "string",
"oneOf": [
{
"const": "One-Time",
"description": "Charges that only happen once and will not repeat. One-time charges are typically recorded on the hour or day when the cost was incurred."
},
{
"const": "Recurring",
"description": "Charges that repeat on a periodic cadence (e.g., weekly, monthly) regardless of whether the product or service was used. Recurring charges typically happen on the same day or point within every period. The charge date does not change based on how or when the service is used."
},
{
"const": "Usage-Based",
"description": "Charges that repeat every time the service is used. Usage-based charges are typically recorded hourly or daily, based on the granularity of the cost data for the period when the service was used (referred to as charge period). Usage-based charges are not recorded when the service is not used."
}
]
},
"https://finops.openmeter.io/schemas/columns/ChargePeriodEnd": {
"$id": "https://finops.openmeter.io/schemas/columns/ChargePeriodEnd",
"title": "Charge Period End",
"description": "The end date and time of a charge period.",
"$ref": "../formats/DateTimeFormat"
},
"https://finops.openmeter.io/schemas/columns/ChargePeriodStart": {
"$id": "https://finops.openmeter.io/schemas/columns/ChargePeriodStart",
"title": "Charge Period Start",
"description": "The beginning date and time of a charge period.",
"$ref": "../formats/DateTimeFormat"
},
"https://finops.openmeter.io/schemas/columns/ChargeSubcategory": {
"$id": "https://finops.openmeter.io/schemas/columns/ChargeSubcategory",
"title": "Charge Subcategory",
"description": "Indicates what kind of usage or adjustment the row represents.",
"type": ["string", "null"],
"oneOf": [
{
"const": "On-Demand",
"description": "Usage charges that are not associated with a commitment."
},
{
"const": "Used Commitment",
"description": "Usage charges that are associated with consumption of a commitment's underlying basis."
},
{
"const": "Unused Commitment",
"description": "Amortized usage charges for the portion of a commitment that has not been used. For example, if an organization has a commitment-based discount that is not fully utilized, the unused portion falls under this category. It highlights an area where the organization is not fully leveraging its commitments, which could be a lost cost-saving opportunity."
},
{
"const": "Refund",
"description": "Negative charges that were previously billed and are being returned by the provider. Providers can have multiple types of refunds such as resolving a tax error or for returned or exchanged commitment-based discounts."
},
{
"const": "Credit",
"description": "Negative charges granted by the provider for various scenarios, like negotiated benefits, usage discounts, or promotional credits."
},
{
"const": "Rounding Error",
"description": "Positive or negative charges that are needed to ensure raw billing data aggregations match the total cost on the invoice, which may be rounded."
},
{
"const": "General Adjustment",
"description": "Positive or negative charges the provider applies that do not fall into other adjustment category values."
},
{
"const": null
}
]
},
"https://finops.openmeter.io/schemas/columns/CommitmentDiscountCategory": {
"$id": "https://finops.openmeter.io/schemas/columns/CommitmentDiscountCategory",
"title": "Commitment Discount Category",
"description": "Indicates whether the commitment-based discount identified in the CommitmentDiscountId column is based on usage quantity or cost (aka \"spend\").",
"type": ["string", "null"],
"oneOf": [
{
"const": "Spend",
"description": "Commitment-based discounts that require a predetermined amount of spend."
},
{
"const": "Usage",
"description": "Commitment-based discounts that require a predetermined amount of usage."
},
{
"const": null,
"description": "Indicates no specific commitment discount category is applicable."
}
]
},
"https://finops.openmeter.io/schemas/columns/CommitmentDiscountId": {
"$id": "https://finops.openmeter.io/schemas/columns/CommitmentDiscountId",
"title": "Commitment Discount ID",
"description": "The identifier assigned to a commitment-based discount by the provider.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/CommitmentDiscountName": {
"$id": "https://finops.openmeter.io/schemas/columns/CommitmentDiscountName",
"title": "Commitment Discount Name",
"description": "The display name assigned to a commitment-based discount.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/CommitmentDiscountType": {
"$id": "https://finops.openmeter.io/schemas/columns/CommitmentDiscountType",
"title": "Commitment Discount Type",
"description": "A provider-assigned identifier for the type of commitment-based discount applied to the row.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/EffectiveCost": {
"$id": "https://finops.openmeter.io/schemas/columns/EffectiveCost",
"title": "Effective Cost",
"description": "Cost inclusive of the impacts of all reduced rates and discounts, augmented with the amortization of relevant purchases (one-time or recurring) paid to cover future eligible charges.",
"$ref": "../formats/NumericFormat"
},
"https://finops.openmeter.io/schemas/columns/InvoiceIssuerName": {
"$id": "https://finops.openmeter.io/schemas/columns/InvoiceIssuerName",
"title": "Invoice Issuer",
"description": "The name of the entity responsible for invoicing for the resources or services consumed.",
"type": "string"
},
"https://finops.openmeter.io/schemas/columns/ListCost": {
"$id": "https://finops.openmeter.io/schemas/columns/ListCost",
"title": "List Cost",
"description": "Cost calculated by multiplying List Unit Price and the corresponding Pricing Quantity.",
"$ref": "../formats/NumericFormat"
},
"https://finops.openmeter.io/schemas/columns/ListUnitPrice": {
"$id": "https://finops.openmeter.io/schemas/columns/ListUnitPrice",
"title": "List Unit Price",
"description": "The suggested provider-published unit price for a single Pricing Unit of the associated SKU, exclusive of any discounts.",
"oneOf": [
{
"$ref": "../formats/NumericFormat"
},
{
"type": "null"
}
]
},
"https://finops.openmeter.io/schemas/columns/PricingCategory": {
"$id": "https://finops.openmeter.io/schemas/columns/PricingCategory",
"title": "Pricing Category",
"description": "Describes the pricing model used for a charge at the time of use or purchase.",
"type": ["string", "null"],
"oneOf": [
{
"const": "On-Demand",
"description": "Charges priced at the standard rate for the billing account. This includes any flat rate and volume/tiered pricing but does not include dynamic or commitment-based discount pricing."
},
{
"const": "Dynamic",
"description": "Charges priced at a variable rate determined by the provider. This includes any product or service with a unit price the provider can change without notice, like interruptible or low priority resources."
},
{
"const": "Commitment-Based",
"description": "Charges with reduced prices due to a commitment-based discount specified by the Commitment Discount ID."
},
{
"const": "Other",
"description": "Charges priced in a way not covered by another pricing category."
},
{
"const": null
}
]
},
"https://finops.openmeter.io/schemas/columns/PricingQuantity": {
"$id": "https://finops.openmeter.io/schemas/columns/PricingQuantity",
"title": "Pricing Quantity",
"description": "The volume of a given resource or service used or purchased based on the Pricing Unit.",
"oneOf": [
{
"$ref": "../formats/NumericFormat"
},
{
"type": "null"
}
]
},
"https://finops.openmeter.io/schemas/columns/PricingUnit": {
"$id": "https://finops.openmeter.io/schemas/columns/PricingUnit",
"title": "Pricing Unit",
"description": "A provider-specified measurement unit for determining unit prices, indicating how a provider rates measured usage and purchase quantities after applying pricing rules like block pricing.",
"oneOf": [
{
"$ref": "../formats/UnitFormat"
},
{
"type": "null"
}
]
},
"https://finops.openmeter.io/schemas/formats/UnitFormat": {
"$id": "https://finops.openmeter.io/schemas/formats/UnitFormat",
"title": "Unit Format",
"description": "Indicates standards for expressing measurement units in columns appearing in billing data.",
"type": "string",
"pattern": "^(\\d+\\s)?[A-Z][a-zA-Z]*(?:-[A-Z][a-zA-Z]*|[\\/][A-Z][a-zA-Z]*)?(?:\\/(\\d+)\\s[A-Z][a-zA-Z]*)?$",
"examples": [
"GB",
"Seconds",
"GB-Hours",
"GB/Hour",
"1000 Tokens",
"Units/3 Months"
]
},
"https://finops.openmeter.io/schemas/columns/ProviderName": {
"$id": "https://finops.openmeter.io/schemas/columns/ProviderName",
"title": "Provider",
"description": "The name of the entity that made the resources or services available for purchase.",
"type": "string"
},
"https://finops.openmeter.io/schemas/columns/PublisherName": {
"$id": "https://finops.openmeter.io/schemas/columns/PublisherName",
"title": "Publisher",
"description": "The name of the entity that produced the resources or services that were purchased.",
"type": "string"
},
"https://finops.openmeter.io/schemas/columns/Region": {
"$id": "https://finops.openmeter.io/schemas/columns/Region",
"title": "Region",
"description": "Isolated geographic area where a resource is provisioned in or a service is provided from.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/ResourceId": {
"$id": "https://finops.openmeter.io/schemas/columns/ResourceId",
"title": "Resource ID",
"description": "Identifier assigned to a resource by the provider.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/ResourceName": {
"$id": "https://finops.openmeter.io/schemas/columns/ResourceName",
"title": "Resource Name",
"description": "Display name assigned to a resource.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/ResourceType": {
"$id": "https://finops.openmeter.io/schemas/columns/ResourceType",
"title": "Resource Type",
"description": "The kind of resource the charge applies to.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/ServiceCategory": {
"$id": "https://finops.openmeter.io/schemas/columns/ServiceCategory",
"title": "Service Category",
"description": "Highest-level classification of a service based on the core function of the service.",
"type": "string",
"oneOf": [
{
"const": "AI and Machine Learning",
"description": "Artificial Intelligence and Machine Learning related technologies."
},
{
"const": "Analytics",
"description": "Data processing, analytics, and visualization capabilities."
},
{
"const": "Business Applications",
"description": "Business and productivity applications and services."
},
{
"const": "Compute",
"description": "Virtual, containerized, serverless, or high-performance computing infrastructure and services."
},
{
"const": "Databases",
"description": "Database platforms and services that allow for storage and querying of data."
},
{
"const": "Developer Tools",
"description": "Software development and delivery tools and services."
},
{
"const": "Multicloud",
"description": "Support for interworking of multiple cloud and/or on-premises environments."
},
{
"const": "Identity",
"description": "Identity and access management services."
},
{
"const": "Integration",
"description": "Services that allow applications to interact with one another."
},
{
"const": "Internet of Things",
"description": "Development and management of IoT devices and networks."
},
{
"const": "Management and Governance",
"description": "Management, logging, and observability of a customer's use of cloud."
},
{
"const": "Media",
"description": "Media and entertainment streaming and processing services."
},
{
"const": "Migration",
"description": "Moving applications and data to the cloud."
},
{
"const": "Mobile",
"description": "Services enabling cloud applications to interact via mobile technologies."
},
{
"const": "Networking",
"description": "Network connectivity and management."
},
{
"const": "Security",
"description": "Security monitoring and compliance services."
},
{
"const": "Storage",
"description": "Storage services for structured or unstructured data."
},
{
"const": "Web",
"description": "Services enabling cloud applications to interact via the Internet."
},
{
"const": "Other",
"description": "New or emerging services that do not align with an existing category."
}
]
},
"https://finops.openmeter.io/schemas/columns/ServiceName": {
"$id": "https://finops.openmeter.io/schemas/columns/ServiceName",
"title": "Service Name",
"description": "An offering that can be purchased from a provider (e.g., cloud virtual machine, SaaS database, professional services from a systems integrator).",
"type": "string"
},
"https://finops.openmeter.io/schemas/columns/SkuId": {
"$id": "https://finops.openmeter.io/schemas/columns/SkuId",
"title": "SKU ID",
"description": "An unique identifier that defines a provider-supported construct for organizing properties that are common across one or more SKU Prices.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/SkuPriceId": {
"$id": "https://finops.openmeter.io/schemas/columns/SkuPriceId",
"title": "SKU Price ID",
"description": "Unique identifier that defines the unit price used to calculate the charge.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/SubAccountId": {
"$id": "https://finops.openmeter.io/schemas/columns/SubAccountId",
"title": "Sub Account ID",
"description": "An ID assigned to a grouping of resources or services, often used to manage access and/or cost.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/SubAccountName": {
"$id": "https://finops.openmeter.io/schemas/columns/SubAccountName",
"title": "Sub Account Name",
"description": "A name assigned to a grouping of resources or services, often used to manage access and/or cost.",
"type": ["string", "null"]
},
"https://finops.openmeter.io/schemas/columns/Tags": {
"$id": "https://finops.openmeter.io/schemas/columns/Tags",
"title": "Tags",
"description": "The set of tags assigned to tag sources that also account for potential provider-defined or user-defined tag evaluations.",
"$ref": "../formats/KeyValueFormat"
},
"https://finops.openmeter.io/schemas/formats/KeyValueFormat": {
"$id": "https://finops.openmeter.io/schemas/formats/KeyValueFormat",
"title": "Key-Value Format",
"description": "Rules and formatting requirements for columns appearing in billing data which convey data as key-value pairs.",
"type": ["object", "null"],
"additionalProperties": {
"type": ["string", "number", "boolean", "null"]
}
},
"https://finops.openmeter.io/schemas/columns/UsageQuantity": {
"$id": "https://finops.openmeter.io/schemas/columns/UsageQuantity",
"title": "Usage Quantity",
"description": "Volume of a given resource or service used or purchased based on the Usage Unit.",
"oneOf": [
{
"$ref": "../formats/NumericFormat"
},
{
"type": "null"
}
]
},
"https://finops.openmeter.io/schemas/columns/UsageUnit": {
"$id": "https://finops.openmeter.io/schemas/columns/UsageUnit",
"title": "Usage Unit",
"description": "Units of a given resource or service used or purchased in combination with Usage Quantity.",
"oneOf": [
{
"$ref": "../formats/UnitFormat"
},
{
"type": "null"
}
]
}
}
}