Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

103 řádky
2.2KB

  1. ---
  2. $schema: "https://json-schema.org/draft-04/schema"
  3. id: "https://stsci.edu/schemas/yaml-schema/draft-01"
  4. title:
  5. YAML Schema
  6. type: object
  7. properties:
  8. points:
  9. $ref: '#/components/schemas/points'
  10. panels:
  11. type: object
  12. additionalProperties:
  13. type: object
  14. properties:
  15. allowances:
  16. type: object
  17. properties:
  18. hem:
  19. type: string
  20. seam:
  21. type: string
  22. points:
  23. $ref: '#/components/schemas/points'
  24. lines:
  25. type: array
  26. items:
  27. $ref: '#/components/schemas/line'
  28. information:
  29. allOf:
  30. - $ref: '#/components/schemas/point'
  31. - type: object
  32. properties:
  33. anchor:
  34. type: string
  35. enum: [top, center, bottom, left, right]
  36. components:
  37. schemas:
  38. point:
  39. type: object
  40. properties:
  41. position:
  42. $ref: '#/components/schemas/position'
  43. relativeTo:
  44. $ref: '#/components/schemas/pointID'
  45. description:
  46. type: string
  47. between:
  48. type: object
  49. properties:
  50. from:
  51. $ref: '#/components/schemas/pointID'
  52. to:
  53. $ref: '#/components/schemas/pointID'
  54. offset:
  55. $ref: '#/components/schemas/expression'
  56. hide:
  57. type: bool
  58. points:
  59. type: object
  60. additionalProperties:
  61. $ref: '#/components/schemas/point'
  62. position:
  63. type: object
  64. properties:
  65. y:
  66. type: string
  67. x:
  68. type: string
  69. rotation:
  70. type: string
  71. line:
  72. type: object
  73. properties:
  74. through:
  75. type: array
  76. items:
  77. $ref: '#/components/schemas/pointID'
  78. curve:
  79. type: object
  80. properties:
  81. start:
  82. $ref: '#/components/schemas/pointID'
  83. end:
  84. type:
  85. $ref: '#/components/schemas/pointID'
  86. pointID:
  87. oneOf:
  88. - type: integer
  89. - type: string
  90. expression:
  91. oneOf:
  92. - type: integer
  93. - type: string