{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-approval-resource-collection-schema.json", "title": "ApprovalResourceCollection", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-approvals-api-openapi.yml#/components/schemas/ApprovalResourceCollection", "type": "array", "items": { "$ref": "#/$defs/HarnessIacmApproval" }, "$defs": { "HarnessIacmApproval": { "type": "object", "properties": { "account": { "type": "string", "description": "Account is the internal customer account ID.", "minLength": 1, "maxLength": 128 }, "actioned_by": { "type": "string", "description": "User that approved/rejected the step" }, "actioned_by_email": { "type": "string", "description": "Email of the user that approved/rejected the step" }, "created": { "type": "integer", "description": "Created is the unix timestamp at which the resource was originally created in milliseconds.", "format": "int64" }, "id": { "type": "string" }, "org": { "type": "string", "description": "Org is the organisation identifier.", "minLength": 1, "maxLength": 128 }, "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" }, "project": { "type": "string", "description": "Project is the project identifier.", "minLength": 1, "maxLength": 128 }, "status": { "type": "string", "description": "Status of the approval resource", "default": "pending" }, "updated": { "type": "integer", "description": "Modified is the unix timestamp at which the resource was last modified in milliseconds.", "format": "int64" }, "workspace_id": { "type": "string", "description": "The unique identifier for the workspace_id" } }, "description": "Approval is the representation for a single approval", "required": [ "account", "org", "project", "pipeline_execution_id", "pipeline_stage_id", "workspace_id", "id", "status", "created", "updated" ] } } }