generated from coulomb/repo-seed
Contract framework with markdown-native contracts utilizing fenced YAML blocks
This commit is contained in:
49
examples/contracts/prd-frs.contract.md
Normal file
49
examples/contracts/prd-frs.contract.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
title: PRD and FRS Contract
|
||||
version: "0.1"
|
||||
---
|
||||
|
||||
# PRD And FRS Contract
|
||||
|
||||
```yaml contract
|
||||
id: prd-frs-contract-v1
|
||||
document:
|
||||
type: prd-frs
|
||||
fields:
|
||||
product:
|
||||
type: string
|
||||
required: true
|
||||
owner:
|
||||
type: string
|
||||
required: true
|
||||
metrics:
|
||||
document:
|
||||
words:
|
||||
min: 300
|
||||
max: 4000
|
||||
severity: warning
|
||||
sections:
|
||||
- id: problem
|
||||
title: Problem
|
||||
presence: required
|
||||
level: 2
|
||||
- id: goals
|
||||
title: Goals
|
||||
presence: required
|
||||
level: 2
|
||||
assertions:
|
||||
- id: goals-are-testable
|
||||
contains_any: [measure, metric, success]
|
||||
severity: warning
|
||||
- id: functional-requirements
|
||||
title: Functional Requirements
|
||||
presence: required
|
||||
level: 2
|
||||
- id: non-goals
|
||||
title: Non-Goals
|
||||
presence: recommended
|
||||
level: 2
|
||||
- id: implementation-plan
|
||||
title: Implementation Plan
|
||||
presence: discouraged
|
||||
```
|
||||
Reference in New Issue
Block a user