uni-id-tag.schema.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "bsonType": "object",
  3. "required": ["tagid", "name"],
  4. "permission": {
  5. "read": "'READ_UNI_ID_TAG' in auth.permission",
  6. "create": "'CREATE_UNI_ID_TAG' in auth.permission",
  7. "update": "'UPDATE_UNI_ID_TAG' in auth.permission",
  8. "delete": "'DELETE_UNI_ID_TAG' in auth.permission"
  9. },
  10. "properties": {
  11. "_id": {
  12. "description": "ID,系统自动生成"
  13. },
  14. "tagid": {
  15. "bsonType": "string",
  16. "description": "标签tagid",
  17. "label": "标签tagid",
  18. "componentForEdit": {
  19. "name": "uni-easyinput"
  20. }
  21. },
  22. "name": {
  23. "bsonType": "string",
  24. "description": "标签名称",
  25. "label": "标签名称",
  26. "componentForEdit": {
  27. "name": "uni-easyinput"
  28. }
  29. },
  30. "description": {
  31. "bsonType": "string",
  32. "description": "标签描述",
  33. "label": "标签描述",
  34. "componentForEdit": {
  35. "name": "textarea"
  36. },
  37. "componentForShow": {
  38. "name": "textarea"
  39. }
  40. },
  41. "create_date": {
  42. "bsonType": "timestamp",
  43. "label": "创建时间",
  44. "forceDefaultValue": {
  45. "$env": "now"
  46. },
  47. "componentForEdit": {
  48. "name": "uni-dateformat"
  49. }
  50. }
  51. }
  52. }