JSON Schema Generation
The automatic generation of Jade Audit Access (JAA) description files must be enabled by setting the UseJournalDescriptions parameter to true in the [PersistentDb] section of the Jade initialization file. This parameter is false by default. For details, see "
The JadeEventSchemaGenerator is a useful utility for previewing the Event Schema file that corresponds to a specific Event class. The JadeEventProducer itself automatically generates and registers these Event Schema files on demand with the SchemaRegistry, if configured to do so.
To support this functionality, the "Catalog" module uses Jade Audit Access (JAA) description files to discover the classes and properties recorded in the journal files.
The JadeEventSchemaGenerator is designed to create JSON schema files suitable for Kafka Event Streaming or Azure Event Hubs. It takes as input a Jade Audit Access description file and produces the corresponding JSON Event Schema files describing the structure of user data in the journal files.
The Jade Audit Access description file is automatically created at the completion of a reorganization, following the change in structure of persistent classes. (For details about running the ESG, see "Running the Event Schema Generator (ESG)" under "Running Event Stream Producer Applications", in Chapter 4.
JSON schema files for Event Streaming are used to define the structure, content, and semantics of messages (events) that are exchanged within an Event Streaming‑based system. These JSON schemas ensure that the data produced by one application and consumed by another adheres to a specific format, enabling seamless data exchange and validation across distributed systems.