{
  "Name": "MAX PI Web API Sandbox",
  "Description": "A PI Web API compatible service with generated data, to test and demonstrate MAX's PI integration. It is not an AVEVA product.",
  "Version": "165.0.1.0",
  "PiWebApi": "https://pi-sandbox.max4mets.cloud/piwebapi/",
  "SignIn": "Basic authentication. The user name is the name of a scenario, optionally followed by a fault: known-answers or known-answers+flaky.",
  "Scenarios": [
    {
      "Name": "nutava-gold",
      "Description": "The plant historian of the Nutava Gold demonstration: weightometer totalisers, mill feed moisture, leach densities and the SAG mill. The SAG mill stops each Tuesday from 07:00 to 19:00 and the crusher each Friday from 07:00 to 11:00 (UTC+8). The moisture is I/O Timeout each Wednesday day shift.",
      "SiteUtcOffset": "08:00:00",
      "DataArchives": [
        "NGPI"
      ],
      "Tags": [
        {
          "Path": "\\\\NGPI\\NG-CV01-WIT-TOT",
          "AttributePath": null,
          "Descriptor": "Crusher feed weightometer totaliser",
          "EngineeringUnits": "wmt",
          "DataType": "Float",
          "EventInterval": "00:01:00"
        },
        {
          "Path": "\\\\NGPI\\NG-CV03-WIT-TOT",
          "AttributePath": null,
          "Descriptor": "Mill feed weightometer totaliser",
          "EngineeringUnits": "wmt",
          "DataType": "Float",
          "EventInterval": "00:01:00"
        },
        {
          "Path": "\\\\NGPI\\NG-CV05-WIT-TOT",
          "AttributePath": null,
          "Descriptor": "Scats weightometer totaliser",
          "EngineeringUnits": "wmt",
          "DataType": "Float",
          "EventInterval": "00:01:00"
        },
        {
          "Path": "\\\\NGPI\\NG-MF-MOIST-PV",
          "AttributePath": null,
          "Descriptor": "Mill feed moisture",
          "EngineeringUnits": "%",
          "DataType": "Float",
          "EventInterval": "00:01:00"
        },
        {
          "Path": "\\\\NGPI\\NG-LF-DENS-PV",
          "AttributePath": "\\\\NGAF\\Nutava Gold\\Leach\\Leach Feed|Density",
          "Descriptor": "Leach feed density",
          "EngineeringUnits": "% solids",
          "DataType": "Float",
          "EventInterval": "00:01:00"
        },
        {
          "Path": "\\\\NGPI\\NG-LT-DENS-PV",
          "AttributePath": "\\\\NGAF\\Nutava Gold\\Leach\\Leach Tail|Density",
          "Descriptor": "Leach tail density",
          "EngineeringUnits": "% solids",
          "DataType": "Float",
          "EventInterval": "00:01:00"
        },
        {
          "Path": "\\\\NGPI\\NG-SAG-STATUS",
          "AttributePath": null,
          "Descriptor": "SAG mill status",
          "EngineeringUnits": null,
          "DataType": "Digital",
          "EventInterval": "00:01:00"
        },
        {
          "Path": "\\\\NGPI\\NG-SAG-PWR-PV",
          "AttributePath": null,
          "Descriptor": "SAG mill power",
          "EngineeringUnits": "kW",
          "DataType": "Float",
          "EventInterval": "00:01:00"
        }
      ]
    },
    {
      "Name": "known-answers",
      "Description": "Series whose values, averages, totals and percent good can be calculated by hand. One value each hour, and each day the same.",
      "SiteUtcOffset": "00:00:00",
      "DataArchives": [
        "SANDBOX"
      ],
      "Tags": [
        {
          "Path": "\\\\SANDBOX\\KA.Constant",
          "AttributePath": "\\\\SANDBOXAF\\Known Answers\\Unit 1|Feed Rate",
          "Descriptor": "100 at all times",
          "EngineeringUnits": "t/h",
          "DataType": "Float",
          "EventInterval": "01:00:00"
        },
        {
          "Path": "\\\\SANDBOX\\KA.Ramp",
          "AttributePath": null,
          "Descriptor": "The hour of the day, 0 to 23",
          "EngineeringUnits": "h",
          "DataType": "Float",
          "EventInterval": "01:00:00"
        },
        {
          "Path": "\\\\SANDBOX\\KA.Step",
          "AttributePath": null,
          "Descriptor": "Stepped: 10, 20, 30 and 40 for six hours each",
          "EngineeringUnits": "t/h",
          "DataType": "Float",
          "EventInterval": "01:00:00"
        },
        {
          "Path": "\\\\SANDBOX\\KA.BadData",
          "AttributePath": null,
          "Descriptor": "50, with I/O Timeout from 06:00 to 12:00",
          "EngineeringUnits": "%",
          "DataType": "Float",
          "EventInterval": "01:00:00"
        },
        {
          "Path": "\\\\SANDBOX\\KA.Gap",
          "AttributePath": null,
          "Descriptor": "50, with no values from 06:00 to 12:00",
          "EngineeringUnits": "%",
          "DataType": "Float",
          "EventInterval": "01:00:00"
        },
        {
          "Path": "\\\\SANDBOX\\KA.Running",
          "AttributePath": null,
          "Descriptor": "Stopped from 00:00 to 06:00, Running for the rest of the day",
          "EngineeringUnits": null,
          "DataType": "Digital",
          "EventInterval": "01:00:00"
        }
      ]
    },
    {
      "Name": "two-archives",
      "Description": "The tag TA.Level on two PI Data Archives: 1 on SANDBOX1 and 2 on SANDBOX2.",
      "SiteUtcOffset": "00:00:00",
      "DataArchives": [
        "SANDBOX1",
        "SANDBOX2"
      ],
      "Tags": [
        {
          "Path": "\\\\SANDBOX1\\TA.Level",
          "AttributePath": null,
          "Descriptor": "Level, 1 at all times",
          "EngineeringUnits": "m",
          "DataType": "Float",
          "EventInterval": "01:00:00"
        },
        {
          "Path": "\\\\SANDBOX2\\TA.Level",
          "AttributePath": null,
          "Descriptor": "Level, 2 at all times",
          "EngineeringUnits": "m",
          "DataType": "Float",
          "EventInterval": "01:00:00"
        }
      ]
    }
  ],
  "Faults": [
    {
      "Suffix": "+flaky",
      "Effect": "Every third HTTP request answers 503."
    },
    {
      "Suffix": "+slow",
      "Effect": "Every answer waits 5 seconds."
    },
    {
      "Suffix": "+throttled",
      "Effect": "Every third HTTP request answers 429 with Retry-After."
    },
    {
      "Suffix": "+batch-errors",
      "Effect": "Every third request in a batch answers 500. The batch itself answers 207."
    }
  ]
}