prismatic schema for devices and sensors.

This will actually come in as a map rather than a string at this point IIUC