{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://cdevents.dev/0.1.0/schema/artifact-packaged-event", "properties": { "context": { "properties": { "version": { "type": "string", "enum": [ "0.1.0" ], "default": "0.1.0" }, "id": { "type": "string", "minLength": 1 }, "source": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 }, "timestamp": { "type": "string", "format": "date-time" } }, "additionalProperties": false, "type": "object", "required": [ "version", "id", "source", "type", "timestamp" ] }, "subject": { "properties": { "id": { "type": "string", "minLength": 1 }, "source": { "type": "string" }, "type": { "type": "string", "minLength": 1 }, "content": { "properties": { "change": { "properties": { "id": { "type": "string", "minLength": 1 }, "source": { "type": "string" } }, "additionalProperties": false, "type": "object", "required": [ "id" ] } }, "additionalProperties": false, "type": "object", "required": [ "change" ] } }, "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" ] }