{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-artifact-chain-of-custody-v2-schema.json", "title": "ArtifactChainOfCustodyV2", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-artifactlistingv2-api-openapi.yml#/components/schemas/ArtifactChainOfCustodyV2", "x-stoplight": { "id": "1yqfetazjhj4v" }, "type": "object", "x-internal": false, "properties": { "activity": { "$ref": "#/$defs/ActivityDetails" }, "created_at": { "type": "integer", "format": "int64", "x-stoplight": { "id": "6j7z7j7z7z7z7" } }, "artifact_details": { "$ref": "#/$defs/ArtifactV2Details" }, "execution_context": { "$ref": "#/$defs/ExecutionContextV2" } }, "$defs": { "ActivityDetails": { "title": "ActivityDetails", "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "orchestration", "vulnerability", "enforcement", "provenance", "verification", "deployment", "signing", "integrity_verification" ] } } }, "ArtifactV2Details": { "title": "ArtifactV2Details", "x-stoplight": { "id": "5zlypggn3bwyq" }, "type": "object", "properties": { "id": { "type": "string", "x-stoplight": { "id": "gh0lt8mpnz6d9" } }, "name": { "type": "string", "x-stoplight": { "id": "qtwszj5cg3ym7" } }, "type": { "type": "string", "x-stoplight": { "id": "bnv86x8lbybf6" } }, "tag": { "type": "string", "x-stoplight": { "id": "p8f2vqnb4tf78" } }, "digest": { "type": "string", "x-stoplight": { "id": "kg5m7buhuyhpb" } } } }, "ExecutionContextV2": { "title": "ExecutionContextV2", "type": "object", "description": "Details of the Execution Context", "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "harness", "github" ] } } } } }