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

Differences from the lottie community schema #1

Open
mbasaglia opened this issue Oct 21, 2021 · 0 comments
Open

Differences from the lottie community schema #1

mbasaglia opened this issue Oct 21, 2021 · 0 comments

Comments

@mbasaglia
Copy link
Collaborator

mbasaglia commented Oct 21, 2021

Running tools/schema-info.py I could get a summary of differences between this schema and the lottie community one.

Command:

tools/schema-info.py c $path_to_tests/schema/docs/json/

Properties and such marked with - are present here but not in the community schema,
stuff marked with + is the other way round.

At the end I also added the files that haven't been matched (note: there will always be some differences due to the different schema structure).

animation/animation animation
properties:
 - mb
 - mn
 - fonts
 - markers
 - meta

effect-values/angle effects/angle
required:
 - ty

effect-values/checkbox effects/checkBox
required:
 - ty

effect-values/color effects/color
required:
 - ty

effect-values/drop-down effects/dropDown
required:
 - ty

effects/fill-effect effects/fill
properties:
 - en
required:
 - ty
 - ef

effects/custom-effect effects/group
required:
 - ty
 - ef

effect-values/layer effects/layer
required:
 - ty

effect-values/point effects/point
required:
 - ty

effects/pro-levels-effect effects/proLevels
properties:
 - en
required:
 - ty
 - ef

effect-values/slider effects/slider
required:
 - ty

effects/stroke-effect effects/stroke
properties:
 - en
required:
 - ty
 - ef

effects/tint-effect effects/tint
properties:
 - en
required:
 - ty
 - ef

effects/tritone-effect effects/tritone
properties:
 - en
required:
 - ty
 - ef

helpers/mask helpers/mask
properties:
 - mn
 - x

helpers/transform helpers/transform
properties:
 + py
 - or
 + pz
 - rz
 - ry
 + px
 - rx

layers/image-layer layers/image
properties:
 - tt
 - mn
 - mb
 - td
 - hd
required:
 - st

layers/null-layer layers/null
properties:
 - tt
 - mb
 - hasMask
 - masksProperties
 - mn
 - td
 - bm
 - hd
required:
 - st

layers/precomposition-layer layers/preComp
properties:
 - tt
 - h
 - mn
 - w
 - mb
 - td
 - hd
required:
 - st

layers/shape-layer layers/shape
properties:
 - tt
 - mn
 - mb
 - td
 - hd
required:
 - st

layers/solid-color-layer layers/solid
properties:
 - tt
 - mn
 - mb
 - td
 - hd
required:
 - st

layers/text-layer layers/text
properties:
 - tt
 - mn
 - mb
 - td
 - hd
required:
 - st

animated-properties/gradient-colors properties/gradient
properties:
 + a
 + ix

animated-properties/multi-dimensional properties/multiDimensional
properties:
 - a
required:
 - k

animated-properties/multi-dimensional properties/multiDimensionalKeyframed
properties:
 - a
required:
 - k

animated-properties/position properties/multiDimensionalSpatialKeyframed
properties:
 - a
 + to
 + ti
required:
 - k

animated-properties/keyframe properties/offsetKeyframe
properties:
 - h
required:
 - t
 - s

animated-properties/position-keyframe properties/offsetSpatialKeyframe
properties:
 - h
 - to
 - ti
required:
 - t
 - s

animated-properties/shape-property properties/shapeKeyframed
properties:
 - a

animated-properties/shape-keyframe properties/shapePropKeyframe
properties:
 - h

animated-properties/value properties/value
properties:
 - a
required:
 - k

shapes/ellipse shapes/ellipse
properties:
 - cix
 - bm
 - hd

shapes/fill shapes/fill
properties:
 - cix
 - r
 - bm
 - hd

shapes/gradient-fill shapes/gFill
properties:
 - cix
 - r
 - bm
 - hd
required:
 + t
 + h
 - g
 + a

shapes/gradient-stroke shapes/gStroke
properties:
 - cix
 - d
 - ml2
 - bm
 - hd
required:
 + t
 + h
 - g
 + a
 - w

shapes/merge shapes/merge
properties:
 - cix
 - bm
 - hd
required:
 - ty

shapes/rectangle shapes/rect
properties:
 - cix
 - bm
 - hd

shapes/repeater shapes/repeater
properties:
 - cix
 - bm
 - hd
required:
 + o

shapes/rounded-corners shapes/round
properties:
 - cix
 - bm
 - hd

shapes/path shapes/shape
properties:
 - cix
 - bm
 - hd
 - ind

shapes/polystar shapes/star
properties:
 - cix
 - bm
 - hd

shapes/stroke shapes/stroke
properties:
 - cix
 - d
 - ml2
 - bm
 - hd

shapes/transform shapes/transform
properties:
 - cix
 - or
 - rz
 - mn
 - ry
 - rx
 - bm
 - hd
required:
 - ty

shapes/trim shapes/trim
properties:
 - cix
 - bm
 - hd
 - m

assets/image sources/image
properties:
 - e
required:
 - id

assets/precomposition sources/precomp
properties:
 - fr
 - nm
required:
 - id

text/text-document layers/text
properties:
 - sz
required:
 + lh
 + tr
 + j

text/text-data-keyframe layers/text
required:
 - s

text/text-data layers/text
required:
 - k

text/text-animator-data layers/text
properties:
 - p
 - m
 - a

Files
 - constants/gradient-type
 - constants/star-type
 - constants/trim-multiple-shapes
 - constants/stroke-dash-type
 - text/text-more-options
 - constants/font-path-origin
 - text/text-animator-data-property
 - effects/drop-shadow-effect
 - shapes/pucker-bloat
 - effects/paint-over-transparent-effect
 - effects/mesh-warp-effect
 - constants/fill-rule
 - animated-properties/split-vector
 - effects/radial-wipe-effect
 + effects/customValue
 - shapes/zig-zag
 - effect-values/ignored
 - constants/matte-mode
 - text/font
 - constants/shape-direction
 - animated-properties/keyframe-bezier-handle
 - layers/audio-settings
 - layers/visual-layer
 - effects/gaussian-blur-effect
 - layers/audio-layer
 - shapes/twist
 - effects/matte3-effect
 - effects/displacement-map-effect
 - shapes/stroke-dash
 - animation/motion-blur
 - effects/spherize-effect
 - helpers/marker
 - assets/sound
 - constants/mask-mode
 - text/text-selector
 + effects/index
 - animation/metadata
 - text/masked-path
 - shapes/offset-path
 - shapes/repeater-transform
 - effects/puppet-effect
 - effects/wavy-effect
 - text/text-selector-property
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

1 participant