Skip to content
Snippets Groups Projects
Commit 0e30492f authored by Andreas Huber's avatar Andreas Huber
Browse files

Application Schema um Property "encoding" ergänzt

parent 284356ad
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,21 @@
"title": "Application Schema",
"description": "Strukturinformationen zu übertragbaren oder übertragenen Daten.",
"additionalProperties": false,
"x-examples": {
"example-1": {
"mimeType": "json",
"schemaSource": "none"
},
"example-2": {
"mimeType": "xml",
"schemaSource": "none"
},
"example-3": {
"mimeType": "xml",
"schemaSource": "fim",
"schemaId": "S99000001V1.0"
}
},
"properties": {
"schemaId": {
"type": "string",
......@@ -23,25 +38,20 @@
"xml"
],
"description": "Gibt das zulässige Format (JSON oder XML) der Fachdaten an."
},
"encoding": {
"type": "string",
"enum": [
"plain",
"base64",
"jwe"
],
"description": "Übertragungscodierung:\n- `plain`: kein Encoding\n- `base64`: Inhalt base64-codieren\n- `jwe`: Inhalt mit JSON Web Encryption verschlüsseln"
}
},
"required": [
"schemaSource",
"mimeType"
],
"x-examples": {
"example-1": {
"mimeType": "json",
"schemaSource": "none"
},
"example-2": {
"mimeType": "xml",
"schemaSource": "none"
},
"example-3": {
"mimeType": "xml",
"schemaSource": "fim",
"schemaId": "S99000001V1.0"
}
}
"mimeType",
"encoding"
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment