{
	"$schema": "http://json-schema.org/draft-03/schema#",
	"title": "Invoice schema",
	"description": "A schema for retrieving available endpoints of invoices.",
	"type": "object",
	"restdocs": "http://restdocs.e-conomic.com/#get-invoices",
	"properties": {
		"drafts": {
			"type": "string",
			"format": "uri",
			"description": "A reference to all unbooked invoices."
		},
		"booked": {
			"type": "string",
			"format": "uri",
			"description": "A reference to all booked invoices."
		},
		"paid": {
			"type": "string",
			"format": "uri",
			"description": "A reference to all paid invoices. Paid invoices are invoices that has no remaining unpaid amount."
		},
		"unpaid": {
			"type": "string",
			"format": "uri",
			"description": "A reference to all unpaid invoices. unpaid invoices are invoices that has a remaining unpaid amount"
		},
		"overdue": {
			"type": "string",
			"format": "uri",
			"description": "A reference to all overdue invoices. Overdue invoices are unpaid invoices where due date has been surpassed."
		},
		"notDue": {
			"type": "string",
			"format": "uri",
			"description": "A reference to all not due invoices. Not due invoices are invoices where due date still hasn't been surpassed. This includes invoices that are due today."
		},
		"sent": {
			"type": "string",
			"format": "uri",
			"description": "A reference to all sent invoices."
		},
		"totals": {
			"type": "string",
			"format": "uri",
			"description": "A reference to the totals of all invoices."
		},
		"self": {
			"type": "string",
			"format": "uri",
			"description": "A reference to the invoice resource.",
			"required": true
		}
	}
}