Draft of the JSON spec for the API