{
"type": "object",
"additionalProperties": false,
"properties": {
"codec": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The `codec_id` of the codec, which is looked up in the global\nregistry."
}
},
"required": [
"id"
],
"description": "The configuration of the wrapped codec.",
"additionalProperties": {
"type": "object"
}
},
"_version": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"description": "The codec's encoding format version. Do not provide this parameter explicitly.",
"default": "1.0.0"
}
},
"required": [
"codec"
],
"description": "Onion identity meta-codec which wraps an existing codec and passes the\ninputs and outputs unchanged to and from this codec during encoding and\ndecoding.",
"title": "OnionCodec",
"$schema": "https://json-schema.org/draft/2020-12/schema"
}