Skip to content

Commit

Permalink
not sure why the CND is duplicated here.. but make it consistent with…
Browse files Browse the repository at this point in the history
… the fcrepo-kernel version
  • Loading branch information
cbeer committed May 9, 2013
1 parent 2a81368 commit cca4518
Showing 1 changed file with 40 additions and 46 deletions.
86 changes: 40 additions & 46 deletions fcrepo-webapp/src/main/resources/config/fedora-node-types.cnd
Expand Up @@ -11,33 +11,52 @@
*/
<foaf = 'http://xmlns.com/foaf/0.1/'>

/*
* Generic Fedora namespace
*/
<fedora = 'info:fedora'>

/*
* Dublin Core. See:
*
* http://dublincore.org/documents/dcmi-namespace/
*/
<dc = 'http://purl.org/dc/terms/'>

/*
* Generic Fedora namespace
*/
<fedora = 'info:fedora/'>

<fedorarelsext = 'info:fedora/fedora-system:def/relations-external#'>


[fedora:relations] mixin

- fedorarelsext:isPartOf (REFERENCE) multiple COPY
- fedorarelsext:hasPart (REFERENCE) multiple COPY
- fedorarelsext:isConstituentOf (REFERENCE) multiple COPY
- fedorarelsext:hasConstituent (REFERENCE) multiple COPY
- fedorarelsext:isMemberOf (REFERENCE) multiple COPY
- fedorarelsext:hasMember (REFERENCE) multiple COPY
- fedorarelsext:isSubsetOf (REFERENCE) multiple COPY
- fedorarelsext:hasSubset (REFERENCE) multiple COPY
- fedorarelsext:isMemberOfCollection (REFERENCE) multiple COPY
- fedorarelsext:hasCollectionMember (REFERENCE) multiple COPY
- fedorarelsext:isDerivationOf (REFERENCE) multiple COPY
- fedorarelsext:hasDerivation (REFERENCE) multiple COPY
- fedorarelsext:isDependentOf (REFERENCE) multiple COPY
- fedorarelsext:hasDependent (REFERENCE) multiple COPY
- fedorarelsext:isDescriptionOf (REFERENCE) multiple COPY
- fedorarelsext:HasDescription (REFERENCE) multiple COPY
- fedorarelsext:isMetadataFor (REFERENCE) multiple COPY
- fedorarelsext:HasMetadata (REFERENCE) multiple COPY
- fedorarelsext:isAnnotationOf (REFERENCE) multiple COPY
- fedorarelsext:HasAnnotation (REFERENCE) multiple COPY
- fedorarelsext:hasEquivalent (REFERENCE) multiple COPY

/*
* Any Fedora resource.
*/
[fedora:resource] > mix:created, mix:lastModified, mix:lockable, mix:versionable mixin abstract

/*
* Temporary for us until we better understand the use of jcr:created.
*/
- fedora:created (STRING) COPY

/*
* See: http://dublincore.org/documents/dcmi-terms/#elements-identifier
*/
- dc:identifier (STRING) multiple COPY
[fedora:resource] > fedora:relations, mix:created, mix:lastModified, mix:lockable, mix:versionable mixin

- * (STRING) multiple COPY
- * (STRING) COPY


/*
Expand All @@ -50,36 +69,11 @@
* A Fedora datastream.
*/
[fedora:datastream] > fedora:resource, nt:file mixin

/*
* The MIMEtype of this datastream.
*/
- fedora:contentType (STRING) COPY


/*
* Indicates that this resource is owned.
* Some content that can have a checksum
*/
[fedora:owned] mixin noquery

/*
* The owner of this owned resource.
*/
- fedora:owner (REFERENCE) COPY

/*
* For use for when the owner-entities are not managed in the repository.
*/
- fedora:ownerId (STRING) COPY


/*
* Some entity that owns a Fedora resource.
*/
[fedora:owner] primaryitem foaf:name

/*
* The name of this owner.
*/
- foaf:name (STRING) multiple COPY

[fedora:binary] > nt:resource mixin
- fedora:size (LONG) COPY
- fedora:digest (STRING) COPY
- fedora:digestAlgorithm (STRING) COPY

0 comments on commit cca4518

Please sign in to comment.