# Software requirements specification

Replace the bracketed text and remove the worked example once you've written your own requirements. Keep the IDs when wording changes so the team can track the requirement and its acceptance tests.

- Project and release [name and target date]
- Spec version and date [version and date]
- Spec owner [name or role]
- Scope approver [name or role]
- Release sign-off [name or role]

## Outcome and scope

- Purpose [the task this release should make possible or improve]
- Success measure [what you'll measure, how and when]
- Users [roles, approximate numbers, locations, devices and any access needs that affect the build]
- In this release [list of workflows, integrations, migrations or outputs]
- Deferred or excluded [what stays manual or moves to a later release]
- Constraints and dependencies [existing systems, delivery dates, access, vendor limits or decisions the build relies on]

## Functional requirements

Copy this entry for each behaviour the software needs to support.

### FR-[number] [short name]

- Priority [required for this release or later]
- Actor and trigger [who or what starts the action, and when]
- Preconditions [permissions, data or state needed before it can start]
- Expected behaviour [what happens, including any records or messages created]
- Exceptions [what happens on invalid input, duplicate action, timeout or unavailable dependency]
- Acceptance test [starting state, action and observable result, including a test for each significant exception]
- Test owner [who checks it]

### Worked example · FR-01 Reserve a slot

- Priority [required for release]
- Actor and trigger [a signed-in member confirms a single-capacity slot]
- Preconditions [the slot appears available and the member can book]
- Expected behaviour [create one confirmed booking and show the confirmation]
- Exception [if the slot has already been booked, reject the request and show that the member can choose another slot]
- Acceptance test [run an automated test in staging with two different signed-in members requesting the same available slot concurrently. Check both responses and the stored bookings. Exactly one confirmed booking exists for the slot. One member sees a confirmation, and the other sees an availability message and can return to the list.]
- Test owner [bookings lead]

## Quality requirements

Copy this entry for each relevant quality requirement. Consider performance, accessibility, permissions, privacy, reliability and recovery. Use a threshold or check that the team can verify.

### QR-[number] [short name]

- Requirement [target and the conditions it applies under]
- Verification [test data, environment, method and pass mark]
- Test owner [who reviews the evidence]

### Worked example · QR-01 Booking list response time

- Requirement [at least 95% of booking list requests complete successfully within two seconds with 20 concurrent staff sessions and 50,000 bookings]
- Verification [run the booking list test for 15 minutes in staging with the specified data and load. At least 95% of requests complete successfully within two seconds.]
- Test owner [technical lead]

## Data and integrations

- Records [what's stored, which system owns it, who can see or change it, and when it's deleted]
- Interfaces [systems, fields, direction, trigger or frequency and connection owner]
- Failure handling [who is notified, what retries, and how staff spot or repair a missing or duplicate record]
- Migration and handover [what moves, how you'll check it, and which exports or access the team receives]

## Acceptance and changes

- Release checks [list requirement IDs, checks and any evidence the approver needs]
- Open decisions [question, owner, due date and the requirement it affects]
- Change record [date, proposed change, affected IDs and tests, impact on cost or delivery, decision and approver]
- Sign-off [approved spec version, date, names and any accepted exceptions]
