Fixed JsonSchema #44

This commit is contained in:
ousttrue 2018-10-11 10:04:55 +09:00
parent da4989c852
commit 67a6f19ccb
2 changed files with 19 additions and 18 deletions

View File

@ -92,23 +92,24 @@ namespace VRM
public string name;
[JsonSchema(Description = "Predefined Expression name", EnumValues =new object[] {
"Neutral",
"A",
"I",
"U",
"E",
"O",
"Blink",
"Joy",
"Angry",
"Sorrow",
"Fun",
"LookUp",
"LookDown",
"LookLeft",
"LookRight",
"Blink_L",
"Blink_R",
"unknown",
"neutral",
"a",
"i",
"u",
"e",
"o",
"blink",
"joy",
"angry",
"sorrow",
"fun",
"lookup",
"lookdown",
"lookleft",
"lookright",
"blink_l",
"blink_r",
})]
public string presetName;

View File

@ -9,7 +9,7 @@
"presetName": {
"description": "Predefined Expression name",
"type": "string",
"enum": ["Neutral","A","I","U","E","O","Blink","Joy","Angry","Sorrow","Fun","LookUp","LookDown","LookLeft","LookRight","Blink_L","Blink_R"]
"enum": ["unknown","neutral","a","i","u","e","o","blink","joy","angry","sorrow","fun","lookup","lookdown","lookleft","lookright","blink_l","blink_r"]
},
"binds": {
"description": "Low level blendshape references.",