
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
@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 454 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 MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.