LogoClawIndex
CasesSkillsAbout
LogoClawIndex

data-mapping - Transform API responses into typed internal models

Defines TypeScript mapper patterns for converting API responses into validated internal types.

Tags

Updated: 2026-11-27

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Map API fields to models
  • Validate required fields
  • Convert snake_case to camelCase
  • Convert core types with map()
  • Normalize optional values
  • Convert enum values
  • Map nested objects
  • Map enum arrays

Inputs

  • API specifications
  • API response objects
  • TypeScript interfaces
  • Generated model definitions

Outputs

  • Typed internal model objects
  • Validation errors

Requirements

  • TypeScript or JavaScript project
  • Mapping utility support
  • Generated model definitions

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
data mapping
API transformation
TypeScript
validation
camelCase conversion
enum conversion
Map API fields to models
Validate required fields
Convert snake_case to camelCase
Convert core types with map()
API specifications
API response objects
TypeScript interfaces
Typed internal model objects
Validation errors