Skip to content

Commit 44d512e

Browse files
authored
Merge pull request json-api#1169 from jelhan/uri-reference
updates schema to allow URI references
2 parents fbdcc3f + 9f262b2 commit 44d512e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

schema

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"self": {
159159
"description": "A `self` member, whose value is a URL for the relationship itself (a \"relationship URL\"). This URL allows the client to directly manipulate the relationship. For example, it would allow a client to remove an `author` from an `article` without deleting the people resource itself.",
160160
"type": "string",
161-
"format": "uri"
161+
"format": "uri-reference"
162162
},
163163
"related": {
164164
"$ref": "#/definitions/link"
@@ -172,7 +172,7 @@
172172
{
173173
"description": "A string containing the link's URL.",
174174
"type": "string",
175-
"format": "uri"
175+
"format": "uri-reference"
176176
},
177177
{
178178
"type": "object",
@@ -183,7 +183,7 @@
183183
"href": {
184184
"description": "A string containing the link's URL.",
185185
"type": "string",
186-
"format": "uri"
186+
"format": "uri-reference"
187187
},
188188
"meta": {
189189
"$ref": "#/definitions/meta"
@@ -287,28 +287,28 @@
287287
"first": {
288288
"description": "The first page of data",
289289
"oneOf": [
290-
{ "type": "string", "format": "uri" },
290+
{ "type": "string", "format": "uri-reference" },
291291
{ "type": "null" }
292292
]
293293
},
294294
"last": {
295295
"description": "The last page of data",
296296
"oneOf": [
297-
{ "type": "string", "format": "uri" },
297+
{ "type": "string", "format": "uri-reference" },
298298
{ "type": "null" }
299299
]
300300
},
301301
"prev": {
302302
"description": "The previous page of data",
303303
"oneOf": [
304-
{ "type": "string", "format": "uri" },
304+
{ "type": "string", "format": "uri-reference" },
305305
{ "type": "null" }
306306
]
307307
},
308308
"next": {
309309
"description": "The next page of data",
310310
"oneOf": [
311-
{ "type": "string", "format": "uri" },
311+
{ "type": "string", "format": "uri-reference" },
312312
{ "type": "null" }
313313
]
314314
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy