{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-create-approval-request-schema.json", "title": "CreateApprovalRequest", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-approvals-api-openapi.yml#/components/schemas/CreateApprovalRequest", "type": "object", "properties": { "pipeline_execution_id": { "type": "string", "description": "The unique identifier for the associated pipeline execution" }, "pipeline_stage_id": { "type": "string", "description": "The unique identifier for the associated pipeline execution stage" }, "status": { "type": "string", "description": "Status of the approval resource", "default": "pending", "enum": [ "pending", "approved", "rejected" ] }, "workspace_id": { "type": "string", "description": "The unique identifier for the workspace_id" } }, "required": [ "pipeline_execution_id", "pipeline_stage_id", "workspace_id" ] }