Geovation/photos

View on GitHub
src/custom/categories.js

Summary

Maintainability
F
3 days
Test Coverage
export const data = {
  1: {
    label: "Non-specific Plastic",
    children: {
      100: {
        label: "4 / 6 pack rings"
      },
      101: {
        label: "Bags",
        children: {
          1000: {
            label: "Plastic carrier bag (shopping / grocery bag)"
          },
          1001: {
            label: "Packaging"
          },
          1002: {
            label: "Other (Bags)"
          },
          1069: {
            label: "Sandwich and snack plastic bag (e.g. Ziploc)"
          }
        }
      },
      102: {
        label: "Bottles and Containers",
        children: {
          1003: {
            label: "Plastic drinks bottle"
          },
          1004: {
            label: "Plastic cleaning product bottle"
          },
          1005: {
            label:
              "Plastic food container (e.g. pots, tubs, sachets, clamshells)"
          },
          1006: {
            label: "Plastic toiletries bottle (e.g. shampoo, soap, lotion)"
          }
        }
      },
      103: {
        label: "Plastic bottle lid / cap"
      },
      104: {
        label: "Cigarette Lighters"
      },
      105: {
        label: "Plastic Tobacco Pouches"
      },
      106: {
        label: "Cigarette Butts"
      },
      107: {
        label: "Combs / Hair Brushes"
      },
      108: {
        label: "Sunglasses"
      },
      109: {
        label: "Crisp Wrappers / Foil Chip Bags"
      },
      110: {
        label: "Plastic Sandwich Packaging"
      },
      111: {
        label: "Plastic Pasta Pots"
      },
      112: {
        label: "Chocolate / Candybar Wrappers"
      },
      113: {
        label: "Sweet / Candy / Gum Wrappers"
      },
      114: {
        label: "Plastic Cutlery / utensils (e.g. Spoon, Fork, Knife)"
      },
      115: {
        label: "Plastic Trays (e.g. Meat Trays)"
      },
      116: {
        label: "Plastic Straws"
      },
      117: {
        label: "Disposable Plastic Cups (not paper)"
      },
      118: {
        label: "Disposable Cup Lids"
      },
      119: {
        label: "Fishing",
        children: {
          1007: {
            label: "Fishing Line"
          },
          1008: {
            label: "Fishing Net and Net Pieces (< 50cm)"
          },
          1009: {
            label: "Fishing Net and Net Pieces (> 50cm)"
          },
          1010: {
            label: "Fishing Floats/Bobbers and Reels"
          }
        }
      },
      120: {
        label: "Industrial Plastic Packaging / Crates / Sheeting"
      },
      121: {
        label: "Mesh Bags (e.g. Fruit / Vegetable)"
      },
      122: {
        label: "Plastic Pallets / Crates"
      },
      123: {
        label: "Rope (diameter > 1cm)"
      },
      124: {
        label: "String / cord (diameter < 1cm)"
      },
      125: {
        label: "Plastic String / Cord (diameter < 1cm)"
      },
      126: {
        label: "Balloon string"
      },
      127: {
        label: "Plastic Balloon String"
      },
      128: {
        label: "Traffic Cones"
      },
      129: {
        label: "Plastic Pieces (< 2.5 cm)"
      },
      130: {
        label: "Plastic Pieces (> 2.5 cm)"
      },
      131: {
        label: "Other (Non-specific Plastic)"
      },
      170: { label: "Plastic stirrers" },
      171: { label: "Plastic food container lid" },
      172: { label: "Plastic wrap (e.g. clingfilm, cellophane)" },
      173: { label: "Plastic toothpick" },
      174: { label: "Glasses (not sunglasses)" },
      175: { label: "Hair tie / band / bobble" },
      176: { label: "Lipstick / chapstick" },
      177: { label: "Make up container" },
      178: { label: "Plastic toy" },
      180: { label: "Balls " },
      181: { label: "Dog toy (e.g. ball, rope)" },
      182: { label: "Plastic frisbee" },
      183: { label: "Dog leash / collar" },
      184: { label: "Tarpaulin (e.g. canvas, tarp, weedcover)" },
      185: { label: "Plastic plant / flower pot" },
      186: { label: "Plastic plant / flower label" },
      187: { label: "Cigar tip" },
      188: { label: "Plastic buoy" },
      189: { label: "Bubble wrap" },
      190: { label: "Plastic bucket" },
      191: { label: "Plastic tape (e.g. sticky tape, cellotape)" },
      192: { label: "Plastic sign (e.g. road sign)" },
      193: { label: "Plastic car parts" },
      194: { label: "Nurdles" },
      195: { label: "Drinks carton" },
      196: { label: "Plastic label" },
      197: {
        label: "Electrical",
        children: {
          1070: { label: "Mobile phone" },
          1071: { label: "Headphone" },
          1072: { label: "Electrical cable" },
          1073: { label: "Radio/ stero" }
        }
      }
    }
  },
  2: {
    label: "Specific Plastic",
    children: {
      132: {
        label: "Polystyrene",
        children: {
          1011: {
            label:
              "Fast-food Polystyrene / Styrofoam Containers (e.g. clamshell)"
          },
          1012: {
            label: "Polystyrene Foam / Sponge Insulation"
          },
          1013: {
            label: "Polystyrene / styrofoam packaging"
          },
          1014: {
            label: "Polystyrene / Stryofoam Pieces (< 5 cm)"
          },
          1015: {
            label: "Polystyrene / Stryofoam Pieces (5-50 cm)"
          },
          1016: {
            label: "Polystyrene / Stryofoam Pieces (> 50 cm)"
          },
          1017: {
            label: "Individual Polystyrene / Styrofoam Beads"
          },
          // repeat, is it safe to delete?
          1018: {
            label: "Individual polystyrene / Styrofoam beads"
          },
          1019: {
            label: "Other (Specific plastic)"
          },
          1074: { label: "Polystyrene / styrofoam plate / tray" }
        }
      },
      133: {
        label: "Rubber",
        children: {
          1020: {
            label: "Balloons"
          },
          1021: {
            label: "Rubber Gloves (heavy-duty)"
          },
          1022: {
            label: "Rubber Gloves (light-weight)"
          },
          1023: {
            label: "Rubber Pieces (< 50 cm)"
          },
          1024: {
            label: "Tyres (without Rims)",
            children: {
              10000: {
                label: "Bike Tyres (without Rims)"
              },
              10001: {
                label: "Car Tyres (without Rims)"
              },
              10002: {
                label: "Other Tyres (without Rims)"
              }
            }
          },
          1025: {
            label: "Tyres (with Rims)",
            children: {
              10003: {
                label: "Bike Tyres (with Rims)"
              },
              10004: {
                label: "Car Tyres (with Rims)"
              },
              10005: {
                label: "Other Tyres (with wheel)"
              }
            }
          },
          1026: {
            label: "Other (Rubber)"
          },
          1075: {
            label: "Chewing gum"
          },
          1076: {
            label: "Elastic / rubber band"
          }
        }
      },
      134: {
        label: "Medical",
        children: {
          1027: {
            label: "Inhaler"
          },
          1028: {
            label: "Plasters"
          },
          1029: {
            label: "Syringes"
          },
          1030: {
            label: "Other (Medical)"
          }
        }
      },
      135: {
        label: "Sanitary",
        children: {
          1031: {
            label: "Condoms"
          },
          1032: {
            label: "Cotton Buds / Swabs (e.g. Q tips)"
          },
          1033: {
            label: "Nappies"
          },
          1034: {
            label: "Tampon"
          },
          1077: { label: "Tampon applicator" },
          1078: { label: "Sanitary pad/ napkin" },
          1035: {
            label: "Toilet Fresheners"
          },
          1036: {
            label: "Towels"
          },
          1037: {
            label: "Wet Wipes / Hand Sanitiser Wipe / Cleaning Wipe"
          },
          1038: {
            label: "Other (Sanitary)"
          },
          1079: { label: "Plastic deoderant container" }
        }
      },
      136: {
        label: "Animal faeces (Do not touch!)",
        children: {
          1039: {
            label: "Animal Faeces/ Faeces Bag"
          },
          1040: {
            label: "Animal Faeces (not in bags)"
          }
        }
      }
    }
  },
  3: {
    label: "Other",
    children: {
      137: {
        label: "Fabric / Clothing",
        children: {
          1041: {
            label: "Cloth / fabric pieces"
          },
          1042: {
            label: "Clothing"
          },
          1043: {
            label: "Footwear / shoes"
          },
          1044: {
            label: "Sacking"
          },
          1045: {
            label: "Other (Fabric / Clothing)"
          }
        }
      },
      138: {
        label: "Metal",
        children: {
          1046: {
            label: "Aerosol Cans"
          },
          1047: {
            label: "BBQs / grill (disposable)"
          },
          1048: {
            label: "Metal Bottle Caps"
          },
          1049: {
            label: "Metal Car Parts / Car Batteries"
          },
          1050: {
            label: "Drinks Cans"
          },
          1051: {
            label: "Fishing Weights / Hooks / Bait"
          },
          1052: {
            label: "Foil Wrappers (e.g. aluminium foil)"
          },
          1053: {
            label: "Metal Food Cans"
          },
          1054: {
            label: "Scrap / Metal Appliances / Paint Tins"
          },
          1055: {
            label: "Household Batteries"
          },
          1056: {
            label: "Metal Wire / Wire Mesh"
          },
          1057: {
            label: "Metal Pieces"
          },
          1058: {
            label: "Other (Metal)"
          },
          1080: { label: "Money (coins)" },
          1081: { lablel: "Metal cutlery / utensils" },
          1082: { lablel: "Metal weapon" },
          1083: { lablel: "Metal nail / screw" },
          1084: { lablel: "Metal tool" },
          1085: { lablel: "Metal bike part" },
          1086: { lablel: "Metal lid" },
          1087: { lablel: "CD / disc" }
        }
      },
      139: {
        label: "Wood",
        children: {
          1059: {
            label: "Corks"
          },
          1060: {
            label: "Wooden Pallets / Crates"
          },
          1061: {
            label: "Wooden Ice Lolly Sticks / Chip Forks"
          },
          1062: {
            label: "Wooden Paint Brushes"
          },
          1063: {
            label: "Wooden Pieces (not twigs etc.)"
          },
          1064: {
            label: "Other (Wood)"
          },
          1088: { label: "Book" },
          1089: { label: "Newspaper / magazine" },
          1090: { label: "Paper money / notes" },
          1091: { label: "Cardboard" },
          1092: { label: "Paper packaging" }
        }
      },
      140: {
        label: "Glass",
        children: {
          1065: {
            label: "Glass Bottle"
          },
          1066: {
            label: "Light Bulbs / Neon Tubes"
          },
          1067: {
            label: "Glass Pieces"
          },
          1092: { label: "Glass jar" }
        }
      },
      141: {
        label: "Pottery / Ceramics",
        children: {
          1068: {
            label: "Any pottery / Ceramic tiles"
          }
        }
      }
    }
  }
};