JSON schemas for the efde MD API | Read-only mirror of https://github.com/estv-admin/efde-md-json-schema — Bundesamt für Informatik und Telekommunikation. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-01-17 14:17:14 +01:00
add_claim_document_output_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
claim_questionary_sequence_types_schema.json Mark Sequence 04 as GBR 2021-03-18 11:19:01 +01:00
claim_status_query_input_schema.json Initial commit 2020-01-17 15:31:34 +01:00
claim_status_query_output_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
claim_types_schema.json Attachment synch with documentation 2022-11-22 10:35:20 +01:00
common_types_schema.json Allow IBAN's with letters 2021-03-16 13:37:17 +01:00
create_claim_input_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
create_claim_output_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
create_partner_input_schema.json create partner zip handling 2023-01-17 14:07:07 +01:00
create_partner_output_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
delete_claim_output_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
download_decision_letter_output_schema.json information about corrections if available 2023-01-17 14:17:14 +01:00
download_stamp_sheet_output_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
error_types_schema.json Changed absolute references in error types to local references 2020-01-17 15:44:21 +01:00
questionary_types_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00
README.md Updated README 2020-01-17 16:13:39 +01:00
token_renewal_output_schema.json add output schema for token renewal 2021-06-24 13:56:50 +02:00
update_partner_input_schema.json update partner zip handling 2023-01-17 14:10:48 +01:00
update_partner_output_schema.json Removed absolute references 2020-01-29 08:23:36 +01:00

efde-md-json-schema

Install go library and cli to validate json

go get github.com/santhosh-tekuri/jsonschema

Add the following content to a local file called 'create_claim_output_error.json'

{
    "success": false,
    "error": [
       {
          "errorCode": "M0016",
          "errorDescription": "Claim not valid"
       },
       {
          "errorCode": "E0004",
          "errorReferenceID": "B491C9A9-6C16-DA67-5DAB-F8FFAD6CF52C",
          "errorDescription": "Invalid DocumentID. No document found."
       },
       {
          "errorCode": "E0004",
          "errorReferenceID": "B491C9A9-6C16-DA67-5DAB-F8FFAD6CF52C",
          "errorDescription": "Invalid DocumentID. No document found."
       }
    ]
 }

Run the cli 'jv' to validate the above json data

jv https://raw.githubusercontent.com/estv-admin/efde-md-json-schema/master/create_claim_output_schema.json create_claim_output_error.json