{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-post-exec-response-schema.json", "title": "PostExecResponse", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/canonical-exec-api-openapi.yml#/components/schemas/PostExecResponse", "allOf": [ { "$ref": "#/$defs/BaseAsyncResponse" }, { "type": "object", "properties": { "result": { "type": "object", "properties": { "environment": { "type": "object", "additionalProperties": { "type": "string" }, "description": "The environment variables." }, "task-id": { "type": "string", "format": "uuid", "description": "The ID of the executed task." }, "working-dir": { "type": "string", "description": "The working directory." } } } } } ], "$defs": { "BaseAsyncResponse": { "allOf": [ { "$ref": "#/$defs/BaseResponse" }, { "type": "object", "properties": { "change": { "type": "string", "description": "The Change ID of the asynchronous change." } } } ] }, "BaseResponse": { "type": "object", "properties": { "type": { "type": "string", "description": "Response type, \"sync\"." }, "status-code": { "type": "integer", "description": "HTTP response status code." }, "status": { "type": "string", "description": "The description of the HTTP status code.\n\nSee the [IANA list](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml).\n" } } } } }