feat: add GEWU installer and service contracts
This commit is contained in:
1 parent
254edac2c5
commit
6c9653866c
36 files changed
+8953
-70
No files matched your search
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"$defs": {
|
||||
"ErrorCode": {
|
||||
"enum": [
|
||||
"SCOPE_REQUIRED",
|
||||
"OUT_OF_SCOPE",
|
||||
"UNAUTHORIZED",
|
||||
"OWNER_DECISION_REQUIRED",
|
||||
"POLICY_MISSING",
|
||||
"EVIDENCE_MISMATCH",
|
||||
"SUPPORT_UNAVAILABLE",
|
||||
"BASE_CONFLICT",
|
||||
"IDEMPOTENCY_CONFLICT",
|
||||
"BUDGET_TOO_SMALL",
|
||||
"UPLOAD_EXPIRED",
|
||||
"BUSY",
|
||||
"RECOVERY_REQUIRED"
|
||||
],
|
||||
"title": "ErrorCode",
|
||||
"type": "string"
|
||||
},
|
||||
"Finding": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"code": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Code",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"maxLength": 1000,
|
||||
"minLength": 1,
|
||||
"title": "Message",
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"anyOf": [
|
||||
{
|
||||
"maxLength": 256,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Path"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code",
|
||||
"message"
|
||||
],
|
||||
"title": "Finding",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"code": {
|
||||
"$ref": "#/$defs/ErrorCode"
|
||||
},
|
||||
"findings": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/Finding"
|
||||
},
|
||||
"title": "Findings",
|
||||
"type": "array"
|
||||
},
|
||||
"message": {
|
||||
"maxLength": 1000,
|
||||
"minLength": 1,
|
||||
"title": "Message",
|
||||
"type": "string"
|
||||
},
|
||||
"request_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Request Id",
|
||||
"type": "string"
|
||||
},
|
||||
"retryable": {
|
||||
"title": "Retryable",
|
||||
"type": "boolean"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code",
|
||||
"message",
|
||||
"retryable",
|
||||
"request_id"
|
||||
],
|
||||
"title": "DomainError",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in new issue
Block a user