The Generate Schema utility lets you export concepts and events to XML Schema Definition (XSD) files, one per entity, in a specified location. You can generate schema for all concepts, all events, or both. (You can’t generate schema for one selected entity type.) The files use the same folder structure as the project from which they are exported. In addition,
_BaseConcept.xsd and
_BaseEvent.xsd are generated in the root of the selected directory.
XML schemas are used for interoperability between BusinessEvents and third party tools or SOA platforms that use well-defined XML for message communication, transformation, and validation.
Provide a different namespace to avoid conflicts with the source concepts and events. If you do not provide a namespace, the default BusinessEvents namespace is used. (BusinessEvents events and concepts have a hidden schema.) If the source entities and generated schema files are in the same folders, use of the default BusinessEvents namespace results in a namespace conflict. In this case, you must provide a namespace.
The XSD files for the selected resources (all concepts, all events, or both) are generated in subdirectories of the selected directory. Subdirectory names match the project folders. The
_BaseConcept.xsd and
_BaseEvent.xsd files are generated in the root of the selected directory.