Skip to content

Commit dc32f48

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! [feature] building up the schema again from scratch acording the section 11,4,1 in the bitag report
1 parent 3075b5f commit dc32f48

3 files changed

Lines changed: 25 additions & 8 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
date_published,regulator_name,regulator_version_number,connection_type,fcc_registration_number,unique_plan_identifier,network_technology_type,provider_name,service_plan_name,bandwidth_download_units,bandwidth_download_marketed_low,bandwidth_download_marketed_high,bandwidth_download_typical_low,bandwidth_download_typical_high,bandwidth_upload_units,bandwidth_upload_marketed_low,bandwidth_upload_marketed_high,bandwidth_upload_typical_low,bandwidth_upload_typical_high,latency_idle_low,latency_idle_high,currency
2-
2025-01-15,FCC,1,fixed,0005937974,F0005937974TIER1,50,Xfinity Internet,Extreme 500,Mbps,2,2,2,2,Mbps,2,2,2,2,2,2,USD
3-
2025-11-02,,1,mobile,0003768165,F0005937974ABCD12341234,500,T-Mobile,Turbo 5G Plus,Mbps,75,75,75,75,Mbps,75,75,75,75,75,75,USD
4-
2025-06-06,FCC,99,satellite,0005937974,F0005937974ABCDEFGHIJ12345,500,Google Fiber,Fiber 2G,Gbps,500,500,500,500,Gbps,500,500,500,500,500,500,USD
5-
2025-06-06,FCC,,something,,,0,randomeValue,,kbps,1,1,1,1,kbps,1,1,1,1,1,1,USD
1+
date_published,regulator_name,regulator_version_number,connection_type,fcc_registration_number,unique_plan_identifier,network_technology_type,provider_name,service_plan_name,bandwidth_download_units,bandwidth_download_marketed_low,bandwidth_download_marketed_high,bandwidth_download_typical_low,bandwidth_download_typical_high,bandwidth_upload_units,bandwidth_upload_marketed_low,bandwidth_upload_marketed_high,bandwidth_upload_typical_low,bandwidth_upload_typical_high,latency_idle_low,latency_idle_high,currency,price_type
2+
2025-01-15,FCC,1,fixed,0005937974,F0005937974TIER1,50,Xfinity Internet,Extreme 500,Mbps,2,2,2,2,Mbps,2,2,2,2,2,2,USD,Pre-Paid
3+
2025-11-02,,1,mobile,0003768165,F0005937974ABCD12341234,500,T-Mobile,Turbo 5G Plus,Mbps,75,75,75,75,Mbps,75,75,75,75,75,75,USD,Post-Paid
4+
2025-06-06,FCC,99,satellite,0005937974,F0005937974ABCDEFGHIJ12345,500,Google Fiber,Fiber 2G,Gbps,500,500,500,500,Gbps,500,500,500,500,500,500,USD,Volume-Based
5+
2025-06-06,FCC,,something,,,0,randomeValue,,kbps,1,1,1,1,kbps,1,1,1,1,1,1,USD,Othgerer

src/main/resources/schemas/schema.csvs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version 1.1
2-
@totalColumns 22
2+
@totalColumns 23
33
date_published: xDate
44
regulator_name: empty or upperCase
55
regulator_version_number: empty or range(1, 99)
@@ -21,4 +21,5 @@ bandwidth_upload_typical_low: range(1,999)
2121
bandwidth_upload_typical_high: range(1,999)
2222
latency_idle_low: range(0,1000)
2323
latency_idle_high: range(0,1000)
24-
currency: empty or regex("^[A-Z]{3}$")
24+
currency: empty or regex("^[A-Z]{3}$")
25+
price_type: any("Pre-Paid", "Post-Paid", "Volume-Based", "Per-Line", "Per-Device", "Per-Location", "Per-Organization", "Per-Person", "Per-Time", "Other")

src/main/resources/schemas/schema_specs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,20 @@ opposed to the numeric code. [44]
288288
This field MUST be in the file and MAY be populated.
289289
Name: currency
290290
Type/Format: string, max length 3 characters
291-
Examples: USD, GBP, EUR
291+
Examples: USD, GBP, EUR
292+
293+
23. Price Type.
294+
This describes whether a price is for pre-paid service, post-paid, per-line, and so on. In cases where the
295+
pricing is a combination of factors, the provider may choose to use the primary pricing type here and a
296+
qualifier in the next subsequent Price Type Details field, or may just choose Other here and define all details
297+
in Price Type Details.
298+
The string value for this field be limited to the following options: * Pre-Paid * Post-Paid * Volume-Based
299+
(example: per-GB, per-TB) * Per-Line * Per-Device (example: tablet, phone) * Per-Location (example:
300+
per-home, per-office-location) * Per-Organization * Per-Person * Per-Time (example: per-day, per-month) *
301+
Other
302+
This field MUST be in the file and MUST be populated.
303+
The subsequent price_type field SHOULD in some cases be used in conjunction with this field. For example,
304+
if the value of this field was Volume-Based, then price_type might be Per-TB.
305+
Name: price_type
306+
Type/Format: string, enumerated string value
307+
Examples: Pre-Paid, Post-Paid, Per-Line

0 commit comments

Comments
 (0)