{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-charge-item-blueprint-one-schema.json",
  "title": "Public.ChargeItemBlueprint_one",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-chargeitem-api-openapi.yml#/components/schemas/Public.ChargeItemBlueprint_one",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "provider_web_link": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "price_in_cents": {
      "type": "number",
      "format": "float"
    },
    "quantity_in_stock": {
      "type": "integer",
      "format": "int32"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "category": {
      "$ref": "#/$defs/Public.CategoryBlueprint_one"
    }
  },
  "$defs": {
    "Public.CategoryBlueprint_one": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "default_for_memberships": {
          "type": "boolean"
        }
      }
    }
  }
}