{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractNegotiation",
	"title": "DataspaceProtocolContractNegotiation",
	"description": "Interface for the Dataspace Protocol contract negotiation acknowledgment.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
			"description": "The JSON-LD context."
		},
		"@type": {
			"const": "ContractNegotiation",
			"description": "The type of the message."
		},
		"providerPid": {
			"type": "string",
			"description": "The provider id for the contract."
		},
		"consumerPid": {
			"type": "string",
			"description": "The consumer id for the contract."
		},
		"state": {
			"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractNegotiationStateType",
			"description": "The current state of the contract negotiation."
		}
	},
	"required": ["@context", "@type", "providerPid", "consumerPid", "state"]
}
