lib/dpla/map/source_resource.rb in dpla-map-4.0.0.0.pre.11 vs lib/dpla/map/source_resource.rb in dpla-map-4.0.0.0.pre.12
- old
+ new
@@ -1,10 +1,9 @@
module DPLA::MAP
class SourceResource < ActiveTriples::Resource
configure :base_uri => 'http://dp.la/api/items/', :type => RDF::DPLA.SourceResource
validates_presence_of :rights, :title
- validates_vocabulary_of :dctype, :genre, :language
property :alternative, :predicate => RDF::DC.alternative
property :collection, :predicate => RDF::DC.isPartOf, :class_name => 'DPLA::MAP::Collection'
property :contributor, :predicate => RDF::DC.contributor, :class_name => 'DPLA::MAP::Agent'
property :creator, :predicate => RDF::DC.creator, :class_name => 'DPLA::MAP::Agent'