{
  "apiVersion": "0.1.0",
  "specVersion": "0.5.0",
  "protocol": {
    "id": "wellbeing-identity",
    "name": "Wellbeing Identity",
    "path": "~WellbeingIdentity",
    "level": "L1",
    "version": "0.4.0",
    "status": "locked",
    "description": "Living identity state updated by Value Capture, Wellbecoming, and SAOcommons.",
    "nodes": [
      {
        "id": "given-identity",
        "name": "Given Identity",
        "path": "~~GivenIdentity",
        "level": "L2",
        "privacy": "selective-disclosure",
        "description": "Given or legally anchored identity context.",
        "facets": [
          {
            "id": "full-name",
            "name": "Full Name",
            "path": "~~~FullName",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Full legal or chosen name."
          },
          {
            "id": "national-id",
            "name": "National ID",
            "path": "~~~NationalId",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "National identity reference."
          },
          {
            "id": "birth-date",
            "name": "Birth Date",
            "path": "~~~BirthDate",
            "level": "L3",
            "type": "date",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Birth date."
          },
          {
            "id": "birth-place",
            "name": "Birth Place",
            "path": "~~~BirthPlace",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Birth place."
          },
          {
            "id": "sex",
            "name": "Sex",
            "path": "~~~Sex",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Sex marker."
          },
          {
            "id": "language",
            "name": "Language",
            "path": "~~~Language",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Language context."
          },
          {
            "id": "nationality",
            "name": "Nationality",
            "path": "~~~Nationality",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Nationality context."
          },
          {
            "id": "citizenship",
            "name": "Citizenship",
            "path": "~~~Citizenship",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Citizenship context."
          },
          {
            "id": "religion",
            "name": "Religion",
            "path": "~~~Religion",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Religion context."
          },
          {
            "id": "caste",
            "name": "Caste",
            "path": "~~~Caste",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Caste or caste-community context controlled by Consent And Disclosure."
          },
          {
            "id": "genetics",
            "name": "Genetics",
            "path": "~~~Genetics",
            "level": "L3",
            "type": "object",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Genetic context."
          },
          {
            "id": "did",
            "name": "DID",
            "path": "~~~DID",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Decentralized identifier."
          }
        ]
      },
      {
        "id": "earned-identity",
        "name": "Earned Identity",
        "path": "~~EarnedIdentity",
        "level": "L2",
        "privacy": "selective-disclosure",
        "description": "Credentials, experience, and portfolio earned over time.",
        "facets": [
          {
            "id": "schooling",
            "name": "Schooling",
            "path": "~~~Schooling",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Schooling history."
          },
          {
            "id": "ug",
            "name": "UG",
            "path": "~~~UG",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Undergraduate credential."
          },
          {
            "id": "pg",
            "name": "PG",
            "path": "~~~PG",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Postgraduate credential."
          },
          {
            "id": "phd",
            "name": "PhD",
            "path": "~~~PhD",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Doctoral credential."
          },
          {
            "id": "certifications",
            "name": "Certifications",
            "path": "~~~Certifications",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Certification set."
          },
          {
            "id": "work-experience",
            "name": "Work Experience",
            "path": "~~~WorkExperience",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Work experience history."
          },
          {
            "id": "portfolio",
            "name": "Portfolio",
            "path": "~~~Portfolio",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Portfolio artifacts."
          }
        ]
      },
      {
        "id": "rented-identity",
        "name": "Rented Identity",
        "path": "~~RentedIdentity",
        "level": "L2",
        "privacy": "selective-disclosure",
        "description": "Platform handles and rented social surfaces.",
        "facets": [
          {
            "id": "x",
            "name": "X",
            "path": "~~~X",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "X handle."
          },
          {
            "id": "linkedin",
            "name": "LinkedIn",
            "path": "~~~LinkedIn",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "LinkedIn profile."
          },
          {
            "id": "youtube",
            "name": "YouTube",
            "path": "~~~YouTube",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "YouTube channel."
          },
          {
            "id": "instagram",
            "name": "Instagram",
            "path": "~~~Instagram",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Instagram handle."
          },
          {
            "id": "substack",
            "name": "Substack",
            "path": "~~~Substack",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Substack publication."
          },
          {
            "id": "github",
            "name": "GitHub",
            "path": "~~~GitHub",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "GitHub account."
          },
          {
            "id": "website-handles",
            "name": "Website Handles",
            "path": "~~~WebsiteHandles",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Website handles or owned domains."
          }
        ]
      },
      {
        "id": "skills",
        "name": "Skills",
        "path": "~~Skills",
        "level": "L2",
        "privacy": "selective-disclosure",
        "description": "Capability map and skill trajectory.",
        "facets": [
          {
            "id": "hard-skills",
            "name": "Hard Skills",
            "path": "~~~HardSkills",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Technical or domain skills."
          },
          {
            "id": "soft-skills",
            "name": "Soft Skills",
            "path": "~~~SoftSkills",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Interpersonal or behavioral skills."
          },
          {
            "id": "skill-level",
            "name": "Skill Level",
            "path": "~~~SkillLevel",
            "level": "L3",
            "type": "number",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Current skill level."
          },
          {
            "id": "skill-evidence",
            "name": "Skill Evidence",
            "path": "~~~SkillEvidence",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Evidence backing skill claims."
          },
          {
            "id": "skill-trajectory",
            "name": "Skill Trajectory",
            "path": "~~~SkillTrajectory",
            "level": "L3",
            "type": "object",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Skill progression over time."
          }
        ]
      },
      {
        "id": "moral-compass",
        "name": "Moral Compass",
        "path": "~~MoralCompass",
        "level": "L2",
        "privacy": "selective-disclosure",
        "description": "Values, virtues, and ethical boundaries.",
        "facets": [
          {
            "id": "virtues",
            "name": "Virtues",
            "path": "~~~Virtues",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Practiced virtues."
          },
          {
            "id": "values",
            "name": "Values",
            "path": "~~~Values",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Stated values."
          },
          {
            "id": "ethical-boundaries",
            "name": "Ethical Boundaries",
            "path": "~~~EthicalBoundaries",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Explicit ethical boundaries."
          }
        ]
      },
      {
        "id": "story",
        "name": "Story",
        "path": "~~Story",
        "level": "L2",
        "privacy": "selective-disclosure",
        "description": "Narrative identity across past, present, and future.",
        "facets": [
          {
            "id": "past",
            "name": "Past",
            "path": "~~~Past",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Past narrative."
          },
          {
            "id": "now",
            "name": "Now",
            "path": "~~~Now",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Current narrative."
          },
          {
            "id": "future",
            "name": "Future",
            "path": "~~~Future",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Future narrative."
          },
          {
            "id": "turning-points",
            "name": "Turning Points",
            "path": "~~~TurningPoints",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Major turning points."
          },
          {
            "id": "vision",
            "name": "Vision",
            "path": "~~~Vision",
            "level": "L3",
            "type": "string",
            "required": false,
            "privacy": "selective-disclosure",
            "sourceProtocol": "wellbeing-identity",
            "description": "Future-oriented vision."
          }
        ]
      },
      {
        "id": "identity-state",
        "name": "Identity State",
        "path": "~~IdentityState",
        "level": "L2",
        "privacy": "private",
        "description": "Convergent living state updated by the other protocols.",
        "facets": [
          {
            "id": "wellbeing-score",
            "name": "Wellbeing Score",
            "path": "~~~WellbeingScore",
            "level": "L3",
            "type": "score",
            "required": true,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Composite state score."
          },
          {
            "id": "score-history",
            "name": "Score History",
            "path": "~~~ScoreHistory",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Score history over time."
          },
          {
            "id": "protocol-convergence",
            "name": "Protocol Convergence",
            "path": "~~~ProtocolConvergence",
            "level": "L3",
            "type": "object",
            "required": true,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Provenance map from all contributing protocols."
          }
        ]
      },
      {
        "id": "consent-and-disclosure",
        "name": "Consent And Disclosure",
        "path": "~~ConsentAndDisclosure",
        "level": "L2",
        "privacy": "private",
        "description": "Consent controls and selective disclosure policy.",
        "facets": [
          {
            "id": "disclosure-policy",
            "name": "Disclosure Policy",
            "path": "~~~DisclosurePolicy",
            "level": "L3",
            "type": "object",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Policy governing disclosure."
          },
          {
            "id": "selective-disclosure",
            "name": "Selective Disclosure",
            "path": "~~~SelectiveDisclosure",
            "level": "L3",
            "type": "object",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Selective disclosure controls."
          },
          {
            "id": "facet-disclosure-rules",
            "name": "Facet Disclosure Rules",
            "path": "~~~FacetDisclosureRules",
            "level": "L3",
            "type": "object",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Facet-level disclosure constraints for each identity or state field."
          },
          {
            "id": "audience-scopes",
            "name": "Audience Scopes",
            "path": "~~~AudienceScopes",
            "level": "L3",
            "type": "array",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Audiences or contexts allowed to access selected facets."
          },
          {
            "id": "consent-grant",
            "name": "Consent Grant",
            "path": "~~~ConsentGrant",
            "level": "L3",
            "type": "object",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Explicit consent grant for a facet",
            "audience": null,
            "purpose": null,
            "and time window.": null
          },
          {
            "id": "consent-expiry",
            "name": "Consent Expiry",
            "path": "~~~ConsentExpiry",
            "level": "L3",
            "type": "datetime",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Expiration timestamp for a consent grant or disclosure permission."
          },
          {
            "id": "revocation-state",
            "name": "Revocation State",
            "path": "~~~RevocationState",
            "level": "L3",
            "type": "object",
            "required": false,
            "privacy": "private",
            "sourceProtocol": "wellbeing-identity",
            "description": "Revocation status for prior disclosures."
          }
        ]
      }
    ]
  }
}
