Overview
The@timeback/case package provides a client for the CASE (Competency and Academic Standards Exchange) API, enabling:
- Documents: List and retrieve curriculum framework documents
- Items: List and retrieve individual competencies and learning objectives
- Associations: Retrieve relationships between CASE entities
- Packages: Upload, update, and retrieve complete framework bundles
Installation
Quick Start
Documents
Curriculum framework documents — the top-level containers for standards.| Method | Returns | Description |
|---|---|---|
list() | { CFDocuments: CFDocument[] } | List all framework documents |
get() | { CFDocument: CFDocument } | Get a document by sourcedId |
Items
Individual competencies, standards, and learning objectives within a framework.| Method | Returns | Description |
|---|---|---|
list() | { CFItems: CFItem[] } | List all framework items |
get() | { CFItem: CFItem } | Get an item by sourcedId |
Associations
Relationships between CASE entities (e.g., “is child of”, “is related to”).| Method | Returns | Description |
|---|---|---|
get() | { CFAssociation: CFAssociation } | Get an association by sourcedId |
Packages
Complete framework bundles containing documents, items, and associations. Supports Zod schema validation on inputs.Upload a Package
All Package Methods
| Method | Returns | Description |
|---|---|---|
create() | CFPackageUploadResult | Upload a complete framework package |
update() | CFPackageUploadResult | Replace a package by sourcedId |
upsert() | CFPackageUploadResult | Create or replace a package |
get() | { CFPackage: CFPackage } | Get a package by sourcedId |
getGroups() | { CFPackageWithGroups: CFPackageWithGroups } | Get a package with hierarchical groups |
Standalone vs Composed
The client works standalone or composed into@timeback/core:
Error Handling
Configuration
Next Steps
CLR
Comprehensive Learner Records
OneRoster
Rostering and enrollments
Types
CASE type definitions