JSON

The JSON reporter is mainly use for interoperability. Build a script that runs Spectral and pushes results some where else? Use the JSON reporter.

Configure in spectral.yaml:

reporter:
outputs:
json: {}