Validate a contract
Contract
The metadata and schema for the Contract that is sent to Gable to be validated and uploaded. It may or may not contain a valid contract.
Unique identifier for the contract in UUID format
status of the contract
ACTIVE, DEPRECATED, DRAFT, ARCHIVED This is the possible contract specification. If it is valid, it will match the contract specification schema. However, we have to allow for invalid contracts to be passed to Gable even if we reject them.
Unique identifier for a contract's parent row id in UUID format
Version of the contract (semantic versioning)
full length git hash corresponding to the commit this contract was added/updated
40full link to the git repo this contract lives in
git user who added this contract
optional list of users who reviewed the merged PR that this contract added/updated in
path to the contract file from the root of the git repository
date time at which the PR that added/updated this contract was merged
alert level for contract
RECORD, NOTIFY, ALERT, BLOCK, INACTIVE Unique identifier for the user who last edited the contract through the UI
Email of the user who last edited the contract through the UI
First name of the user who last edited the contract through the UI
Last name of the user who last edited the contract through the UI
GitHub handle of the user who last edited the contract through the UI