animation.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "type": "object",
  4. "properties": {
  5. "ip": {
  6. "title": "In Point",
  7. "description": "In Point of the Time Ruler. Sets the initial Frame of the animation.",
  8. "type": "number"
  9. },
  10. "op": {
  11. "title": "Out Point",
  12. "description": "Out Point of the Time Ruler. Sets the final Frame of the animation",
  13. "type": "number"
  14. },
  15. "fr": {
  16. "title": "Frame Rate",
  17. "description": "Frame Rate",
  18. "type": "number"
  19. },
  20. "w": {
  21. "title": "Width",
  22. "description": "Composition Width",
  23. "type": "number"
  24. },
  25. "ddd": {
  26. "title": "3-D",
  27. "description": "Composition has 3-D layers",
  28. "type": "number",
  29. "$ref": "#/helpers/boolean",
  30. "default": 0
  31. },
  32. "h": {
  33. "title": "Height",
  34. "description": "Composition Height",
  35. "type": "number"
  36. },
  37. "v": {
  38. "title": "Version",
  39. "description": "Bodymovin Version",
  40. "type": "string"
  41. },
  42. "nm": {
  43. "title": "Name",
  44. "description": "Composition name",
  45. "type": "string"
  46. },
  47. "layers": {
  48. "title": "Layers",
  49. "description": "List of Composition Layers",
  50. "items": {
  51. "oneOf": [
  52. {
  53. "$ref": "#/layers/shape"
  54. },
  55. {
  56. "$ref": "#/layers/solid"
  57. },
  58. {
  59. "$ref": "#/layers/preComp"
  60. },
  61. {
  62. "$ref": "#/layers/image"
  63. },
  64. {
  65. "$ref": "#/layers/null"
  66. },
  67. {
  68. "$ref": "#/layers/text"
  69. }
  70. ],
  71. "type": "object"
  72. },
  73. "type": "array"
  74. },
  75. "assets": {
  76. "title": "Assets",
  77. "description": "source items that can be used in multiple places. Comps and Images for now.",
  78. "items": {
  79. "oneOf": [
  80. {
  81. "$ref": "#/sources/image"
  82. },
  83. {
  84. "$ref": "#/sources/precomp"
  85. }
  86. ],
  87. "type": "object"
  88. },
  89. "type": "array"
  90. },
  91. "chars": {
  92. "title": "Chars",
  93. "description": "source chars for text layers",
  94. "items": {
  95. "$ref": "#/sources/chars",
  96. "type": "object"
  97. },
  98. "type": "array"
  99. }
  100. }
  101. }