Validating vulkaninfo JSON output
January 17, 2023 ยท View on GitHub
The format of vulkaninfo's JSON output is designed to be used as input for the Vulkan Profiles solution.
The Vulkan Profiles JSON schema specifies exactly how the JSON must be structured.
The schemas may be found at here.
Select the latest schema that vulkaninfo was designed to be used with, or simply take the latest available schema.
Steps to validate JSON data against the Vulkan Profiles schema
- Generate the text to be tested using
vulkaninfo --jsonwhich creates a.jsonfile automatically. - Download the Vulkan Profiles schema to another file.
- For each of the on-line JSON validator tools listed below:
- Paste the schema and and sample text into the
schemaanddatafields. - Depending on the tool, it may validate automatically, or require clicking a
validatebutton. - Ensure the tool reports no errors.
- Paste the schema and and sample text into the