{
  "schema_v": 1,
  "tool_key": "supplement-finder",
  "tool": {
    "schema_v": 1,
    "tool_key": "supplement-finder",
    "type": "assessment",
    "render_mode": [
      "embedded_wp",
      "standalone"
    ],
    "engine": {
      "kind": "client_bundle",
      "entry": "supplement-finder"
    },
    "steps": [
      {
        "id": "madeFor",
        "type": "single_select",
        "prompt": "Who is this stack for?",
        "options": [
          "men",
          "women",
          "unspecified"
        ]
      },
      {
        "id": "goals",
        "type": "multi_select",
        "prompt": "What would you most like to improve?",
        "options": [
          "wellness",
          "energy",
          "sleep",
          "stress",
          "mood",
          "focus",
          "memory",
          "digestion",
          "immunity",
          "fitness-recovery",
          "weight-body",
          "heart-metabolic",
          "joints",
          "bone",
          "skin-hair",
          "sexual-health"
        ]
      },
      {
        "id": "current",
        "type": "single_select",
        "prompt": "What are you already taking?",
        "options": [
          "paste",
          "photos",
          "none",
          "skip"
        ]
      },
      {
        "id": "dietaryPattern",
        "type": "multi_select",
        "prompt": "Which eating patterns or food restrictions apply to you?",
        "options": [
          "omnivore",
          "flexitarian",
          "pescatarian",
          "vegetarian",
          "vegan",
          "low-carb",
          "gluten-free",
          "dairy-free",
          "other",
          "unsure"
        ]
      },
      {
        "id": "protein",
        "type": "single_select",
        "prompt": "How much protein do you eat in a day?",
        "options": [
          "under-50",
          "50-100",
          "100-150",
          "over-150",
          "unsure"
        ]
      },
      {
        "id": "foodVariety",
        "type": "multi_select",
        "prompt": "Which of these do you eat on most days?",
        "options": [
          "vegetables",
          "fruit",
          "legumes",
          "nuts-seeds",
          "whole-grains",
          "rarely",
          "unsure"
        ]
      },
      {
        "id": "sunlight",
        "type": "single_select",
        "prompt": "How often are you outdoors during daylight with some skin uncovered?",
        "options": [
          "regular",
          "some",
          "vitamin-d3",
          "unsure"
        ]
      },
      {
        "id": "labGaps",
        "type": "multi_select",
        "prompt": "Has a lab test or clinician confirmed that you are low in anything?",
        "options": [
          "none",
          "vitamin-a",
          "vitamin-c",
          "vitamin-d3",
          "vitamin-e",
          "vitamin-k",
          "thiamin",
          "riboflavin",
          "niacin",
          "pantothenic-acid",
          "vitamin-b6",
          "biotin",
          "folate",
          "vitamin-b12",
          "iron",
          "magnesium",
          "zinc",
          "calcium",
          "potassium",
          "selenium",
          "iodine",
          "copper",
          "chromium",
          "manganese",
          "molybdenum",
          "choline",
          "omega-3",
          "other-confirmed",
          "unsure"
        ]
      },
      {
        "id": "activityLevel",
        "type": "single_select",
        "prompt": "How physically active are you most weeks?",
        "options": [
          "sedentary",
          "moderate",
          "active",
          "unsure"
        ]
      },
      {
        "id": "medication",
        "type": "single_select",
        "prompt": "Do you take any medications?",
        "options": [
          "none",
          "list",
          "unsure"
        ]
      },
      {
        "id": "restrictions",
        "type": "multi_select",
        "prompt": "Any health conditions, allergies or prior bad reactions to account for?",
        "options": [
          "none",
          "pregnancy",
          "kidney_disease",
          "liver_disease",
          "heart_disease",
          "diabetes",
          "bleeding_disorder",
          "thyroid_condition",
          "allergy",
          "unsure"
        ]
      },
      {
        "id": "budget",
        "type": "single_select",
        "prompt": "What do you want to spend per month on additions?",
        "options": [
          "0-25",
          "25-75",
          "75-plus",
          "none"
        ]
      },
      {
        "id": "evidencePreference",
        "type": "single_select",
        "prompt": "How established should the evidence be?",
        "options": [
          "established",
          "balanced",
          "exploratory"
        ]
      }
    ],
    "result_model": {
      "startHere": "The single highest-priority next action.",
      "actions": "Keep / consider / review / verify / food / later actions with rule and source IDs.",
      "coverage": "Named combination checked and its limits.",
      "exclusions": "Product exclusions with reasons."
    },
    "profile_write": {
      "enabled": false,
      "signal_type": null,
      "consent_required": true
    },
    "capture": {
      "placement": "result_gate",
      "mode": "email_first"
    },
    "share": {
      "card": "summary"
    },
    "analytics": {
      "events": [
        "tool_load",
        "step",
        "complete",
        "share"
      ]
    },
    "embed": {
      "allow": true
    },
    "security": {
      "csp": "strict",
      "rate_limit": "default",
      "biometric": false
    }
  },
  "schemas": {
    "input": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "region",
        "adult",
        "medicationStatus"
      ],
      "properties": {
        "region": {
          "type": "string"
        },
        "adult": {
          "type": "boolean"
        },
        "goals": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "medicationStatus": {
          "type": "string",
          "enum": [
            "known",
            "none",
            "unknown"
          ]
        },
        "medicationClasses": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "conditions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "pregnantOrBreastfeeding": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "current": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "productId",
              "servingsPerDay",
              "intent"
            ],
            "properties": {
              "productId": {
                "type": "integer"
              },
              "servingsPerDay": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "intent": {
                "type": "string",
                "enum": [
                  "current",
                  "planned"
                ]
              }
            }
          }
        },
        "confirmedDeficiencies": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "ingredientId",
              "sourceId"
            ],
            "properties": {
              "ingredientId": {
                "type": "string"
              },
              "sourceId": {
                "type": "string"
              }
            }
          }
        },
        "possibleGaps": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "budgetMonthly": {
          "type": [
            "number",
            "null"
          ]
        },
        "priorReactions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "evidencePreference": {
          "type": "string",
          "enum": [
            "established",
            "balanced",
            "exploratory",
            "promising"
          ]
        },
        "strictActives": {
          "type": "boolean"
        },
        "productPriority": {
          "type": "string",
          "enum": [
            "benefits",
            "fewer",
            "cost",
            "control"
          ]
        },
        "foodIntake": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "ingredientId",
              "value",
              "unit"
            ],
            "properties": {
              "ingredientId": {
                "type": "string"
              },
              "value": {
                "type": "number"
              },
              "unit": {
                "type": "string",
                "enum": [
                  "mg",
                  "mcg",
                  "g",
                  "IU"
                ]
              }
            }
          }
        }
      }
    },
    "output": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "plan"
      ],
      "properties": {
        "plan": {
          "type": "object",
          "required": [
            "catalogVersion",
            "startHere",
            "actions",
            "blockedRules",
            "exclusions",
            "coverage",
            "disclosure"
          ],
          "properties": {}
        }
      }
    }
  },
  "endpoints": [
    {
      "kind": "model_context",
      "url": "document.modelContext.supplement-finder",
      "auth": "none",
      "methods": [
        "GET"
      ]
    }
  ],
  "mcp": null,
  "dataset": null,
  "discovery": {
    "schema_v": 1,
    "app_key": "supplement-finder",
    "title": "Supplement Finder",
    "description": "Supplement Finder helps you make a clearer, personalized decision with Outliyr.",
    "canonical_url": "https://outliyr.com/supplement-finder",
    "standalone_url": "https://outliyr.com/apps/supplement-finder",
    "landing_wp_id": 94129,
    "index_policy": "canonical_landing",
    "rendering": {
      "canonical": "server_rendered",
      "standalone": "prerendered_hydration"
    }
  }
}
