Skip to content

Commit 3f8b36c

Browse files
authored
Merge pull request #8 from codaco/feature/stage-filtering
Schema version 2
2 parents db83954 + 79d55a1 commit 3f8b36c

File tree

1 file changed

+39
-4
lines changed

1 file changed

+39
-4
lines changed

protocol.json

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "The Network Canvas development protocol is designed for our team to test new features. It is not intended for general use.",
3-
"lastModified": "2019-04-03T00:00:00.000Z",
4-
"schemaVersion": "1.0.0",
3+
"lastModified": "2019-09-01T00:00:00.000Z",
4+
"schemaVersion": "2",
55
"codebook": {
66
"node": {
77
"4aebf73e-95e3-4fd1-95e7-237dcc4a4466": {
@@ -983,15 +983,30 @@
983983
{
984984
"id": "ordinalBin1",
985985
"type": "OrdinalBin",
986-
"label": "Contact Freq.",
986+
"label": "Contact Freq for close ties",
987987
"subject": {
988988
"entity": "node",
989989
"type": "4aebf73e-95e3-4fd1-95e7-237dcc4a4466"
990990
},
991+
"filter": {
992+
"join": "AND",
993+
"rules": [
994+
{
995+
"type": "alter",
996+
"options": {
997+
"type": "4aebf73e-95e3-4fd1-95e7-237dcc4a4466",
998+
"operator": "EXACTLY",
999+
"attribute": "ae44b6ba-ad49-4ecf-bf38-b65decfce000",
1000+
"value": true
1001+
},
1002+
"id": "d1d2f846-35df-40c3-ba1c-f8e81aa2173b"
1003+
}
1004+
]
1005+
},
9911006
"prompts": [
9921007
{
9931008
"id": "contactFreq",
994-
"text": "Contact frequency ordinal variable",
1009+
"text": "Contact frequency ordinal variable for close ties only",
9951010
"variable": "1096204b-48fe-444c-b642-4ab211f7f57c",
9961011
"bucketSortOrder": [
9971012
{
@@ -1432,6 +1447,26 @@
14321447
"introductionPanel": {
14331448
"title": "Introduction to the alter form",
14341449
"text": "This is some **markdown** that \n* explains this interface and \n* is *marked down*. \n\nBelow this might be as much additional text as the researcher desires. The container that this content is in should dynamically expand to accommodate that."
1450+
},
1451+
"skipLogic": {
1452+
"action": "SKIP",
1453+
"filter": {
1454+
"join": "AND",
1455+
"rules": [
1456+
{
1457+
"type": "alter",
1458+
"options": {
1459+
"type": "4aebf73e-95e3-4fd1-95e7-237dcc4a4466",
1460+
"operator": "INCLUDES",
1461+
"attribute": "e343a91f-628d-4175-870c-957beffa0153",
1462+
"value": [
1463+
"two"
1464+
]
1465+
},
1466+
"id": "d9f1e1cb-59ee-4ed8-84d1-37a81518db04"
1467+
}
1468+
]
1469+
}
14351470
}
14361471
},
14371472
{

0 commit comments

Comments
 (0)