lib/dpla/map/aggregation.rb in dpla-map-4.0.0.0.pre.5 vs lib/dpla/map/aggregation.rb in dpla-map-4.0.0.0.pre.6
- old
+ new
@@ -1,11 +1,11 @@
module DPLA::MAP
class Aggregation < ActiveTriples::Resource
configure :type => RDF::ORE.Aggregation
- validates_presence_of :aggregatedCHO, :originalRecord, :isShownAt, :object, :provider
+ validates_presence_of :sourceResource, :originalRecord, :isShownAt, :object, :provider
- property :aggregatedCHO, :predicate => RDF::EDM.aggregatedCHO, :class_name => 'DPLA::MAP::SourceResource'
+ property :sourceResource, :predicate => RDF::EDM.aggregatedCHO, :class_name => 'DPLA::MAP::SourceResource'
property :dataProvider, :predicate => RDF::EDM.dataProvider, :class_name => 'DPLA::MAP::Agent'
property :originalRecord, :predicate => RDF::DPLA.originalRecord
property :hasView, :predicate => RDF::EDM.hasView, :class_name => 'DPLA::MAP::WebResource'
property :intermediateProvider, :predicate => RDF::DPLA.intermediateProvider, :class_name => 'DPLA::MAP::Agent'
property :isShownAt, :predicate => RDF::EDM.isShownAt, :class_name => 'DPLA::MAP::WebResource'