🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@pocketlantern/schema

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pocketlantern/schema

Card schema definitions for PocketLantern (zod + TypeScript)

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
12
-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

@pocketlantern/schema

Card schema definitions for PocketLantern — Zod types and JSON Schema export.

Usage

import { CardSchema, type Card } from "@pocketlantern/schema";

const card = CardSchema.parse(rawYaml);

Exports

  • CardSchema — Zod schema for decision cards
  • CandidateSchema — Zod schema for solution candidates
  • Constraint — Enum of environment constraints
  • CardStatus"active" | "deprecated" | "draft"
  • CardTier"core" | "foundational"
  • cardToJsonSchema() — Convert to JSON Schema

License

MIT

Keywords

schema

FAQs

Package last updated on 26 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts