An application in Oracle Commerce Experience Manager must have at least one site, and every site in the application must have its own site definition.
In a
multiple site application, the properties in a site definition determine
site-specific behavior. The site definition can be a JSON file located in the
/<app_name>/config/import/pages/
directory for your application. This JSON representation of a site definition
is what you see in a deployment template or if you were to export the site
after it is deployed. You can modify a site definition in this form and import
it to update the JCR's site definition node. For example, a Discover
Electronics application might have a site definition in the
<site_ID>
/Discover/config/import/pages/DiscoverElectronics
directory.
{ "ecr:type":"site-home", "urlPattern" : "", "displayName":"DiscoverElectronics", "description" : "" }
Note that all properties in JSON files including the site definition must be in UTF-8 character format. Convert all Unicode characters to JSON encoded values. The properties of this file are described in the next section.