{
	"$schema": "http://json-schema.org/draft-03/schema#",
	"title": "vat account GET schema",
	"description": "A schema for retrieval of a single vat account.",
	"type": "object",
	"restdocs": "http://restdocs.e-conomic.com/#get-vat-accounts-id",
	"properties": {
		"account": {
			"type": "object",
			"description": "The account for this vat account.",
			"properties": {
				"accountNumber": {
					"type": "integer",
					"description": "A unique identifier of the account."
				},
				"self": {
					"type": "string",
					"format": "uri",
					"description": "A unique link reference to the account item.",
					"required": true
				}
			}
		},
		"contraAccount": {
			"type": "object",
			"description": "The contra account for this vat account.",
			"properties": {
				"accountNumber": {
					"type": "integer",
					"description": "A unique identifier of the contra account."
				},
				"self": {
					"type": "string",
					"format": "uri",
					"description": "A unique link reference to the contra account item.",
					"required": true
				}
			}
		},
		"vatType": {
			"type": "object",
			"description": "The vat type for this vat account.",
			"properties": {
				"vatTypeNumber": {
					"type": "integer",
					"description": "A unique identifier of the vat type.",
					"required": true
				},
				"name": {
					"type": "string",
					"description": "Name of the vat type.",
					"required": true
				},
				"self": {
					"type": "string",
					"format": "uri",
					"description": "A unique link reference to the vat type item.",
					"required": true
				}
			}
		},
		"barred": {
			"type": "boolean",
			"description": "If true this vat account has been barred from further use."
		},
		"name": {
			"type": "string",
			"maxLength": 40,
			"description": "The name of the vat account."
		},
		"ratePercentage": {
			"type": "number",
			"maxDecimal": 8,
			"description": "The tax rate for this vat account."
		},
		"vatCode": {
			"type": "string",
			"maxLength": 5,
			"description": "The alphanumerical code for the vat account."
		},
		"self": {
			"type": "string",
			"format": "uri",
			"description": "A unique link reference to the vat account item.",
			"required": true
		}
	}
}