Internal data schema for Screwdriver CI/CD system, providing validation and structure for all models/resources: API input/output, screwdriver.yaml config, internal resources (pipeline, job, build, collection), plugins (datastore, executor), and SCM plugin output. Version 26.1.2, part of Screwdriver ecosystem. Released regularly alongside other Screwdriver packages. Key differentiator: opinionated eight-schema model design (base, allKeys, get, create, update, keys, tableName, indexes) enforcing consistency across resources.
npm install screwdriver-data-schemaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates requiring the schema package, accessing model schemas (create, get, allKeys), validating a job payload with jsonschema, and parsing a screwdriver.yaml config string.
Use require() instead of import.
Access nested objects via top-level require: require('screwdriver-data-schema').models.job.Pin version: "screwdriver-data-schema": "26.1.2".
npm install screwdriver-data-schema
Replace import with const schema = require('screwdriver-data-schema');Use require('screwdriver-data-schema').models.job instead.No dependency data recorded yet.