Skip to content

Commit 8fdfca0

Browse files
committed
fix: organization schema type error
1 parent 154ca91 commit 8fdfca0

File tree

1 file changed

+2
-11
lines changed
  • src/api/organization/content-types/organization

1 file changed

+2
-11
lines changed

src/api/organization/content-types/organization/schema.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"singularName": "organization",
66
"pluralName": "organizations",
77
"displayName": "组织机构",
8-
"description": "NGO组织的核心信息"
8+
"description": "NGO 核心信息"
99
},
1010
"options": {
1111
"draftAndPublish": true
@@ -21,9 +21,6 @@
2121
"type": "string",
2222
"unique": true
2323
},
24-
"contactPerson": {
25-
"type": "string"
26-
},
2724
"contactUser": {
2825
"type": "relation",
2926
"relation": "oneToOne",
@@ -45,9 +42,6 @@
4542
"type": "enumeration",
4643
"enum": ["china_mainland_hmt", "international"]
4744
},
48-
"location": {
49-
"type": "string"
50-
},
5145
"address": {
5246
"type": "component",
5347
"repeatable": false,
@@ -56,9 +50,6 @@
5650
"establishedDate": {
5751
"type": "date"
5852
},
59-
"operationYears": {
60-
"type": "string"
61-
},
6253
"parentOrganization": {
6354
"type": "relation",
6455
"relation": "manyToOne",
@@ -78,7 +69,7 @@
7869
"type": "richtext"
7970
},
8071
"staffCount": {
81-
"type": "string"
72+
"type": "integer"
8273
},
8374
"services": {
8475
"type": "component",

0 commit comments

Comments
 (0)