Using alternate child documents(choice) within IS Document

Hello

I am in need of creating a document with the name as “order” and within the document, it could be either a “newOrder” or “cancelOrder” document (only one can exist at run time). Is there any way to define this kind of rule/property inside IS for “order” document?. From schema perspective this would be a “xsd:choice” .

Any help on this appreciated

Thanks
Jithesh

Just create two document records in the document type.