group.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "type": "object",
  4. "properties": {
  5. "mn": {
  6. "title": "Match Name",
  7. "description": "After Effect's Match Name. Used for expressions.",
  8. "type": "string"
  9. },
  10. "nm": {
  11. "title": "Name",
  12. "description": "After Effect's Name. Used for expressions.",
  13. "type": "string"
  14. },
  15. "ty": {
  16. "title": "Type",
  17. "description": "Shape content type.",
  18. "type": "string",
  19. "const": "gr"
  20. },
  21. "np": {
  22. "title": "Number of Properties",
  23. "description": "Group number of properties. Used for expressions.",
  24. "type": "number"
  25. },
  26. "it": {
  27. "title": "Items",
  28. "description": "Group list of items",
  29. "items": {
  30. "oneOf": [
  31. {
  32. "$ref": "#/shapes/shape",
  33. "value": "sh"
  34. },
  35. {
  36. "$ref": "#/shapes/rect",
  37. "value": "rc"
  38. },
  39. {
  40. "$ref": "#/shapes/ellipse",
  41. "value": "el"
  42. },
  43. {
  44. "$ref": "#/shapes/star",
  45. "value": "sr"
  46. },
  47. {
  48. "$ref": "#/shapes/fill",
  49. "value": "fl"
  50. },
  51. {
  52. "$ref": "#/shapes/gFill",
  53. "value": "gf"
  54. },
  55. {
  56. "$ref": "#/shapes/gStroke",
  57. "value": "gs"
  58. },
  59. {
  60. "$ref": "#/shapes/stroke",
  61. "value": "st"
  62. },
  63. {
  64. "$ref": "#/shapes/merge",
  65. "value": "mm"
  66. },
  67. {
  68. "$ref": "#/shapes/trim",
  69. "value": "tm"
  70. },
  71. {
  72. "$ref": "#/shapes/group",
  73. "value": "gr"
  74. },
  75. {
  76. "$ref": "#/shapes/round",
  77. "value": "rd"
  78. },
  79. {
  80. "$ref": "#/shapes/transform",
  81. "value": "tr"
  82. }
  83. ],
  84. "type": "object"
  85. },
  86. "type": "array"
  87. }
  88. }
  89. }