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

#23 Pattern nicht referenzieren

parent 40d4fd99
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,24 @@
"title": "Application Document",
"description": "Ein im Antrag (Application) enthaltenes Dokument (z.B. Antragsformular oder hochgeladene Anlage)",
"additionalProperties": false,
"x-examples": {
"example-1": {
"docId": "1",
"purpose": "form",
"size": 13046,
"mimeType": "application/pdf",
"filename": "test.pdf",
"description": "Das Antragsformular",
"lang": {
"lang": "de",
"region": "DE"
},
"hash": {
"algorithm": "SHA-256",
"digest": "bf37d894fdf9aeade63975ed648d49c3e8a7a773923597d2418915f54cd7c3b9"
}
}
},
"properties": {
"purpose": {
"type": "string",
......@@ -53,10 +71,8 @@
]
},
"signature": {
"pattern": {
"$ref": "../common/base64url.json#/pattern"
},
"type": "string",
"pattern": "^[a-zA-Z0-9-_=]+$",
"description": "Sofern der Antragstellers dieses Dokument signiert hat, wird die Signatur hier base64url-encoded eingebettet"
},
"mimeType": {
......@@ -72,23 +88,5 @@
"purpose",
"size",
"mimeType"
],
"x-examples": {
"example-1": {
"docId": "1",
"purpose": "form",
"size": 13046,
"mimeType": "application/pdf",
"filename": "test.pdf",
"description": "Das Antragsformular",
"lang": {
"lang": "de",
"region": "DE"
},
"hash": {
"algorithm": "SHA-256",
"digest": "bf37d894fdf9aeade63975ed648d49c3e8a7a773923597d2418915f54cd7c3b9"
}
}
}
]
}
\ 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