Initial curated ITWorx_MCP_Hub source from 368fba691ea8d23403b4d56b53b5ec670d7c5020

This commit is contained in:
Public Source Publisher committed 2026-10-01 01:36:21 +02:00
commit cb5be898ea
663 files changed
+82674

No files matched your search

+67
View File
@@ -0,0 +1,67 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ITWorx MCP Hub Policy",
"description": "Declarative policy rule.",
"type": "object",
"additionalProperties": false,
"$id": "https://hub.example.com/schemas/policy.schema.json",
"required": [
"apiVersion",
"kind",
"metadata",
"spec"
],
"properties": {
"apiVersion": {
"const": "hub.example.com/v1alpha1"
},
"kind": {
"const": "Policy"
},
"metadata": {
"$ref": "common.schema.json#/$defs/metadata"
},
"spec": {
"type": "object",
"additionalProperties": false,
"required": [
"priority",
"description",
"match",
"conditions",
"decision",
"terminal"
],
"properties": {
"priority": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"match": {
"type": "object"
},
"conditions": {
"type": "object"
},
"decision": {
"enum": [
"allow",
"allow_if_conditions",
"deny",
"deny_and_alert",
"enforce"
]
},
"terminal": {
"type": "boolean"
}
}
}
}
}