SHIFT-RR-25: Auto-Disable FlexibilityService After 3 Failed Trades

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

Specification only — not yet executable
Description

If a FlexibilityService is linked to 3 or more failed trades in the past 30 days, it is marked as inactive and its serviceStatus is set to AutoDisabled.

Conditions
  • linkedToService(?t, ?s), tradeStatus(?t, 'Failed'), timestamp(?t) ≥ now() - 30 days
  • 3 or more matching trades
Result
isActive(?s, false), serviceStatus(?s, 'AutoDisabled')

View related notes in Knowledge Graph →