diff --git a/assets/layers/tool_library/tool_library.json b/assets/layers/tool_library/tool_library.json
index 015472846..c52d1ba93 100644
--- a/assets/layers/tool_library/tool_library.json
+++ b/assets/layers/tool_library/tool_library.json
@@ -52,6 +52,12 @@
"then": {
"en": "A membership is required to use this tool library"
}
+ },
+ {
+ "if": "membership=optional",
+ "then": {
+ "en": "A membership is possible but not required to use this tool library"
+ }
}
]
},
@@ -72,18 +78,30 @@
"en": "A membership costs {charge:membership}"
}
},
-
{
"question": {
"en": "Is a fee asked to borrow tools?"
},
"id": "fee",
"mappings": [
+ {
+ "if": {
+ "and": [
+ "fee=no",
+ "membership=required"
+ ]
+ },
+ "then": {
+ "en": "Borrowing tools is free if one has a membership"
+ },
+ "hideInAnswer": "membership!=required"
+ },
{
"if": "fee=no",
"then": {
"en": "Borrowing tools is free"
- }
+ },
+ "hideInAnswer": "membership=required"
},
{
"if": "fee=yes",
@@ -144,7 +162,11 @@
"charge:membership": {
"inverted": true,
"quantity": "duration",
- "denominations": ["years","months","weeks"]
+ "denominations": [
+ "years",
+ "months",
+ "weeks"
+ ]
}
}
]