{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/w3c-odrl/OdrlPermission",
	"title": "OdrlPermission",
	"description": "Interface for Permission Rules.\nA Permission allows an action to be exercised on an Asset\nif all constraints are satisfied and if all duties are fulfilled.\nhttps://www.w3.org/TR/odrl-model/#permission",
	"type": "object",
	"properties": {
		"duty": {
			"anyOf": [
				{
					"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
				},
				{
					"type": "array",
					"items": {
						"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
					}
				}
			],
			"description": "The duties that must be fulfilled before the permission can be exercised.\nA Permission MAY have none, one, or more duty property values."
		}
	},
	"allOf": [
		{
			"$ref": "https://schema.twindev.org/w3c-odrl/OdrlRule"
		}
	]
}
