{
	"ResourceDeleted": {
		"description": "The resource was deleted",
		"headers": {
			"Content-Language": {
				"schema": {
					"type": "string"
				},
				"description": "Language code of the language in which response is provided"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"type": "string"
				},
				"example": "Statement deleted"
			}
		}
	},
	"ItemNotFound": {
		"description": "The specified Item was not found",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"item-not-found": { "$ref": "./examples.json#/ItemNotFoundExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": {
					"type": "string"
				},
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"ItemRedirected": {
		"description": "The specified Item was redirected",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"item-redirected": {
						"value": {
							"code": "redirected-item",
							"message": "Item {item_id} has been merged into {other_id}."
						}
					}
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": {
					"type": "string"
				},
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"StatementNotFound": {
		"description": "The specified Statement was not found",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"statement-not-found": {
						"$ref": "./examples.json#/StatementNotFoundExample"
					}
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": {
					"type": "string"
				},
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"ItemStatementNotFound": {
		"description": "The specified resource was not found",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"item-not-found": {
						"$ref": "./examples.json#/ItemNotFoundExample"
					},
					"statement-not-found": {
						"$ref": "./examples.json#/StatementNotFoundExample"
					}
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": {
					"type": "string"
				},
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidItemInput": {
		"description": "The request cannot be processed",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"invalid-item-id": { "$ref": "./examples.json#/InvalidItemIdExample" },
					"invalid-field": { "$ref": "./examples.json#/InvalidFieldExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidItemIdInput": {
		"description": "The request cannot be processed",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"invalid-item-id": { "$ref": "./examples.json#/InvalidItemIdExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidNewStatementInput": {
		"description": "The request cannot be processed",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/ContextError" },
				"examples": {
					"invalid-item-id": { "$ref": "./examples.json#/InvalidItemIdExample" },
					"invalid-edit-tag": { "$ref": "./examples.json#/InvalidEditTagExample" },
					"invalid-bot-flag": { "$ref": "./examples.json#/InvalidBotFlagExample" },
					"statement-data-missing-field": { "$ref": "./examples.json#/StatementDataMissingFieldExample" },
					"statement-data-invalid-field": { "$ref": "./examples.json#/StatementDataInvalidFieldExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidReplaceStatementInput": {
		"description": "The request cannot be processed",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/ContextError" },
				"examples": {
					"invalid-statement-id": { "$ref": "./examples.json#/InvalidStatementIdExample" },
					"invalid-edit-tag": { "$ref": "./examples.json#/InvalidEditTagExample" },
					"invalid-bot-flag": { "$ref": "./examples.json#/InvalidBotFlagExample" },
					"statement-data-missing-field": { "$ref": "./examples.json#/StatementDataMissingFieldExample" },
					"statement-data-invalid-field": { "$ref": "./examples.json#/StatementDataInvalidFieldExample" },
					"invalid-operation-change-statement-id": {
						"$ref": "./examples.json#/InvalidOperationChangeStatementId"
					},
					"invalid-operation-change-property-of-statement": {
						"$ref": "./examples.json#/InvalidOperationChangePropertyOfStatement"
					}
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidReplaceItemStatementInput": {
		"description": "The request cannot be processed",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/ContextError" },
				"examples": {
					"invalid-item-id": { "$ref": "./examples.json#/InvalidItemIdExample" },
					"invalid-statement-id": { "$ref": "./examples.json#/InvalidStatementIdExample" },
					"invalid-edit-tag": { "$ref": "./examples.json#/InvalidEditTagExample" },
					"invalid-bot-flag": { "$ref": "./examples.json#/InvalidBotFlagExample" },
					"statement-data-missing-field": { "$ref": "./examples.json#/StatementDataMissingFieldExample" },
					"statement-data-invalid-field": { "$ref": "./examples.json#/StatementDataInvalidFieldExample" },
					"invalid-operation-change-statement-id": {
						"$ref": "./examples.json#/InvalidOperationChangeStatementId"
					},
					"invalid-operation-change-property-of-statement": {
						"$ref": "./examples.json#/InvalidOperationChangePropertyOfStatement"
					}
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidStatementInput": {
		"description": "The request cannot be processed",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"invalid-statement-id": { "$ref": "./examples.json#/InvalidStatementIdExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidItemStatementInput": {
		"description": "The request cannot be processed",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"examples": {
					"invalid-item-id": { "$ref": "./examples.json#/InvalidItemIdExample" },
					"invalid-statement-id": { "$ref": "./examples.json#/InvalidStatementIdExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidStatementPatch": {
		"description": "The provided JSON Patch is invalid",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/ContextError" },
				"examples": {
					"invalid-statement-id": { "$ref": "./examples.json#/InvalidStatementIdExample" },
					"invalid-operation-change-statement-id": {
						"$ref": "./examples.json#/InvalidOperationChangeStatementId"
					},
					"invalid-operation-change-property-of-statement": {
						"$ref": "./examples.json#/InvalidOperationChangePropertyOfStatement"
					},
					"invalid-patch": { "$ref": "./examples.json#/InvalidPatchExample" },
					"invalid-patch-operation": { "$ref": "./examples.json#/InvalidPatchOperationExample" },
					"invalid-patch-field-type": { "$ref": "./examples.json#/InvalidPatchFieldTypeExample" },
					"missing-json-patch-field": { "$ref": "./examples.json#/MissingJsonPatchFieldExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidItemStatementPatch": {
		"description": "The provided JSON Patch is invalid",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/ContextError" },
				"examples": {
					"invalid-item-id": { "$ref": "./examples.json#/InvalidItemIdExample" },
					"invalid-statement-id": { "$ref": "./examples.json#/InvalidStatementIdExample" },
					"invalid-operation-change-statement-id": {
						"$ref": "./examples.json#/InvalidOperationChangeStatementId"
					},
					"invalid-operation-change-property-of-statement": {
						"$ref": "./examples.json#/InvalidOperationChangePropertyOfStatement"
					},
					"invalid-patch": { "$ref": "./examples.json#/InvalidPatchExample" },
					"invalid-patch-operation": { "$ref": "./examples.json#/InvalidPatchOperationExample" },
					"invalid-patch-field-type": { "$ref": "./examples.json#/InvalidPatchFieldTypeExample" },
					"missing-json-patch-field": { "$ref": "./examples.json#/MissingJsonPatchFieldExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"CannotApplyStatementPatch": {
		"description": "The provided JSON Patch cannot be applied to the given statement",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/ContextError" },
				"examples": {
					"patch-test-failed": { "$ref": "./examples.json#/PatchTestFailedExample" },
					"patch-target-not-found": { "$ref": "./examples.json#/PatchTargetNotFoundExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"InvalidPatchedStatement": {
		"description": "Applying the provided JSON Patch results in an invalid statement",
		"content": {
			"application/json": {
				"schema": {
					"$ref": "./response-parts.json#/ContextError"
				},
				"examples": {
					"patched-statement-missing-field": { "$ref": "./examples.json#/PatchedStatementMissingFieldExample" },
					"patched-statement-invalid-field": { "$ref": "./examples.json#/PatchedStatementInvalidFieldExample" }
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": { "type": "string" },
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"PreconditionFailedError": {
		"description": "The condition defined by a conditional request header is not fulfilled"
	},
	"InvalidMediaType": {
		"description": "The media type specified by the `Content-Type` header is not allowed on this endpoint",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"example": {
					"code": "unsupported-content-type",
					"message": "Unsupported Content-Type: 'application/x-www-form-urlencoded'",
					"httpCode": 415,
					"httpReason": "Unsupported Media Type"
				}
			}
		}
	},
	"UnexpectedError": {
		"description": "An unexpected error has occurred",
		"content": {
			"application/json": {
				"schema": { "$ref": "./response-parts.json#/Error" },
				"example": {
					"code": "unexpected-error",
					"message": "Unexpected Error"
				}
			}
		},
		"headers": {
			"Content-Language": {
				"schema": {
					"type": "string"
				},
				"description": "Language code of the language in which error message is provided"
			}
		}
	},
	"Item": {
		"description": "A single Wikibase Item",
		"headers": {
			"Last-Modified": {
				"schema": {
					"type": "string"
				},
				"description": "Last modified date"
			},
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			},
			"X-Authenticated-User": {
				"schema": {
					"type": "string"
				},
				"description": "Optional username of the user making the request"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"$ref": "./response-parts.json#/ItemResponse"
				}
			}
		}
	},
	"ItemLabels": {
		"description": "Item's labels by language",
		"headers": {
			"Last-Modified": {
				"schema": {
					"type": "string"
				},
				"description": "Last modified date"
			},
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			},
			"X-Authenticated-User": {
				"schema": {
					"type": "string"
				},
				"description": "Optional username of the user making the request"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"$ref": "./schemas.json#/Labels"
				}
			}
		}
	},
	"ItemDescriptions": {
		"description": "Item's descriptions by language",
		"headers": {
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			},
			"Last-Modified": {
				"schema": {
					"type": "string"
				},
				"description": "Last modified date"
			},
			"X-Authenticated-User": {
				"schema": {
					"type": "string"
				},
				"description": "Optional username of the user making the request"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"$ref": "./schemas.json#/Descriptions"
				}
			}
		}
	},
	"ItemAliases": {
		"description": "Item's aliases by language",
		"headers": {
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			},
			"Last-Modified": {
				"schema": {
					"type": "string"
				},
				"description": "Last modified date"
			},
			"X-Authenticated-User": {
				"schema": {
					"type": "string"
				},
				"description": "Optional username of the user making the request"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"$ref": "./schemas.json#/Aliases"
				}
			}
		}
	},
	"Statement": {
		"description": "A single Wikibase Statement. Please note that the value of the `ETag` header field refers to the entity's revision ID.",
		"headers": {
			"Last-Modified": {
				"schema": {
					"type": "string"
				},
				"description": "Last modified date"
			},
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			},
			"X-Authenticated-User": {
				"schema": {
					"type": "string"
				},
				"description": "Optional username of the user making the request"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"$ref": "./response-parts.json#/StatementResponse"
				}
			}
		}
	},
	"StatementCreated": {
		"description": "A single newly created Wikibase Statement. Please note that the value of the `ETag` header field refers to the entity's revision ID.",
		"headers": {
			"Last-Modified": {
				"schema": {
					"type": "string"
				},
				"description": "Last modified date"
			},
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			},
			"X-Authenticated-User": {
				"schema": {
					"type": "string"
				},
				"description": "Optional username of the user making the request"
			},
			"Location": {
				"schema": {
					"type": "string"
				},
				"description": "The URI of the newly created statement"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"$ref": "./response-parts.json#/StatementResponse"
				}
			}
		}
	},
	"Statements": {
		"description": "The statements of an Item",
		"headers": {
			"Last-Modified": {
				"schema": {
					"type": "string"
				},
				"description": "Last modified date"
			},
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			},
			"X-Authenticated-User": {
				"schema": {
					"type": "string"
				},
				"description": "Optional username of the user making the request"
			}
		},
		"content": {
			"application/json": {
				"schema": {
					"type": "object",
					"additionalProperties": {
						"type": "array",
						"items": { "$ref": "./response-parts.json#/StatementResponse" }
					}
				}
			}
		}
	},
	"NotModified": {
		"description": "The specified resource has not been modified since last provided revision number or date",
		"headers": {
			"ETag": {
				"schema": {
					"type": "string"
				},
				"description": "Last entity revision number"
			}
		}
	},
	"Moved": {
		"description": "The specified resource has permanently moved to the indicated location",
		"headers": {
			"Location": {
				"schema": {
					"type": "string"
				},
				"description": "The URL to which the requested resource has been moved"
			}
		}
	}
}
