summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfr33domlover <fr33domlover@riseup.net>2020-07-22 20:10:54 +0300
committerfr33domlover <fr33domlover@riseup.net>2020-07-22 20:10:54 +0300
commit34d0c694ae555380a7d81295233b342cfd7aea31 (patch)
tree378b72740667e9146445735ce4d333229af99183
parent4bd0144a208ba23097684694baa36351f1d01973 (diff)
Vocabulary spec: Add new property 'resolvedBy'
-rw-r--r--spec/modeling.md6
-rw-r--r--spec/vocabulary.md17
2 files changed, 22 insertions, 1 deletions
diff --git a/spec/modeling.md b/spec/modeling.md
index 68754b4..67fd293 100644
--- a/spec/modeling.md
+++ b/spec/modeling.md
@@ -284,6 +284,8 @@ Properties:
- [dependencies][prop-dependencies]: Collection of [Ticket][type-ticket]s on
which this ticket depends
- [isResolved][prop-isresolved]: Whether the work on this ticket is done
+- [resolvedBy][prop-resolvedby]: If the work on this ticket is done, who marked
+ the ticket as resolved
Example:
@@ -311,7 +313,8 @@ Example:
"history": "https://dev.example/aviva/game-of-life/issues/107/activity",
"dependants": "https://dev.example/aviva/game-of-life/issues/107/rdeps",
"dependencies": "https://dev.example/aviva/game-of-life/issues/107/deps",
- "isResolved": false
+ "isResolved": true,
+ "resolvedBy": "https://code.example/martin"
}
```
@@ -375,6 +378,7 @@ Example:
[prop-hashbefore]: /vocabulary.html#prop-hashbefore
[prop-isresolved]: /vocabulary.html#prop-isresolved
[prop-ref]: /vocabulary.html#prop-ref
+[prop-resolvedby]: /vocabulary.html#prop-resolvedby
[prop-sendpatchesto]: /vocabulary.html#prop-sendpatchesto
[prop-team]: /vocabulary.html#prop-team
[prop-ticketstrackedby]: /vocabulary.html#prop-ticketstrackedby
diff --git a/spec/vocabulary.md b/spec/vocabulary.md
index 0bbe4c8..8b79325 100644
--- a/spec/vocabulary.md
+++ b/spec/vocabulary.md
@@ -331,6 +331,23 @@ work on it is done and it doesn't need to attract attention anymore.
**Example:**
+## resolvedBy {#prop-resolvedby}
+
+**URI:** `https://forgefed.peers.community/ns#resolvedBy`
+
+**Notes:** Identifies the [Actor][] who has resolved the
+[Ticket](#type-ticket).
+
+**Domain:** [Ticket](#type-ticket)
+
+**Range:** [Object][] than is an actor
+
+**Functional:** Yes
+
+**Inverse of:** (None)
+
+**Example:**
+
## dependsOn {#prop-dependson}
**URI:** `https://forgefed.peers.community/ns#dependsOn`