~/talk

The Intricacies of a Single Keyword in AsyncAPI

Talkat AsyncAPI Conf 2022 · 2022-11-03..11-05· [api-design]
slides:none on file

Explains how AsyncAPI's schemaFormat lets messages use JSON Schema (draft-07), Avro 1.9, or JSON Type Definition (JTD) and what each actually does: JSON Schema enforces runtime validation with keywords (type, const, if/then/else, not) but resists reliable code generation; Avro is designed for serialization and codegen but lacks JSON Schema's constraint power; JTD sits between and maps cleanly to types. Tooling implications: custom adapters, conflicting intent (definition vs validation), and surprising behavior from nested not constraints.

AI-written summary · about

  1. 0:00AsyncAPI schema formats intro
  2. 1:07Three AsyncAPI schema formats
  3. 3:41Deep dive: JSON Schema
  4. 19:59JSON Schema for data models
  5. 20:19Avro schema format
  6. 25:57JSON Type Definition
  7. 29:17Schema format tooling challenges
  8. 30:24Schema format flexibility issues
  9. 32:14Closing & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.