SHIFT-RR-16: Auto-Approve Trade Within Trusted Circle

http://shift-ontology.org/core#SHIFT-RR-16

Specification only — not yet executable
Description

If both buyer and seller in a FlexibilityTrade belong to the same Community Market Circle (CMC) and are mutually trusted, and the trade is pending, then approve the trade automatically.

Conditions
  • buyerActor(?t, ?b) ∧ sellerActor(?t, ?s)
  • belongsToCMC(?b, ?c) ∧ belongsToCMC(?s, ?c)
Result
tradeStatus(?t, 'Approved')

View related notes in Knowledge Graph →