{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/w3c-did/DidVerifiablePresentationV1",
	"title": "DidVerifiablePresentationV1",
	"description": "Interface describing a verifiable presentation.",
	"type": "object",
	"properties": {
		"@context": {
			"anyOf": [
				{
					"const": "https://www.w3.org/2018/credentials/v1"
				},
				{
					"type": "array",
					"items": {
						"anyOf": [
							{
								"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
							},
							{
								"const": "https://www.w3.org/2018/credentials/v1"
							}
						]
					},
					"contains": {
						"const": "https://www.w3.org/2018/credentials/v1"
					},
					"minContains": 1,
					"maxContains": 1,
					"minItems": 1
				}
			],
			"description": "The context for the verifiable presentation."
		},
		"verifiableCredential": {
			"type": "array",
			"items": {
				"anyOf": [
					{
						"type": "string"
					},
					{
						"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredentialV1"
					}
				]
			},
			"description": "The data for the verifiable credentials."
		}
	},
	"required": ["@context"],
	"allOf": [
		{
			"$ref": "https://schema.twindev.org/w3c-did/DidVerifiablePresentationCommon"
		}
	]
}
