Skip to content

Instantly share code, notes, and snippets.

@bbpennel
Last active March 14, 2018 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbpennel/a3682a61fdd030c03a9a3f63fb3dc9fc to your computer and use it in GitHub Desktop.
Save bbpennel/a3682a61fdd030c03a9a3f63fb3dc9fc to your computer and use it in GitHub Desktop.
Planning for providing separate timemaps for a binary resource and its description.

Sibling timemaps

External Uri => Node Path

  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353 (binary)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/jcr:content
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:metadata (description)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:versions (binary timemap)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fedora:binaryTimemap
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:metadata/fcr:versions (description timemap)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fedora:timemap

Retaining naming of timemap node

External Uri => Node Path

  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353 (binary)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/jcr:content
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:metadata (description)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:versions (binary timemap)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fedora:timemap
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:metadata/fcr:versions (description timemap)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fedora:description/fedora:timemap

Aligning internal and external path (mostly for illustration)

External Uri => Node Path

  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353 (description)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:content (binary)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fedora:content/jcr:content
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:versions (description timemap)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fedora:timemap
  • /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fcr:content/fcr:versions (binary timemap)
    • => /5bc56ed8-aa1c-44c7-a7fa-43d02e54e353/fedora:content/fedora:timemap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment