{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/attestation/AttestationInformation",
	"title": "AttestationInformation",
	"description": "Interface describing the collated attestation information.",
	"type": "object",
	"properties": {
		"@context": {
			"type": "array",
			"prefixItems": [
				{
					"const": "https://schema.org"
				},
				{
					"const": "https://schema.twindev.org/attestation/"
				},
				{
					"const": "https://schema.twindev.org/common/"
				}
			],
			"items": {
				"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
			},
			"minItems": 3,
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "Information",
			"description": "JSON-LD Type."
		},
		"id": {
			"type": "string",
			"description": "The unique identifier of the attestation."
		},
		"dateCreated": {
			"type": "string",
			"description": "Created date/time of the attestation in ISO format."
		},
		"dateTransferred": {
			"type": "string",
			"description": "Transferred date/time of the attestation in ISO format, can be blank if not yet transferred."
		},
		"ownerIdentity": {
			"type": "string",
			"description": "The identity of the owner."
		},
		"attestationObject": {
			"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
			"description": "The data that was attested."
		},
		"proof": {
			"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
			"description": "The proof for the attested data."
		},
		"verified": {
			"type": "boolean",
			"description": "Whether the attestation has been verified."
		},
		"verificationFailure": {
			"type": "string",
			"description": "The verification failure message."
		}
	},
	"required": ["@context", "type", "id", "dateCreated", "ownerIdentity", "attestationObject"]
}
