in function_app.py [0:0]
def get_request_schema():
return {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"values": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"recordId": {"type": "string"},
"data": {
"type": "object",
"properties": {
"documentUrl": {"type": "string", "minLength": 1},
"documentSasToken": {"type": "string", "minLength": 0},
"documentContentType": {"type": "string", "minLength": 1}
},
"required": ["documentUrl", "documentContentType"],
},
},
"required": ["recordId", "data"],
},
}
},
"required": ["values"],
}