Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

56 changes: 56 additions & 0 deletions src/main/resources/schemas/bitag-bbl-schema-20240827.csvs
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
version 1.1
@totalColumns 54
date_published: xDate
regulator_name: empty or upperCase
regulator_version_number: empty or range(1, 99)
connection_type: notEmpty
fcc_registration_number: empty or range(0, 9999999999)
unique_plan_identifier: empty or regex("^[FM][0-9]{1,10}[A-Z0-9]{1,15}$")
network_technology_type: range(0, 999)
provider_name: length(1,100)
service_plan_name: empty or length(0,100)
bandwidth_download_units: length(4)
bandwidth_download_marketed_low: empty or range(1,999)
bandwidth_download_marketed_high: empty or range(1,999)
bandwidth_download_typical_low: range(1,999)
bandwidth_download_typical_high: range(1,999)
bandwidth_upload_units: length(4)
bandwidth_upload_marketed_low: empty or range(1,999)
bandwidth_upload_marketed_high: empty or range(1,999)
bandwidth_upload_typical_low: range(1,999)
bandwidth_upload_typical_high: range(1,999)
latency_idle_low: range(0,1000)
latency_idle_high: range(0,1000)
currency: empty or regex("^[A-Z]{3}$")
price_type: any("Pre-Paid", "Post-Paid", "Volume-Based", "Per-Line", "Per-Device", "Per-Location", "Per-Organization", "Per-Person", "Per-Time", "Other")
price_details: empty or length(0, 500)
price_recurring: notEmpty and range(0, 9999999999) // TODO: this needs to limit decimal places to 2
fee_introductory: empty or range(0, 9999999999) // TODO: this needs to limit decimal places to 2
fee_introductory_description: empty or length(0, 500)
contract_required: any("Yes", "No")
contract_details: empty or length(0, 500)
contract_terms_uri: empty or uri
fee_one_time_amount: empty or range(0, 9999999999) // TODO: this needs to limit decimal places to 2
fee_one_time_details: empty or length(0, 500)
fee_recurring: empty or range(0, 9999999999) // TODO: this needs to limit decimal places to 2
fee_recurring_description: empty or length(0, 500)
fee_pass_through_recurring: empty or length(0, 500) // TODO: the decription is a string but it's a number
fee_pass_through_recurring_description: empty or length(0, 500)
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
fee_early_termination_description: empty or length(0, 500)
government_taxes: any("Included", "Varies", "Not Applicable")
policy_data_usage: any("Yes", "No")
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
fee_data_usage_description: empty or length(0, 500)
uri_data_usage: empty or uri
restrictions_apply: any("Yes", "No")
restrictions_description: empty or length(0, 500)
uri_policy_network_management: empty or uri
uri_policy_privacy: empty or uri
uri_customer_support: empty or uri
customer_support_phone: empty or regex("^[0-9]{7,15}$") // TODO: min length for phone number is 7
country_code: empty or regex("^[A-Z]{3}$") @optional
asn: empty or length(0,4294967295) @optional
uri_policy_additional_terms: empty or uri @optional
language: empty or length(3) @optional
digital_signature: empty or length(0, 500) @optional
7 changes: 7 additions & 0 deletions src/main/resources/schemas/bitag-bbl-schema-20240827.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"id": "bitag-bbl-schema-20240827",
"name": "bitag-bbl-schema-20240827",
"version": "1.2.0",
"date": "2024-08-27",
"description": "Broadband Labels schema"
}
5 changes: 0 additions & 5 deletions src/main/resources/schemas/concat.csvs

This file was deleted.

8 changes: 0 additions & 8 deletions src/main/resources/schemas/concat.json

This file was deleted.

Loading
Loading