{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://open-verify-data.github.io/toto-report-data-methodology/schema/brand.schema.json",
  "title": "Brand",
  "description": "여러 도메인·미러가 하나의 운영 주체로 추정될 때의 묶음. 공개 신호(로고·문구·연락채널·리다이렉트 등)에 근거한 잠정 추정이며 법적 실체를 특정하지 않는다.",
  "type": "object",
  "additionalProperties": false,
  "required": ["brand", "domains"],
  "properties": {
    "brand": {
      "type": "string",
      "description": "운영 단위 그룹 키(설명용 라벨)",
      "examples": ["example-group"]
    },
    "domains": {
      "type": "array",
      "description": "이 브랜드로 잠정 묶인 과거·현재 도메인들",
      "items": { "type": "string" },
      "minItems": 1
    },
    "history": {
      "type": "array",
      "description": "도메인 변경 타임라인(관측 기준)",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "domain": { "type": "string" },
          "first_seen": { "type": "string", "format": "date" },
          "last_seen": { "type": "string", "format": "date" }
        },
        "required": ["domain"]
      }
    }
  }
}
