{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stormmcp/json-schema/stormmcp-credential-test-result-schema.json",
  "title": "CredentialTestResult",
  "description": "Result of a credential test operation.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stormmcp-integrations-api-openapi.yml#/components/schemas/CredentialTestResult",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Gets or sets a value indicating whether the test was successful."
    },
    "statusCode": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ],
      "description": "Gets or sets the HTTP status code returned by the test endpoint.",
      "format": "int32"
    },
    "errorMessage": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets the error message if the test failed."
    },
    "responsePreview": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets a preview of the response body (truncated for large responses)."
    },
    "responseTimeMs": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "integer",
        "string"
      ],
      "description": "Gets or sets the response time in milliseconds.",
      "format": "int64"
    },
    "uriVariableKey": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets the URI variable name when the test failed because that variable\nhad no value. Null for every other result."
    },
    "uriVariableSource": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets where that failure belongs. One of\nUriVariableFailureSources.\nNull when string? CredentialTestResult.UriVariableKey is null."
    }
  }
}