{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "deviceId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "key": { "type": "string" }, "secret": { "type": "string" } }, "required": [ "deviceId", "key", "secret" ], "additionalProperties": false }