{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audit-domains/json-schema/audit-domains-comp-schema.json",
  "title": "Comp",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audit-domains-openapi.json#/components/schemas/Comp",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "priceUsd": {
      "type": "number"
    },
    "year": {
      "type": "string"
    },
    "venue": {
      "type": [
        "string",
        "null"
      ]
    },
    "similarity": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "basis": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why this sale was matched, naming the channel the matcher scored on (shared keyword, word family, same industry, structural cohort, spelling, length/zone). null means the basis was not recorded for this comp - the match is unexplained, not explained by something unstated."
    }
  }
}