NodeTypeName
nt:resource
Supertypes
nt:base
mix:referenceable
IsMixin
false
HasOrderableChildNodes
false
PrimaryItemName
jcr:data
PropertyDefinition
Name jcr:encoding
RequiredType STRING
ValueConstraints []
DefaultValues null
AutoCreated false
Mandatory false
OnParentVersion COPY
Protected false
Multiple false
PropertyDefinition
Name jcr:mimeType
RequiredType STRING
ValueConstraints []
DefaultValues null
AutoCreated false
Mandatory true
OnParentVersion COPY
Protected false
Multiple false
PropertyDefinition
Name jcr:data
RequiredType BINARY
ValueConstraints []
DefaultValues null
AutoCreated false
Mandatory true
OnParentVersion COPY
Protected false
Multiple false
PropertyDefinition
Name jcr:lastModified
RequiredType DATE
ValueConstraints []
DefaultValues null
AutoCreated false
Mandatory true
OnParentVersion IGNORE
Protected false
Multiple false
This node type is optional.
This node type can be used to represent the content of a file. In particular, the jcr:content subnode of an nt:file node will often be an nt:resource. The jcr:encoding property indicates the character set encoding used. If this resource is does not contain character data then this property will not be present. If the resource does hold character data then this property should hold one of the character set names defined in http://www.iana.org/assignments/character-sets. The jcr:mimeType should contain the name of the media type of this resource as defined in http://www.iana.org/assignments/media-types/.