Validating vulkaninfo JSON output
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.
- Generate the text to be tested using
vulkaninfo --json
which creates a.json
file 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
schema
anddata
fields. - Depending on the tool, it may validate automatically, or require clicking a
validate
button. - Ensure the tool reports no errors.
- Paste the schema and and sample text into the