Documentation ¶
Index ¶
Constants ¶
View Source
const (
// RefRoot is root of JSON Schema reference.
RefRoot = "#/"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Object ¶
type Object interface { Set(key string, value interface{}) Get(key string) (interface{}, bool) Ref() string }
Object is interface of JSON object.
type Option ¶
Option is options for JSON Schema.
func ByReference ¶
ByReference explicits refrence of adding option. It only supports refs which begins "#/".
func PropertyOrder ¶
PropertyOrder is add propertyOrder to schema.
Click to show internal directories.
Click to hide internal directories.