What validation does `values.schema.json` provide that `required` does not?
IntermediateConceptHooks, Tests & Validation
Answer
required checks a single value for emptiness while rendering. The schema validates the entire merged values object before rendering: types, enums, patterns, min/max, required properties, additionalProperties: false to catch typos, and conditional rules. It runs on install, upgrade, template and lint, produces one clear error listing all violations, and documents the API for IDEs. Use both: schema for structure, required/fail for cross-field logic.