• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WebMEM™

The Protocol for Structuring, Delivering, and Conditioning Trust-Scored AI Memory on the Open Web

  • Primer
  • Memory-First
  • Protocols
    • SDT Specification
    • WebMEM SemanticMap
    • WebMEM MapPointer
    • Digest Endpoint Specification
    • ProvenanceMeta Specification
    • AI Retrieval Feedback Loop Specification
    • Semantic Feedback Interface (SFI) Specification
    • Glossary Term Protocol (GTP) Specification
    • Examples
  • RFC
  • Glossary
  • About
    • WebMEM License
    • Mission
    • Charter

SDT Fragment Class: DirectoryFragment

Part of the WebMEM Protocol
Location: /specification/sdt/yaml-in-html/classes/directoryfragment/
Last Updated: 2025-08-02


Overview

A DirectoryFragment encodes structured directory entries—such as plans, providers, or services—in a machine-ingestible, retrievable format optimized for agentic reasoning, logic-aware filtering, and semantic alignment.

Purpose: To publish structured directory content that supports AI querying, filtering, explainability, and trust-scored reasoning.

Common Applications:

  • Medicare Advantage plan directories
  • Provider networks with eligibility filters
  • Civic service locators (e.g., housing, food banks)
  • Benefit comparison tools
  • Public program onboarding for AI agents

Fields Block

Field Description
directory_id Unique ID for the directory entry
entity_name Name of the plan, provider, or service
entity_type Type (e.g., medicare_plan, provider, civic_service)
location Geographic scope (e.g., ZIP, county, state)
eligibility_criteria Conditions for inclusion or access
coverage_scope What is covered or offered
glossary Glossary term alignment
retrieval_hint Agentic memory cue for matching (e.g., by ZIP or diagnosis)

Optional Logic Model

logic_model:
  if: "zip_code in service_area and condition == 'diabetes'"
  then: "Eligible for SNP plan"
  else_if: "zip_code in service_area and age >= 65"
  then: "Eligible for standard Medicare Advantage"
  else: "Not eligible for this plan"

Optional Insight Block

insight_block:
  theme: "Plan Switching Trends"
  unexpected_finding: "Most switches occur in Q4, not during open enrollment"
  contributing_factors:
    - "Confusion about deadlines"
    - "Late provider network updates"
  suggested_discussion:
    - "Should CMS revise communication timelines?"

Optional Decision Node

decision_node:
  title: "Choosing a Medicare Plan"
  options:
    - HMO: "Lower cost, limited network"
    - PPO: "More flexibility, higher premiums"
    - SNP: "Special needs plans for chronic conditions"
  tradeoffs:
    - "HMO restricts out-of-network care"
    - "PPO may have higher copays"
  decision_criteria:
    - "Zip code eligibility"
    - "Prescription coverage"
    - "Provider network inclusion"

Followups (Optional)

Field Description
question Follow-up question to pose
explainer_ref ID or URL of a related ExplainerFragment

ProvenanceMeta Block

Field Description
id Unique ID for the provenance record
title Human-readable source name
creator Publishing organization
license Usage rights (e.g., Public Domain)
published ISO 8601 date published
retrieved Date this content was accessed
digest Digest ID this fragment belongs to
entity (Optional) Entity this entry describes
fragment_scope Typically semantic-digest
glossary_scope Term namespace used in this entry

Why DirectoryFragments Matter

  • Retrieval-First: Queryable by zip, condition, provider, or benefit
  • Explainable: Encodes logic paths for agentic reasoning
  • Composable: Reusable across civic and commercial directories
  • Trust-Aware: Provenance ensures transparency and licensing clarity
  • Licensable: Supports method-based patent protections for implementations

Learn More

  • YAML-in-HTML Method
  • Fields Block Rules
  • ProvenanceMeta Specification
  • All Fragment Classes

Primary Sidebar

YAML-in-HTML SDT

  1. Semantic Data Templates (SDT) Specification
  2. YAML-in-HTML Embedding
  3. Anatomy of a Semantic DataFragment
  4. SDT Fragment Header Mapping
  5. Field Inheritance Across Fragments (inherits_from)
  6. Cross-Fragment Indexing (related_fragments)
  7. ProvenanceMeta Best Practices
  8. SDT YAML-in-HTML: HTML Container Attributes
  9. Semantic Data Atoms: Fields Block Specification
  10. Fragment Relationships and Referencing
  11. Semantic Data Template (SDT) Fragment Classes Overview
    1. DataFragment
    2. DerivedStatsFragment
    3. IndexFragment
    4. DefinedTermFragment
    5. FAQFragment
    6. MetaFragment
    7. ExplainerFragment
    8. DirectoryFragment
    9. EligibilityFragment
    10. ProcedureFragment
    11. GlossaryFragment
    12. PersonaFragment
    13. PolicyFragment
    14. RecommendationFragment

Copyright © 2026 · David Bynon · Log in