ctest: Add JSON schema for --show-only=json-v1 output

Add schema validation to the existing test case for --show-only=json-v1 too.

Fixes: #26980
5 files changed