From 34d0c694ae555380a7d81295233b342cfd7aea31 Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Jul 22 2020 17:10:54 +0000 Subject: Vocabulary spec: Add new property 'resolvedBy' --- 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`