From e4ee14f8f379d3cad1d24cfa767fc2dc6e56765f Mon Sep 17 00:00:00 2001 From: j-hirose Date: Tue, 4 Jun 2019 19:08:47 +0900 Subject: [PATCH] update JsonSchema --- specification/0.0/schema/vrm.blendshape.schema.json | 1 + .../0.0/schema/vrm.firstperson.meshannotation.schema.json | 3 ++- specification/0.0/schema/vrm.firstperson.schema.json | 3 ++- specification/0.0/schema/vrm.humanoid.bone.schema.json | 3 ++- specification/0.0/schema/vrm.meta.schema.json | 3 ++- specification/0.0/schema/vrm.schema.json | 2 +- .../schema/vrm.secondaryanimation.collidergroup.schema.json | 3 ++- specification/0.0/schema/vrm.secondaryanimation.schema.json | 1 + .../0.0/schema/vrm.secondaryanimation.spring.schema.json | 6 ++++-- 9 files changed, 17 insertions(+), 8 deletions(-) diff --git a/specification/0.0/schema/vrm.blendshape.schema.json b/specification/0.0/schema/vrm.blendshape.schema.json index 7688803b8..36aca505d 100644 --- a/specification/0.0/schema/vrm.blendshape.schema.json +++ b/specification/0.0/schema/vrm.blendshape.schema.json @@ -1,5 +1,6 @@ { "title": "vrm.blendshape", + "description": "BlendShapeAvatar of UniVRM", "type": "object", "properties": { "blendShapeGroups": { diff --git a/specification/0.0/schema/vrm.firstperson.meshannotation.schema.json b/specification/0.0/schema/vrm.firstperson.meshannotation.schema.json index b2ce8fe78..719672c2b 100644 --- a/specification/0.0/schema/vrm.firstperson.meshannotation.schema.json +++ b/specification/0.0/schema/vrm.firstperson.meshannotation.schema.json @@ -3,7 +3,8 @@ "type": "object", "properties": { "mesh": { - "type": "integer" + "type": "integer", + "minimum": 0 }, "firstPersonFlag": { "type": "string" diff --git a/specification/0.0/schema/vrm.firstperson.schema.json b/specification/0.0/schema/vrm.firstperson.schema.json index ec8a488b4..3bc965dc4 100644 --- a/specification/0.0/schema/vrm.firstperson.schema.json +++ b/specification/0.0/schema/vrm.firstperson.schema.json @@ -4,7 +4,8 @@ "properties": { "firstPersonBone": { "description": "The bone whose rendering should be turned off in first-person view. Usually Head is specified.", - "type": "integer" + "type": "integer", + "minimum": 0 }, "firstPersonBoneOffset": { "description": "The target position of the VR headset in first-person view. It is assumed that an offset from the head bone to the VR headset is added.", diff --git a/specification/0.0/schema/vrm.humanoid.bone.schema.json b/specification/0.0/schema/vrm.humanoid.bone.schema.json index cd6c4b137..b60dd4a15 100644 --- a/specification/0.0/schema/vrm.humanoid.bone.schema.json +++ b/specification/0.0/schema/vrm.humanoid.bone.schema.json @@ -9,7 +9,8 @@ }, "node": { "description": "Reference node index", - "type": "integer" + "type": "integer", + "minimum": 0 }, "useDefaultValues": { "description": "Unity's HumanLimit.useDefaultValues", diff --git a/specification/0.0/schema/vrm.meta.schema.json b/specification/0.0/schema/vrm.meta.schema.json index 64c6e3437..1c94c7dfe 100644 --- a/specification/0.0/schema/vrm.meta.schema.json +++ b/specification/0.0/schema/vrm.meta.schema.json @@ -24,7 +24,8 @@ }, "texture": { "description": "Thumbnail of VRM model", - "type": "integer" + "type": "integer", + "minimum": 0 }, "allowedUserName": { "description": "A person who can perform with this avatar", diff --git a/specification/0.0/schema/vrm.schema.json b/specification/0.0/schema/vrm.schema.json index de4769123..cd6259bd4 100644 --- a/specification/0.0/schema/vrm.schema.json +++ b/specification/0.0/schema/vrm.schema.json @@ -4,7 +4,7 @@ "type": "object", "properties": { "exporterVersion": { - "description": "Version of exporter that vrm created. UniVRM-0.46", + "description": "Version of exporter that vrm created. UniVRM-0.52.0", "type": "string" }, "specVersion": { diff --git a/specification/0.0/schema/vrm.secondaryanimation.collidergroup.schema.json b/specification/0.0/schema/vrm.secondaryanimation.collidergroup.schema.json index 75721b03f..c0663452d 100644 --- a/specification/0.0/schema/vrm.secondaryanimation.collidergroup.schema.json +++ b/specification/0.0/schema/vrm.secondaryanimation.collidergroup.schema.json @@ -4,7 +4,8 @@ "properties": { "node": { "description": "The node of the collider group for setting up collision detections.", - "type": "integer" + "type": "integer", + "minimum": 0 }, "colliders": { "type": "array", diff --git a/specification/0.0/schema/vrm.secondaryanimation.schema.json b/specification/0.0/schema/vrm.secondaryanimation.schema.json index 3864a8e59..9694358e2 100644 --- a/specification/0.0/schema/vrm.secondaryanimation.schema.json +++ b/specification/0.0/schema/vrm.secondaryanimation.schema.json @@ -1,5 +1,6 @@ { "title": "vrm.secondaryanimation", + "description": "The setting of automatic animation of string-like objects such as tails and hairs.", "type": "object", "properties": { "boneGroups": { diff --git a/specification/0.0/schema/vrm.secondaryanimation.spring.schema.json b/specification/0.0/schema/vrm.secondaryanimation.spring.schema.json index bf35679d4..1551381c1 100644 --- a/specification/0.0/schema/vrm.secondaryanimation.spring.schema.json +++ b/specification/0.0/schema/vrm.secondaryanimation.spring.schema.json @@ -45,14 +45,16 @@ "description": "Specify the node index of the root bone of the swaying object.", "type": "array", "items": { - "type": "integer" + "type": "integer", + "minimum": 0 } }, "colliderGroups": { "description": "Specify the index of the collider group for collisions with swaying objects.", "type": "array", "items": { - "type": "integer" + "type": "integer", + "minimum": 0 } } }