{
	"$schema": "http://json-schema.org/draft-03/schema#",
	"title": "Draft invoice line templates collection schema",
	"description": "A schema for retrieving a collection of draft invoices line templates.",
	"type": "object",
	"restdocs": "http://restdocs.e-conomic.com/#get-customers-customernumber-templates-invoiceline",
	"properties": {
		"collection": {
			"type": "array",
			"description": "A collection of draft invoice line templates.",
			"items": {
				"title": "Draft invoice line template",
				"type": "object",
				"properties": {
					"description": {
						"type": "string",
						"maxLength": 2500,
						"filterable": true,
						"description": "A description of the product or service sold."
					},
					"product": {
						"type": "object",
						"description": "The product or service offered on the invoice line.",
						"properties": {
							"productNumber": {
								"type": "string",
								"maxLength": 25,
								"filterable": true,
								"sortable": true,
								"description": "The unique product number. This can be a stock keeping unit identifier (SKU)."
							},
							"self": {
								"type": "string",
								"format": "uri",
								"description": "A unique reference to the product resource.",
								"required": true
							}
						}
					},
					"self": {
						"type": "string",
						"format": "uri",
						"description": "A unique reference to the draft invoice line template resource.",
						"required": true
					}
				}
			}
		},
		"metaData": {
			"type": "object",
			"description": "Information about possible actions, endpoints and resource paths related to the endpoint."
		},
		"pagination": {
			"type": "object",
			"description": "Information about the pagination."
		},
		"self": {
			"type": "string",
			"format": "uri",
			"description": "The unique self reference of the draft invoice line templates collection.",
			"required": true
		}
	}
}