{ "$defs": { "attribute": { "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, "required": [ "name", "value" ], "type": "object" }, "error": { "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "file": { "properties": { "name": { "type": "string" }, "dir": { "type": "string" }, "contents": { "type": "string" } }, "required": [ "name", "contents" ], "type": "object" }, "generator": { "properties": { "key": { "type": "string" }, "name": { "type": "string" }, "language": { "type": "string" }, "description": { "type": "string" }, "attributes": { "items": { "type": "string" }, "type": "array" } }, "required": [ "key", "name", "attributes" ], "type": "object" }, "healthcheck": { "properties": { "status": { "type": "string" } }, "required": [ "status" ], "type": "object" }, "invocation": { "properties": { "source": { "type": "string" }, "files": { "items": { "$ref": "#/$defs/file" }, "type": "array" } }, "required": [ "source", "files" ], "type": "object" }, "invocation_form": { "properties": { "service": { "$ref": "#/$defs/service" }, "attributes": { "items": { "$ref": "#/$defs/attribute" }, "type": "array" }, "user_agent": { "type": "string" } }, "required": [ "service", "attributes" ], "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": "/generators", "type": "string" }, "path": { "type": "string" }, "query": { "properties": { "key": { "type": "string" }, "limit": { "type": "integer" }, "offset": { "type": "integer" } }, "required": [ "limit", "offset" ], "type": "object" }, "url": { "type": "string" } }, "required": [ "body", "rawBody", "query", "path", "url", "method" ], "type": "object" }