Skip to content

Commit

Permalink
fix: schema parse error when additionalAttributes is schema object
Browse files Browse the repository at this point in the history
  • Loading branch information
twelvelabs committed Jul 28, 2023
1 parent 6693f6c commit e34f40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/jsonschema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Templates embed.FS
// Schema represents a JSON schema document.
type Schema struct {
AdditionalItems *Schema `json:"additionalItems,omitempty"`
AdditionalProperties bool `json:"additionalProperties,omitempty"`
AdditionalProperties any `json:"additionalProperties,omitempty"`
AllOf []*Schema `json:"allOf,omitempty"`
AnyOf []*Schema `json:"anyOf,omitempty"`
Comment string `json:"$comment,omitempty"`
Expand Down

0 comments on commit e34f40e

Please sign in to comment.