-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating JSON Schema #563
Updating JSON Schema #563
Conversation
Signed-off-by: tsurdilo <tsurdilo@redhat.com>
Dunno if this is useful or not, but here's a diff from the old schema file:
|
Do we have any JSON Schema experts who can review this? @n3wscott @cneijenhuis @fabiojose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change the file name? With that the changes are no clear for everyone.
Please, keep the same name and perform the changes. Then, if is applicable, create a new PR changing the name.
For me keep the original name is better because we are able to see the changes using GitHub tools, instead of merge diffs. |
Signed-off-by: tsurdilo <tsurdilo@redhat.com>
98277bd
to
b405c69
Compare
@fabiojose updated. there is no need to do another pr, updated this one. thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$schema should be : "http://json-schema.org/draft-07/schema#"
Can somebody verify if this is correctly structured, typically the "definitions" section lives at the same level as "properties" whereas in this submission it's a child.
Not to say this isn't correct, but we've typically followed the pattern/example shows here : http://json-schema.org/understanding-json-schema/structuring.html
Signed-off-by: tsurdilo <tsurdilo@redhat.com>
@JemDay updated the schema keyword uri. |
Thanks @tsurdilo.. LGTM |
Signed-off-by: Tihomir Surdilovic <tsurdilo@redhat.com>
Added contentEncoding=base64 to data_base64 according to @deissnerk comment on issue: #558 (comment) |
}, | ||
"data_base64def": { | ||
"type": "string", | ||
"contentEncoding": "base64" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Approved on the 2/27 call |
* Updating JSON Schema Signed-off-by: tsurdilo <tsurdilo@redhat.com> * reverted change of schema name and fix link Signed-off-by: tsurdilo <tsurdilo@redhat.com> * updating schema keyword Signed-off-by: tsurdilo <tsurdilo@redhat.com> * adding contentEncoding=base64 to data_base64 property Signed-off-by: Tihomir Surdilovic <tsurdilo@redhat.com> Signed-off-by: Mike Helmick <helmick@google.com>
* Updating JSON Schema Signed-off-by: tsurdilo <tsurdilo@redhat.com> * reverted change of schema name and fix link Signed-off-by: tsurdilo <tsurdilo@redhat.com> * updating schema keyword Signed-off-by: tsurdilo <tsurdilo@redhat.com> * adding contentEncoding=base64 to data_base64 property Signed-off-by: Tihomir Surdilovic <tsurdilo@redhat.com>
Signed-off-by: tsurdilo tsurdilo@redhat.com
Updating specification JSON Schema:
Renamed spec.json to spec-schema.json so its more clear what the file contains.
Reason for change is