{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-installation-blueprint-one-with-credential-schema.json",
  "title": "Public.InstallationBlueprint_one_with_credential",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-installation-api-openapi.yml#/components/schemas/Public.InstallationBlueprint_one_with_credential",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "auto_grant_partner_app_access": {
      "type": "string"
    },
    "default_partner_app_admin_role": {
      "type": "string"
    },
    "default_partner_app_non_admin_role": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "api_keys": {
      "$ref": "#/$defs/Public.ApiKeyBlueprint_one"
    },
    "practice": {
      "$ref": "#/$defs/Public.PracticeBlueprint_min"
    },
    "product": {
      "$ref": "#/$defs/Public.ProductBlueprint_min"
    }
  },
  "$defs": {
    "Public.ApiKeyBlueprint_one": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "deactivated_at": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "last_used_at": {
          "type": "string"
        },
        "token": {
          "type": "string"
        }
      }
    },
    "Public.PracticeBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "Public.ProductBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      }
    }
  }
}