Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata section #92

Open
mimi89999 opened this issue Sep 2, 2024 · 1 comment
Open

Metadata section #92

mimi89999 opened this issue Sep 2, 2024 · 1 comment

Comments

@mimi89999
Copy link

Hello,
I noticed that some files like https://github.com/Pool-Of-Tears/Myne/blob/main/app%2Fsrc%2Fmain%2Fres%2Fraw%2Fno_library_items_lottie.json have a metadata section. I was searching for it in the spec, but couldn't find any info.

Is there any standardized way to specify the file author and license info in a Lottie file?

@mbasaglia
Copy link
Member

We haven't added it to the specs because there's some discrepancy in the current implementations.

There are currently two ways of adding metadata to a lottie, documented here: https://lottiefiles.github.io/lottie-docs/animation/#animation (properties on the top level JSON object)

meta supports adding an author, and similar info (no license but that could be useful to add once we standardize the metadata)

metadata.customProps is more free-form, you can add anything in there but there will be no software support to detect structured info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants