{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://cdevents.dev/0.4.0/schema/artifact-deleted-event", "properties": { "context": { "properties": { "version": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "source": { "type": "string", "minLength": 1, "format": "uri-reference" }, "type": { "type": "string", "enum": [ "dev.cdevents.artifact.deleted.0.1.0" ], "default": "dev.cdevents.artifact.deleted.0.1.0" }, "timestamp": { "type": "string", "format": "date-time" }, "schemaUri": { "type": "string", "minLength": 1, "format": "uri" }, "chain_id": { "type": "string", "minLength": 1 }, "links": { "$ref": "/schema/links/embeddedlinksarray.json" } }, "additionalProperties": false, "type": "object", "required": [ "version", "id", "source", "type", "timestamp" ] }, "subject": { "properties": { "id": { "type": "string", "minLength": 1 }, "source": { "type": "string", "minLength": 1, "format": "uri-reference" }, "type": { "type": "string", "minLength": 1, "enum": [ "artifact" ], "default": "artifact" }, "content": { "properties": { "user": { "type": "string", "minLength": 1 } }, "additionalProperties": false, "type": "object" } }, "additionalProperties": false, "type": "object", "required": [ "id", "type", "content" ] }, "customData": { "oneOf": [ { "type": "object" }, { "type": "string", "contentEncoding": "base64" } ] }, "customDataContentType": { "type": "string" } }, "additionalProperties": false, "type": "object", "required": [ "context", "subject" ] }