{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/meetkatalis-com/json-schema/meetkatalis-com-enrich-response-schema.json",
  "title": "EnrichResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/meetkatalis-com-openapi.yaml#/components/schemas/EnrichResponse",
  "type": "object",
  "properties": {
    "ms": {
      "type": "integer"
    },
    "profile": {
      "$ref": "#/$defs/BusinessProfile"
    }
  },
  "$defs": {
    "Accuracy": {
      "type": "object",
      "properties": {
        "score": {
          "type": "integer"
        },
        "confidence": {
          "type": "string",
          "enum": [
            "high",
            "medium",
            "low"
          ]
        },
        "breakdown": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "string"
              },
              "points": {
                "type": "number"
              },
              "max": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "BusinessProfile": {
      "type": "object",
      "properties": {
        "found": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "website": {
          "type": "string"
        },
        "companyNumber": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "sicCodes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "incorporationDate": {
          "type": "string"
        },
        "sizeSignal": {
          "type": "string"
        },
        "whatTheyDo": {
          "type": "string"
        },
        "services": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sector": {
          "type": "string"
        },
        "signals": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Signal"
          }
        },
        "accuracy": {
          "$ref": "#/$defs/Accuracy"
        },
        "confidence": {
          "type": "string",
          "enum": [
            "high",
            "medium",
            "low"
          ]
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "attribution": {
          "type": "string"
        }
      }
    },
    "Signal": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "opportunity",
            "risk",
            "info"
          ]
        }
      }
    }
  }
}