{ "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/MessageData", "definitions": { "MessageData": { "required": [ "Code", "Value" ], "properties": { "Code": { "type": "string" }, "Value": { "type": "string" } }, "additionalProperties": false, "type": "object" } } }