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

Commit

Permalink
specify json schema $id more exactly
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Jan 8, 2021
1 parent a93c08e commit 447a9cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/json-schema/response.json
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,7 @@
"$id" : {
"format" : "uri",
"minLength" : 1,
"pattern" : "/json_schema/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+/[0-9]+$",
"type" : "string"
},
"description" : {
Expand Down Expand Up @@ -1663,7 +1664,7 @@
"properties" : {
"$id" : {
"format" : "uri-reference",
"pattern" : "^/json_schema/",
"pattern" : "^/json_schema/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+/[0-9]+$",
"readOnly" : true,
"title" : "Canonical URI Identifier",
"type" : "string"
Expand Down
3 changes: 2 additions & 1 deletion json-schema/response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1903,6 +1903,7 @@ $defs:
type: string
minLength: 1
format: uri
pattern: '/json_schema/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+/[0-9]+$'
description:
$ref: common.yaml#/$defs/non_empty_string
JSONSchemaDescriptions:
Expand Down Expand Up @@ -1932,7 +1933,7 @@ $defs:
readOnly: true
type: string
format: uri-reference
pattern: '^/json_schema/'
pattern: '^/json_schema/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+/[0-9]+$'
description:
title: Description
type: string
Expand Down

0 comments on commit 447a9cf

Please sign in to comment.