{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://xhmcx.com/ai/data.schema.json",
  "title": "郑州市硕糖网络科技有限公司公共资料",
  "type": "object",
  "required": [
    "schema_version",
    "updated_at",
    "content_sha256",
    "company",
    "services",
    "prices",
    "articles"
  ],
  "properties": {
    "schema_version": {
      "const": "1.0.0"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "content_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "company": {
      "type": "object",
      "required": [
        "name",
        "brand",
        "website",
        "telephone",
        "source_url",
        "capabilities"
      ]
    },
    "services": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "source_url",
          "product_ids",
          "deliverables"
        ]
      }
    },
    "articles": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "source_url",
          "sections"
        ]
      }
    },
    "prices": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "amount_cny",
          "currency",
          "is_starting_price",
          "scope",
          "exclusions",
          "source_url"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "amount_cny": {
            "type": "string",
            "pattern": "^[0-9]+\\.[0-9]{2}$"
          },
          "currency": {
            "const": "CNY"
          },
          "is_starting_price": {
            "type": "boolean"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}
