Generate Schema.org JSON-LD for a work page (codecheckers/register#150)
Source:R/utils_build_metadata.R
generate_work_schema_org.RdThe `ScholarlyArticle` counterpart of [generate_venue_schema_org()]: the checked paper is the primary `@graph` entity (`@id` its DOI URL), carrying its title, `sameAs` its OpenAlex work ID, and an `author` array of `Person` nodes - `@id`'d by ORCID where known, so a search engine or a data consumer can follow straight from the paper to the person page (mirrors what the paper author links on the certificate page and the work page's own metadata panel already do in HTML - see [generate_work_metadata_html()]). One `Review` per certificate that checked it references the article back via `itemReviewed`.