Schemas§
Schemas were introduced in YAML 1.2 as a convenient way to define a set of
tags.
YAML 1.2 Schemas:
Additional Schemas:
- YAML11_SCHEMA — YAML 1.1 did not define schemas;
this convenience schema provides the corresponding set of tags.
- DUMP_SCHEMA — combines all supported YAML 1.1 and YAML 1.2 type
variants for better compatibility.
You will usually use one of the preferred schemas above and customize it with
Schema.withTags().