Updated JsonSchema

This commit is contained in:
ousttrue
2018-08-22 14:24:33 +09:00
parent 87d82fd794
commit 6bb7b2b854
20 changed files with 67 additions and 38 deletions

View File

@@ -8,7 +8,7 @@ using UniJSON;
namespace VRM
{
[Serializable]
[JsonSchema(Title = "vrm.materialbind")]
[JsonSchema(Title = "vrm.blendshape.materialbind")]
public class glTF_VRM_MaterialValueBind : UniGLTF.JsonSerializableBase
{
public string materialName;
@@ -24,7 +24,7 @@ namespace VRM
}
[Serializable]
[JsonSchema(Title = "vrm.blendshapebind")]
[JsonSchema(Title = "vrm.blendshape.bind")]
public class glTF_VRM_BlendShapeBind : UniGLTF.JsonSerializableBase
{
public int mesh = -1;
@@ -85,7 +85,7 @@ namespace VRM
}
[Serializable]
[JsonSchema(Title = "vrm.blendshapegroup", Description = "BlendShapeClip of UniVRM")]
[JsonSchema(Title = "vrm.blendshape.group", Description = "BlendShapeClip of UniVRM")]
public class glTF_VRM_BlendShapeGroup : UniGLTF.JsonSerializableBase
{
[JsonSchema(Description = "Expression name")]
@@ -128,7 +128,7 @@ namespace VRM
}
[Serializable]
[JsonSchema(Title = "vrm.blendshapemaster", Description = "BlendShapeAvatar of UniVRM")]
[JsonSchema(Title = "vrm.blendshape", Description = "BlendShapeAvatar of UniVRM")]
public class glTF_VRM_BlendShapeMaster : UniGLTF.JsonSerializableBase
{
public List<glTF_VRM_BlendShapeGroup> blendShapeGroups = new List<glTF_VRM_BlendShapeGroup>();

View File

@@ -8,7 +8,7 @@ using UniJSON;
namespace VRM
{
[Serializable]
[JsonSchema(Title = "vrm.degreemap")]
[JsonSchema(Title = "vrm.firstperson.degreemap")]
public class glTF_VRM_DegreeMap : UniGLTF.JsonSerializableBase
{
[JsonSchema(Description = "None linear mapping params. time, value, inTangent, outTangent")]
@@ -47,6 +47,7 @@ namespace VRM
}
[Serializable]
[JsonSchema(Title = "vrm.firstperson.meshannotation")]
public class glTF_VRM_MeshAnnotation : JsonSerializableBase
{
public int mesh;

View File

@@ -89,7 +89,7 @@ namespace VRM
}
[Serializable]
[JsonSchema(Title = "vrm.humanoidbone")]
[JsonSchema(Title = "vrm.humanoid.bone")]
public class glTF_VRM_HumanoidBone : JsonSerializableBase
{
[JsonSchema(Description = "Human bone name.", EnumValues = new object[] {