Themes(school): small fixes to special need school tagging

This commit is contained in:
Pieter Vander Vennet 2025-01-31 15:17:27 +01:00
parent 2ec369f259
commit f3aa8e015b

View file

@ -159,6 +159,7 @@
"id": "school-name" "id": "school-name"
}, },
"contact", "contact",
"address.address",
{ {
"id": "capacity", "id": "capacity",
"question": { "question": {
@ -322,13 +323,14 @@
{ {
"or": [ "or": [
"school:special_needs=no", "school:special_needs=no",
"school:special_needs=" "school:special_needs=",
"school:special_needs=limited"
] ]
}, }
"special_needs:.*!~~yes"
] ]
}, },
"multiAnswer": true, "multiAnswer": true,
"filter": true,
"mappings": [ "mappings": [
{ {
"if": "school:orientation=academic", "if": "school:orientation=academic",
@ -555,6 +557,7 @@
}, },
{ {
"if": "school:special_needs=limited", "if": "school:special_needs=limited",
"alsoShowIf": "school:special_needs=",
"then": { "then": {
"en": "This school offers limited, ad hoc support but has no significant expertise and is not considered a special needs school.", "en": "This school offers limited, ad hoc support but has no significant expertise and is not considered a special needs school.",
"nl": "Deze school biedt ad hoc, beperkte extra zorg aan maar telt niet als buitengwoon onderwij.s" "nl": "Deze school biedt ad hoc, beperkte extra zorg aan maar telt niet als buitengwoon onderwij.s"
@ -566,6 +569,14 @@
"en": "This school has no support for special need students.", "en": "This school has no support for special need students.",
"nl": "Deze school heeft geen ondersteuning voor buitengewone leerlingen." "nl": "Deze school heeft geen ondersteuning voor buitengewone leerlingen."
} }
},
{
"if": "school:special_needs=yes",
"hideInAnswer": true,
"then": {
"en": "This school is for special need students.",
"nl": "Deze school is voor buitengewone leerlingen."
}
} }
] ]
}, },
@ -794,6 +805,11 @@
{ {
"id": "has_special_needs", "id": "has_special_needs",
"options": [ "options": [
{
"question": {
"en": "Does this school have special need education?"
}
},
{ {
"question": { "question": {
"en": "Has special education", "en": "Has special education",
@ -805,6 +821,18 @@
"school:special_needs!=no" "school:special_needs!=no"
] ]
} }
},
{
"question": {
"en": "No or limited special need education"
},
"osmTags": {
"or": [
"school:special_needs=",
"school:special_needs=no",
"school:special_needs=limited"
]
}
} }
] ]
} }