{ "$defs": { "error_source_type": { "oneOf": [ { "const": "pointer" }, { "const": "parameter" }, { "const": "header" } ], "type": "string" }, "health_status": { "oneOf": [ { "const": "running" }, { "const": "starting" }, { "const": "unhealthy" } ], "type": "string" }, "sort_direction": { "oneOf": [ { "const": "asc" }, { "const": "desc" } ], "type": "string" }, "audit": { "properties": { "created_at": { "type": "string" }, "created_by": { "type": "string" }, "updated_at": { "type": "string" }, "updated_by": { "type": "string" } }, "required": [ "created_at", "created_by", "updated_at", "updated_by" ], "type": "object" }, "error_links": { "properties": { "about": { "$ref": "#/$defs/link" }, "type": { "$ref": "#/$defs/link" } }, "required": [], "type": "object" }, "error_source": { "properties": { "type": { "$ref": "#/$defs/error_source_type" }, "source": { "type": "string" } }, "required": [ "type", "source" ], "type": "object" }, "generic_error": { "properties": { "links": { "$ref": "#/$defs/error_links" }, "code": { "type": "string" }, "title": { "type": "string" }, "detail": { "type": "string" }, "source": { "$ref": "#/$defs/error_source" }, "meta": { "type": "object" } }, "required": [ "code", "title", "detail" ], "type": "object" }, "health_check": { "properties": { "status": { "$ref": "#/$defs/health_status" }, "message": { "type": "string" } }, "required": [ "status" ], "type": "object" }, "link_object": { "properties": { "href": { "type": "string" }, "title": { "type": "string" }, "type": { "type": "string" } }, "required": [ "href" ], "type": "object" }, "page_response": { "properties": { "offset": { "type": "integer" }, "limit": { "type": "integer" }, "sort": { "items": { "$ref": "#/$defs/sort" }, "type": "array" }, "total_results": { "type": "number" }, "total_pages": { "type": "number" } }, "required": [ "offset", "limit", "sort", "total_results", "total_pages" ], "type": "object" }, "paging_form": { "properties": { "offset": { "type": "integer" }, "limit": { "type": "integer" }, "sort": { "items": { "$ref": "#/$defs/sort" }, "type": "array" } }, "required": [ "offset", "limit" ], "type": "object" }, "service_info": { "properties": { "name": { "type": "string" }, "version": { "type": "string" }, "uri": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" } }, "required": [ "name", "version", "uri" ], "type": "object" }, "sort": { "properties": { "property": { "type": "string" }, "direction": { "$ref": "#/$defs/sort_direction" } }, "required": [ "property", "direction" ], "type": "object" }, "link": { "anyOf": [ { "type": "string" }, { "$ref": "#/$defs/link_object" } ] } }, "additionalProperties": true, "properties": { "authenticated": { "const": true, "type": "boolean" }, "body": { "type": "object" }, "rawBody": { "type": "object" }, "headers": { "type": "object" }, "method": { "const": "GET", "type": "string" }, "parameterizedUrl": { "const": "/_internal_/healthcheck", "type": "string" }, "path": { "type": "string" }, "query": { "type": "object" }, "url": { "type": "string" } }, "required": [ "body", "rawBody", "query", "path", "url", "method" ], "type": "object" }