Skip to content

feat(schema): add geographic eligibility to programs - #82

Open
teddiesloco wants to merge 1 commit into
Affitor:mainfrom
teddiesloco:feat/schema-geo-eligibility
Open

feat(schema): add geographic eligibility to programs#82
teddiesloco wants to merge 1 commit into
Affitor:mainfrom
teddiesloco:feat/schema-geo-eligibility

Conversation

@teddiesloco

Copy link
Copy Markdown

Summary

  • add optional geographic and jurisdictional eligibility fields to the program JSON schema
  • preserve eligibility through the registry/API mapping and expose typed camelCase fields in the SDK
  • show eligibility details in CLI info output and advertise them in the MCP get_program tool
  • add Ajv schema regression coverage for a populated eligibility block and the existing YAML corpus

Validation

  • npm test
  • npm run lint (0 errors; 23 pre-existing warnings)
  • npm run lint --workspace openaffiliate-sdk
  • npm run lint --workspace openaffiliate
  • npm run lint --workspace openaffiliate-mcp
  • npm run registry:build (760 programs)
  • npm run build (884 static/dynamic routes generated)
  • npm run build for SDK, CLI, and MCP workspaces

Closes #27

@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@renoschubert is attempting to deploy a commit to the affitor Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: add geographic eligibility / country fields to program schema

1 participant