{
  "$schema": "https://service.metason.net/ar/schemas/action.json",
  "items": [
    {
      "id": "net.metason.samples.dynamicpanel",
      "type": "Spot",
      "subtype": "Panel",
      "name": "Panel",
      "vertices": [
        [
          0.0,
          0.0,
          0.0
        ]
      ],
      "asset": "<b>Items with Behavior</b><br>Dynamic items using Web<br>services and data-driven tasks.<br><small><br><i>Coding Keywords:</i><br> <code>fetch, parameters, map, setup</code></small>",
      "attributes": "color:#000000; bgcolor:#EEEEEECC; scale:1.0",
      "isLocked": true
    },
    {
      "id": "net.metason.samples.back",
      "type": "Spot",
      "subtype": "Panel",
      "name": "Panel",
      "vertices": [
        [
          0.0,
          0.0,
          0.0
        ]
      ],
      "asset": "https://service.metason.net/ar/extension/images/back.png",
      "attributes": "wxdxh:0.25x0.0x0.25",
      "content": "ontap=function('net.metason.samples.*', 'delete'); function('https://service.metason.net/ar/content/samples/3DUI.json', 'getJSON')",
      "isLocked": true
    },
    {
      "id": "net.metason.samples.next",
      "type": "Spot",
      "subtype": "Panel",
      "name": "Panel",
      "vertices": [
        [
          0.0,
          0.0,
          0.0
        ]
      ],
      "asset": "https://service.metason.net/ar/extension/images/next.png",
      "attributes": "wxdxh:0.25x0.0x0.25",
      "content": "ontap=function('net.metason.*', 'delete'); function('https://service.metason.net/ar/content/samples/end.json', 'getJSON')",
      "isLocked": true
    },
    {
      "id": "net.metason.samples.dyncase",
      "type": "Geometry",
      "subtype": "Box",
      "isLocked": true,
      "attributes": "color:#333333; wxdxh:1.2x0.02x0.55; z:0.01"
    },
    {
      "id": "net.metason.samples.clock",
      "type": "3D Object",
      "subtype": "Equipment",
      "asset": "https://service.metason.net/ar/content/smarts/analogclock.json",
      "attributes": "x:-0.35;y:0.135;z:0.035;"
    },
    {
      "id": "net.metason.samples.hygro",
      "type": "3D Object",
      "subtype": "Equipment",
      "asset": "https://service.metason.net/ar/content/smarts/hygrometer.json",
      "attributes": "x:0.0;y:0.3;z:0.025;"
    },
    {
      "id": "net.metason.samples.thermo",
      "type": "3D Object",
      "subtype": "Equipment",
      "asset": "https://service.metason.net/ar/content/smarts/thermometer.json",
      "attributes": "x:0.2;y:0.3;z:0.025;"
    },
    {
      "id": "net.metason.samples.baro",
      "type": "3D Object",
      "subtype": "Equipment",
      "asset": "https://service.metason.net/ar/content/smarts/barometer.json",
      "attributes": "x:0.4;y:0.3;z:0.025;"
    },
    {
      "id": "net.metason.samples.datelabel",
      "type": "Data",
      "subtype": "Label",
      "name": "wd dd:mm.yyyy",
      "attributes": "wxdxh:0.4x0.0x0.095;color:#00CC00;bgcolor:#222222;font:Helvetica;x:0.2;y:0.06;z:0.025;"
    },
    {
      "id": "net.metason.samples.weatherlamp",
      "type": "Data",
      "subtype": "Lamp",
      "isLocked": false,
      "assetMeta": "wxdxh:0.05x0.016x0.05;color:#FFFF00;bgcolor:#AAAAAA;ratio:0.8;;x:-0.0;y:0.21;z:0.025;"
    },
    {
      "id": "net.metason.samples.weatherlabel",
      "type": "Data",
      "subtype": "Label",
      "name": "weather state",
      "attributes": "wxdxh:0.3x0.0x0.05;color:#FFFFFF;font:Helvetica;x:0.25;y:0.21;z:0.025;"
    },
    {
      "id": "net.metason.samples.weather.cockpit",
      "type": "Geometry",
      "subtype": "Group",
      "attributes": "wxdxh:1.2x0.03x0.55;",
      "children": "net.metason.samples.dyncase, net.metason.samples.weatherlamp, net.metason.samples.weatherlabel, net.metason.samples.clock, net.metason.samples.datelabel, net.metason.samples.hygro, net.metason.samples.thermo, net.metason.samples.baro"
    }
  ],
  "tasks": [
    {
      "do": "add",
      "id": "net.metason.samples.dynamicpanel",
      "ahead": "0.0 1.4 -1.5"
    },
    {
      "do": "add",
      "id": "net.metason.samples.back",
      "ahead": "-0.47 1.12 -1.5"
    },
    {
      "do": "add",
      "id": "net.metason.samples.next",
      "ahead": "0.47 1.12 -1.5"
    },
    {
      "do": "setValue",
      "id": "net.metason.samples.datelabel",
      "expression": "time.wddate"
    },
    {
      "do": "setValue",
      "in": "0.95",
      "id": "net.metason.samples.weatherlabel",
      "expression": "data.weather"
    },
    {
      "do": "setValue",
      "in": "0.95",
      "if": "data.weather CONTAINS[c] 'clear'",
      "id": "net.metason.samples.weatherlamp",
      "expression": "true"
    },
    {
      "do": "add",
      "//": "delay",
      "in": "1.0",
      "id": "net.metason.samples.weather.cockpit",
      "ahead": "0.0 0.25 -1.5"
    }
  ]
}