Screwdriver Data Model
Internal Data Model of Screwdriver
Description
This contains the structure/validation for all the models/resources of Screwdriver.
The model represents a combination of what is required to create the resource and what is possible
for returning from the resource.
Methodology
Each model contains four (4) schemas:
base
- List of all available fields in the modelget
- Expected return values from a GET request against this resourcecreate
- Expected input values when making a CREATE action against this resourceupdate
- Expected input values when making an UPDATE action against this resource
Usage
npm install screwdriver-data-model
Testing
npm test
License
Code licensed under the BSD 3-Clause license. See LICENSE file for terms.