@citolab/qti-json-schemas
v1.0.18
Published
Generated TypeScript models for the QTI JSON schema project
Downloads
115
Keywords
Readme
@citolab/qti-json-schemas
Generated TypeScript models for the QTI JSON schema project.
This package provides TypeScript interfaces and types automatically generated from JSON Schema definitions for QTI-based assessment items. It enables type-safe development when working with QTI content in a normalized JSON format.
Installation
npm install @citolab/qti-json-schemasUsage
import { ExamDocument, ExamItem, ExamObject } from '@citolab/qti-json-schemas';
// Use the generated types for type-safe QTI content handling
const examDoc: ExamDocument = {
// ... your exam document data
};What's Included
- ExamDocument: Root structure for assessment content
- ExamItem: Individual assessment item definitions
- ExamObject: Reusable assessment components
- Group: Item grouping structures
- User: User and scoring contexts
- Additional supporting types and interfaces
Related Packages
@citolab/qti-json-schema-converters- TypeScript converters for QTI ↔ JSON transformationcitolab-qti-json-schema-models- Python version of these modelsCitolab.QtiJsonSchema.Models- C# version of these models
Project
This package is part of the QTI JSON Schemas project, which aims to create a normalized JSON representation for assessment content that's easier for LLMs and modern applications to work with than traditional QTI XML formats.
