When a node is created, its jcr:primaryType property is automatically created and set to the name of the assigned primary node type. When a mixin type is assigned, its name is added to the multi-valued jcr:mixinTypes property, which is created if it does not yet exist.