Context
We need to define the formal requirements for our PRD schema. This will serve as the foundation for our entire pipeline.
Required Fields
Top-Level Fields
User Stories
Domain Objects
API Requirements
Non-Functional Requirements
Schema Format
Example Structure
```yaml
$schema: "http://json-schema.org/draft-07/schema#\"
title: "[PRD Title]"
version: "1.0.0"
author: "[Author Name]"
date: "[YYYY-MM-DD]"
status: "[Draft/Review/Approved]"
description: "[Brief description]"
scope:
- "[Scope item 1]"
- "[Scope item 2]"
dependencies:
- "[Dependency 1]"
- "[Dependency 2]"
user_stories:
- id: "[Story ID]"
title: "[Story Title]"
Format to be decided
Given/When/Then or As a/I want/So that
domain_objects:
- name: "[Object Name]"
properties:
- name: "[Property Name]"
type: "[Data Type]"
required: true/false
relationships:
- type: "[Relationship Type]"
target: "[Target Object]"
api_requirements:
- endpoint: "[Endpoint Path]"
method: "[HTTP Method]"
request:
Request format
response:
Response format
non_functional_requirements:
performance:
- "[Performance requirement]"
security:
- "[Security requirement]"
scalability:
- "[Scalability requirement]"
```
Questions to Resolve
- Which user story format should we standardize on?
- What are the minimum required fields for a valid PRD?
- How should we handle versioning of PRDs?
- How should we handle dependencies between PRDs?
- What validation rules should we enforce?
Related Issues
Status
In Progress
Context
We need to define the formal requirements for our PRD schema. This will serve as the foundation for our entire pipeline.
Required Fields
Top-Level Fields
User Stories
Domain Objects
API Requirements
Non-Functional Requirements
Schema Format
Example Structure
```yaml
$schema: "http://json-schema.org/draft-07/schema#\"
title: "[PRD Title]"
version: "1.0.0"
author: "[Author Name]"
date: "[YYYY-MM-DD]"
status: "[Draft/Review/Approved]"
description: "[Brief description]"
scope:
dependencies:
user_stories:
title: "[Story Title]"
Format to be decided
Given/When/Then or As a/I want/So that
domain_objects:
properties:
type: "[Data Type]"
required: true/false
relationships:
target: "[Target Object]"
api_requirements:
method: "[HTTP Method]"
request:
Request format
response:Response format
non_functional_requirements:
performance:
- "[Performance requirement]"
security:
- "[Security requirement]"
scalability:
- "[Scalability requirement]"
```
Questions to Resolve
Related Issues
Status
In Progress