Skip to main content

avatar_properties_v3_15.json

avatar_properties_v3_15.json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "parametric"
          ]
        },
        "name": {
          "type": "string"
        },
        "body_resolution": {
          "enum": [
            "normal",
            "high",
            "max"
          ]
        },
        "friction": {
          "enum": [
            "plastic",
            "human",
            "cloth"
          ]
        },
        "skin_tone": {
          "type": "string",
          "pattern": "^.+\\.mat$"
        },
        "hair_style": {
          "type": "string",
          "pattern": "^.+\\.3ds$"
        },
        "template": {
          "ref": "avatar_template.json"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "imported"
          ]
        },
        "name": {
          "type": "string"
        },
        "body_resolution": {
          "enum": [
            "normal",
            "high",
            "max"
          ]
        },
        "vertical": {
          "type": "integer",
          "minimum": 1,
          "maximum": 6
        },
        "facing": {
          "enum": [
            0,
            90,
            180,
            270
          ]
        },
        "mirror": {
          "type": "boolean"
        },
        "distance_from_ground": {
          "type": "number",
          "minimum": 0,
          "maximum": 200
        },
        "texture": {
          "type": "string"
        },
        "friction": {
          "enum": [
            "plastic",
            "human",
            "cloth"
          ]
        },
        "hanging_points": {
          "ref": "../../v1.0/avatar/hanging_points.json"
        },
        "template": {
          "description": "only for browzwear's avatar",
          "ref": "avatar_template.json"
        },
        "is_protected": {
          "type": "boolean"
        },
        "is_password_protected": {
          "type": "boolean"
        }
      }
    }
  ]
}

Did this answer your question?