From d0634443e5f7b3ea475537adb0b2a95dfb94e5eb Mon Sep 17 00:00:00 2001 From: wbglaeser Date: Fri, 7 Jun 2024 18:51:28 +0100 Subject: [PATCH] update section jsons --- .../assets/data/profile-sections/children.json | 17 ++++------------- .../assets/data/profile-sections/education.json | 14 ++------------ public/assets/data/profile-sections/income.json | 17 ++++++----------- public/assets/data/profile-sections/job.json | 13 ++++--------- 4 files changed, 16 insertions(+), 45 deletions(-) diff --git a/public/assets/data/profile-sections/children.json b/public/assets/data/profile-sections/children.json index b16ee954..b8862b3c 100644 --- a/public/assets/data/profile-sections/children.json +++ b/public/assets/data/profile-sections/children.json @@ -3,19 +3,10 @@ "title": "Children", "fields": [ { - "datafield": "ff:hasBirthday", - "title": "When is your birthday?", - "datatype": "date" - }, - { - "datafield": "ff:hasBirthPlace", - "title": "Where were you born?", - "datatype": "string" - }, - { - "datafield": "ff:hasResidence", - "title": "Where do you live?", - "datatype": "string" + "datafield": "ff:hasChild", + "title": "If any how many children do you want to add?", + "datatype": "class", + "objectClass": "ff:Child" } ] } diff --git a/public/assets/data/profile-sections/education.json b/public/assets/data/profile-sections/education.json index 2bc3c6f3..c474f808 100644 --- a/public/assets/data/profile-sections/education.json +++ b/public/assets/data/profile-sections/education.json @@ -3,18 +3,8 @@ "title": "Education", "fields": [ { - "datafield": "ff:hasBirthday", - "title": "When is your birthday?", - "datatype": "date" - }, - { - "datafield": "ff:hasBirthPlace", - "title": "Where were you born?", - "datatype": "string" - }, - { - "datafield": "ff:hasResidence", - "title": "Where do you live?", + "datafield": "ff:hasEducationLevel", + "title": "What is your highest level of eduction?", "datatype": "string" } ] diff --git a/public/assets/data/profile-sections/income.json b/public/assets/data/profile-sections/income.json index aade2682..5dd53be1 100644 --- a/public/assets/data/profile-sections/income.json +++ b/public/assets/data/profile-sections/income.json @@ -3,19 +3,14 @@ "title": "Income", "fields": [ { - "datafield": "ff:hasBirthday", - "title": "When is your birthday?", - "datatype": "date" + "datafield": "ff:hasIncomeBrutto", + "title": "What is your income BEFORE taxes?", + "datatype": "integer" }, { - "datafield": "ff:hasBirthPlace", - "title": "Where were you born?", - "datatype": "string" - }, - { - "datafield": "ff:hasResidence", - "title": "Where do you live?", - "datatype": "string" + "datafield": "ff:hasIncomeNetto", + "title": "What is your income AFTER taxes?", + "datatype": "integer" } ] } diff --git a/public/assets/data/profile-sections/job.json b/public/assets/data/profile-sections/job.json index 273ef030..07b95779 100644 --- a/public/assets/data/profile-sections/job.json +++ b/public/assets/data/profile-sections/job.json @@ -3,18 +3,13 @@ "title": "Job", "fields": [ { - "datafield": "ff:hasBirthday", - "title": "When is your birthday?", - "datatype": "date" - }, - { - "datafield": "ff:hasBirthPlace", - "title": "Where were you born?", + "datafield": "ff:hasEmployment", + "title": "Where are you employed?", "datatype": "string" }, { - "datafield": "ff:hasResidence", - "title": "Where do you live?", + "datafield": "ff:hasEmploymentType", + "title": "What is your employment type?", "datatype": "string" } ]