Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
tighten these schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Nov 30, 2020
1 parent d200da5 commit a981801
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/json-schema/response.json
Original file line number Diff line number Diff line change
Expand Up @@ -1606,6 +1606,7 @@
"properties" : {
"absolute_schema_location" : {
"format" : "uri",
"minLength" : 1,
"type" : "string"
},
"data_location" : {
Expand Down Expand Up @@ -1654,6 +1655,7 @@
"properties" : {
"$id" : {
"format" : "uri",
"minLength" : 1,
"type" : "string"
}
},
Expand Down
2 changes: 2 additions & 0 deletions json-schema/response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ $defs:
format: json-pointer
absolute_schema_location:
type: string
minLength: 1
format: uri
error:
$ref: common.yaml#/$defs/non_empty_string
Expand Down Expand Up @@ -1789,6 +1790,7 @@ $defs:
properties:
$id:
type: string
minLength: 1
format: uri # never merely a uri-reference

# vim: set sts=2 sw=2 et :

0 comments on commit a981801

Please sign in to comment.