{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolAuth",
	"title": "DataspaceProtocolAuth",
	"description": "Interface for the authentication descriptor on a versioned Dataspace Protocol endpoint.\nDescribes the authentication mechanism required to call the versioned endpoint.",
	"type": "object",
	"properties": {
		"protocol": {
			"type": "string",
			"description": "The authentication protocol identifier (e.g. \"OAuth2\", \"DCP\")."
		},
		"version": {
			"type": "string",
			"description": "The version of the authentication protocol."
		},
		"profile": {
			"type": "array",
			"items": {
				"type": "string"
			},
			"description": "List of authentication profile identifiers."
		}
	},
	"required": ["protocol", "version"]
}
