
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
@prodi-labs/schemas
Advanced tools
A collection of Zod schemas for validating data structures used in the Prodi application.
A collection of Zod schemas for validating data structures used in the Prodi application.
dialogueSchema
- Validates dialogue properties (text, delay, voice, etc.)sectionSchema
- Validates episode sections containing dialoguesepisodeMetadataSchema
- Validates episode metadata (title, timestamps, audio files)episodeSchema
- Complete episode structure with metadata and sectionsprojectRequestSchema
- Validates project creation/update request dataprojectSchema
- Complete project structure with ID and required fieldsprojectsListSchema
- Validates a list of projectsSee the dedicated documentation pages for detailed schema information.
To use these schemas in your project, install the package from npm:
npm install @prodi-labs/schemas
You can also install a specific version:
npm install @prodi-labs/schemas@1.0.9
To update to the latest compatible version:
npm update @prodi-labs/schemas
To publish a new version of this package:
# For bug fixes and patches (1.0.x)
npm run publish:patch
# For new features (1.x.0)
npm run publish:minor
# For breaking changes (x.0.0)
npm run publish:major
These commands will automatically:
All schemas are built with Zod for runtime type validation.
To use these schemas in your code:
import { EpisodeRequestSchema } from "@prodi-labs/schemas/api/createEpisode.schema";
const result = EpisodeRequestSchema.safeParse(data);
if (result.success) {
const validData = result.data;
} else {
console.error(result.error);
}
FAQs
A collection of Zod schemas for validating data structures used in the Prodi application.
The npm package @prodi-labs/schemas receives a total of 1 weekly downloads. As such, @prodi-labs/schemas popularity was classified as not popular.
We found that @prodi-labs/schemas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.