actiontray/web-actions-api

➿ Actions constraints

orzechdev opened this issue · 0 comments

1. The issue

Currently there are no possibile ways to define actions constraints via Web Actions API. The following are the set of desired additions to the Web Actions API specification which are intended to provide ways of specifying actions constraints in it.

1.1. Constraints severities

Constraints should define how important it is to satisfy them.

1.1.1. Hard constraints

Hard constraints must be satisfied

1.1.2. Soft constraints

Soft constraints are desired but don't need to be satisfied

1.2. Constraints types

Constraints may refer to different things, this is why they may be divided into different types respectively. Each type may be defined with different severity.

1.2.1. Possible timeframes

If specified, timeframes during which action may occur.

1.2.2. Excluded timeframes

If specified, timeframes during which action cannot occur.

1.2.3. Members

Members which may participate in the action.