Categorygithub.com/NubeIO/schema
modulepackage
0.0.2
Repository: https://github.com/nubeio/schema.git
Documentation: pkg.go.dev

# README

JSON Schema builder

Reference for testing

https://rjsf-team.github.io/react-jsonschema-form/

builder := NewSchemaBuilder()
builder.AddProperty("exampleString", NewString("Example String", true, 3, 10, "default value"))

# Functions

CreateNestedProperties creates a map of properties for nested usage.
NewBool creates a new bool property.
No description provided by the author
NewEnumNumber creates a new number enum property.
NewEnumString creates a new string enum property.
NewNumber creates a new number property.
No description provided by the author
NewPassword creates a new password property with specified constraints.
NewSchemaBuilder creates a new SchemaBuilder.
NewString creates a new string property.
NewURI creates a new property for URI.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author