Skip to content

Instantly share code, notes, and snippets.

@geraintluff
Last active December 25, 2015 14:09
Show Gist options
  • Save geraintluff/6988554 to your computer and use it in GitHub Desktop.
Save geraintluff/6988554 to your computer and use it in GitHub Desktop.
{
"title": "Ellipsis",
"description": "Placeholder for items that are not present in a preview list, but are expected to be present in the actual list.",
"type": "object",
"properties": {
"...": {
"type": ["integer", "null"],
"minimum": 1
},
"total": {
"type": "integer",
"minimum": 0
}
},
"required": ["..."]
}
@geraintluff
Copy link
Author

Note that this would be intended for use in combination with a rel="full" link.

In the above examples, there is presumably a rel="full" link for the "contributers" property, and a link for each entry in the "teams" array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment