Part of the WebMEM Protocol
Location: /specification/sdt/yaml-in-html/classes/eligibilityfragment/
Last Updated: 2025-08-02
Overview
An EligibilityFragment encodes conditional access rules for public benefits, services, or programs in a structured, retrievable, and explainable format. These fragments allow AI agents to evaluate user input, navigate eligibility logic, and return trustworthy outcomes aligned with glossary and provenance references.
Purpose: To enable agentic systems to evaluate and explain program eligibility with structured logic and source-scoped definitions.
Common Applications:
- Public benefit eligibility (SNAP, Medicaid, housing)
- Insurance qualification flows
- Student aid screening
- Government program onboarding
- Policy-based access rules
Fields Block
| Field | Description |
|---|---|
program |
Name of the program or service |
criteria |
Key qualifying conditions or thresholds |
glossary |
Glossary term namespace for criteria |
retrieval_hint |
AI memory cue for triggering or filtering |
Logic Model (Required)
logic_model:
if: "income < 2000 and residency == true"
then: "Eligible"
else: "Not eligible"
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 eligibility refers to |
fragment_scope |
Typically semantic-digest |
glossary_scope |
Term namespace used in criteria |
Why EligibilityFragments Matter
- Retrievable: Makes access rules AI-discoverable and usable
- Explainable: Logic is structured and transparent
- Composable: Can be linked to plan pages, onboarding tools, or agent workflows
- Glossary-Aligned: Every term can be scoped to trusted definitions
- Federatable: Ideal for civic publishing across jurisdictions