{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/w3c-odrl/OdrlAction",
	"title": "OdrlAction",
	"description": "Interface for ODRL Actions.\nhttps://www.w3.org/TR/odrl-model/#action",
	"type": "object",
	"properties": {
		"rdf:value": {
			"type": "object",
			"properties": {
				"@id": {
					"type": "string"
				}
			},
			"required": ["@id"],
			"description": "The value/identifier of the action.\nUsed in complex action definitions."
		},
		"@id": {
			"type": "string",
			"description": "Direct action identifier.\nUsed in simple action references."
		},
		"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 action."
		},
		"includedIn": {
			"anyOf": [
				{
					"$ref": "https://schema.twindev.org/w3c-odrl/OdrlActionType"
				},
				{
					"type": "string"
				}
			],
			"description": "Reference to the action this action is included in."
		},
		"implies": {
			"type": "array",
			"items": {
				"anyOf": [
					{
						"$ref": "https://schema.twindev.org/w3c-odrl/OdrlActionType"
					},
					{
						"type": "string"
					}
				]
			},
			"description": "References to actions this action implies."
		}
	}
}
