Skip to main content

create_outfit_v3_20.json

create_outfit.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "description": "Create Ou...

create_outfit_v3_20.json

Create Outfit

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "description": "Create Outfit",
  "properties": {
    "name": {
      "type": "string",
      "default": ""
    },
    "garments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "default": ""
          },
          "id": {
            "type": "string",
            "default": ""
          },
          "selected_colorway_id": {
            "type": "number"
          },
          "selected_snapshot_id": {
            "type": "string",
            "default": ""
          },
          "selected_size": {
            "type": "string",
            "default": ""
          }
        },
        "required": [
          "path",
          "id"
        ]
      }
    }
  },
  "required": [
    "name",
    "garments"
  ]
}

Did this answer your question?