Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/cloudevents-specification/latest.json
Source https://raw.githubusercontent.com/cloudevents/spec/master/cloudevents/formats/cloudevents.json

Validate with Lintel

npx @lintel/lintel check
Type: object

CloudEvents Specification JSON Schema

Properties

id string required
minLength=1
source string required
format=uri-referenceminLength=1
specversion string required
minLength=1
type string required
minLength=1
datacontenttype string | null
minLength=1
dataschema string | null
format=uriminLength=1
subject string | null
minLength=1
format=date-timeminLength=1
data_base64 string | null

Definitions

iddef string
sourcedef string
specversiondef string
typedef string
datacontenttypedef string | null
dataschemadef string | null
subjectdef string | null
timedef string | null
datadef object | string | number | array | boolean | null
data_base64def string | null