Alistair Cockburn says in Writing Effective Use Cases, that validation requirements should not go into the use cases. However, even after reading the chapter on Missing Requirements (meaning the requirements not covered by Use Cases), I'm not sure where I should put validation and data formats, or how I should structure said document.
Given this brief use case example:
- User will enter their Address
- System will validate the Address
Obviously we need to specify what "Address means"
Street1, Street2, City, SubCountry, Country, PostalCode. The first 3 fields will be 255 character strings, sub country will be iso 3166-2 validated and stored as just the 2 subcountry characters. country will be iso 3166-1 validated and stored in alpha3 format. iso 3166 codes will be displayed as their long name.
Obviously my text here is a bit meandiering and may miss bits. Where should I document this validation and data format specification? how should I write it so that it's clear? is there any in depth documentation on writing this part of the specification?