Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -4296,7 +4296,13 @@
{
"name": "hum",
"description": "Hum project process manifest",
"fileMatch": ["hum.yaml"],
"fileMatch": [
"hum.yaml",
"hum.*.yaml",
"*.hum.yaml",
"hum.yml",
"*.hum.yml"
],
"url": "https://raw.githubusercontent.com/brettinternet/hum/main/hum.schema.json"
},
{
Expand Down Expand Up @@ -8854,6 +8860,11 @@
],
"url": "https://mise.jdx.dev/schema/mise.json"
},
{
"name": "mise task",
"description": "mise config for `task_config.includes` tasks",
"url": "https://mise.jdx.dev/schema/mise-task.json"
},
{
"name": "mta.yaml",
"description": "A MTA projects v3.3",
Expand All @@ -8880,7 +8891,7 @@
},
{
"name": "xs-app.json",
"description": "the SAP Application Router v8.2.2",
"description": "SAP Application Router configuration file",
"fileMatch": ["xs-app.json"],
"url": "https://www.schemastore.org/xs-app.json"
},
Expand Down
5 changes: 3 additions & 2 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@
"project-1.0.0-rc2.json",
"project.json",
"prometheus.json",
"proxies.json",
"putout.json",
"pyrseas-0.8.json",
"pylock.json",
Expand Down Expand Up @@ -1560,7 +1559,9 @@
"destinations-rules",
"services-rules",
"logout-rules",
"local-file"
"local-file",
"headers-rules",
"validateWhitelist"
]
},
"vespertide-migration.json": {
Expand Down
7 changes: 7 additions & 0 deletions src/schemas/json/hugo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,14 @@
},
"additionalProperties": false
},
"locale": {
"$comment": "For a multilingual project, specify this value independently for each language key.",
"description": "The language tag as described in RFC 5646.\nhttps://gohugo.io/configuration/all/#locale",
"type": "string",
"default": ""
},
"languageCode": {
"$comment": "DEPRECATED. Use 'locale' instead.",
"description": "The language tag as defined by RFC 5646\nhttps://gohugo.io/getting-started/configuration/#languagecode",
"type": "string",
"default": ""
Expand Down
311 changes: 311 additions & 0 deletions src/schemas/json/metricshub-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -7372,6 +7372,317 @@
}
}
}
},
"healthChecks": {
"type": "array",
"description": "Optional lightweight health-check criteria evaluated during periodic re-validation.",
"items": {
"type": "object",
"oneOf": [
{
"properties": {
"type": {
"const": "deviceType",
"description": "Criteria Type"
},
"forceSerialization": {
"type": "boolean"
},
"keep": {
"type": "array",
"description": "Valid Device Types",
"items": {
"$ref": "#/definitions/deviceKind"
}
},
"exclude": {
"type": "array",
"description": "Invalid Device Types",
"items": {
"$ref": "#/definitions/deviceKind"
}
}
}
},
{
"properties": {
"type": {
"const": "http"
},
"forceSerialization": {
"type": "boolean"
},
"method": {
"$ref": "#/definitions/httpMethod",
"description": "HTTP Method"
},
"url": {
"type": "string",
"description": "HTTP Url"
},
"path": {
"type": "string",
"description": "Http Path"
},
"header": {
"type": "string",
"description": "HTTP Header"
},
"body": {
"type": "string",
"description": "HTTP Body"
},
"expectedResult": {
"type": "string",
"description": "Valid Result"
},
"errorMessage": {
"type": "string",
"description": "Custom Error Message"
},
"resultContent": {
"$ref": "#/definitions/resultContent"
},
"authenticationToken": {
"type": "string",
"description": "HTTP Authentication Token"
}
}
},
{
"properties": {
"type": {
"const": "ipmi"
},
"forceSerialization": {
"type": "boolean"
}
}
},
{
"properties": {
"type": {
"const": "commandLine"
},
"forceSerialization": {
"type": "boolean"
},
"commandLine": {
"type": "string",
"description": "OS Command"
},
"errorMessage": {
"type": "string",
"description": "Custom Error Message"
},
"expectedResult": {
"type": "string",
"description": "Valid Result"
},
"executeLocally": {
"type": "boolean",
"description": "Command Executed On Local Agent"
},
"timeout": {
"type": "integer",
"description": "OS Command Timeout"
}
}
},
{
"properties": {
"type": {
"const": "process"
},
"forceSerialization": {
"type": "boolean"
},
"commandLine": {
"type": "string",
"description": "Regular Expression Matching Command Line Of Process"
}
}
},
{
"properties": {
"type": {
"const": "productRequirements"
},
"forceSerialization": {
"type": "boolean"
},
"engineVersion": {
"type": "string",
"description": "MetricsHubs Minimum Version"
},
"kmVersion": {
"type": "string",
"description": "BMC Sentry Hardware KM Minimum Version"
}
}
},
{
"properties": {
"type": {
"const": "service"
},
"forceSerialization": {
"type": "boolean"
},
"name": {
"type": "string",
"description": "Service Name"
}
}
},
{
"properties": {
"type": {
"const": "snmpGet"
},
"forceSerialization": {
"type": "boolean"
},
"oid": {
"type": "string",
"description": "SNMP Get OID"
},
"expectedResult": {
"type": "string",
"description": "Valid Result"
}
}
},
{
"properties": {
"type": {
"const": "snmpGetNext"
},
"forceSerialization": {
"type": "boolean"
},
"oid": {
"type": "string",
"description": "SNMP GetNext OID"
},
"expectedResult": {
"type": "string",
"description": "Valid Result"
}
}
},
{
"properties": {
"type": {
"const": "wbem"
},
"forceSerialization": {
"type": "boolean"
},
"query": {
"type": "string",
"description": "WBEM Query"
},
"namespace": {
"type": "string",
"description": "WBEM Namespace"
},
"expectedResult": {
"type": "string",
"description": "Valid Result"
},
"errorMessage": {
"type": "string",
"description": "Custom Error Message"
}
}
},
{
"properties": {
"type": {
"const": "wmi"
},
"forceSerialization": {
"type": "boolean"
},
"query": {
"type": "string",
"description": "WMI Query"
},
"namespace": {
"type": "string",
"description": "WMI Namespace"
},
"expectedResult": {
"type": "string",
"description": "Valid Result"
},
"errorMessage": {
"type": "string",
"description": "Custom Error Message"
}
}
},
{
"properties": {
"type": {
"const": "sql",
"description": "Criteria Type"
},
"forceSerialization": {
"type": "boolean"
},
"database": {
"type": "string",
"description": "Optional database name to connect to"
},
"query": {
"type": "string",
"description": "SQL query",
"minLength": 1
},
"expectedResult": {
"type": "string",
"description": "Valid Result (regexp or literal, engine-defined)"
},
"errorMessage": {
"type": "string",
"description": "Custom Error Message"
}
}
},
{
"properties": {
"type": {
"const": "jmx",
"description": "Criteria Type"
},
"forceSerialization": {
"type": "boolean"
},
"objectName": {
"type": "string",
"description": "JMX ObjectName pattern",
"minLength": 1
},
"attributes": {
"type": "array",
"description": "Attributes to fetch from the MBean",
"items": { "type": "string" },
"minItems": 1
},
"expectedResult": {
"type": "string",
"description": "Valid Result (regexp over fetched attribute values)"
},
"errorMessage": {
"type": "string",
"description": "Custom Error Message"
}
}
}
]
}
}
}
},
Expand Down
Loading