summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJian He2017-04-14 03:35:43 (GMT)
committerJian He2017-04-14 03:35:43 (GMT)
commitee9ea0acabddcbf11fd3aa237b9930b1b0bf4d9b (patch)
treeb2a8a2bd7c69fd5091db4acf73259af95dec0895
parent6ef3368d37d037915063773e35432bcf62d150ef (diff)
Add schema.
-rw-r--r--config/pinyin.schema.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/pinyin.schema.yml b/config/pinyin.schema.yml
new file mode 100644
index 0000000..d609d83
--- /dev/null
+++ b/config/pinyin.schema.yml
@@ -0,0 +1,7 @@
+field.storage_settings.pinyin_shortcode:
+ type: field.storage_settings.string
+ label: 'Pinyin shortcode settings'
+ mapping:
+ max_length:
+ type: integer
+ label: 'Maximum length'