{"swagger":"2.0","info":{"title":"core-common","description":"Defines common structures used throughout the chamber.io infrastructure.","version":"0.0.0-beta.1"},"consumes":["application/json"],"produces":["application/json"],"paths":{},"definitions":{"generic_error":{"type":"object","description":"A generic error providing a message and some basic meta data.","title":"generic_error","required":["id","timestamp","message"],"properties":{"id":{"description":"A guid for identifying the error e.g. in log files.","type":"string","format":"uuid"},"timestamp":{"description":"Timestamp of the when the error occurred.","type":"string","format":"date-time"},"source":{"description":"An optional source on which the error occurred.","type":"string"},"type":{"description":"An optional type for categorizing e.g. `validation` or `invalid_state`.","type":"string"},"message":{"description":"The actual message of the error.","type":"string"}}},"healthcheck":{"type":"object","description":"Response model indicating the health of a service.","title":"healthcheck","required":["health"],"properties":{"health":{"description":"The current health of the service. Normally this is `healthy`, otherwise an simple error message can be shown.","type":"string"}}}}}