lib/bolognese/writers/schema_org_writer.rb in bolognese-1.0.26 vs lib/bolognese/writers/schema_org_writer.rb in bolognese-1.0.27

- old
+ new

@@ -9,11 +9,11 @@ "@id" => identifier, "identifier" => to_schema_org_identifier(identifier, alternate_identifiers: alternate_identifiers), "url" => url, "additionalType" => types["resourceType"], "name" => parse_attributes(titles, content: "title", first: true), - "author" => to_schema_org(creator), - "editor" => to_schema_org(contributor), + "author" => to_schema_org(creators), + "editor" => to_schema_org(contributors), "description" => parse_attributes(descriptions, content: "description", first: true), "license" => Array.wrap(rights_list).map { |l| l["rightsUri"] }.compact.unwrap, "version" => version_info, "keywords" => subjects.present? ? Array.wrap(subjects).map { |k| parse_attributes(k, content: "subject", first: true) }.join(", ") : nil, "inLanguage" => language,