Override
A source of schemas that outranks another in schema resolution, such as a config overrides entry for the files matching its glob.
It lets one repository hold each folder to its own schemas, instead of forcing one rule on every page.
In manni meta, “override” has two related senses:
- A config
overridesentry assigns a schema set to files matching a glob, so different folders can use different schemas. See Apply different schemas to different folders. - More broadly, schema resolution is a chain of overrides. A
--schemaflag overrides a document’s$schema. That overrides configoverrides, which override configschemas. The first source that yields a schema wins. Configschemasjoin the built-in default set rather than override it, and so does an override that setsdefaults: true. See Precedence.