105 lines
2.0 KiB
JSON
105 lines
2.0 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"format_version": {
|
|
"type": "integer",
|
|
"const": 1
|
|
},
|
|
"builder_version": {
|
|
"const": "1"
|
|
},
|
|
"prompt_version": {
|
|
"enum": [
|
|
"hypotheses_v1",
|
|
"hypotheses_v2",
|
|
"hypotheses_v3",
|
|
"hypotheses_v4",
|
|
"case_plan_v1"
|
|
]
|
|
},
|
|
"case_id": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "\\S"
|
|
},
|
|
"package_id": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "\\S"
|
|
},
|
|
"analysis_revision": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"case_ref": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "\\S"
|
|
},
|
|
"case_sha256": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-f]{64}$"
|
|
},
|
|
"interpretation_ref": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "\\S"
|
|
},
|
|
"interpretation_sha256": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-f]{64}$"
|
|
},
|
|
"context_ref": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "\\S"
|
|
},
|
|
"context_sha256": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-f]{64}$"
|
|
},
|
|
"policy_ref": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "\\S"
|
|
},
|
|
"policy_sha256": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-f]{64}$"
|
|
},
|
|
"llm_result_ref": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "\\S"
|
|
},
|
|
"format": {
|
|
"const": "viano-hypothesis-error"
|
|
},
|
|
"code": {
|
|
"type": "string",
|
|
"pattern": "^[A-Z0-9_]+$"
|
|
}
|
|
},
|
|
"required": [
|
|
"format_version",
|
|
"builder_version",
|
|
"prompt_version",
|
|
"case_id",
|
|
"package_id",
|
|
"analysis_revision",
|
|
"case_ref",
|
|
"case_sha256",
|
|
"interpretation_ref",
|
|
"interpretation_sha256",
|
|
"context_ref",
|
|
"context_sha256",
|
|
"policy_ref",
|
|
"policy_sha256",
|
|
"llm_result_ref",
|
|
"format",
|
|
"code"
|
|
],
|
|
"additionalProperties": false,
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema"
|
|
}
|