Skip to content

Commit

Permalink
Merge branch 'release/v0.7.6' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 5, 2024
2 parents f613f6f + 5866c1f commit e3c7aa6
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 14 deletions.
2 changes: 1 addition & 1 deletion deploy-versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"text":"Latest","icon":"fas fa-home","key":"latest","tag":"v0.7.5"}]
[{"text":"Latest","icon":"fas fa-home","key":"latest","tag":"v0.7.6"}]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zilla-docs",
"version": "0.7.5",
"version": "0.7.6",
"description": "The official documentation for the aklivity/zilla open-source project",
"keywords": [],
"author": "aklivity.io",
Expand Down
35 changes: 29 additions & 6 deletions src/reference/config/catalogs/catalog-inline.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,37 @@ Zilla runtime inline catalog
```yaml {2}
catalog:
type: inline
options:
subjects:
items-snapshots:
schema: |
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"id",
"status"
]
}
```
## Summary
Defines a catalog with schemas to enforce validation. The schemas are defined inline with the other properties.
## Configuration
:::: note Properties
- [options](#options)
- [options.subjects](#options-subjects)
- [options.subjects\*](#options-subjects)
- [subjects.schema\*](#subjects-schema)
- [subjects.version](#subjects-version)
Expand All @@ -39,18 +60,20 @@ catalog:
> `object`

```yaml
options:
```

#### options.subjects
#### options.subjects\*

> `object` as map of named properties

Unique identifier for schema categorization in the registry.

##### subjects.schema\*

> `string`

Definition specifying data structure and format in detail.

##### subjects.version

> `string` | Default: `"latest"`

Specific iteration or version of a registered schema.
17 changes: 11 additions & 6 deletions src/reference/config/catalogs/catalog-schema-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,21 @@ Zilla runtime schema-registry catalog
```yaml {2}
catalog:
type: schema-registry
options:
url: http://reg.example.com:8081
context: default
```
## Summary
Defines a catalog with a schema pulled from a remote registry to enforce validation.
## Configuration
:::: note Properties
- [options](#options)
- [options.url](#options-url)
- [options.url\*](#options-url)
- [options.context](#options-context)
::: right
Expand All @@ -38,14 +43,14 @@ catalog:
> `object`

```yaml
options:
```

#### options.url
#### options.url\*

> `string`

Schema Registry URL to access schemas via API calls.

#### options.context

> `string` | Default: `"default"`

Schema context represents an independent scope in Schema Registry.

0 comments on commit e3c7aa6

Please sign in to comment.