{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/capepartners-fr/json-schema/capepartners-fr-match-schema.json",
  "title": "Match",
  "description": "A ranked counterparty match. Names are redacted (Company A/B/C…) and financial fit signals are returned as coarse bands inside `reasons` (strong/moderate/weak/poor) until an NDA is recorded. Full identity and granular metrics unlock only after POST /api/nda/sign.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/capepartners-fr-matching-api-openapi.yml#/components/schemas/Match",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string",
      "description": "Redacted name (Company A/B/C…) unless NDA-gated reveal"
    },
    "score": {
      "type": "number",
      "format": "float",
      "description": "Overall fit score (deterministic x semantic)"
    },
    "scores": {
      "type": "object",
      "description": "Per-dimension deterministic sub-scores (revenue/growth/ebitda/deterministic/semantic)"
    },
    "data_quality": {
      "type": "number",
      "format": "float"
    },
    "reasons": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Band-qualified fit reasons, e.g. \"Revenue fit: strong vs range €2M–€50M\" (no raw revenue/growth/EBITDA)"
    }
  }
}