Skip to content

Commit

Permalink
feat(schema.go): add 'deprecated' field to JSONMeta struct to indicat…
Browse files Browse the repository at this point in the history
…e if the schema is deprecated

The 'deprecated' field is added to the JSONMeta struct to provide
information about whether the schema is deprecated or not. This field
will be used to indicate if the schema should no longer be used and
developers should migrate to a newer version or alternative.
  • Loading branch information
cybersiddhu committed Aug 14, 2023
1 parent 9c40ab0 commit 1fc43e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ type JSONMeta struct {
Comments []string `json:"comments"`
Definition *JSONDefintion `json:"definition"`
Version string `json:"version"`
Deprecated bool `json:"deprecated"`
Xrefs []struct {
Val string `json:"val"`
} `json:"xrefs"`
Expand Down

0 comments on commit 1fc43e9

Please sign in to comment.