Skip to main content

asset_v2_0.json

asset.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "remote_id": { ...

Updated over 3 weeks ago

asset.json

Copy Json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "remote_id": {
      "description": "unique identifier id that represent this asset on the remote asset library",
      "type": "string"
    },
    "name": {
      "description": "the name of the collection, cannot start or end with whitespace and has minimum of 3 characters",
      "type": "string",
      "pattern": "^[\\S].*[\\S]{2,}$"
    },
    "version": {
      "description": "the version of this asset, for caching reasons",
      "type": "string"
    },
    "type": {
      "enum": ["fabric", "seam", "artwork", "trim", "trim_edge", "trim3d", "zipper", "button"]
    },
    "is_group":{
      "description": "define whether this asset represent group material or not, zipper and button are always group materials",
      "type": "boolean"
    },
    "thumb": {
      "description": "the thumbnail image that should be display for this asset (local path)",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    }
  },
  "required": [
    "remote_id",
    "name",
    "version",
    "type",
    "thumb"
  ]
}
Did this answer your question?