Created
March 16, 2015 20:57
-
-
Save dchandekstark/031d465bb132382805fc to your computer and use it in GitHub Desktop.
Roles Vocab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Ddr | |
module Vocab | |
class Roles < RDF::StrictVocabulary("http://repository.lib.duke.edu/vocab/roles/") | |
term :Role, | |
label: "Role", | |
comment: "A role granted to an agent." | |
# type: "rdfs:Class" | |
# subClassOf: "http://www.w3.org/ns/auth/acl#Authorization" | |
term :Owner, | |
label: "Owner", | |
comment: "The Owner role conveys ultimate responsibility for a resource." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Role" | |
term :Curator, | |
label: "Curator", | |
comment: "The Curator role conveys responsibility for curating a resource and delegating responsibilities to other agents." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Role" | |
term :Editor, | |
label: "Editor", | |
comment: "The Editor role conveys reponsibility for managing the content, description and structural arrangement of a resource." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Role" | |
term :MetadataEditor, | |
label: "Metadata Editor", | |
comment: "The Metadata Editor role conveys responsibility for managing the description of a resource." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Role" | |
term :Contributor, | |
label: "Contributor", | |
comment: "The Contributor role conveys responsibility for adding related resources to a resource, such as works to a collection." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Role" | |
term :Downloader, | |
label: "Downloader", | |
comment: "The Downloader role conveys access to the original content (\"master\" file) of a resource." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Role" | |
term :Viewer, | |
label: "Viewer", | |
comment: "The Viewer role conveys access to the description and \"access\" content derivatives of a resource." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Role" | |
term :Scope, | |
label: "Scope", | |
comment: "A scope within which a role applies" | |
# type: "rdfs:Class" | |
term :ObjectScope, | |
label: "Object Scope", | |
comment: "The role applies to the resource itself." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Scope" | |
term :PolicyScope, | |
label: "Policy Scope", | |
comment: "The role applies to resources \"governed\" by the resource." | |
# type: "rdfs:Class" | |
# subClassOf: "http://repository.lib.duke.edu/vocab/roles/Scope" | |
# DEPRECATED - use :Downloader | |
term :downloader, | |
label: "Downloader" | |
property :hasRole, | |
label: "Has Role" | |
# type: "rdf:Property" | |
# domain: "http://fedora.info/definitions/v4/repository#Resource" | |
# range: "http://repository.lib.duke.edu/vocab/roles/Role" | |
property :agent, | |
label: "Agent", | |
comment: "The agent to whom the role is granted." | |
# type: "rdf:Property" | |
# domain: "http://repository.lib.duke.edu/vocab/roles/Role" | |
# range: "foaf:Agent" | |
property :scope, | |
label: "Within Scope", | |
comment: "The scope within which the role applies." | |
# type: "rdf:Property" | |
# domain: "http://repository.lib.duke.edu/vocab/roles/Role" | |
# range: "http://repository.lib.duke.edu/vocab/roles/Scope" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment