From d99d80cccd95235e556beccada4e78d215861930 Mon Sep 17 00:00:00 2001 From: Christina Conrad <114612268+cconrad8@users.noreply.github.com> Date: Fri, 25 Oct 2024 16:30:28 +0000 Subject: [PATCH] new schema mapper --- .../genericAllocationForm.json | 420 ++-- .../genericAllocationFormUpdated.json | 2057 +++++++++++++++++ draft-data-models/sage-allocation/mapper.html | 69 + draft-data-models/sage-allocation/mapper.py | 39 + 4 files changed, 2375 insertions(+), 210 deletions(-) create mode 100644 draft-data-models/sage-allocation/genericAllocationFormUpdated.json create mode 100644 draft-data-models/sage-allocation/mapper.html create mode 100644 draft-data-models/sage-allocation/mapper.py diff --git a/draft-data-models/sage-allocation/genericAllocationForm.json b/draft-data-models/sage-allocation/genericAllocationForm.json index 9d14577..e993dde 100644 --- a/draft-data-models/sage-allocation/genericAllocationForm.json +++ b/draft-data-models/sage-allocation/genericAllocationForm.json @@ -9,13 +9,13 @@ "projectCategory": { "type": "string", "title": "What kind of project is this?", - "default": "p1", + "default": "@id:p1", "enum": [ - "p1", - "p2", - "p3", - "p4", - "p5" + "@id:p1", + "@id:p2", + "@id:p3", + "@id:p4", + "@id:p5" ] } } @@ -38,14 +38,14 @@ "type": "object", "title": "", "properties": { - "a1": { + "@id:a1": { "type": "string", - "title": "Will you require a1?", - "default": "a1e1", + "title": "Will you require @id:a1?", + "default": "@id:a1e1", "enum": [ - "a1e1", - "a1e2", - "a1e3" + "@id:a1e1", + "@id:a1e2", + "@id:a1e3" ] } } @@ -54,14 +54,14 @@ "type": "object", "title": "", "properties": { - "a2": { + "@id:a2": { "type": "string", - "title": "Will you require a2?", - "default": "a2e1", + "title": "Will you require @id:a2?", + "default": "@id:a2e1", "enum": [ - "a2e1", - "a2e2", - "a2e3" + "@id:a2e1", + "@id:a2e2", + "@id:a2e3" ] } } @@ -70,14 +70,14 @@ "type": "object", "title": "", "properties": { - "a3": { + "@id:a3": { "type": "string", - "title": "Will you require a3?", - "default": "a3e1", + "title": "Will you require @id:a3?", + "default": "@id:a3e1", "enum": [ - "a3e1", - "a3e2", - "a3e3" + "@id:a3e1", + "@id:a3e2", + "@id:a3e3" ] } } @@ -86,14 +86,14 @@ "type": "object", "title": "", "properties": { - "a4": { + "@id:a4": { "type": "string", - "title": "Will you require a4?", - "default": "a4e1", + "title": "Will you require @id:a4?", + "default": "@id:a4e1", "enum": [ - "a4e1", - "a4e2", - "a4e3" + "@id:a4e1", + "@id:a4e2", + "@id:a4e3" ] } } @@ -102,14 +102,14 @@ "type": "object", "title": "", "properties": { - "a5": { + "@id:a5": { "type": "string", - "title": "Will you require a5?", - "default": "a5e1", + "title": "Will you require @id:a5?", + "default": "@id:a5e1", "enum": [ - "a5e1", - "a5e2", - "a5e3" + "@id:a5e1", + "@id:a5e2", + "@id:a5e3" ] } } @@ -118,14 +118,14 @@ "type": "object", "title": "", "properties": { - "a6": { + "@id:a6": { "type": "string", - "title": "Will you require a6?", - "default": "a6e1", + "title": "Will you require @id:a6?", + "default": "@id:a6e1", "enum": [ - "a6e1", - "a6e2", - "a6e3" + "@id:a6e1", + "@id:a6e2", + "@id:a6e3" ] } } @@ -162,9 +162,9 @@ "properties": { "a1Module": { "properties": { - "a1": { + "@id:a1": { "enum": [ - "a1e2" + "@id:a1e2" ] } } @@ -184,9 +184,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a1e2r1", + "title": "@id:a1e2r1", "default": true } } @@ -195,9 +195,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a1e2r2", + "title": "@id:a1e2r2", "default": true } } @@ -206,9 +206,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a1e2r3", + "title": "@id:a1e2r3", "default": true } } @@ -217,9 +217,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a1e2r4", + "title": "@id:a1e2r4", "default": true } } @@ -236,9 +236,9 @@ "properties": { "a1Module": { "properties": { - "a1": { + "@id:a1": { "enum": [ - "a1e3" + "@id:a1e3" ] } } @@ -258,9 +258,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a1e3r1", + "title": "@id:a1e3r1", "default": true } } @@ -269,9 +269,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a1e3r2", + "title": "@id:a1e3r2", "default": true } } @@ -280,9 +280,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a1e3r3", + "title": "@id:a1e3r3", "default": true } } @@ -291,9 +291,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a1e3r4", + "title": "@id:a1e3r4", "default": true } } @@ -314,7 +314,7 @@ "properties": { "r1Module": { "properties": { - "r1": { + "@id:r1": { "const": false } } @@ -335,7 +335,7 @@ "properties": { "r1Comment": { "type": "string", - "title": "Please comment with requests to allocation for r1", + "title": "Please comment with requests to allocation for @id:r1", "minLength": 1 } } @@ -356,7 +356,7 @@ "properties": { "r2Module": { "properties": { - "r2": { + "@id:r2": { "const": false } } @@ -377,7 +377,7 @@ "properties": { "r2Comment": { "type": "string", - "title": "Please comment with requests to allocation for r2", + "title": "Please comment with requests to allocation for @id:r2", "minLength": 1 } } @@ -398,7 +398,7 @@ "properties": { "r3Module": { "properties": { - "r3": { + "@id:r3": { "const": false } } @@ -419,7 +419,7 @@ "properties": { "r3Comment": { "type": "string", - "title": "Please comment with requests to allocation for r3", + "title": "Please comment with requests to allocation for @id:r3", "minLength": 1 } } @@ -440,7 +440,7 @@ "properties": { "r4Module": { "properties": { - "r4": { + "@id:r4": { "const": false } } @@ -461,7 +461,7 @@ "properties": { "r4Comment": { "type": "string", - "title": "Please comment with requests to allocation for r4", + "title": "Please comment with requests to allocation for @id:r4", "minLength": 1 } } @@ -478,9 +478,9 @@ "properties": { "a2Module": { "properties": { - "a2": { + "@id:a2": { "enum": [ - "a2e2" + "@id:a2e2" ] } } @@ -500,9 +500,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a2e2r1", + "title": "@id:a2e2r1", "default": true } } @@ -511,9 +511,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a2e2r2", + "title": "@id:a2e2r2", "default": true } } @@ -522,9 +522,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a2e2r3", + "title": "@id:a2e2r3", "default": true } } @@ -533,9 +533,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a2e2r4", + "title": "@id:a2e2r4", "default": true } } @@ -552,9 +552,9 @@ "properties": { "a2Module": { "properties": { - "a2": { + "@id:a2": { "enum": [ - "a2e3" + "@id:a2e3" ] } } @@ -574,9 +574,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a2e3r1", + "title": "@id:a2e3r1", "default": true } } @@ -585,9 +585,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a2e3r2", + "title": "@id:a2e3r2", "default": true } } @@ -596,9 +596,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a2e3r3", + "title": "@id:a2e3r3", "default": true } } @@ -607,9 +607,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a2e3r4", + "title": "@id:a2e3r4", "default": true } } @@ -630,7 +630,7 @@ "properties": { "r1Module": { "properties": { - "r1": { + "@id:r1": { "const": false } } @@ -651,7 +651,7 @@ "properties": { "r1Comment": { "type": "string", - "title": "Please comment with requests to allocation for r1", + "title": "Please comment with requests to allocation for @id:r1", "minLength": 1 } } @@ -672,7 +672,7 @@ "properties": { "r2Module": { "properties": { - "r2": { + "@id:r2": { "const": false } } @@ -693,7 +693,7 @@ "properties": { "r2Comment": { "type": "string", - "title": "Please comment with requests to allocation for r2", + "title": "Please comment with requests to allocation for @id:r2", "minLength": 1 } } @@ -714,7 +714,7 @@ "properties": { "r3Module": { "properties": { - "r3": { + "@id:r3": { "const": false } } @@ -735,7 +735,7 @@ "properties": { "r3Comment": { "type": "string", - "title": "Please comment with requests to allocation for r3", + "title": "Please comment with requests to allocation for @id:r3", "minLength": 1 } } @@ -756,7 +756,7 @@ "properties": { "r4Module": { "properties": { - "r4": { + "@id:r4": { "const": false } } @@ -777,7 +777,7 @@ "properties": { "r4Comment": { "type": "string", - "title": "Please comment with requests to allocation for r4", + "title": "Please comment with requests to allocation for @id:r4", "minLength": 1 } } @@ -794,9 +794,9 @@ "properties": { "a3Module": { "properties": { - "a3": { + "@id:a3": { "enum": [ - "a3e2" + "@id:a3e2" ] } } @@ -816,9 +816,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a3e2r1", + "title": "@id:a3e2r1", "default": true } } @@ -827,9 +827,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a3e2r2", + "title": "@id:a3e2r2", "default": true } } @@ -838,9 +838,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a3e2r3", + "title": "@id:a3e2r3", "default": true } } @@ -849,9 +849,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a3e2r4", + "title": "@id:a3e2r4", "default": true } } @@ -868,9 +868,9 @@ "properties": { "a3Module": { "properties": { - "a3": { + "@id:a3": { "enum": [ - "a3e3" + "@id:a3e3" ] } } @@ -890,9 +890,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a3e3r1", + "title": "@id:a3e3r1", "default": true } } @@ -901,9 +901,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a3e3r2", + "title": "@id:a3e3r2", "default": true } } @@ -912,9 +912,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a3e3r3", + "title": "@id:a3e3r3", "default": true } } @@ -923,9 +923,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a3e3r4", + "title": "@id:a3e3r4", "default": true } } @@ -946,7 +946,7 @@ "properties": { "r1Module": { "properties": { - "r1": { + "@id:r1": { "const": false } } @@ -967,7 +967,7 @@ "properties": { "r1Comment": { "type": "string", - "title": "Please comment with requests to allocation for r1", + "title": "Please comment with requests to allocation for @id:r1", "minLength": 1 } } @@ -988,7 +988,7 @@ "properties": { "r2Module": { "properties": { - "r2": { + "@id:r2": { "const": false } } @@ -1009,7 +1009,7 @@ "properties": { "r2Comment": { "type": "string", - "title": "Please comment with requests to allocation for r2", + "title": "Please comment with requests to allocation for @id:r2", "minLength": 1 } } @@ -1030,7 +1030,7 @@ "properties": { "r3Module": { "properties": { - "r3": { + "@id:r3": { "const": false } } @@ -1051,7 +1051,7 @@ "properties": { "r3Comment": { "type": "string", - "title": "Please comment with requests to allocation for r3", + "title": "Please comment with requests to allocation for @id:r3", "minLength": 1 } } @@ -1072,7 +1072,7 @@ "properties": { "r4Module": { "properties": { - "r4": { + "@id:r4": { "const": false } } @@ -1093,7 +1093,7 @@ "properties": { "r4Comment": { "type": "string", - "title": "Please comment with requests to allocation for r4", + "title": "Please comment with requests to allocation for @id:r4", "minLength": 1 } } @@ -1110,9 +1110,9 @@ "properties": { "a4Module": { "properties": { - "a4": { + "@id:a4": { "enum": [ - "a4e2" + "@id:a4e2" ] } } @@ -1132,9 +1132,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a4e2r1", + "title": "@id:a4e2r1", "default": true } } @@ -1143,9 +1143,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a4e2r2", + "title": "@id:a4e2r2", "default": true } } @@ -1154,9 +1154,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a4e2r3", + "title": "@id:a4e2r3", "default": true } } @@ -1165,9 +1165,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a4e2r4", + "title": "@id:a4e2r4", "default": true } } @@ -1184,9 +1184,9 @@ "properties": { "a4Module": { "properties": { - "a4": { + "@id:a4": { "enum": [ - "a4e3" + "@id:a4e3" ] } } @@ -1206,9 +1206,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a4e3r1", + "title": "@id:a4e3r1", "default": true } } @@ -1217,9 +1217,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a4e3r2", + "title": "@id:a4e3r2", "default": true } } @@ -1228,9 +1228,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a4e3r3", + "title": "@id:a4e3r3", "default": true } } @@ -1239,9 +1239,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a4e3r4", + "title": "@id:a4e3r4", "default": true } } @@ -1262,7 +1262,7 @@ "properties": { "r1Module": { "properties": { - "r1": { + "@id:r1": { "const": false } } @@ -1283,7 +1283,7 @@ "properties": { "r1Comment": { "type": "string", - "title": "Please comment with requests to allocation for r1", + "title": "Please comment with requests to allocation for @id:r1", "minLength": 1 } } @@ -1304,7 +1304,7 @@ "properties": { "r2Module": { "properties": { - "r2": { + "@id:r2": { "const": false } } @@ -1325,7 +1325,7 @@ "properties": { "r2Comment": { "type": "string", - "title": "Please comment with requests to allocation for r2", + "title": "Please comment with requests to allocation for @id:r2", "minLength": 1 } } @@ -1346,7 +1346,7 @@ "properties": { "r3Module": { "properties": { - "r3": { + "@id:r3": { "const": false } } @@ -1367,7 +1367,7 @@ "properties": { "r3Comment": { "type": "string", - "title": "Please comment with requests to allocation for r3", + "title": "Please comment with requests to allocation for @id:r3", "minLength": 1 } } @@ -1388,7 +1388,7 @@ "properties": { "r4Module": { "properties": { - "r4": { + "@id:r4": { "const": false } } @@ -1409,7 +1409,7 @@ "properties": { "r4Comment": { "type": "string", - "title": "Please comment with requests to allocation for r4", + "title": "Please comment with requests to allocation for @id:r4", "minLength": 1 } } @@ -1426,9 +1426,9 @@ "properties": { "a5Module": { "properties": { - "a5": { + "@id:a5": { "enum": [ - "a5e2" + "@id:a5e2" ] } } @@ -1448,9 +1448,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a5e2r1", + "title": "@id:a5e2r1", "default": true } } @@ -1459,9 +1459,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a5e2r2", + "title": "@id:a5e2r2", "default": true } } @@ -1470,9 +1470,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a5e2r3", + "title": "@id:a5e2r3", "default": true } } @@ -1481,9 +1481,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a5e2r4", + "title": "@id:a5e2r4", "default": true } } @@ -1500,9 +1500,9 @@ "properties": { "a5Module": { "properties": { - "a5": { + "@id:a5": { "enum": [ - "a5e3" + "@id:a5e3" ] } } @@ -1522,9 +1522,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a5e3r1", + "title": "@id:a5e3r1", "default": true } } @@ -1533,9 +1533,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a5e3r2", + "title": "@id:a5e3r2", "default": true } } @@ -1544,9 +1544,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a5e3r3", + "title": "@id:a5e3r3", "default": true } } @@ -1555,9 +1555,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a5e3r4", + "title": "@id:a5e3r4", "default": true } } @@ -1578,7 +1578,7 @@ "properties": { "r1Module": { "properties": { - "r1": { + "@id:r1": { "const": false } } @@ -1599,7 +1599,7 @@ "properties": { "r1Comment": { "type": "string", - "title": "Please comment with requests to allocation for r1", + "title": "Please comment with requests to allocation for @id:r1", "minLength": 1 } } @@ -1620,7 +1620,7 @@ "properties": { "r2Module": { "properties": { - "r2": { + "@id:r2": { "const": false } } @@ -1641,7 +1641,7 @@ "properties": { "r2Comment": { "type": "string", - "title": "Please comment with requests to allocation for r2", + "title": "Please comment with requests to allocation for @id:r2", "minLength": 1 } } @@ -1662,7 +1662,7 @@ "properties": { "r3Module": { "properties": { - "r3": { + "@id:r3": { "const": false } } @@ -1683,7 +1683,7 @@ "properties": { "r3Comment": { "type": "string", - "title": "Please comment with requests to allocation for r3", + "title": "Please comment with requests to allocation for @id:r3", "minLength": 1 } } @@ -1704,7 +1704,7 @@ "properties": { "r4Module": { "properties": { - "r4": { + "@id:r4": { "const": false } } @@ -1725,7 +1725,7 @@ "properties": { "r4Comment": { "type": "string", - "title": "Please comment with requests to allocation for r4", + "title": "Please comment with requests to allocation for @id:r4", "minLength": 1 } } @@ -1742,9 +1742,9 @@ "properties": { "a6Module": { "properties": { - "a6": { + "@id:a6": { "enum": [ - "a6e2" + "@id:a6e2" ] } } @@ -1764,9 +1764,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a6e2r1", + "title": "@id:a6e2r1", "default": true } } @@ -1775,9 +1775,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a6e2r2", + "title": "@id:a6e2r2", "default": true } } @@ -1786,9 +1786,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a6e2r3", + "title": "@id:a6e2r3", "default": true } } @@ -1797,9 +1797,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a6e2r4", + "title": "@id:a6e2r4", "default": true } } @@ -1816,9 +1816,9 @@ "properties": { "a6Module": { "properties": { - "a6": { + "@id:a6": { "enum": [ - "a6e3" + "@id:a6e3" ] } } @@ -1838,9 +1838,9 @@ "type": "object", "title": "", "properties": { - "r1": { + "@id:r1": { "type": "boolean", - "title": "a6e3r1", + "title": "@id:a6e3r1", "default": true } } @@ -1849,9 +1849,9 @@ "type": "object", "title": "", "properties": { - "r2": { + "@id:r2": { "type": "boolean", - "title": "a6e3r2", + "title": "@id:a6e3r2", "default": true } } @@ -1860,9 +1860,9 @@ "type": "object", "title": "", "properties": { - "r3": { + "@id:r3": { "type": "boolean", - "title": "a6e3r3", + "title": "@id:a6e3r3", "default": true } } @@ -1871,9 +1871,9 @@ "type": "object", "title": "", "properties": { - "r4": { + "@id:r4": { "type": "boolean", - "title": "a6e3r4", + "title": "@id:a6e3r4", "default": true } } @@ -1894,7 +1894,7 @@ "properties": { "r1Module": { "properties": { - "r1": { + "@id:r1": { "const": false } } @@ -1915,7 +1915,7 @@ "properties": { "r1Comment": { "type": "string", - "title": "Please comment with requests to allocation for r1", + "title": "Please comment with requests to allocation for @id:r1", "minLength": 1 } } @@ -1936,7 +1936,7 @@ "properties": { "r2Module": { "properties": { - "r2": { + "@id:r2": { "const": false } } @@ -1957,7 +1957,7 @@ "properties": { "r2Comment": { "type": "string", - "title": "Please comment with requests to allocation for r2", + "title": "Please comment with requests to allocation for @id:r2", "minLength": 1 } } @@ -1978,7 +1978,7 @@ "properties": { "r3Module": { "properties": { - "r3": { + "@id:r3": { "const": false } } @@ -1999,7 +1999,7 @@ "properties": { "r3Comment": { "type": "string", - "title": "Please comment with requests to allocation for r3", + "title": "Please comment with requests to allocation for @id:r3", "minLength": 1 } } @@ -2020,7 +2020,7 @@ "properties": { "r4Module": { "properties": { - "r4": { + "@id:r4": { "const": false } } @@ -2041,7 +2041,7 @@ "properties": { "r4Comment": { "type": "string", - "title": "Please comment with requests to allocation for r4", + "title": "Please comment with requests to allocation for @id:r4", "minLength": 1 } } diff --git a/draft-data-models/sage-allocation/genericAllocationFormUpdated.json b/draft-data-models/sage-allocation/genericAllocationFormUpdated.json new file mode 100644 index 0000000..9acb225 --- /dev/null +++ b/draft-data-models/sage-allocation/genericAllocationFormUpdated.json @@ -0,0 +1,2057 @@ +{ + "title": "Effort Based Cost Estimator Generic", + "type": "object", + "properties": { + "category": { + "type": "object", + "title": "", + "properties": { + "projectCategory": { + "type": "string", + "title": "What kind of project is this?", + "default": "New DCC", + "enum": [ + "p1", + "p2", + "p3", + "p4", + "p5" + ] + } + } + }, + "projectInfo": { + "type": "object", + "title": "", + "properties": { + "projectName": { + "type": "string", + "title": "Project Name" + }, + "projectLead": { + "type": "string", + "title": "Project Lead(s) Name(s)" + } + } + }, + "a1Module": { + "type": "object", + "title": "", + "properties": { + "a1": { + "type": "string", + "title": "Will you require a1?", + "default": "Yes, using existing workflows", + "enum": [ + "a1e1", + "a1e2", + "a1e3" + ] + } + } + }, + "a2Module": { + "type": "object", + "title": "", + "properties": { + "a2": { + "type": "string", + "title": "Will you require a2?", + "default": "Data stored in Synapse - US Data Contributors", + "enum": [ + "a2e1", + "a2e2", + "a2e3" + ] + } + } + }, + "a3Module": { + "type": "object", + "title": "", + "properties": { + "a3": { + "type": "string", + "title": "Will you require a3?", + "default": "New Portal w/ existing components or minor changes", + "enum": [ + "a3e1", + "a3e2", + "a3e3" + ] + } + } + }, + "a4Module": { + "type": "object", + "title": "", + "properties": { + "a4": { + "type": "string", + "title": "Will you require a4?", + "default": "Utilizing DCQC", + "enum": [ + "a4e1", + "a4e2", + "a4e3" + ] + } + } + }, + "a5Module": { + "type": "object", + "title": "", + "properties": { + "a5": { + "type": "string", + "title": "Will you require a5?", + "default": "Data Curation and Management - Large Consortia", + "enum": [ + "a5e1", + "a5e2", + "a5e3" + ] + } + } + }, + "a6Module": { + "type": "object", + "title": "", + "properties": { + "a6": { + "type": "string", + "title": "Will you require a6?", + "default": "Snowflake dashboard/metrics", + "enum": [ + "a6e1", + "a6e2", + "a6e3" + ] + } + } + } + }, + "allOf": [ + { + "if": { + "properties": { + "category": { + "properties": { + "projectCategory": { + "const": "Other" + } + } + } + } + }, + "then": { + "properties": { + "category": { + "properties": { + "otherProjectCategory": { + "type": "string", + "title": "Please specify the type of project" + } + } + } + } + } + }, + { + "if": { + "properties": { + "a1Module": { + "properties": { + "a1": { + "enum": [ + "a1e2" + ] + } + } + } + } + }, + "then": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a1e2r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a1e2r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a1e2r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a1e2r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a1Module": { + "properties": { + "a1": { + "enum": [ + "a1e3" + ] + } + } + } + } + }, + "then": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a1e3r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a1e3r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a1e3r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a1e3r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r1", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r2", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r3", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a1Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r4", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a2Module": { + "properties": { + "a2": { + "enum": [ + "a2e2" + ] + } + } + } + } + }, + "then": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a2e2r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a2e2r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a2e2r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a2e2r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a2Module": { + "properties": { + "a2": { + "enum": [ + "a2e3" + ] + } + } + } + } + }, + "then": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a2e3r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a2e3r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a2e3r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a2e3r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r1", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r2", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r3", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a2Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r4", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a3Module": { + "properties": { + "a3": { + "enum": [ + "a3e2" + ] + } + } + } + } + }, + "then": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a3e2r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a3e2r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a3e2r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a3e2r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a3Module": { + "properties": { + "a3": { + "enum": [ + "a3e3" + ] + } + } + } + } + }, + "then": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a3e3r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a3e3r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a3e3r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a3e3r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r1", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r2", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r3", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a3Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r4", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a4Module": { + "properties": { + "a4": { + "enum": [ + "a4e2" + ] + } + } + } + } + }, + "then": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a4e2r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a4e2r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a4e2r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a4e2r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a4Module": { + "properties": { + "a4": { + "enum": [ + "a4e3" + ] + } + } + } + } + }, + "then": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a4e3r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a4e3r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a4e3r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a4e3r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r1", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r2", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r3", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a4Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r4", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a5Module": { + "properties": { + "a5": { + "enum": [ + "a5e2" + ] + } + } + } + } + }, + "then": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a5e2r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a5e2r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a5e2r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a5e2r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a5Module": { + "properties": { + "a5": { + "enum": [ + "a5e3" + ] + } + } + } + } + }, + "then": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a5e3r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a5e3r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a5e3r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a5e3r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r1", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r2", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r3", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a5Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r4", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a6Module": { + "properties": { + "a6": { + "enum": [ + "a6e2" + ] + } + } + } + } + }, + "then": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a6e2r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a6e2r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a6e2r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a6e2r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a6Module": { + "properties": { + "a6": { + "enum": [ + "a6e3" + ] + } + } + } + } + }, + "then": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "type": "object", + "title": "", + "description": "If you agree, leave these boxes checked. If you want to request changes, please uncheck the box and specify the allocation.", + "properties": { + "r1Module": { + "type": "object", + "title": "", + "properties": { + "r1": { + "type": "boolean", + "title": "a6e3r1", + "default": true + } + } + }, + "r2Module": { + "type": "object", + "title": "", + "properties": { + "r2": { + "type": "boolean", + "title": "a6e3r2", + "default": true + } + } + }, + "r3Module": { + "type": "object", + "title": "", + "properties": { + "r3": { + "type": "boolean", + "title": "a6e3r3", + "default": true + } + } + }, + "r4Module": { + "type": "object", + "title": "", + "properties": { + "r4": { + "type": "boolean", + "title": "a6e3r4", + "default": true + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r1Module": { + "properties": { + "r1Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r1", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r2Module": { + "properties": { + "r2Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r2", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r3Module": { + "properties": { + "r3Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r3", + "minLength": 1 + } + } + } + } + } + } + } + } + } + }, + { + "if": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4": { + "const": false + } + } + } + } + } + } + } + } + }, + "then": { + "properties": { + "a6Module": { + "properties": { + "rModule": { + "properties": { + "r4Module": { + "properties": { + "r4Comment": { + "type": "string", + "title": "Please comment with requests to allocation for r4", + "minLength": 1 + } + } + } + } + } + } + } + } + } + } + ] +} \ No newline at end of file diff --git a/draft-data-models/sage-allocation/mapper.html b/draft-data-models/sage-allocation/mapper.html new file mode 100644 index 0000000..b6a919f --- /dev/null +++ b/draft-data-models/sage-allocation/mapper.html @@ -0,0 +1,69 @@ + + +
+ + +