JSON
JSON
The json
model in Zilla represents structured data using JSON for serialization and deserialization in textual format, ensuring consistency and proper data processing. A catalog helps manage JSON schemas, enabling schema validation and reuse across configurations.
model: json
catalog:
items-catalog:
- strategy: topic
version: latest
- subject: items-snapshots
version: latest
- id: 1
Configuration (* required)
catalog
catalog*
Map<string, object[]>
To map defined catalog for schema retrieval based on catalog specific parameters. Any of the possible combination can be configured.
Property | Type | Description |
---|---|---|
catalog[].id* | integer | Define specific schema id to refer from catalog. |
catalog[].version | string | Default: latest |
catalog[].strategy* | enum [ topic ] | To determine the subject based on the specified strategy |
catalog[].subject* | string | Unique identifier for schema categorization in the catalog. |