Skip to content

Instantly share code, notes, and snippets.

@dyoder
Created September 7, 2012 20:58
Show Gist options
  • Save dyoder/3669564 to your computer and use it in GitHub Desktop.
Save dyoder/3669564 to your computer and use it in GitHub Desktop.
schema sans resource and media type info
queue_list:
extends: {$ref: "#resource"}
mediaType: media_type("queue_list")
additionalProperties: { $ref: "#queue"}
queue:
type: "object"
properties:
name: { type: "string" }
pending: { type: "integer" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment