Skip to content

Instantly share code, notes, and snippets.

@Bullsized
Last active November 7, 2022 10:21
Show Gist options
  • Save Bullsized/b63b11eefe8164a431fa403d25bc3b38 to your computer and use it in GitHub Desktop.
Save Bullsized/b63b11eefe8164a431fa403d25bc3b38 to your computer and use it in GitHub Desktop.
For testing 87 and 154 - FULLTESTPERIOD adjusted
created: 1650542907
defaultOrganizationId: 11
definitionVersion: 1
formId: 21
updated: 1667816235
name: FULLTEST
id: 45
eventHooks:
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: Test-delete-upon-rejection
type: delete-answers
formVersionId: 45
config:
blocks:
- verification1
- verification2
- verification3
- verification4
questions:
- id-photo
- neutral-selfie
- selfie-and-id
- verification-code
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: unique-matriculation-check
type: unique-answer-check
formVersionId: 45
config:
questions:
- matriculation-nr
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: grant-amount
type: weight-to-suggested-amount
formVersionId: 45
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: comm-email-and-phone
type: set-metadata
formVersionId: 45
config:
metadata:
- name: comm-email
value: "{{ email }}"
- name: comm-phone
value: "{{ phoneverification }}"
rules:
- type: if-then
criteria:
- operator: =
question: alternative-communication
value: email-and-phone
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: Buyback-status-hook
type: set-metadata
formVersionId: 45
config:
metadata:
- name: buyback-status
value: "{{ status }}"
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: comm-neither
type: set-metadata
formVersionId: 45
config:
metadata:
- name: comm-email
- name: comm-phone
rules:
- type: if-then
criteria:
- operator: =
question: alternative-communication
value: no-contact-
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: full-name-check
type: multi-answer-check
formVersionId: 45
config:
questions:
- first-name
- last-name
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: Legal-status-hook
type: set-metadata
formVersionId: 45
config:
metadata:
- name: legal-status
value: "{{ status }}"
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: Delete-unused-answers
type: clean-unused-answers
formVersionId: 45
config:
deleteHistory: submit-only
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: comm-only-email
type: set-metadata
formVersionId: 45
config:
metadata:
- name: comm-email
value: "{{ email }}"
- name: comm-phone
rules:
- type: if-then
criteria:
- operator: =
question: alternative-communication
value: email
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: comm-only-phone
type: set-metadata
formVersionId: 45
config:
metadata:
- name: comm-phone
value: "{{ phoneverification }}"
- name: comm-email
rules:
- type: if-then
criteria:
- operator: =
question: alternative-communication
value: phone
- active: true
created: 1650542917
order: 0
updated: 1650542917
name: Test-delete-upon-approval
type: delete-answers
formVersionId: 45
config:
blocks: []
questions:
- id-photo
- neutral-selfie
- selfie-and-id
- verification-code
formPresentation:
pages:
- name: about-you
groups:
- name: universitygroup
type: advanced
content:
- name: university
type: question
- name: personal-info
type: advanced
content:
- name: matriculation-nr
type: question
- name: identity-type
type: question
- name: first-name
type: question
- name: last-name
type: question
- name: birth-name
type: question
- name: address
type: question
- name: app-no
type: question
- name: zipcode
type: question
- name: city
type: question
- name: country
type: question
- name: account-info
type: advanced
content:
- name: account-holder
type: question
- name: bank-name
type: question
- name: account-number
type: question
- name: identity
groups:
- name: id-docs
type: advanced
content:
- name: id-photo
type: question
- name: neutral-selfie
type: question
- name: selfie-and-id
type: question
- name: verification-code
type: question
- name: reason
groups:
- hideDescription: true
hideTitle: true
name: dates-warning-alert-reason
type: advanced
content:
- dismissable: true
color: primary
icon: mail
name: alert-reason
type: alert
fill: true
rules:
- duration: P1D
type: application-age
- name: reason
type: advanced
content:
- name: reason
type: question
- name: reason-details
groups:
- name: state-ticket-details
type: advanced
content:
- name: state-ticket-file
type: question
- name: state-ticket-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: state-ticket
- name: leave-of-absence-details
type: advanced
content:
- name: leave-of-absence-file
type: question
- name: leave-of-absence-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: leave-of-absence
- name: semester-abroad-details
type: advanced
content:
- name: semester-abroad-file
type: question
- name: semester-abroad-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: semester-abroad
- name: internship-details
type: advanced
content:
- name: internship-file
type: question
- name: internship-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: internship
- name: disability-details
type: advanced
content:
- name: disability-file
type: question
- name: disability-file2
type: question
- name: disability-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: disability
- name: health-reasons-details
type: advanced
content:
- name: health-reasons-file
type: question
- name: health-reasons-file2
type: question
- name: health-reasons-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: health-reasons
- name: double-enrollment-details
type: advanced
content:
- name: double-enrollment-file
type: question
- name: double-enrollment-file2
type: question
- name: double-enrollment-file3
type: question
- name: double-enrollment-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: double-enrollment
- name: phd-details
type: advanced
content:
- name: phd-file
type: question
- name: phd-file2
type: question
- name: phd-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: phd
- name: exam-prep-details
type: advanced
content:
- name: exam-prep-file
type: question
- name: exam-prep-file2
type: question
- name: exam-prep-file3
type: question
- name: exam-prep-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: exam-prep
- name: childcare-details
type: advanced
content:
- name: childcare-file
type: question
- name: childcare-file2
type: question
- name: need-car
type: question
- name: childcare-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: childcare
- name: caring-for-relatives-details
type: advanced
content:
- name: caring-for-relatives-file
type: question
- name: caring-for-relatives-text
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: caring-for-relatives
- name: social-reasons
type: advanced
content:
- name: social-reasons-housing
type: question
- name: social-reasons-text
type: question
- name: number-of-children
type: question
- name: age-child-1
type: question
- name: age-child-2
type: question
- name: age-child-3
type: question
- name: age-child-4
type: question
- name: age-child-5
type: question
- name: insurance-type
type: question
- name: income-sources
type: question
- name: income-other-text
type: question
- name: bank-statements
type: question
- name: insurance-costs
type: question
- name: monthly-rent
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: social-reasons
- name: bafoeg
type: advanced
content:
- name: bafoeg-allowance
type: question
rules:
- type: if-then
criteria:
- operator: =
question: reason
value: social-reasons
- name: summaries
groups:
- hideDescription: true
hideTitle: true
name: divider-card
type: advanced
content:
- dismissable: true
color: accent
icon: settings
name: DIVIDER-SUMMARY-GROUP-STARTS-BORDERED
type: alert
fill: true
- name: summary-group-type1
type: advanced
content:
- name: summary-group-type-content
theme: bordered
type: summary
ignoreQuestions:
- first-name
- hideDescription: true
hideTitle: true
name: divider-card2
type: advanced
content:
- dismissable: true
color: accent
icon: settings
name: DIVIDER-SUMMARY-GROUP-STARTS-WATERFALL
type: alert
fill: true
- name: summary-group-type2
type: advanced
content:
- name: summary-group-type-content
theme: waterfall
type: summary
showQuestions:
- first-name
- hideDescription: true
hideTitle: true
name: divider-card3
type: advanced
content:
- dismissable: true
color: accent
icon: settings
name: DIVIDER-SUMMARY-GROUP-STARTS-INDIVIDUAL
type: alert
fill: true
- name: summary-group-type3
type: advanced
content:
- name: summary-group-type-content
theme: individual
type: summary
ignoreQuestions:
- last-name
showQuestions:
- first-name
- last-name
- city
- hideDescription: true
hideTitle: true
name: divider-card9
type: advanced
content:
- dismissable: true
color: accent
icon: settings
name: DIVIDER-SUMMARY-GROUP-STARTS-NARROW
type: alert
fill: true
- name: summary-group-type4
type: advanced
content:
- name: summary-group-type-content
theme: narrow
type: summary
- hideDescription: true
hideTitle: true
name: divider-card88
type: advanced
content:
- dismissable: true
color: accent
icon: settings
name: DIVIDER-SUMMARY-GROUP-ENDSSS
type: alert
fill: true
- name: summary-type1
type: summary
- name: summary-type2
theme: waterfall
type: summary
ignoreQuestions:
- first-name
- last-name
- name: summary-type3
theme: waterfall
type: summary
showQuestions:
- first-name
- last-name
- name: summary-type4
theme: waterfall
type: summary
ignoreQuestions:
- first-name
- last-name
showQuestions:
- city
- country
- hideDescription: true
hideTitle: true
name: divider-card1
type: advanced
content:
- dismissable: true
color: accent
icon: settings
name: DIVIDER-SUMMARY-TYPE-ENDS
type: alert
fill: true
- name: summary
groups:
- hideDescription: true
hideTitle: true
name: dates-warning-alert
type: advanced
content:
- dismissable: true
color: warn
icon: update
name: alert-summary
type: alert
fill: true
rules:
- duration: P1D
type: application-age
- name: summary
type: summary
ignoreQuestions:
- phoneverification
- name: invalidated-upload-request
type: advanced
content:
- name: photo-invalidated-card1
type: question
- name: explain-invalidated-card
type: question
rules:
- type: hidden
- name: send-back-question
type: advanced
content:
- name: send-back-request
type: question
- name: mailing-risk-consent
type: question
rules:
- type: hidden
- name: show-pick-up-address
type: advanced
content: []
rules:
- type: if-then
criteria:
- operator: =
question: send-back-request
value: n
- name: inform-other-address
type: advanced
content:
- name: mailing-risk-consent
type: question
rules:
- type: if-then
criteria:
- operator: =
question: send-back-request
value: y
- name: signing
type: advanced
content:
- name: phoneverification
type: question
summary:
name: total-summary
theme: individual
type: summary
ignoreQuestions:
- university
questions:
- required: true
name: matriculation-nr
type: text
validation:
- pattern: ^\d{6,7}$
type: regex
- defaultValue: goethe-university
required: true
translateOptions: true
name: university
type: single
answers:
- name: goethe-university
- required: true
translateOptions: true
name: identity-type
type: single
answers:
- name: german-id
- name: passport
- name: residence-permit
- required: true
name: first-name
type: text
classList:
- col-md-6
mapping:
source: given_name
type: keycloak
- required: true
name: last-name
type: text
classList:
- col-md-6
mapping:
source: family_name
type: keycloak
- required: false
name: birth-name
type: text
classList:
- col-md-6
- required: true
shared: true
name: address
type: text
classList:
- col-md-6
- shared: true
name: app-no
type: text
classList:
- col-md-12
- required: true
shared: true
name: zipcode
type: text
classList:
- col-md-6
- required: true
shared: true
name: city
type: text
classList:
- col-md-6
- required: true
shared: true
translateOptions: true
name: country
type: long-single
answers:
- name: DE
- name: AD
- name: AE
- name: AF
- name: AG
- name: AI
- name: AL
- name: AM
- name: AO
- name: AQ
- name: AR
- name: AS
- name: AT
- name: AU
- name: AW
- name: AX
- name: AZ
- name: BA
- name: BB
- name: BD
- name: BE
- name: BF
- name: BG
- name: BH
- name: BI
- name: BJ
- name: BL
- name: BM
- name: BN
- name: BO
- name: BQ
- name: BR
- name: BS
- name: BT
- name: BV
- name: BW
- name: BY
- name: BZ
- name: CA
- name: CC
- name: CD
- name: CF
- name: CG
- name: CH
- name: CI
- name: CK
- name: CL
- name: CM
- name: CN
- name: CO
- name: CR
- name: CU
- name: CV
- name: CW
- name: CX
- name: CY
- name: CZ
- name: DJ
- name: DK
- name: DM
- name: DO
- name: DZ
- name: EC
- name: EE
- name: EG
- name: EH
- name: ER
- name: ES
- name: ET
- name: FI
- name: FJ
- name: FK
- name: FM
- name: FO
- name: FR
- name: GA
- name: GB
- name: GD
- name: GE
- name: GF
- name: GG
- name: GH
- name: GI
- name: GL
- name: GM
- name: GN
- name: GP
- name: GQ
- name: GR
- name: GS
- name: GT
- name: GU
- name: GW
- name: GY
- name: HK
- name: HM
- name: HN
- name: HR
- name: HT
- name: HU
- name: ID
- name: IE
- name: IL
- name: IM
- name: IN
- name: IO
- name: IQ
- name: IR
- name: IS
- name: IT
- name: JE
- name: JM
- name: JO
- name: JP
- name: KE
- name: KG
- name: KH
- name: KI
- name: KM
- name: KN
- name: KP
- name: KR
- name: KW
- name: KY
- name: KZ
- name: LA
- name: LB
- name: LC
- name: LI
- name: LK
- name: LR
- name: LS
- name: LT
- name: LU
- name: LV
- name: LY
- name: MA
- name: MC
- name: MD
- name: ME
- name: MF
- name: MG
- name: MH
- name: MK
- name: ML
- name: MM
- name: MN
- name: MO
- name: MP
- name: MQ
- name: MR
- name: MS
- name: MT
- name: MU
- name: MV
- name: MW
- name: MX
- name: MY
- name: MZ
- name: NA
- name: NC
- name: NE
- name: NF
- name: NG
- name: NI
- name: NL
- name: NO
- name: NP
- name: NR
- name: NU
- name: NZ
- name: OM
- name: PA
- name: PE
- name: PF
- name: PG
- name: PH
- name: PK
- name: PL
- name: PM
- name: PN
- name: PR
- name: PS
- name: PT
- name: PW
- name: PY
- name: QA
- name: RE
- name: RO
- name: RS
- name: RU
- name: RW
- name: SA
- name: SB
- name: SC
- name: SD
- name: SE
- name: SG
- name: SH
- name: SI
- name: SJ
- name: SK
- name: SL
- name: SM
- name: SN
- name: SO
- name: SR
- name: SS
- name: ST
- name: SV
- name: SX
- name: SY
- name: SZ
- name: TC
- name: TD
- name: TF
- name: TG
- name: TH
- name: TJ
- name: TK
- name: TL
- name: TM
- name: TN
- name: TO
- name: TR
- name: TT
- name: TV
- name: TW
- name: TZ
- name: UA
- name: UG
- name: UM
- name: US
- name: UY
- name: UZ
- name: VA
- name: VC
- name: VE
- name: VG
- name: VI
- name: VN
- name: VU
- name: WF
- name: WS
- name: YE
- name: YT
- name: ZA
- name: ZM
- name: ZW
- required: true
name: phone
type: text
- required: true
shared: true
name: account-holder
type: text
mapping:
source: name
type: keycloak
validation:
- pattern: ^[\w'\-,.][^0-9_!¡?÷?¿\/\\+=@#$%ˆ&*(){}|~<>;:[\]]{1,70}$
type: regex
- required: true
shared: true
name: bank-name
type: text
validation:
- pattern: ^[\w'\-,.][^0-9_!¡?÷?¿\/\\+=@#$%ˆ&*(){}|~<>;:[\]]{1,140}$
type: regex
- required: true
shared: true
name: account-number
type: iban
validation:
- type: iban-prefix
prefixes:
- AD
- AT
- BE
- BG
- CY
- CZ
- DE
- DK
- EE
- ES
- FI
- FR
- GB
- GI
- GR
- HR
- HU
- IE
- IS
- IT
- LI
- LT
- LU
- LV
- MT
- NL
- NO
- PL
- PT
- RO
- SE
- SI
- SK
- imageSrc: https://nap-public.s3-de-central.profitbricks.com/images/passport_front.png
required: true
name: id-photo
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- imageSrc: https://nap-public.s3-de-central.profitbricks.com/images/selfie.png
required: true
name: neutral-selfie
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- imageSrc: https://nap-public.s3-de-central.profitbricks.com/images/selfie_plus_passport.png
required: true
name: selfie-and-id
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- name: generate-selfie-code
step: "1"
type: number
mapping:
type: code
max: 999999
min: 100000
- imageSrc: https://nap-public.s3-de-central.profitbricks.com/images/selfie_plus_random_code.png
required: true
shared: true
name: verification-code
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: true
translateOptions: true
name: reason
type: radio-single
answers:
- weight: 198.97
name: state-ticket
- weight: 198.97
name: leave-of-absence
- weight: 198.97
name: semester-abroad
- weight: 198.97
name: internship
- weight: 198.97
name: health-reasons
- weight: 198.97
name: exam-prep
- weight: 198.97
name: phd
- weight: 198.97
name: disability
- disabled: true
weight: 198.97
name: double-enrollment
- weight: 229.45
name: childcare
- weight: 229.45
name: caring-for-relatives
- weight: 229.45
name: social-reasons
- required: false
name: state-ticket-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: state-ticket-text
type: long-text
- required: false
name: leave-of-absence-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: leave-of-absence-text
type: long-text
- required: false
name: semester-abroad-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: semester-abroad-text
type: long-text
- required: false
name: internship-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: internship-text
type: long-text
- required: false
name: disability-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: disability-file2
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: disability-text
type: long-text
- required: false
name: health-reasons-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: health-reasons-file2
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: health-reasons-text
type: long-text
- required: false
name: double-enrollment-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: double-enrollment-file2
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: double-enrollment-file3
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: double-enrollment-text
type: long-text
- required: false
name: phd-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: phd-file2
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: phd-text
type: long-text
- required: false
name: exam-prep-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: exam-prep-file2
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: exam-prep-file3
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: exam-prep-text
type: long-text
- required: false
name: childcare-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: false
name: childcare-file2
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- required: true
name: need-car
type: boolean
- lines: 3
required: false
name: childcare-text
type: long-text
- required: false
name: caring-for-relatives-file
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
- lines: 3
required: false
name: caring-for-relatives-text
type: long-text
- required: false
translateOptions: true
name: social-reasons-housing
type: single
answers:
- name: living-alone
- name: marriage
- name: with-parents
- name: neither-nor
- lines: 3
required: false
name: social-reasons-text
type: long-text
rules:
- type: if-then
criteria:
- operator: =
question: social-reasons-housing
value: neither-nor
- required: false
name: number-of-children
step: "1"
type: number
validation:
- type: number-range
min: 0
- pattern: ^([0-5]{1})$
type: regex
- required: false
name: age-child-1
step: "1"
type: number
rules:
- type: if-then
criteria:
- operator: ">"
question: number-of-children
value: 0
validation:
- type: number-range
min: 0
- pattern: ^[0-9]{1,2}$
type: regex
- required: false
name: age-child-2
step: "1"
type: number
rules:
- type: if-then
criteria:
- operator: ">"
question: number-of-children
value: 1
validation:
- type: number-range
min: 0
- pattern: ^\d{1,2}$
type: regex
- required: false
name: age-child-3
step: "1"
type: number
rules:
- type: if-then
criteria:
- operator: ">"
question: number-of-children
value: 2
validation:
- type: number-range
min: 0
- pattern: ^\d{1,2}$
type: regex
- required: false
name: age-child-4
step: "1"
type: number
rules:
- type: if-then
criteria:
- operator: ">"
question: number-of-children
value: 3
validation:
- type: number-range
min: 0
- pattern: ^[0-9]{1,2}$
type: regex
- required: false
name: age-child-5
step: "1"
type: number
rules:
- type: if-then
criteria:
- operator: ">"
question: number-of-children
value: 4
validation:
- type: number-range
min: 0
- pattern: ^\d{1,2}$
type: regex
- required: false
translateOptions: true
name: insurance-type
type: single
answers:
- name: self-insured
- name: family-insured
- required: false
translateOptions: true
name: income-sources
type: multi
answers:
- name: employed
- name: self-employed
- name: rent-lease
- name: maintenance
- name: social-benefits
- name: scholarship
- name: other
- lines: 3
required: false
name: income-other-text
type: long-text
rules:
- type: if-then
criteria:
- operator: =
question: income-sources
value: other
- required: false
name: bank-statements
type: multi-files
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
label:
required: true
show: true
- required: false
name: insurance-costs
step: "1"
type: euro
validation:
- type: number-range
min: 0
- required: false
name: monthly-rent
step: "1"
type: euro
validation:
- type: number-range
min: 0
- required: true
name: bafoeg-allowance
type: boolean
- required: true
name: confirm-accuracy
type: boolean
- required: true
name: aware-refund
type: boolean
- required: true
name: legally-binding
type: boolean
- required: true
name: privacy-policy
type: boolean
- required: false
name: hvwvfg41
type: boolean
- required: true
translateOptions: true
name: alternative-communication
type: single
answers:
- name: no-contact-
- name: email
- name: phone
- name: email-and-phone
- defaultCountry: DE
required: true
name: phoneverification
type: verify-phone
- required: false
name: photo-invalidated-card1
type: single-file
fileTypes:
- .png
- .jpg
- .jpeg
- .pdf
label:
show: true
- lines: 5
name: explain-invalidated-card
type: long-text
- required: true
shared: true
translateOptions: true
name: send-back-request
type: radio-single
answers:
- name: y
- name: n
- required: true
name: mailing-risk-consent
type: boolean
- name: email
type: text
mapping:
source: email
type: keycloak
reviewDefinition:
definitionVersion: 1
amountDefinition:
cumulativeMax: 500
type: fixed
blocks:
- order: -1
name: info-requests
position: left
type: info-requests
- approval: true
order: 0
name: verification1
position: left
type: standard
checks:
- neutral-selfie-check
questions:
- neutral-selfie
- order: 1
name: personal-info
position: left
type: standard
metadata:
- hideEmpty: true
name: comm-email
type: view
- hideEmpty: true
name: comm-phone
type: view
questions:
- first-name
- last-name
- birth-name
- address
- app-no
- zipcode
- city
- country
- identity-type
- email
- approval: true
order: 2
name: various
position: left
type: standard
checks:
- full-name-check
- unique-matriculation-check
metadata:
- application-submitted
- application-status
- disableOnOtherStates: true
hideEmpty: true
translateOptions: true
name: buyback-status
type: toggle
states:
- approved
- bought-back
- disableOnOtherStates: true
hideEmpty: true
translateOptions: true
name: legal-status
type: toggle
states:
- rejected
- appealed
- court-action
questions:
- university
- matriculation-nr
- reason
- confirm-accuracy
- aware-refund
- legally-binding
- privacy-policy
- alternative-communication
- order: 3
name: bank-info
position: left
type: standard
questions:
- account-holder
- bank-name
- account-number
- showContent: true
order: -2
name: ticket-invalidation
position: right
type: standard
checks:
- virtual-invalidation
- ticket-invalid
- card-returned
- approval: true
order: -1
hideEmpty: true
name: invalidated-card-photo
position: right
type: standard
checks:
- invalidated-card-namecheck
- invalidated-card-matriculationcheck
- card-invalidated
questions:
- photo-invalidated-card1
- explain-invalidated-card
- approval: true
order: 0
hideEmpty: true
name: invalidated-card-mail
position: right
type: standard
checks:
- mailed-card-received
- invalidated-card-namecheck
- invalidated-card-matriculationcheck
questions:
- send-back-request
- mailing-risk-consent
- approval: true
order: 1
name: verification2
position: right
type: standard
checks:
- id-type-check
- photo-page-id-card-namecheck
questions:
- id-photo
- approval: true
order: 2
name: verification3
position: right
type: standard
checks:
- selfie-withid-check
questions:
- selfie-and-id
- approval: true
order: 3
name: verification4
position: right
type: standard
checks:
- selfie-withcode-check
questions:
- verification-code
- approval: true
order: 4
hideEmpty: true
name: state-ticket-checks
position: right
type: standard
checks:
- state-ticket-namecheck
- state-ticket-validitycheck
- state-ticket-signedcheck
questions:
- state-ticket-file
- state-ticket-text
- approval: true
order: 5
hideEmpty: true
name: leave-of-absence-checks
position: right
type: standard
checks:
- leave-of-absence-namecheck
- leave-of-absence-typecheck
- leave-of-absence-certificatecheck
- leave-of-absence-beurlaubtcheck
questions:
- leave-of-absence-file
- leave-of-absence-text
- approval: true
order: 6
hideEmpty: true
name: semester-abroad-checks
position: right
type: standard
checks:
- semester-abroad-namecheck
- semester-abroad-officialcheck
- semester-abroad-durationcheck
questions:
- semester-abroad-file
- semester-abroad-text
- approval: true
order: 7
hideEmpty: true
name: internship-checks
position: right
type: standard
checks:
- internship-namecheck
- internship-officialcheck
- internship-durationcheck
questions:
- internship-file
- internship-text
- approval: true
order: 8
hideEmpty: true
name: health-medicalcert-checks
position: right
type: standard
checks:
- health-medicalcert-namecheck
- health-medicalcert-severitycheck
questions:
- health-reasons-file2
- approval: true
order: 9
hideEmpty: true
name: health-enrollmentcert-checks
position: right
type: standard
checks:
- health-enrollmentcert-namecheck
- health-enrollmentcert-unicheck
- health-enrollentcert-semestercheck
questions:
- health-reasons-file
- health-reasons-text
- approval: true
order: 10
hideEmpty: true
name: double-enrollmentsemesterticket-checks
position: right
type: standard
checks:
- double-enrollmentsemesterticket-namecheck
- double-enrollmentsemesterticket-areacheck
questions:
- double-enrollment-file
- double-enrollment-text
- approval: true
order: 11
hideEmpty: true
name: double-enrollmentcert-checks
position: right
type: standard
checks:
- double-enrollmentcert-namecheck
- double-enrollmentcert-datecheck
questions:
- double-enrollment-file2
- approval: true
order: 12
hideEmpty: true
name: double-enrollmentcost-check
position: right
type: standard
checks:
- double-enrollment-ticketcostcheck
questions:
- double-enrollment-file3
- double-enrollment-text
- approval: true
order: 13
hideEmpty: true
name: doctorate-enrollmentcert-checks
position: right
type: standard
checks:
- doctorate-enrollmentcert-namecheck
- doctorate-enrollmentcert-unicheck
- doctorate-enrollmentcert-validitycheck
- doctorate-enrollmentcert-promotioncheck
questions:
- phd-file
- approval: true
order: 14
hideEmpty: true
name: doctorate-proofofresidence-checks
position: right
type: standard
checks:
- doctorate-proofofresidence-namecheck
- doctorate-proofofresidence-areacheck
questions:
- phd-file2
- phd-text
- approval: true
order: 15
hideEmpty: true
name: examprep-proofoffice-checks
position: right
type: standard
checks:
- examprep-proofoffice-namecheck
- examprep-proofoffice-sourcecheck
- examprep-proofoffice-requirementscheck
- examprep-proofoffice-compulsorycheck
questions:
- exam-prep-file
- approval: true
order: 16
hideEmpty: true
name: examprep-enrollmentcert-checks
position: right
type: standard
checks:
- examprep-enrollmentcert-namecheck
- examprep-enrollmentcert-unicheck
- examprep-enrollmentcert-validitycheck
- examprep-enrollmentcert-subjectcheck
questions:
- exam-prep-file2
- approval: true
order: 17
hideEmpty: true
name: examprep-proofofresidence-checks
position: right
type: standard
checks:
- examprep-proofofresidence-namecheck
- examprep-proofofresidence-areacheck
questions:
- exam-prep-file3
- exam-prep-text
- approval: true
order: 18
hideEmpty: true
name: disabilitycard-checks
position: right
type: standard
checks:
- disability-card-namecheck
- disability-card-frontcheck
- disability-card-validitycheck
questions:
- disability-file
- approval: true
order: 19
hideEmpty: true
name: disabilitytoken-checks
position: right
type: standard
checks:
- disability-tokenmatchcheck
- disability-tokenvaliditycheck
questions:
- disability-file2
- disability-text
- approval: true
order: 20
hideEmpty: true
name: childcare-birthcert-checks
position: right
type: standard
checks:
- childcare-birthcert-namecheck
- childcare-birthcert-agecheck
questions:
- childcare-file
- order: 20.5
hideEmpty: true
name: need-car-question
position: right
type: standard
questions:
- childcare-text
- need-car
- approval: true
order: 21
hideEmpty: true
name: childcare-disabilitycard-checks
position: right
type: standard
checks:
- childcare-disabilitycard-namecheck
- childcare-disabilitycard-validitycheck
questions:
- childcare-file2
- approval: true
order: 22
hideEmpty: true
name: caringforrelatives-checks
position: right
type: standard
checks:
- caringforrelatives-cert-namecheck
- caringforrelatives-cert-confirmationcheck
questions:
- caring-for-relatives-file
- caring-for-relatives-text
- order: 23
hideEmpty: true
name: reason
position: right
type: standard
questions:
- social-reasons-housing
- social-reasons-text
- number-of-children
- age-child-1
- age-child-2
- age-child-3
- age-child-4
- age-child-5
- insurance-type
- income-sources
- income-other-text
- insurance-costs
- monthly-rent
- bafoeg-allowance
- approval: true
order: 24
hideEmpty: true
name: bank-statements
position: right
type: standard
checks:
- socialreasons-bankstatement-namecheck
- socialreasons-bankstatement-threemonthscheck
- socialreasons-bankstatement-incomecheck
questions:
- bank-statements
checks:
- name: doc-readable
type: manual
- canInit: true
canUpdate: true
name: full-name-check
type: hook-app-check
extras:
- name: full-name-check
show: if-false
type: search
params:
- first-name
- last-name
- canInit: true
canUpdate: true
name: unique-matriculation-check
type: hook-app-check
extras:
- name: search-matriculation-check
show: if-false
type: search
params:
- matriculation-nr
- name: id-type-check
type: manual
- name: photo-page-id-card-namecheck
type: manual
- name: photo-page-id-card-numbercheck
type: manual
- name: neutral-selfie-check
type: manual
- name: selfie-withid-check
type: manual
- name: selfie-withcode-check
type: manual
- name: state-ticket-namecheck
type: manual
- name: state-ticket-validitycheck
type: manual
- name: state-ticket-signedcheck
type: manual
- name: leave-of-absence-namecheck
type: manual
- name: leave-of-absence-typecheck
type: manual
- name: leave-of-absence-certificatecheck
type: manual
- name: leave-of-absence-beurlaubtcheck
type: manual
- name: semester-abroad-namecheck
type: manual
- name: semester-abroad-officialcheck
type: manual
- name: semester-abroad-durationcheck
type: manual
- name: internship-namecheck
type: manual
- name: internship-officialcheck
type: manual
- name: internship-durationcheck
type: manual
- name: health-medicalcert-namecheck
type: manual
- name: health-medicalcert-severitycheck
type: manual
- name: health-enrollmentcert-namecheck
type: manual
- name: health-enrollmentcert-unicheck
type: manual
- name: health-enrollentcert-semestercheck
type: manual
- name: double-enrollmentsemesterticket-namecheck
type: manual
- name: double-enrollmentsemesterticket-areacheck
type: manual
- name: double-enrollmentcert-namecheck
type: manual
- name: double-enrollmentcert-datecheck
type: manual
- name: double-enrollment-ticketcostcheck
type: manual
- name: doctorate-enrollmentcert-namecheck
type: manual
- name: doctorate-enrollmentcert-unicheck
type: manual
- name: doctorate-enrollmentcert-validitycheck
type: manual
- name: doctorate-enrollmentcert-promotioncheck
type: manual
- name: doctorate-proofofresidence-namecheck
type: manual
- name: doctorate-proofofresidence-areacheck
type: manual
- name: examprep-proofoffice-namecheck
type: manual
- name: examprep-proofoffice-sourcecheck
type: manual
- name: examprep-proofoffice-requirementscheck
type: manual
- name: examprep-proofoffice-compulsorycheck
type: manual
- name: examprep-enrollmentcert-namecheck
type: manual
- name: examprep-enrollmentcert-unicheck
type: manual
- name: examprep-enrollmentcert-validitycheck
type: manual
- name: examprep-enrollmentcert-subjectcheck
type: manual
- name: examprep-proofofresidence-namecheck
type: manual
- name: examprep-proofofresidence-areacheck
type: manual
- name: disability-card-namecheck
type: manual
- name: disability-card-frontcheck
type: manual
- name: disability-card-validitycheck
type: manual
- name: disability-tokenmatchcheck
type: manual
- name: disability-tokenvaliditycheck
type: manual
- name: childcare-birthcert-namecheck
type: manual
- name: childcare-birthcert-agecheck
type: manual
- name: childcare-disabilitycard-namecheck
type: manual
- name: childcare-disabilitycard-validitycheck
type: manual
- name: caringforrelatives-cert-namecheck
type: manual
- name: caringforrelatives-cert-confirmationcheck
type: manual
- name: socialreasons-bankstatement-namecheck
type: manual
- name: socialreasons-bankstatement-threemonthscheck
type: manual
- name: socialreasons-bankstatement-incomecheck
type: manual
- name: matriculation-ondemand-validitycheck
type: manual
- name: goethecard-assigncheck
type: manual
- name: goethecard-revalidationcheck
type: manual
- showDate: true
name: virtual-invalidation
type: manual
- name: asked-for-proof
type: manual
- name: invalidated-card-namecheck
type: manual
- name: invalidated-card-matriculationcheck
type: manual
- name: mailed-card-received
type: manual
- name: card-invalidated
type: manual
- name: ticket-invalid
type: manual
- showDate: true
name: card-returned
type: manual
infoRequestDefinition:
checkRules: true
deadline:
timezone: Europe/Berlin
default:
relativeTo: period-end
addDays: 19
min:
relativeTo: today
addDays: 0
hideQuestions:
- confirm-accuracy
- aware-refund
- legally-binding
- privacy-policy
- double-enrollment-file
- double-enrollment-file2
- double-enrollment-file3
- double-enrollment-text
- phoneverification
- mailing-risk-consent
rejectionReasons:
- incorrect-documents
usedWith:
- active: true
name: FULLTESTPERIOD2
formVersionId: 45
id: 33
- start: 1651611601
active: true
name: asd
formVersionId: 45
id: 36
- end: 1657832400
start: 1656450000
active: false
name: test-try-catch
formVersionId: 45
id: 65
- active: true
name: FULLTESTPERIOD
formVersionId: 45
id: 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment