{
  "kind": "collectionType",
  "collectionName": "colors",
  "info": {
    "name": "Color"
  },
  "options": {
    "increments": true,
    "timestamps": true
  },
  "attributes": {
    "name": {
      "type": "string",
      "required": true,
      "unique": true
    },
    "products": {
      "via": "colors",
      "collection": "products",
      "dominant": true
    }
  }
}
