Skip to content

ValueTypes in Different Domains

danielpeintner edited this page Dec 4, 2017 · 4 revisions

This page tries to look into various domains and collect information about their "type systems".

Generic Sensor API

The Generic Sensor API states about sensor readings

[...] device sensors measure different physical quantities and provide corresponding raw sensor readings [...]

The assumption is that binary data is send as string.

JSON schema used to have an attribute "format" to indicate this case (e.g., {type:"string", format:"base64"}) but moved to "contentMediaType" and "contentEncoding" (see JSON Schema Validation spec)

Clone this wiki locally