Help us shape the future of Go! Take the 2026 Go Developer Survey

schemavalidator

command
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

README

Json schema validator

Validate Json artifacts against JSON schemas.

Configuration

Schemas can be configured in Ratify config.json or via CRD.

 "plugins": [
      {
        "name": "schemavalidator",
        "artifactTypes": "application/vnd.aquasecurity.trivy.report.sarif.v1",
        "schemas": {
            "application/sarif+json": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json"
          }
      }
 ]
apiVersion: config.ratify.deislabs.io/v1beta1
kind: Verifier
metadata:
  name: verifier-schemavalidator
spec:
  name: schemavalidator
  artifactTypes: application/vnd.aquasecurity.trivy.report.sarif.v1
  parameters:
    schemas:
      application/sarif+json: https://json.schemastore.org/sarif-2.1.0-rtm.5.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL