Cosmo Repository
Schema Definitions
Custom namespace and node type definitions are provided in the
"Compact Namespace and Node Type Definition" (CND) format at
http://svn.osafoundation.org/server/cosmo/trunk/src/main/resources/cosmo-schema.cnd.
Repository Layout
Home directories are represented in the repository as nodes of type
cosmo:homecollection. The account details for the user are stored on the same node as specified by the
cosmo:user mixin type.
Home directory nodes are named as per the username of the owning user. They are separated from the workspace root node by two levels of "bucket" nodes (type
nt:unstructured). A homedir node is allocated to the bucket nodes named by the first and the first and second characters of the username respectively (example
bcm is located in the repository at
/b/bc/bcm.
All node names are escaped using the URL hex-escaping scheme. For instance, the node for user
b'cm is named
b%27cm.