package schema

import "github.com/compose-spec/compose-go/v2/schema"

Index

Variables

var Schema string

Schema is the compose-spec JSON schema

Functions

func Validate

func Validate(config map[string]interface{}) error

Validate uses the jsonschema to validate the configuration

Source Files

schema.go

Version
v2.4.8 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
2 months ago

Tools for package owners.