
Security News
New CNA Scorecard Tool Ranks CVE Data Quality Across the Ecosystem
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
@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.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.