{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casaintelligence-com-au/json-schema/casaintelligence-com-au-match-briefs-response-schema.json",
  "title": "MatchBriefsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casaintelligence-com-au-agent-api-openapi.yml#/components/schemas/MatchBriefsResponse",
  "properties": {
    "matches": {
      "items": {
        "$ref": "#/$defs/app__api__v1__agent__BriefMatchResult"
      },
      "type": "array",
      "title": "Matches"
    }
  },
  "type": "object",
  "required": [
    "matches"
  ],
  "$defs": {
    "app__api__v1__agent__BriefMatchResult": {
      "properties": {
        "brief_id": {
          "type": "string",
          "title": "Brief Id"
        },
        "client_name": {
          "type": "string",
          "title": "Client Name"
        },
        "match_score": {
          "type": "integer",
          "title": "Match Score"
        },
        "match_reasons": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Match Reasons"
        },
        "gaps": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Gaps"
        }
      },
      "type": "object",
      "required": [
        "brief_id",
        "client_name",
        "match_score",
        "match_reasons",
        "gaps"
      ],
      "title": "BriefMatchResult"
    }
  }
}