Try online ALTO message validator: https://openalto.github.io/alto-jsonschema/
Requirements:
- Python 3.7 or later version
- pip
- emrichen
- jsonschema
Install python dependencies (emrichen, jsonschema):
$ make prepare
Modify config.yaml:
# URI prefix for generated JSON schemas
site: "https://openalto.github.io/alto-jsonschema"
Build JSON schemas from template:
$ make
Run validation tests:
$ make test
Go to public/ directory to find the generated JSON schemas.
You can deploy public/ directory to your own website directly.
| IETF Standard | Schema File |
|---|---|
| RFC7285 | rfc7285.json |
| RFC8189 | rfc8189.json |
| RFC8895 | rfc8895.json |
| RFC8896 | rfc8896.json |
| ALTO Message Type | Related Standards | Schema Files |
|---|---|---|
| InfoResourceDirectory | RFC7285, RFC8189, RFC8895, RFC8896 | .rfc7285, .rfc8189, .rfc7285.rfc8895, .rfc7285.rfc8896, .rfc8189.rfc8895, .rfc8189.rfc8896, .rfc7285.rfc8895.rfc8896, .rfc8189.rfc8895.rfc8896 |
| InfoResourceNetworkMap | RFC7285 | .rfc7285 |
| InfoResourceCostMap | RFC7285, RFC8189, RFC8896 | .rfc7285, .rfc8189, .rfc7285.rfc8896, .rfc8189.rfc8896 |
| ReqFilteredNetworkMap | RFC7285 | .rfc7285 |
| ReqFilteredCostMap | RFC7285, RFC8189, RFC8896 | .rfc7285, .rfc8189, .rfc7285.rfc8896, .rfc8189.rfc8896 |
| ReqEndpointProp | RFC7285 | .rfc7285 |
| InfoResourceEndpointProperties | RFC7285 | .rfc7285 |
| ReqEndpointCostMap | RFC7285, RFC8189, RFC8896 | .rfc7285, .rfc8189, .rfc7285.rfc8896, .rfc8189.rfc8896 |
| InfoResourceEndpointCostMap | RFC7285, RFC8189, RFC8896 | .rfc7285, .rfc8189, .rfc7285.rfc8896, .rfc8189.rfc8896 |
| UpdateStreamReq | RFC8895 | .rfc8895 |
| UpdateStreamControlEvent | RFC8895 | .rfc8895 |