Skip to content

Instantly share code, notes, and snippets.

@akkisna
Created November 14, 2018 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akkisna/85aee84bea83863b2e0168b3e73c8e87 to your computer and use it in GitHub Desktop.
Save akkisna/85aee84bea83863b2e0168b3e73c8e87 to your computer and use it in GitHub Desktop.
'use strict';
.......
"descriptors": {
"properties": {
"english": {
"properties": {
"description": standardTypes.ENGLISH_TEXT,
"name": standardTypes.ENGLISH_TEXT
}
},
"hindi": {
"properties": {
"description": standardTypes.HINDI_TEXT,
"name": standardTypes.HINDI_TEXT
}
},
"telugu": {
"properties": {
"description": standardTypes.STANDARD_TEXT,
"name": standardTypes.STANDARD_TEXT
}
}
}
}
.....
module.exports = schema;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment