lottie / lottie-spec

Lottie Animation format documentation and tools
https://lottie.github.io/lottie-spec/
Other
41 stars 10 forks source link

Specify the version of the schema #38

Closed simbleau closed 1 month ago

simbleau commented 3 months ago

I'm working on a Lottie integration and I've become somewhat frustrated with the ambiguity in versioning. It seems impossible to find older versions of schema and there's no label discerning the version on the new schema.

As far as I know, the LottieFiles schema is v5.5.2, because the default is added. But I have no confidence that's true.

image

Please add the version to the root of the schema!

mbasaglia commented 3 months ago

So the v property describes the version of bodymovin used to export the lottie. for the standard spec we're gonna use some different property that will tie the lottie to an official version of the specs.

simbleau commented 3 months ago

So the v property describes the version of bodymovin used to export the lottie. for the standard spec we're gonna use some different property that will tie the lottie to an official version of the specs.

Ah, quite confusing! Two versions at play here.

Sounds good, though. Thanks for providing context on the other issue, as well.

mbasaglia commented 1 month ago

Done by https://github.com/lottie/lottie-spec/pull/52