{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/OrganizationStateChangeEvent", "title": "OrganizationStateChangeEvent", "allOf": [ { "$ref": "#/components/schemas/Event" }, { "type": "object", "description": "OrganizationStateChangeEvent generic structure", "properties": { "event": { "$ref": "#/components/schemas/OrganizationStateChangeEventPayload" } } } ], "discriminator": { "propertyName": "@type", "mapping": { "OrganizationStateChangeEvent": "#/components/schemas/OrganizationStateChangeEvent" } } }