{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fusehealth-com/json-schema/fusehealth-com-product-schema.json",
  "title": "Product",
  "description": "Full management view (serializeProduct) — all Product columns plus derived fields.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fusehealth-com-openapi.json#/components/schemas/Product",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "isActive": {
      "type": "boolean"
    },
    "pharmacyProvider": {
      "type": [
        "string",
        "null"
      ]
    },
    "pharmacyPrice": {
      "type": "number"
    },
    "pharmacyProductId": {
      "type": [
        "string",
        "null"
      ]
    },
    "brandName": {
      "type": [
        "string",
        "null"
      ]
    },
    "imageUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "pharmacyCoverages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "customName": {
            "type": [
              "string",
              "null"
            ]
          },
          "pharmacy": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  },
  "additionalProperties": true
}