We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1efcf2d commit 177c143Copy full SHA for 177c143
jsonschema/json.go
@@ -27,7 +27,7 @@ type Definition struct {
27
// one element, where each element is unique. You will probably only use this with strings.
28
Enum []string `json:"enum,omitempty"`
29
// Properties describes the properties of an object, if the schema type is Object.
30
- Properties map[string]Definition `json:"properties,omitempty"`
+ Properties map[string]Definition `json:"properties"`
31
// Required specifies which properties are required, if the schema type is Object.
32
Required []string `json:"required,omitempty"`
33
// Items specifies which data type an array contains, if the schema type is Array.
0 commit comments