Skip to content

Commit c781b63

Browse files
committed
fixup! 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 db17cb0 commit c781b63

3 files changed

Lines changed: 18 additions & 9 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,price_type,price_details
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,Requires activation of one new device.
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,Price covers first 1 GB of data transferred. Data transfer billed at $1 per GB thereafter.
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,For new customers only.
5-
2025-06-06,FCC,,something,,,0,randomeValue,,kbps,1,1,1,1,kbps,1,1,1,1,1,1,USD,Other,Requires activation of one new device.
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,price_details,price_recurring
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,Requires activation of one new device.,100
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,Price covers first 1 GB of data transferred. Data transfer billed at $1 per GB thereafter.,100
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,For new customers only.,100
5+
2025-06-06,FCC,,something,,,0,randomeValue,,kbps,1,1,1,1,kbps,1,1,1,1,1,1,USD,Other,Requires activation of one new device.,100

src/main/resources/schemas/schema.csvs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version 1.1
2-
@totalColumns 24
2+
@totalColumns 25
33
date_published: xDate
44
regulator_name: empty or upperCase
55
regulator_version_number: empty or range(1, 99)
66
connection_type: notEmpty
7-
fcc_registration_number: empty or range(0000000000, 9999999999)
7+
fcc_registration_number: empty or range(0, 9999999999)
88
unique_plan_identifier: empty or regex("^[FM][0-9]{1,10}[A-Z0-9]{1,15}$")
99
network_technology_type: range(0, 999)
1010
provider_name: length(1,100)
@@ -23,4 +23,5 @@ latency_idle_low: range(0,1000)
2323
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")
26-
price_details: length(0, 500)
26+
price_details: length(0, 500)
27+
price_recurring: notEmpty and range(0, 9999999999) // TODO: this needs to limit decimal places to 2

src/main/resources/schemas/schema_specs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,4 +317,12 @@ This field MUST be in the file and MAY be populated.
317317
Name: price_details
318318
Type/Format: string
319319
Examples: Requires activation of one new device., Price covers first 1 GB of data transferred. Data transfer
320-
billed at $1 per GB thereafter., For new customers only.
320+
billed at $1 per GB thereafter., For new customers only.
321+
322+
25. Recurring Price.
323+
This is how much a customer is charged on a recurring basis, if applicable, such as per month or per week, as
324+
defined above in price_type. The number MAY include two decimal places.
325+
This field MUST be in the file and MUST be populated.
326+
Name: price_recurring
327+
Type/Format: numeric
328+
Example: 29, 29.99, 399.00

0 commit comments

Comments
 (0)