{
  "apiVersion": "0.1.0",
  "specVersion": "0.5.0",
  "protocol": {
    "id": "wellbecoming",
    "name": "Wellbecoming Protocol",
    "path": "~WellbecomingProtocol",
    "level": "L1",
    "version": "0.4.0",
    "status": "locked",
    "description": "Measures private and performance context that updates Wellbeing Identity.",
    "nodes": [
      {
        "id": "physiology",
        "name": "Physiology",
        "path": "~~Physiology",
        "level": "L2",
        "privacy": "private",
        "description": "Physical state and biological context.",
        "facets": [
          {
            "id": "movement",
            "name": "Movement",
            "path": "~~~Movement",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Movement and physical activity signal."
          },
          {
            "id": "rest",
            "name": "Rest",
            "path": "~~~Rest",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Rest and sleep signal."
          },
          {
            "id": "diet",
            "name": "Diet",
            "path": "~~~Diet",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Nutrition signal."
          },
          {
            "id": "fasting",
            "name": "Fasting",
            "path": "~~~Fasting",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Fasting signal."
          },
          {
            "id": "breathwork",
            "name": "Breathwork",
            "path": "~~~Breathwork",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Breathing practice signal."
          },
          {
            "id": "biomarkers",
            "name": "Biomarkers",
            "path": "~~~Biomarkers",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Biomarker signal set."
          },
          {
            "id": "body-composition",
            "name": "Body Composition",
            "path": "~~~BodyComposition",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Body composition signal."
          }
        ]
      },
      {
        "id": "emotion",
        "name": "Emotion",
        "path": "~~Emotion",
        "level": "L2",
        "privacy": "private",
        "description": "Biochemical affective signals.",
        "facets": [
          {
            "id": "dopamine",
            "name": "Dopamine",
            "path": "~~~Dopamine",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Dopamine-linked signal."
          },
          {
            "id": "serotonin",
            "name": "Serotonin",
            "path": "~~~Serotonin",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Serotonin-linked signal."
          },
          {
            "id": "cortisol",
            "name": "Cortisol",
            "path": "~~~Cortisol",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Cortisol-linked signal."
          },
          {
            "id": "adrenaline",
            "name": "Adrenaline",
            "path": "~~~Adrenaline",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Adrenaline-linked signal."
          },
          {
            "id": "norepinephrine",
            "name": "Norepinephrine",
            "path": "~~~Norepinephrine",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Norepinephrine-linked signal."
          },
          {
            "id": "oxytocin",
            "name": "Oxytocin",
            "path": "~~~Oxytocin",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Oxytocin-linked signal."
          },
          {
            "id": "endorphin",
            "name": "Endorphin",
            "path": "~~~Endorphin",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Endorphin-linked signal."
          },
          {
            "id": "gaba",
            "name": "GABA",
            "path": "~~~GABA",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "GABA-linked signal."
          },
          {
            "id": "glutamate",
            "name": "Glutamate",
            "path": "~~~Glutamate",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Glutamate-linked signal."
          },
          {
            "id": "acetylcholine",
            "name": "Acetylcholine",
            "path": "~~~Acetylcholine",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Acetylcholine-linked signal."
          }
        ]
      },
      {
        "id": "feeling",
        "name": "Feeling",
        "path": "~~Feeling",
        "level": "L2",
        "privacy": "private",
        "description": "Subjective felt-state signals.",
        "facets": [
          {
            "id": "love-affection",
            "name": "Love Affection",
            "path": "~~~LoveAffection",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Love or affection signal."
          },
          {
            "id": "joy-humor",
            "name": "Joy Humor",
            "path": "~~~JoyHumor",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Joy or humor signal."
          },
          {
            "id": "compassion-sorrow",
            "name": "Compassion Sorrow",
            "path": "~~~CompassionSorrow",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Compassion or sorrow signal."
          },
          {
            "id": "anger",
            "name": "Anger",
            "path": "~~~Anger",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Anger signal."
          },
          {
            "id": "courage",
            "name": "Courage",
            "path": "~~~Courage",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Courage signal."
          },
          {
            "id": "fear",
            "name": "Fear",
            "path": "~~~Fear",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Fear signal."
          },
          {
            "id": "disgust",
            "name": "Disgust",
            "path": "~~~Disgust",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Disgust signal."
          },
          {
            "id": "wonder",
            "name": "Wonder",
            "path": "~~~Wonder",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Wonder signal."
          },
          {
            "id": "peace-equanimity",
            "name": "Peace Equanimity",
            "path": "~~~PeaceEquanimity",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Peace or equanimity signal."
          },
          {
            "id": "dominant-feeling",
            "name": "Dominant Feeling",
            "path": "~~~DominantFeeling",
            "level": "L3",
            "type": "enum",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Dominant subjective feeling."
          }
        ]
      },
      {
        "id": "thought",
        "name": "Thought",
        "path": "~~Thought",
        "level": "L2",
        "privacy": "private",
        "description": "Cognitive state and model signals.",
        "facets": [
          {
            "id": "cognitive-state",
            "name": "Cognitive State",
            "path": "~~~CognitiveState",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Current cognitive state."
          },
          {
            "id": "thinking-system",
            "name": "Thinking System",
            "path": "~~~ThinkingSystem",
            "level": "L3",
            "type": "enum",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Thinking mode or system."
          },
          {
            "id": "mental-model",
            "name": "Mental Model",
            "path": "~~~MentalModel",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Mental model in use."
          },
          {
            "id": "cognitive-bias",
            "name": "Cognitive Bias",
            "path": "~~~CognitiveBias",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Bias pattern detected or declared."
          },
          {
            "id": "consciousness",
            "name": "Consciousness",
            "path": "~~~Consciousness",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Consciousness or awareness signal."
          }
        ]
      },
      {
        "id": "habit",
        "name": "Habit",
        "path": "~~Habit",
        "level": "L2",
        "privacy": "private",
        "description": "Recurring behavior pattern signals.",
        "facets": [
          {
            "id": "cue",
            "name": "Cue",
            "path": "~~~Cue",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Habit trigger cue."
          },
          {
            "id": "routine",
            "name": "Routine",
            "path": "~~~Routine",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Habit routine."
          },
          {
            "id": "reward",
            "name": "Reward",
            "path": "~~~Reward",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Habit reward."
          },
          {
            "id": "consistency",
            "name": "Consistency",
            "path": "~~~Consistency",
            "level": "L3",
            "type": "metric",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Habit consistency signal."
          },
          {
            "id": "streak",
            "name": "Streak",
            "path": "~~~Streak",
            "level": "L3",
            "type": "number",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbecoming",
            "description": "Habit streak count."
          }
        ]
      },
      {
        "id": "performance",
        "name": "Performance",
        "path": "~~Performance",
        "level": "L2",
        "privacy": "public-gateway",
        "description": "Public gateway outputs that can activate SAOcommons validation.",
        "facets": [
          {
            "id": "learning-output",
            "name": "Learning Output",
            "path": "~~~LearningOutput",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "public-gateway",
            "sourceProtocol": "wellbecoming",
            "description": "Learning output that can route to SAOcommons."
          },
          {
            "id": "earning-output",
            "name": "Earning Output",
            "path": "~~~EarningOutput",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "public-gateway",
            "sourceProtocol": "wellbecoming",
            "description": "Earning output that can route to SAOcommons."
          },
          {
            "id": "org-building-output",
            "name": "Org Building Output",
            "path": "~~~OrgBuildingOutput",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "public-gateway",
            "sourceProtocol": "wellbecoming",
            "description": "Organization-building output that can route to SAOcommons."
          },
          {
            "id": "deliverable-ref",
            "name": "Deliverable Ref",
            "path": "~~~DeliverableRef",
            "level": "L3",
            "type": "uri",
            "required": false,
            "privacy": "public-gateway",
            "sourceProtocol": "wellbecoming",
            "description": "Reference to the concrete deliverable or output being interpreted by Performance and validated downstream."
          },
          {
            "id": "skill-application",
            "name": "Skill Application",
            "path": "~~~SkillApplication",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "public-gateway",
            "sourceProtocol": "wellbecoming",
            "description": "Skill applied during performance."
          },
          {
            "id": "community-context",
            "name": "Community Context",
            "path": "~~~CommunityContext",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "public-gateway",
            "sourceProtocol": "wellbecoming",
            "description": "Community context for performance."
          }
        ]
      }
    ]
  }
}
