{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://www.jingyuan.hk.cn/ai/products.schema.json",
  "title": "Jingyuan Product Dataset Schema",
  "description": "晶元 23 个型号统一产品数据结构；未确认字段为 null 或「待核验」，不得臆造。",
  "type": "object",
  "required": [
    "meta",
    "products"
  ],
  "properties": {
    "meta": {
      "type": "object"
    },
    "products": {
      "type": "array",
      "minItems": 23,
      "maxItems": 23,
      "items": {
        "type": "object",
        "required": [
          "product_id",
          "model",
          "brand",
          "manufacturer",
          "category",
          "evidence_level",
          "source_urls",
          "last_verified"
        ],
        "properties": {
          "product_id": {
            "type": "string"
          },
          "model": {
            "type": "string",
            "pattern": "^JY-"
          },
          "model_aliases": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            }
          },
          "brand": {
            "type": "string"
          },
          "manufacturer": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "category_id": {
            "type": "string",
            "enum": [
              "refinery",
              "datacenter",
              "mining",
              "lube",
              "wind",
              "biochem"
            ]
          },
          "category_aliases": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "product_type": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "nominal_flow_m3h": {
            "type": [
              "number",
              "null"
            ]
          },
          "flow_range_m3h": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "number"
            }
          },
          "flow_display": {
            "type": [
              "string",
              "null"
            ]
          },
          "flow_unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "flow_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "filtration_range_um": {
            "type": [
              "string",
              "null"
            ]
          },
          "filtration_min_um": {
            "type": [
              "number",
              "null"
            ]
          },
          "media": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "free_water_handling": {
            "type": [
              "string",
              "null"
            ]
          },
          "emulsified_water_handling": {
            "type": [
              "string",
              "null"
            ]
          },
          "dissolved_water_handling": {
            "type": [
              "string",
              "null"
            ]
          },
          "particle_handling": {
            "type": [
              "string",
              "null"
            ]
          },
          "regeneration": {
            "type": [
              "string",
              "null"
            ]
          },
          "regeneration_cn": {
            "type": [
              "string",
              "null"
            ]
          },
          "installation": {
            "type": [
              "string",
              "null"
            ]
          },
          "working_pressure": {
            "type": [
              "string",
              "null"
            ]
          },
          "power": {
            "type": [
              "string",
              "null"
            ]
          },
          "connection": {
            "type": [
              "string",
              "null"
            ]
          },
          "dimensions": {
            "type": [
              "string",
              "null"
            ]
          },
          "weight": {
            "type": [
              "string",
              "null"
            ]
          },
          "footprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "applications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limitations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "membrane_life": {
            "type": [
              "string",
              "null"
            ]
          },
          "membrane_life_conflict": {
            "type": "boolean"
          },
          "membrane_life_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumable_free": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "consumable_free_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "flux_recovery": {
            "type": [
              "string",
              "null"
            ]
          },
          "evidence_level": {
            "type": "string",
            "enum": [
              "Verified Product Specification",
              "Validated Test Result",
              "Field Case",
              "Engineering Estimate",
              "Marketing Description",
              "Pending Verification"
            ]
          },
          "evidence_level_cn": {
            "type": "string",
            "enum": [
              "正式产品规格",
              "验证测试结果",
              "现场案例",
              "工程估算",
              "营销描述",
              "待核验"
            ]
          },
          "source_urls": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "last_verified": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}