API for adding Collection and Resource for validation of Streams.