h1. Overview {anchor:id=SOCref.Social_JCR_Structure.Overview}
Like any other eXo's products, eXo Social fully complies the JCR standard to store data (identity, profile, activity, space and relationship).
The eXo Social JCR structure is organized to conform to the data storage for the individual purpose of eXo Social. With this structure, it is easy for you to manage and access the data properly.

See the eXo Social JCR structure in the chart below:

!images/Social-Workspace.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!


The root node of Social workspace is _/production/_ which consists of two child nodes named _{{{soc:providers}}}_, and _{{{soc:spaces}}}_.

h1. soc:providers  {anchor:id=SOCref.Social_JCR_Structure.socproviders}
The _{{{soc:providers}}}_ node is used to store the provider entities. In eXo Social, there are two built-in provider entities, including _organization_, and _space_.
Its type is _{{{soc:providers}}}_ that has child nodes of the _{{{soc:providerdefinition}}}_ type.

h2. soc:<provider_name>   {anchor:id=SOCref.Social_JCR_Structure.socproviders.provider_Name}
The <provider_name> parameter in the _{{{soc:<provider_name>}}}_ node depends on the identity providers. eXo Social has two identity providers, including _OrgarnizationIdentityProvider_, and _SpaceIdentityProvider_ that contain organization identities (users) and space identities respectively.

The _{{{soc:<provider_name>}}}_ node of the _{{{soc:providerdefinition}}}_ type has the _{{{soc:<identityRemoteId>}}}_ child nodes that have the _{{{soc:identitydefinition}}}_ type.

h1. Identity  {anchor:id=SOCref.Social_JCR_Structure.IdentityEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.IdentityEntity.wiki"}

h1. Relationship  {anchor:id=SOCref.Social_JCR_Structure.RelationshipEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.RelationshipEntity.wiki"}

h1. Profile  {anchor:id=SOCref.Social_JCR_Structure.ProfileEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.ProfileEntity.wiki"}

Some residual properties can be set and will be used by eXo Social :
|| Property Name || Required Type || Multiple|| Description ||
|void-Url|undefined | true| The URL to access the profile of an identity.|
|void-email|undefined | true| The email of an identity in the profile. |
|void-firstName|undefined |true |The first name of an identity in his profile. |
|void-fullName|undefined | true| The full name of an identity in his profile.|
|void-lastName|undefined | true|The last name of an identity in his profile. |
|void-username|undefined | true| The username of an identity in his profile. |

h1. Profile experience  {anchor:id=SOCref.Social_JCR_Structure.ProfileXpEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.ProfileXpEntity.wiki"}

h1. Activity list  {anchor:id=SOCref.Social_JCR_Structure.ActivityListEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.ActivityListEntity.wiki"}

h1. Activity year  {anchor:id=SOCref.Social_JCR_Structure.ActivityYearEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.ActivityYearEntity.wiki"}

h1. Activity month  {anchor:id=SOCref.Social_JCR_Structure.ActivityMonthEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.ActivityMonthEntity.wiki"}

h1. Activity day  {anchor:id=SOCref.Social_JCR_Structure.ActivityDayEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.ActivityDayEntity.wiki"}

h1. Activity {anchor:id=SOCref.Social_JCR_Structure.ActivityEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.ActivityEntity.wiki"}

h1. Activity parameters {anchor:id=SOCref.Social_JCR_Structure.ActivityParametersEntity}

The _{{{soc:activityparam}}}_ node type has the following property:
|| Property Name || Required Type || Multiple|| Description ||
|*|String|false|A map of key-values. |

h1. Space list  {anchor:id=SOCref.Social_JCR_Structure.SpaceListEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.SpaceListEntity.wiki"}

h1. Space {anchor:id=SOCref.Social_JCR_Structure.SpaceEntity}
{include:document="chromattic/generated/org.exoplatform.social.core.chromattic.entity.SpaceEntity.wiki"}

