{
	"Item": {
		"type": "object",
		"properties": {
			"id": {
				"type": "string",
				"example": "Q42"
			},
			"type": {
				"type": "string",
				"example": "item"
			},
			"labels": {
				"$ref": "#/Labels"
			},
			"descriptions": {
				"$ref": "#/Descriptions"
			},
			"aliases": {
				"$ref": "#/Aliases"
			},
			"sitelinks": {
				"$ref": "./schema-parts.json#/Sitelinks"
			},
			"statements": {
				"type": "object",
				"additionalProperties": {
					"type": "array",
					"items": { "$ref": "#/Statement" }
				}
			}
		},
		"discriminator": {
			"propertyName": "type"
		}
	},
	"Labels": {
		"type": "object",
		"additionalProperties": {
			"type": "string"
		},
		"example": {
			"en": "Douglas Adams",
			"fr": "Douglas Adams"
		}
	},
	"Descriptions": {
		"type": "object",
		"additionalProperties": {
			"type": "string"
		},
		"example": {
			"en": "Science-fiction writer",
			"fr": "écrivain de science-fiction"
		}
	},
	"Aliases": {
		"type": "object",
		"additionalProperties": {
			"type": "array",
			"items": { "type": "string" }
		},
		"example": {
			"en": [
				"Douglas Noel Adams",
				"Douglas Noël Adams"
			],
			"fr": [
				"Douglas Noel Adams"
			]
		}
	},
	"Sitelink": {
		"type": "object",
		"properties": {
			"title": {
				"type": "string"
			},
			"badges": {
				"type": "array",
				"items": { "type": "string" }
			},
			"url": {
				"type": "string"
			}
		}
	},
	"Statement": {
		"allOf": [
			{
				"type": "object",
				"properties": {
					"id": {
						"description": "The globally unique identifier for this Statement",
						"type": "string",
						"readOnly": true,
						"example": "Q11$6403c562-401a-2b26-85cc-8327801145e1"
					},
					"rank": {
						"description": "The rank of the Statement",
						"type": "string",
						"enum": [ "deprecated", "normal", "preferred" ],
						"default": "normal"
					}
				}
			},
			{ "$ref": "./schema-parts.json#/PropertyValuePair" },
			{
				"type": "object",
				"properties": {
					"qualifiers": {
						"type": "array",
						"items": { "$ref": "#/Qualifier" },
						"default": [ ]
					},
					"references": {
						"type": "array",
						"items": { "$ref": "#/Reference" },
						"default": [ ]
					}
				}
			}
		]
	},
	"Qualifier": {
		"$ref": "./schema-parts.json#/PropertyValuePair"
	},
	"Reference": {
		"type": "object",
		"properties": {
			"hash": {
				"description": "Hash of the Reference",
				"type": "string",
				"readOnly": true,
				"example": "455481eeac76e6a8af71a6b493c073d54788e7e9"
			},
			"parts": {
				"type": "array",
				"items": { "$ref": "./schema-parts.json#/PropertyValuePair" }
			}
		}
	}
}
