Skip to content

mbta/schemas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

51af458 · Mar 25, 2025

History

51 Commits
Mar 25, 2025
May 17, 2023
Mar 25, 2025
Mar 25, 2025
Mar 25, 2025
Jul 7, 2023
May 17, 2023
May 17, 2023
May 17, 2023
May 17, 2023
Jan 23, 2023
Jul 7, 2023
May 17, 2023
Jul 28, 2023
May 17, 2023
Jul 7, 2023
May 17, 2023
May 17, 2023
May 17, 2023

Repository files navigation

MBTA Event Schemas

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ asdf install
$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Testing

To check that the schemas in schemas/ and the examples in examples/ are valid:

$ yarn test:schemas

Each file examples/<schema name>/<example name>.json is validated against the schema schemas/<schema name>.json.

To run all tests:

$ yarn ci
# or
$ yarn test

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Deployment happens via Github Actions.