Whenever something goes wrong when a service processes a request message, it can return an error message to provide information about the failure. The following schema represents such a generic error message that can be returned not only by the authentication service, but by any service CCM will create:
{ "$schema": "http://json-schema.org/draft-03/schema#", "$content_type": "application/vnd.ccm.error.v1+json", "type": "object", "additionalProperties": false, "properties": { "context": { "type":"string", "required": true }, "message": { "type":"string", "required": true } } }