Skip to content

Instantly share code, notes, and snippets.

@blangel
Created October 2, 2018 15:18
Show Gist options
  • Select an option

  • Save blangel/2fb4a48730d3f7da5ea2a8dcd14da12e to your computer and use it in GitHub Desktop.

Select an option

Save blangel/2fb4a48730d3f7da5ea2a8dcd14da12e to your computer and use it in GitHub Desktop.
Dash Fleet API - Metadata Example JSON
// Text type
{"id":"45745c60-7b1a-11e8-9c9c-2d42b21b1a3e::TimeZonePreference",
"name":"TimeZonePreference",
"value":"America/New_York",
"type":"Text"
}
// Number type
{"id":"e8b5a51d-11c8-3310-a6ab-367563f20686::Odometer",
"name":"Odometer",
"value":"20000",
"type":"Number",
"lowerBound":0,
"upperBound":999999,
"unitType":"Distance",
"unit":"Miles"
}
// Enumeration type
{"id":"45745c60-7b1a-11e8-9c9c-2d42b21b1a3e::DistancePreference",
"name":"DistancePreference",
"value":"Miles",
"type":"Enumeration",
"enumerationValues":["Miles","Kilometers"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment