Types on the fields is interesting. The examples suggest said types are lost when you serialise to json or xml, though it seems like at least some types should be expressible as schemas.
Language reference doesn't mention schemas either https://pkl-lang.org/main/current/language-reference/index.h...