README.md: add specification and examples