.itemCategoryProperty How to use it in Node Templates

How can I change the CategoryProperty when using the Template maps as seen in the sample (GoJS Template Maps -- Northwoods Software)?

I didn’t find any way to have it changed.

Further down on that same page: GoJS Template Maps -- Northwoods Software

I don’t want to change the value, I want to change the property name itself:
diagram.model.nodeDataArray = [
{ key: “Beta”, desc: “second letter”, color: “lightblue”, category: “simple” },
{ key: “Gamma”, desc: “third letter”, color: “pink”, category: “detailed” },
{ key: “Delta”, desc: “fourth letter”, color: “cyan”, category: “detailed” }
];

TO

diagram.model.nodeDataArray = [
{ key: “Beta”, desc: “second letter”, color: “lightblue”, diff_category: “simple” },
{ key: “Gamma”, desc: “third letter”, color: “pink”, diff_category: “detailed” },
{ key: “Delta”, desc: “fourth letter”, color: “cyan”, diff_category: “detailed” }
];

myDiagram.model = $(go.GraphLinksModel,
  {
    nodeCategoryProperty: "diff_category",
    nodeDataArray: [
      { key: "Alpha", color: "lightblue", diff_category: "simple" },
      { key: "Beta", color: "orange", diff_category: "simple" },
      { key: "Gamma", color: "lightgreen", diff_category: "detailed" }
    ]
  }
);

Thank you, that was the missing piece!