diff --git a/validation_schema.json b/validation_schema.json new file mode 100644 index 0000000..2a1f6a4 --- /dev/null +++ b/validation_schema.json @@ -0,0 +1,150 @@ +{ + "finanzdaten.bic": { + "optional": false, + "validators": [ + "valid_bic" + ] + }, + "finanzdaten.holder": { + "optional": true, + "validators": [] + }, + "finanzdaten.iban": { + "optional": false, + "validators": [ + "valid_iban" + ] + }, + "finanzdaten.issuance": { + "optional": false, + "validators": [ + "iso_date" + ] + }, + "finanzdaten.reference": { + "optional": true, + "validators": [ + "empty" + ] + }, + "finanzdaten.scan-sepa-mandate": { + "optional": true, + "validators": [ + "valid_uri" + ] + }, + "mitgliederdaten.bis": { + "optional": true, + "validators": [ + "iso_date" + ] + }, + "mitgliederdaten.mitgliedsbeitrag": { + "optional": false, + "validators": [ + "valid_money_amount" + ] + }, + "mitgliederdaten.scan-antrag": { + "optional": true, + "validators": [ + "valid_uri" + ] + }, + "mitgliederdaten.schliessberechtigung": { + "optional": true, + "validators": [ + "valid_door_auth" + ] + }, + "mitgliederdaten.spendenbeitrag": { + "optional": true, + "validators": [ + "valid_money_amount" + ] + }, + "mitgliederdaten.status": { + "optional": false, + "validators": [ + "valid_status" + ] + }, + "mitgliederdaten.von": { + "optional": false, + "validators": [ + "iso_date" + ] + }, + "stammdaten.address_code": { + "optional": false, + "validators": [] + }, + "stammdaten.address_country": { + "optional": false, + "validators": [] + }, + "stammdaten.address_label": { + "optional": false, + "validators": [] + }, + "stammdaten.address_locality": { + "optional": false, + "validators": [] + }, + "stammdaten.address_region": { + "optional": true, + "validators": [] + }, + "stammdaten.address_street": { + "optional": false, + "validators": [] + }, + "stammdaten.birth_date": { + "optional": false, + "validators": [ + "iso_date" + ] + }, + "stammdaten.birth_location": { + "optional": false, + "validators": [] + }, + "stammdaten.email": { + "optional": false, + "validators": [ + "valid_email" + ] + }, + "stammdaten.fullname": { + "optional": false, + "validators": [] + }, + "stammdaten.nickname": { + "optional": true, + "validators": [] + }, + "stammdaten.pgp-key": { + "optional": true, + "validators": [ + "valid_uri" + ] + }, + "stammdaten.ssh-key": { + "optional": true, + "validators": [ + "valid_uri" + ] + }, + "timestamp": { + "optional": false, + "validators": [ + "iso_timestamp" + ] + }, + "id": { + "optional": false, + "validators": [ + "valid_id" + ] + } +} \ No newline at end of file