Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertSchema ¶
func ConvertSchema(s *jsonschema.Schema) (any, error)
ConvertSchema marshals s to JSON, then unmarshals the result.
func ToJSONSchema ¶
func ToJSONSchema(val any) (*jsonschema.Schema, error)
ToJSONSchema turns picoschema input into a JSONSchema. The val parameter is the result of parsing YAML into an value of type any. picoschema is loosely documented at docs/dotprompt.md.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.