{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/aig/AuditableItemGraphChangeset",
	"title": "AuditableItemGraphChangeset",
	"description": "Interface describing a set of changes to the vertex.",
	"type": "object",
	"properties": {
		"@context": {
			"type": "array",
			"prefixItems": [
				{
					"const": "https://schema.twindev.org/aig/"
				},
				{
					"const": "https://schema.twindev.org/common/"
				}
			],
			"items": {
				"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
			},
			"minItems": 2,
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "AuditableItemGraphChangeset",
			"description": "JSON-LD Type."
		},
		"id": {
			"type": "string",
			"description": "The id of the changeset."
		},
		"dateCreated": {
			"type": "string",
			"description": "The date/time of when the changeset was created."
		},
		"userIdentity": {
			"type": "string",
			"description": "The user identity that created the changes."
		},
		"patches": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/aig/AuditableItemGraphPatchOperation"
			},
			"description": "The patches in the changeset."
		},
		"proofId": {
			"type": "string",
			"description": "The immutable proof id which contains the signature for this changeset."
		},
		"verification": {
			"$ref": "https://schema.twindev.org/immutable-proof/ImmutableProofVerification",
			"description": "The verification for the changeset."
		},
		"version": {
			"type": "number",
			"description": "The version number of the vertex after this changeset was applied.\nMaps to https://schema.org/version."
		}
	},
	"required": ["type", "id", "dateCreated", "patches"]
}
