lib/bolognese/readers/schema_org_reader.rb in bolognese-1.0.16 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-1.0.19
- old
+ new
@@ -144,10 +144,10 @@
"formats" => Array.wrap(meta.fetch("encodingFormat", nil) || meta.fetch("fileFormat", nil)),
"titles" => meta.fetch("name", nil).present? ? [{ "title" => meta.fetch("name", nil) }] : nil,
"creator" => author,
"contributor" => contributor,
"publisher" => publisher,
- "source" => parse_attributes(meta.fetch("provider", nil), content: "name", first: true),
+ "agency" => parse_attributes(meta.fetch("provider", nil), content: "name", first: true),
"periodical" => periodical,
"related_identifiers" => related_identifiers,
"publication_year" => publication_year,
"dates" => dates,
"descriptions" => meta.fetch("description", nil).present? ? [{ "description" => sanitize(meta.fetch("description")), "descriptionType" => "Abstract" }] : nil,