odrl icon indicating copy to clipboard operation
odrl copied to clipboard

Obligation fullfilment

Open joshcornejo opened this issue 1 year ago • 0 comments

A call to the (1) function evaluate ( actor, action, asset ) can return (2) a list of duties to be fulfilled as pairs < triggerId, dutyDetail>, some of those are only fulfilled during execution as a result of a positive outcome from an evaluation (e.g. can't have odrl:Attribution until the asset is executing the action odrl:play).

A function (3) fulfilled(triggerId) enables the client to create the assertion that such obligations have been fulfilled.

Image

PlantUML:

@startuml
'https://plantuml.com/sequence-diagram

autonumber

Caller -> PDP: evaluate [ actor, action, asset]
PDP --> Caller: [response [list of < triggerId, dutyDetail > ] ]

Caller -> PDP: fulfilled [triggerId]
@enduml

As an option, there should also be a fulfil(actor, action, asset) if the caller wants to fulfil the odrl:Action of an obligation if known.

joshcornejo avatar Feb 22 '25 14:02 joshcornejo