This is a new requirement in 1.2.
https://www.researchobject.org/ro-crate/specification/1.2/data-entities.html#core-metadata-for-data-entities
For an Attached RO-Crate Package:
@id MUST be one of either: a. A relative URI, indicating that a file MUST be present at the path @id relative to the RO-Crate Root. b. ...
...
Note that if a local file is intended to be packaged within an Attached RO-Crate Package, the @id property MUST be a URI Path relative to the RO Crate Root...
#211 (comment)
The thing about relative IDs having corresponding existing files might need some changes. Relevant issues are #73 and #135.