Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Frontend Typ Route

markusthoemmes edited this page Dec 5, 2014 · 11 revisions

Schema

{
  "title": "Route",
  "description": "JSON Equivalent einer Route",
  "type": "object",
  "properties": {
    "id": { 
      "type": "number",
      "required": true
    },
    "link": { 
      "type": "string",
      "required": false
    },
    "name": { 
      "type": "string",
      "required": true
    },
    "options": { 
      "type": "Options",
      "required": true
    },
    "timeframes": { 
      "type": "array",
      "required": true,
      "items": {
        "type": "Timeframe"
      }
    }
  }
}

Verwendet

Beispiel

{
  "id": 1,
  "link": "e98723958987325md5",
  "name": "Top Route",
  "options": (Options),
  "timeframes": [
    (Timeframe),
    (Timeframe)
  ]
}

Clone this wiki locally