Run request analysis on demand on the VPS
This commit is contained in:
parent
9f9b13aa01
commit
d899e902a0
21 changed files with 2485 additions and 4 deletions
115
docs/kb/request-analysis-schema.json
Normal file
115
docs/kb/request-analysis-schema.json
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://worldshaper.local/schemas/request-analysis.schema.json",
|
||||
"title": "Worldshaper Request Analysis Result",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"submissionId",
|
||||
"sourceText",
|
||||
"items"
|
||||
],
|
||||
"properties": {
|
||||
"submissionId": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"sourceText": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"title",
|
||||
"primaryCategory",
|
||||
"tags",
|
||||
"statusRecommendation",
|
||||
"parsedInterpretation",
|
||||
"implementationApproach",
|
||||
"confidence"
|
||||
],
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 3,
|
||||
"maxLength": 120
|
||||
},
|
||||
"primaryCategory": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"statusRecommendation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"active",
|
||||
"needs_review",
|
||||
"duplicate",
|
||||
"blocked"
|
||||
]
|
||||
},
|
||||
"parsedInterpretation": {
|
||||
"type": "string",
|
||||
"minLength": 20
|
||||
},
|
||||
"implementationApproach": {
|
||||
"type": "string",
|
||||
"minLength": 20
|
||||
},
|
||||
"affectedSystems": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"affectedFiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"problemType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"feature",
|
||||
"bug",
|
||||
"workflow",
|
||||
"performance",
|
||||
"ux",
|
||||
"content",
|
||||
"unknown"
|
||||
]
|
||||
},
|
||||
"rawExcerpt": {
|
||||
"type": "string"
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue