Class: OdrlPolicy
Class describing an ODRL policy for entity storage.
Constructors
Constructor
new OdrlPolicy():
OdrlPolicy
Returns
OdrlPolicy
Properties
id
id:
string
The unique identifier for the policy.
type
type:
OdrlPolicyType
The type of policy.
profile?
optionalprofile?:ObjectOrArray<string>
The profile(s) this policy conforms to.
assigner?
optionalassigner?:ObjectOrArray<string|IOdrlParty|IOdrlPartyCollection>
The assigner of the policy.
assignee?
optionalassignee?:ObjectOrArray<string|IOdrlParty|IOdrlPartyCollection>
The assignee of the policy.
target?
optionaltarget?:ObjectOrArray<string|IOdrlAsset|IOdrlAssetCollection>
The target asset for the rule.
action?
optionalaction?:ObjectOrArray<string|IOdrlAction>
The action associated with the rule.
inheritFrom?
optionalinheritFrom?:ObjectOrArray<string>
The parent policy(ies) this policy inherits from.
conflict?
optionalconflict?:OdrlConflictStrategyType
The conflict resolution strategy.
permission?
optionalpermission?:ObjectOrArray<IOdrlPermission>
The permissions in the policy.
prohibition?
optionalprohibition?:ObjectOrArray<IOdrlProhibition>
The prohibitions in the policy.
obligation?
optionalobligation?:ObjectOrArray<IOdrlDuty>
The obligations in the policy.
assignerIndex
assignerIndex:
string
The assignerIndex.
assigneeIndex
assigneeIndex:
string
The assigneeIndex.
targetIndex
targetIndex:
string
The targetIndex.
actionIndex
actionIndex:
string
The actionIndex.