Files
VianoBugAnalysis/src/viano_bug_analysis/schemas/investigation-context-v1.schema.json
T

98 lines
1.9 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"required": [
"format",
"format_version",
"case",
"interpretation",
"hypotheses",
"selected_hypothesis",
"budget",
"budget_policy",
"previous_result",
"evidence",
"policy",
"tool_schema"
],
"properties": {
"format": {
"const": "viano-investigation-context"
},
"format_version": {
"const": 1
},
"case": {
"type": "object"
},
"interpretation": {
"type": "object"
},
"hypotheses": {
"type": "object"
},
"selected_hypothesis": {
"type": "string",
"minLength": 1
},
"budget": {
"type": "object"
},
"budget_policy": {
"type": "object"
},
"previous_result": {
"type": [
"object",
"null"
]
},
"evidence": {
"type": "object"
},
"policy": {
"type": "object",
"additionalProperties": false,
"required": [
"max_iterations_per_hypothesis",
"max_invalid_responses",
"max_questions_per_hypothesis",
"test_deadline_seconds",
"max_steps_per_dispatch"
],
"properties": {
"max_iterations_per_hypothesis": {
"type": "integer",
"minimum": 1
},
"max_invalid_responses": {
"type": "integer",
"minimum": 1
},
"max_questions_per_hypothesis": {
"type": "integer",
"minimum": 1
},
"test_deadline_seconds": {
"type": "integer",
"minimum": 1
},
"max_steps_per_dispatch": {
"type": "integer",
"minimum": 1
}
}
},
"tool_schema": {
"type": "object"
},
"previous_rejection": {
"type": [
"string",
"null"
]
}
}
}