Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combined model schema and model view #1312

Closed
stevage opened this issue May 26, 2015 · 1 comment
Closed

Combined model schema and model view #1312

stevage opened this issue May 26, 2015 · 1 comment
Milestone

Comments

@stevage
Copy link

stevage commented May 26, 2015

For print, it's hard to show both the model (which has field descriptions) and model schema view (which has examples and looks like JSON). How about a combined view, something like:

{
  "values": [
    {
      "platform": {
        "realtime_id": 0, // always zero
        "stop": {
          "suburb": "East Melbourne", // suburb stop is located 
          "transport_type": "train", // type of transport serving stop: train, bus, tram, vline, or nightrider
          "stop_id": 1104, // unique identifier of the stop
          "location_name": "Jolimont-MCG", // concise description given to stop
          "lat": -37.81653, // latitude in decimal degrees
          "lon": 144.9841, // longitude in decimal degrees
          "distance": 0 // always zero
        }
      },
@webron webron added this to the future milestone May 26, 2015
@webron
Copy link
Contributor

webron commented Mar 20, 2017

Thank you, but I don't see ourselves supporting it. It's a bit of a personal preference as to how its represented, so we'll leave users to make the changes based on their needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants