added JSON schema and samples for #345