Sha256: d31b428cfa77f77e80e326c5c516aef69b9ef886e81cc6517768c5627e5bd239
Contents?: true
Size: 916 Bytes
Versions: 23
Compression:
Stored size: 916 Bytes
Contents
module Ddr module Vocab class Roles < RDF::StrictVocabulary("http://repository.lib.duke.edu/vocab/roles/") LEGACY_ROLES = [:administrator, :editor, :contributor, :downloader] term :Role, label: "Role", comment: "An assertion of a role granted to an agent." property :hasRole, label: "Has Role", comment: "Asserts the granting of a role on the subject to an agent." property :type, label: "Type", comment: "The type of role granted to the agent." property :agent, label: "Agent", comment: "The agent to whom the role is granted." property :scope, label: "Scope", comment: "The scope within which the role applies." # # Deprecated terms # LEGACY_ROLES.each do |legacy_role| term legacy_role, label: legacy_role.to_s.capitalize end end end end
Version data entries
23 entries across 23 versions & 1 rubygems