Initial curated ITWorx_MCP_Hub source from 368fba691ea8d23403b4d56b53b5ec670d7c5020
This commit is contained in:
commit
cb5be898ea
663 files changed
+82674
No files matched your search
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "ITWorx MCP Hub Operation",
|
||||
"description": "Durable internal operation record used before future MCP Tasks support.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"$id": "https://hub.example.com/schemas/operation.schema.json",
|
||||
"required": [
|
||||
"operationId",
|
||||
"type",
|
||||
"project",
|
||||
"environment",
|
||||
"requestedBy",
|
||||
"clientId",
|
||||
"state",
|
||||
"riskClass",
|
||||
"planHash",
|
||||
"createdAt"
|
||||
],
|
||||
"properties": {
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"pattern": "^op_[A-Za-z0-9_-]{10,80}$"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z][a-z0-9_.-]+$",
|
||||
"maxLength": 120
|
||||
},
|
||||
"project": {
|
||||
"$ref": "common.schema.json#/$defs/slug"
|
||||
},
|
||||
"environment": {
|
||||
"$ref": "common.schema.json#/$defs/environmentName"
|
||||
},
|
||||
"requestedBy": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 300
|
||||
},
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 300
|
||||
},
|
||||
"state": {
|
||||
"enum": [
|
||||
"planned",
|
||||
"awaiting_approval",
|
||||
"approved",
|
||||
"queued",
|
||||
"running",
|
||||
"verifying",
|
||||
"succeeded",
|
||||
"failed",
|
||||
"cancelled",
|
||||
"rolling_back",
|
||||
"rolled_back",
|
||||
"expired"
|
||||
]
|
||||
},
|
||||
"riskClass": {
|
||||
"$ref": "common.schema.json#/$defs/riskClass"
|
||||
},
|
||||
"planHash": {
|
||||
"type": "string",
|
||||
"pattern": "^sha256:[a-f0-9]{64}$"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"expiresAt": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"startedAt": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"finishedAt": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"resultSummary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 4000
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user