Files
ImportAssist/docs/ai-analysis.schema.json

70 lines
1.7 KiB
JSON

{
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lineNumber": {
"type": ["integer", "null"],
"description": "Zeilennummer aus dem Prüfbericht, einschließlich Kopfzeile; null, falls unbekannt."
},
"invoiceId": {
"type": ["string", "null"],
"description": "Rechnungsnummer aus dem Prüfbericht; null, falls sie fehlt oder nicht bekannt ist."
},
"ruleId": {
"type": "string",
"enum": [
"CSV-001",
"INV-001",
"INV-002",
"INV-003",
"INV-004"
]
},
"description": {
"type": "string",
"description": "Durch den Prüfbericht belegter Fehlerbefund."
},
"nextCheck": {
"type": "string",
"description": "Nächster Prüfschritt, ohne unbekannte Ursachen als Tatsachen darzustellen."
},
"missingInformation": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"lineNumber",
"invoiceId",
"ruleId",
"description",
"nextCheck",
"missingInformation"
],
"additionalProperties": false
}
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"summary",
"findings",
"limitations"
],
"additionalProperties": false
}