{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection",
	"title": "OdrlPartyCollection",
	"description": "Interface for ODRL Party Collections.\nA PartyCollection identifies a collection of entities and is a subclass of Party.\nhttps://www.w3.org/TR/odrl-model/#party",
	"type": "object",
	"properties": {
		"source": {
			"type": "string",
			"description": "Reference to the source of the party collection.\nUsed to identify the origin or location of the collection."
		},
		"refinement": {
			"anyOf": [
				{
					"$ref": "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
				},
				{
					"$ref": "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
				},
				{
					"type": "array",
					"items": {
						"anyOf": [
							{
								"$ref": "https://schema.twindev.org/w3c-odrl/OdrlConstraint"
							},
							{
								"$ref": "https://schema.twindev.org/w3c-odrl/OdrlLogicalConstraint"
							}
						]
					}
				}
			],
			"description": "Refinements applied to the party collection.\nUsed to specify constraints that apply to all members of the collection."
		}
	},
	"required": ["source"],
	"allOf": [
		{
			"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
		}
	]
}
