Skip to content

Commit

Permalink
Add tests with new members in link objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Jul 23, 2024
1 parent ebeb1b7 commit 19df2d6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tests/files/23_links_object_with_all_members.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"links": {
"self": {
"href": "http://example.com/schemas/parties",
"rel": "http://example.com/schemas/parties",
"describedby": "http://example.com/schemas/parties",
"title": "Parties",
"type": "party",
"hreflang": "en-GB",
"fc": "test property for forward compatability",
"@member": "@-Members MUST be ignored",
"meta": {
"count": 10
}
},
"related": {
"href": "http://example.com/schemas/parties"
},
"describedby": {
"href": "http://example.com/schemas/parties"
}
},
"meta": {
"note": "BC 1.0: A document MUST contain at least one of the following top-level members: data, errors, meta"
}
}

0 comments on commit 19df2d6

Please sign in to comment.