The jcr:
namespace is used to define system-specific properties and elements in the repository. In AEM, these properties and elements are essential for the proper functioning of the content repository and the management of content-related information. Some common system-specific properties in the jcr:
namespace include jcr:primaryType
(indicating the primary node type), jcr:mixinTypes
(indicating mixin node types), and others.
Since, these are have a specific purpose, please avoid using "jcr:" namespace for custom properties.
Use custom namespace for custom properties. Namespace primarily helps you organize and manage your metadata. For example, it could help you:
- Identify custom metadata against OOTB metadata
- Identify a metadata’s source: when metadata flows-in from from multiple 3rd party systems
- In such scenario, you could easily identify the source of metadata, by mapping a namespace against the metadata’s scource.
- Filter what should be written on to an asset binary by Metadata Writeback Workflow. The DAM metadata writeback workflow would only write a metadata that has a namespace.
https://techrevel.blog/2020/01/23/aem-custom-namespace/
Aanchal Sikka