Skip to content

docs: Tighten layers settings schema validation - #425

Merged
christophe-lunarg merged 1 commit into
mainfrom
layer-schema-strict-features
Oct 28, 2026
Merged

christophe-lunarg merged 1 commit into
mainfrom
layer-schema-strict-features

Conversation

@christophe-lunarg

Copy link
Copy Markdown
Contributor
  • Reject unknown keys in the layer node, layer features and presets, declaring the keys read by the Vulkan Loader, the meta-layer keys and the layer 'prefix' read by Vulkan Configurator
  • Share the layer definition between 'layer' and 'layers', so 'layers' entries are validated
  • Anchor the layer name pattern and allow '-' and a mixed-case vendor
  • Escape the dots in the version pattern
  • Require string items for FLAGS preset values, allowing empty arrays
  • Fix the schema $id path and typos in descriptions, and document the ICD node

- Reject unknown keys in the layer node, layer features and presets,
  declaring the keys read by the Vulkan Loader, the meta-layer keys and
  the layer 'prefix' read by Vulkan Configurator
- Share the layer definition between 'layer' and 'layers', so 'layers'
  entries are validated
- Anchor the layer name pattern and allow '-' and a mixed-case vendor
- Escape the dots in the version pattern
- Require string items for FLAGS preset values, allowing empty arrays
- Validate LIST setting 'list' entries and setting 'dependence', with
  'mode' as a string
- Fix the schema $id path and typos in descriptions, clarify the LIST
  descriptions, and document the ICD node
@christophe-lunarg
christophe-lunarg force-pushed the layer-schema-strict-features branch from 7b57d34 to cc2cb34 Compare October 28, 2026 00:20
@christophe-lunarg
christophe-lunarg merged commit da050a0 into main Oct 28, 2026
31 checks passed
@christophe-lunarg
christophe-lunarg deleted the layer-schema-strict-features branch October 28, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant