basic

command
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 4 Imported by: 0

README

Basic JSON Schema Validation

This example demonstrates the fundamental usage of JSON Schema validation with simple map data.

Running the Example

go run examples/basic/main.go

Schema Overview

{
  "type": "object",
  "properties": {
    "name": {"type": "string", "minLength": 2},
    "age": {"type": "integer", "minimum": 0}
  },
  "required": ["name", "age"]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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