{
  "metadata": {
    "title": "sentinel-2 natural color",
    "abstract": "Styling a Sentinel-2 L2A coverage with Style & Symbology Basic Coverage Styling. Changed for the cartosym-draft-check gallery: colorChannels set back to the original example's unscaled B04 B03 B02."
  },
  "stylingRules": [
    {
      "selector": {
        "op": "and",
        "args": [
          {
            "op": "=",
            "args": [
              {
                "sysId": "dataLayer.id"
              },
              "sentinel2-l2a"
            ]
          },
          {
            "op": "=",
            "args": [
              {
                "sysId": "dataLayer.type"
              },
              "coverage"
            ]
          }
        ]
      },
      "symbolizer": {
        "visibility": false
      },
      "nestedRules": [
        {
          "selector": {
            "op": "<",
            "args": [
              {
                "sysId": "viz.sd"
              },
              200000
            ]
          },
          "symbolizer": {
            "visibility": true,
            "opacity": 0.8,
            "zOrder": 1,
            "colorChannels": [
              {
                "property": "B04"
              },
              {
                "property": "B03"
              },
              {
                "property": "B02"
              }
            ],
            "alphaChannel": 1.0
          },
          "nestedRules": [
            {
              "selector": {
                "op": "=",
                "args": [
                  {
                    "property": "SCL"
                  },
                  8
                ]
              },
              "symbolizer": {
                "alphaChannel": 0.5
              }
            },
            {
              "selector": {
                "op": "=",
                "args": [
                  {
                    "property": "SCL"
                  },
                  9
                ]
              },
              "symbolizer": {
                "alphaChannel": 0.0
              }
            }
          ]
        }
      ]
    }
  ]
}