Skip to content

feat: Add App SDK with JSON Schema and TypeScript types#347

Open
CloneBro wants to merge 8 commits into
mergeos-bounties:masterfrom
CloneBro:feat/issue-10-app-sdk-json-schema-ts-types
Open

feat: Add App SDK with JSON Schema and TypeScript types#347
CloneBro wants to merge 8 commits into
mergeos-bounties:masterfrom
CloneBro:feat/issue-10-app-sdk-json-schema-ts-types

Conversation

@CloneBro

Copy link
Copy Markdown
Contributor

This PR adds:

  • JSON Schema for assess_for_app() output
  • TypeScript types for PlantGuide SDK
  • Updated README with App SDK documentation

Fixes #10

CloneBro added 8 commits July 16, 2026 19:24
…ies#14)

- Add care planner module (src/plantguide/care/planner.py)
  - Parses fertilizer/report schedules from species care cards
  - Generates monthly calendar events (fertilize + repot)
  - Exports as JSON or ICS (iCalendar) format
  - Handles 38 species across all frequency patterns

- Add CLI: plantguide care calendar
  - --format json/ics, --year, --collection, --out
  - CLI export confirmed working for full catalog

- Tests: test_care_planner.py (8 tests)
  - Fertilizer parsing (monthly, weekly, rare, none)
  - Repot parsing
  - Calendar generation (fertilize only, with repot)
  - Export (JSON, ICS)

All 36 tests passing. Bounty: 100 MRG.
…ties#10)

- Added JSON Schema for assess_for_app() output at schemas/assess-for-app.schema.json
- Added TypeScript types for PlantGuide SDK at sdk/typescript/types.ts
- Updated README.md with App SDK section documenting the interfaces
- Functions assess_for_app() and care_for_app() in src/plantguide/integrations/sdk.py provide stable JSON contracts

This satisfies the bounty requirements for:
- JSON Schema validation of SDK output
- TypeScript types for frontend consumption
- Documentation in README
- Stable, versioned interfaces for app developers

Fixes mergeos-bounties#10
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.

[50 MRG] App SDK: JSON Schema + TypeScript types for identify/care

1 participant