{ "$defs": { "sheen": { "oneOf": [ { "const": "M" }, { "const": "G" } ], "type": "string" }, "status": { "oneOf": [ { "const": "ok" } ], "type": "string" }, "demand": { "properties": { "paints": { "items": { "$ref": "#/$defs/paint" }, "type": "array" } }, "required": [ "paints" ], "type": "object" }, "healthcheck": { "properties": { "status": { "$ref": "#/$defs/status" } }, "required": [ "status" ], "type": "object" }, "optimizeRequest": { "properties": { "colors": { "type": "integer" }, "customers": { "type": "integer" }, "demands": { "items": { "$ref": "#/$defs/demand" }, "type": "array" } }, "required": [ "colors", "customers", "demands" ], "type": "object" }, "paint": { "properties": { "id": { "type": "integer" }, "sheen": { "$ref": "#/$defs/sheen" } }, "required": [ "id", "sheen" ], "type": "object" }, "readableError": { "properties": { "text": { "type": "string" } }, "required": [ "text" ], "type": "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" }