TIDES Data Package Flashcards
(20 cards)
What is a TIDES data package?
A collection of CSV files with a datapackage.json metadata file that follows the tides-datapackage-profile
What are the required fields in a TIDES datapackage.json?
title, profile, resources
What are the recommended fields in a TIDES datapackage.json?
name, description, agency, ntd_id, licenses, contributors, maintainers
What is the ‘profile’ field in a TIDES datapackage.json?
Specifies the json-schema profile used to validate the datapackage descriptor, typically ‘https://raw.githubusercontent.com/TIDES-transit/TIDES/main/spec/tides-datapackage-profile.json’
What is the ‘title’ field in a TIDES datapackage.json?
A human-readable title for the data package
What is the ‘name’ field in a TIDES datapackage.json?
A short, unique, sluggable identifier string for the data package
What is the ‘resources’ field in a TIDES datapackage.json?
An array describing the data files included in the package, formatted as tabular-data-resources
What is a Tabular Data Resource in TIDES?
A description of a single data table within the package, including its name, path, schema, and other metadata
What are the required fields for each Tabular Data Resource?
name, path, schema, profile
What are the recommended fields for each Tabular Data Resource?
title, description, sources, licenses
What is the ‘path’ field in a Tabular Data Resource?
A reference to the data for this resource, as a valid URI string (typically a file path)
What is the ‘schema’ field in a Tabular Data Resource?
Location of the table schema for this resource, typically a URL to the schema JSON file
What is the ‘profile’ field in a Tabular Data Resource?
Must be ‘tabular-data-resource’
How is a TIDES data package validated?
Using the Frictionless framework or TIDES validation scripts in the /bin directory
What command can be used to validate a TIDES data package with Frictionless?
frictionless validate –schema-sync path/to/your/datapackage.json
What is the ‘tides-table’ field in a Tabular Data Resource?
An identifier string corresponding to the name of one of the table specs in the TIDES data package
What is the ‘dialect’ field in a Tabular Data Resource?
The CSV dialect descriptor, specifying delimiter, quote character, and other CSV formatting details
What is the ‘sources’ field in a TIDES datapackage.json?
Information about the raw sources for the data package, including components like CAD/AVL, AFC, APC
What is the ‘licenses’ field in a TIDES datapackage.json?
The license(s) under which the package is published
Where can you find a template for a TIDES datapackage.json?
In the /samples/template/TIDES/datapackage.json file