File size: 1,759 Bytes
f39c319 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "GapAnalysis",
"type": "object",
"required": [
"gaps",
"rewrite_suggestions",
"uncertain_items",
"redline_seed"
],
"properties": {
"insufficient_context": {
"type": "boolean"
},
"gaps": {
"type": "array",
"items": {
"type": "object",
"required": ["type", "severity", "description", "evidence"],
"properties": {
"type": { "type": "string" },
"severity": {
"type": "string",
"enum": ["high", "medium", "low"]
},
"description": { "type": "string" },
"evidence": {
"type": "array",
"items": { "type": "string" }
}
}
}
},
"rewrite_suggestions": {
"type": "array",
"items": {
"type": "object",
"required": ["section", "old_text", "new_text", "reason"],
"properties": {
"section": { "type": "string" },
"old_text": { "type": "string" },
"new_text": { "type": "string" },
"reason": { "type": "string" }
}
}
},
"uncertain_items": {
"type": "array",
"items": { "type": "string" }
},
"redline_seed": {
"type": "object",
"required": ["old_policy", "suggestions"],
"properties": {
"old_policy": { "type": "string" },
"suggestions": {
"type": "array",
"items": {
"type": "object",
"required": ["section", "new_text"],
"properties": {
"section": { "type": "string" },
"new_text": { "type": "string" }
}
}
}
}
}
}
} |