schema

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package schema validates pawn-api interchange documents.

Index

Constants

View Source
const SchemaID = "https://schemas.pawnkit.dev/pawn-api/v1/schema.json"

Variables

View Source
var Raw []byte

Functions

func Compiled

func Compiled() (*jsonschema.Schema, error)

Compiled returns the cached pawn-api schema.

func ValidateDocument

func ValidateDocument(raw []byte) error

ValidateDocument validates a JSON interchange document.

Types

This section is empty.

Jump to

Keyboard shortcuts

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