Skip to content

An ArchivesSpace plugin to support JPCA-style EAD exports.

Notifications You must be signed in to change notification settings

Smithsonian/jpca_rights_statement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

jpca_rights_statement

An ArchivesSpace plugin to support JPCA-style EAD exports.

Rights Statements

  • Within <archdesc>, exports <userestrict> holding a <head>, <note>, and <list><item><date/></item></list> matching a resource-level rights statement. Unpublished notes will be exported with an audience of "internal." Rights statements are not exported by ASpace by default.
  • Within <c>, exports <userestrict> holding a <head>, <note>, and <list><item><date/></item></list> matching an archival object-level rights statement. Unpublished notes will be exported with an audience of "internal." Rights statements are not exported by ASpace by default.
Description ASpace Default (simplified example) JPCA Override (simplified example)
Resource-level rights statement with a published note. not exported <userestrict id="aspace_[identifier]" type="[rights_type]"><head>Rights Statement</head><note type="[note_type]"><p>[note_content]</p></note><list><item><date normal="[start_date]" type="start" /></item></list></userestrict>
Component-level rights statement with a published note. not exported <userestrict id="aspace_[identifier]" type="[rights_type]"><head>Rights Statement</head><note type="[note_type]"><p>[note_content]</p></note><list><item><date normal="[start_date]" type="start" /></item></list></userestrict>
Resource-level rights statement with an unpublished note. not exported <userestrict id="aspace_[identifier]" type="[rights_type]"><head>Rights Statement</head><note audience="internal" type="[note_type]"><p>[note_content]</p></note><list><item><date normal="[start_date]" type="start" /></item></list></userestrict>
Component-level rights statement with an unpublished note. not exported <userestrict id="aspace_[identifier]" type="[rights_type]"><head>Rights Statement</head><note audience="internal" type="[note_type]"><p>[note_content]</p></note><list><item><date normal="[start_date]" type="start" /></item></list></userestrict>

Tests

Run the backend tests from the application root directory with:

./build/run backend:test:plugin -Dexample='JPCA EAD export mappings'

About

An ArchivesSpace plugin to support JPCA-style EAD exports.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages