Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

67 рядки
1.1 KiB

  1. {
  2. "kind": "collectionType",
  3. "collectionName": "apparels",
  4. "info": {
  5. "name": "Apparel",
  6. "description": ""
  7. },
  8. "options": {
  9. "increments": true,
  10. "timestamps": true,
  11. "draftAndPublish": true
  12. },
  13. "attributes": {
  14. "name": {
  15. "type": "string"
  16. },
  17. "description": {
  18. "type": "richtext"
  19. },
  20. "price": {
  21. "type": "biginteger"
  22. },
  23. "stock": {
  24. "type": "biginteger"
  25. },
  26. "part_code": {
  27. "type": "string"
  28. },
  29. "category": {
  30. "type": "enumeration",
  31. "enum": [
  32. "RConcept",
  33. "Asia",
  34. "Basic",
  35. "Merchandise",
  36. "Maxi",
  37. "RainSuit",
  38. "motoGP",
  39. "OffRoad"
  40. ]
  41. },
  42. "img": {
  43. "model": "file",
  44. "via": "related",
  45. "allowedTypes": [
  46. "images",
  47. "files",
  48. "videos"
  49. ],
  50. "plugin": "upload",
  51. "required": false
  52. },
  53. "otr_price_sumsel": {
  54. "type": "biginteger"
  55. },
  56. "otr_price_palembang": {
  57. "type": "biginteger"
  58. },
  59. "otr_price_bengkulu": {
  60. "type": "biginteger"
  61. },
  62. "discount": {
  63. "type": "decimal"
  64. }
  65. }
  66. }