emqx_schema_registry_schema.hocon 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. emqx_schema_registry_schema {
  2. avro_type.desc:
  3. """[Apache Avro](https://avro.apache.org/) serialization format."""
  4. avro_type.label:
  5. """Apache Avro"""
  6. protobuf_type.desc:
  7. """[Protocol Buffers](https://protobuf.dev/) serialization format."""
  8. protobuf_type.label:
  9. """Protocol Buffers"""
  10. json_type.desc: """~
  11. Supports JSON Schema
  12. [Draft 03](http://tools.ietf.org/html/draft-zyp-json-schema-03)
  13. [Draft 04](http://tools.ietf.org/html/draft-zyp-json-schema-04) and
  14. [Draft 06](https://datatracker.ietf.org/doc/html/draft-wright-json-schema-00)."""
  15. json_type.label: "JSON Schema"
  16. schema_description.desc:
  17. """A description for this schema."""
  18. schema_description.label:
  19. """Schema description"""
  20. schema_name.desc:
  21. """A name for the schema that will serve as its identifier."""
  22. schema_name.label:
  23. """Schema name"""
  24. schema_registry_root.desc:
  25. """Schema registry configurations."""
  26. schema_registry_root.label:
  27. """Schema registry"""
  28. schema_registry_schemas.desc:
  29. """Registered schemas."""
  30. schema_registry_schemas.label:
  31. """Registered schemas"""
  32. schema_source.desc:
  33. """Source text for the schema."""
  34. schema_source.label:
  35. """Schema source"""
  36. schema_type_avro.desc:
  37. """Must be `avro` for Avro schema."""
  38. schema_type_avro.label:
  39. """Avro Schema"""
  40. schema_type_protobuf.desc:
  41. """Must be `protobuf` for protobuf schema."""
  42. schema_type_protobuf.label:
  43. """Protobuf Schema"""
  44. schema_type_json.desc:
  45. """Must be `json` for JSON schema."""
  46. schema_type_json.label:
  47. """JSON Schema"""
  48. }