Mark AI media embedded in a page in the JSON-LD
Problem/motivation
MachineReadableMarking marks the canonical page of the entity that carries the disclosure. Media only get marked where they have a page of their own, and media.settings.standalone_url is off by default (docs/usage/machine-readable.md, Media). An AI image shown inside an article is not marked at all.
Proposed resolution
When a page renders an image field, a media entity or an embedded media item whose file resolves to an AI grade (#57 (closed)), add an ImageObject, VideoObject or AudioObject node to the page JSON-LD:
contentUrl,digitalSourceTypefrom the grade, anddisambiguatingDescriptionfrom the disclosure sentence.- Linked from the main entity of the page through
associatedMedia. - Typed through the existing
MEDIA_TYPESmap. - For every AI grade, not only deep fakes, since Article 50(2) marks cover all AI media.
Remaining tasks
- Collect the media rendered on the page with their resolved disclosures
- JSON-LD output and tests
- Update
docs/usage/machine-readable.md
User interface changes
None.
API changes
None.
Data model changes
None.
Part of #56 (closed).
Edited by Giorgio Alfredo Pagano