Skip to content

Commit 5b3d023

Browse files
committed
[bugfix] final tweaks on the bitag schema
1 parent ba46271 commit 5b3d023

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/resources/schemas/bitag-bbl-schema-20240827.csvs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,31 @@ latency_idle_high: range(0,1000)
2424
currency: empty or regex("^[A-Z]{3}$")
2525
price_type: any("Pre-Paid", "Post-Paid", "Volume-Based", "Per-Line", "Per-Device", "Per-Location", "Per-Organization", "Per-Person", "Per-Time", "Other")
2626
price_details: empty or length(0, 500)
27-
price_recurring: notEmpty and range(0, 9999999999) // TODO: this needs to limit decimal places to 2
28-
fee_introductory: empty or range(0, 9999999999) // TODO: this needs to limit decimal places to 2
27+
price_recurring: notEmpty and range(0, 9999999999)
28+
fee_introductory: empty or range(0, 9999999999)
2929
fee_introductory_description: empty or length(0, 500)
3030
contract_required: any("Yes", "No")
3131
contract_details: empty or length(0, 500)
3232
contract_terms_uri: empty or uri
33-
fee_one_time_amount: empty or range(0, 9999999999) // TODO: this needs to limit decimal places to 2
33+
fee_one_time_amount: empty or range(0, 9999999999)
3434
fee_one_time_details: empty or length(0, 500)
35-
fee_recurring: empty or range(0, 9999999999) // TODO: this needs to limit decimal places to 2
35+
fee_recurring: empty or range(0, 9999999999)
3636
fee_recurring_description: empty or length(0, 500)
37-
fee_pass_through_recurring: empty or length(0, 500) // TODO: the decription is a string but it's a number
37+
fee_pass_through_recurring: empty or length(0, 500)
3838
fee_pass_through_recurring_description: empty or length(0, 500)
39-
fee_early_termination: range(0, 9999999999) // TODO: the decription is a string but it's a number, also needs to be limited to 2 decimal places
39+
fee_early_termination: range(0, 9999999999)
4040
fee_early_termination_description: empty or length(0, 500)
4141
government_taxes: any("Included", "Varies", "Not Applicable")
4242
policy_data_usage: any("Yes", "No")
43-
fee_data_usage: empty or range(0, 9999999999) // TODO: the decription is a string but it's a number, also needs to be limited to 2 decimal places
43+
fee_data_usage: empty or range(0, 9999999999)
4444
fee_data_usage_description: empty or length(0, 500)
4545
uri_data_usage: empty or uri
4646
restrictions_apply: any("Yes", "No")
4747
restrictions_description: empty or length(0, 500)
4848
uri_policy_network_management: empty or uri
4949
uri_policy_privacy: empty or uri
5050
uri_customer_support: empty or uri
51-
customer_support_phone: empty or regex("^[0-9]{7,15}$") // TODO: min length for phone number is 7
51+
customer_support_phone: empty or regex("^[0-9]{5,15}$")
5252
country_code: empty or regex("^[A-Z]{3}$") @optional
5353
asn: empty or length(0,4294967295) @optional
5454
uri_policy_additional_terms: empty or uri @optional

0 commit comments

Comments
 (0)