Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbta/schemas
Schema registry
https://github.com/mbta/schemas
Last synced: about 1 month ago
JSON representation
Schema registry
- Host: GitHub
- URL: https://github.com/mbta/schemas
- Owner: mbta
- License: cc-by-4.0
- Created: 2023-01-23T15:17:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T13:15:39.000Z (2 months ago)
- Last Synced: 2024-10-29T16:00:05.656Z (2 months ago)
- Language: TypeScript
- Homepage: https://mbta.github.io/schemas/
- Size: 476 KB
- Stars: 0
- Watchers: 11
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MBTA Event Schemas
This website is built using [Docusaurus 2](https://docusaurus.io/), 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:
``` shell
$ yarn test:schemas
```Each file `examples//.json` is validated against the schema `schemas/.json`.
To run all tests:
``` shell
$ 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](https://github.com/mbta/schemas/actions).