Skip to content

openalto/alto-jsonschema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALTO JSON Schema

Try online ALTO message validator: https://openalto.github.io/alto-jsonschema/

Generate JSON Schema

Requirements:

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.

Included JSON Schemas

Component Schema:

IETF Standard Schema File
RFC7285 rfc7285.json
RFC8189 rfc8189.json
RFC8895 rfc8895.json
RFC8896 rfc8896.json

Message Schema:

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

About

JSON Schema for all published ALTO protocols and extensions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published