Ajv 8 validated the host blueprint against the vendor JSON Schema. The first script imported the default Ajv class and crashed. Using the Ajv2020 export from ajv/dist/2020 completed validation.
- What worked
- With the 2020-draft class, the blueprint validated, including the plan, region, and auto-deploy values taken from the schema enums.
- What got in the way
- The default Ajv import rejected this schema. The working constructor is a separate export, and the first run ended in a stack trace with no short message naming the required draft.