ADR-236: Add validation that prevents scene thumbnails from being URLs

More details about this document
Latest published version:
https://adr.decentraland.org/adr/ADR-236
Authors:
marianogoldman
Feedback:
GitHub decentraland/adr (pull requests, new issue, open issues)
Edit this documentation:
GitHub View commits View commits on githistory.xyz

Context and Problem Statement

Currently, it is possible to add a full URL as a thumbnail in the scene display metadata. This thumbnail field should only allow referencing a file that is part of the scene deployment.

This ADR proposes a new validation to prevent it.

Proposed solution

Add a validation to be run on scene deployment that forces scenes that have a thumbnail to be one of the files embedded in the deployment.

Deadline

ADR236_DEADLINE: 2023-05-19T12:00:00Z
Unix Timestamp: 1681660800000

License

Copyright and related rights waived via CC0-1.0. Review