stroke.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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": "st"
  20. },
  21. "lc": {
  22. "title": "Line Cap",
  23. "description": "Stroke Line Cap",
  24. "$ref": "#/helpers/lineCap",
  25. "type": "number"
  26. },
  27. "lj": {
  28. "title": "Line Join",
  29. "description": "Stroke Line Join",
  30. "$ref": "#/helpers/lineJoin",
  31. "type": "number"
  32. },
  33. "ml": {
  34. "title": "Miter Limit",
  35. "description": "Stroke Miter Limit. Only if Line Join is set to Miter.",
  36. "type": "number"
  37. },
  38. "o": {
  39. "title": "Opacity",
  40. "description": "Stroke Opacity",
  41. "oneOf": [
  42. {
  43. "$ref": "#/properties/value"
  44. },
  45. {
  46. "$ref": "#/properties/valueKeyframed"
  47. }
  48. ],
  49. "type": "object"
  50. },
  51. "w": {
  52. "title": "Width",
  53. "description": "Stroke Width",
  54. "oneOf": [
  55. {
  56. "$ref": "#/properties/value"
  57. },
  58. {
  59. "$ref": "#/properties/valueKeyframed"
  60. }
  61. ],
  62. "type": "object"
  63. },
  64. "c": {
  65. "title": "Color",
  66. "description": "Stroke Color",
  67. "oneOf": [
  68. {
  69. "$ref": "#/properties/multiDimensional"
  70. },
  71. {
  72. "$ref": "#/properties/multiDimensionalKeyframed"
  73. }
  74. ],
  75. "type": "object"
  76. }
  77. }
  78. }