{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection",
	"title": "OdrlAssetCollection",
	"description": "Interface for ODRL Asset Collections.\nAn AssetCollection is a single resource representing a set of member resources,\nwhere all members of the set will be the subject of the Rule.\nhttps://www.w3.org/TR/odrl-model/#asset",
	"type": "object",
	"properties": {
		"source": {
			"type": "string",
			"description": "Reference to the source of the asset collection.\nMust be an IRI that references the AssetCollection.",
			"format": "uri"
		},
		"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 asset collection.\nUsed to specify the refinement context under which to identify individual Asset(s)\nof the complete collection. The refinement applies to the characteristics of each\nmember of the collection (not the resource as a whole)."
		}
	},
	"required": ["source"],
	"allOf": [
		{
			"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
		}
	]
}
