Skip to content

Commit

Permalink
update required fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Copy-of-A committed Aug 7, 2024
1 parent baa9bd9 commit d57219c
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions src/api/coin/content-types/coin/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@
"i18n": {
"localized": true
}
}
},
"required": true
},
"glowColor": {
"type": "customField",
"regex": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",
"customField": "plugin::color-picker.color"
"customField": "plugin::color-picker.color",
"required": true
},
"faq": {
"type": "json",
Expand All @@ -43,44 +45,49 @@
"i18n": {
"localized": true
}
}
},
"required": true
},
"aboutCoin": {
"type": "richtext",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"required": true
},
"networks": {
"type": "text",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"required": true
},
"descriptionFAQ": {
"type": "text",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"required": true
},
"slug": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"required": true
},
"logo": {
"type": "media",
"multiple": false,
"required": false,
"required": true,
"allowedTypes": [
"images",
"files",
Expand All @@ -99,7 +106,8 @@
"i18n": {
"localized": true
}
}
},
"required": true
},
"featuresHeading": {
"pluginOptions": {
Expand Down

0 comments on commit d57219c

Please sign in to comment.