summaryrefslogtreecommitdiff
path: root/projects/project.schema.yaml
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>2018-11-01 17:15:08 +0000
committerKieran Bingham <kieran.bingham+renesas@ideasonboard.com>2018-12-07 13:24:50 +0000
commit20b1e43eabd7127835f701ae132d410674501404 (patch)
tree2b3b233a210a67c0e1d88b83f9e513cd779bbed2 /projects/project.schema.yaml
parentd1dccab9a69f2a8a12db0fb5f0aee44cb8764890 (diff)
schema: Move 'relationships' to a mapping sequence
This may be subject to further change so that we can ensure only one parent exists, or that keys are unique in the dependencies list for example. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'projects/project.schema.yaml')
-rw-r--r--projects/project.schema.yaml22
1 files changed, 15 insertions, 7 deletions
diff --git a/projects/project.schema.yaml b/projects/project.schema.yaml
index f84b415..c5133e3 100644
--- a/projects/project.schema.yaml
+++ b/projects/project.schema.yaml
@@ -67,14 +67,22 @@ mapping:
desc: Free form URL reference # URL validation is *hard*
type: str
- parent:
- desc: A reference to another topic key which must already exist
- include: uuid
-
- dependencies:
+ relationships:
+ desc: Relationships to other data items.
sequence:
- - include: uuid
- unique: True
+ - mapping:
+ parent:
+ desc: A reference to another topic key which must already exist
+ include: uuid
+ depends:
+ desc: Items which must be closed before this item can be closed successfully
+ include: uuid
+ duplicates:
+ desc: A link to another task which refers to the same work item as this
+ include: uuid
+ blocks:
+ desc: Tasks prevented from progressing until this task is complete
+ include: uuid
target-date:
type: date