{
  "title": "WaterSymbol3DLayer",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Symbol Layer that describes a water appearance on surfaces in a SceneView.",
  "properties": {
    "color": {
      "description": "The dominant water color.",
      "$ref": "color_schema.json",
      "default": [
        0,
        119,
        190
      ]
    },
    "enable": {
      "type": "boolean"
    },
    "type": {
      "type": "string",
      "description": "Specifies the type of symbol used.",
      "enum": [
        "Water"
      ]
    },
    "waterbodySize": {
      "type": "string",
      "description": "Size of the waterbody the symbol layer represents. Applications will display waves that are appropriate for the chosen body of water, for example ocean versus marina versus swimming pool.",
      "enum": [
        "large",
        "medium",
        "small"
      ],
      "default": "medium"
    },
    "waveDirection": {
      "type": "number",
      "description": "Azimuthal bearing for direction of the waves. If ommitted, waves appear directionless. The value is interpreted as 'geographic' rotation, i.e. clockwise starting from north.",
      "minimum": 0,
      "maximum": 360
    },
    "waveStrength": {
      "type": "string",
      "description": "The magnitude of the waves displayed on the waterbody. Strings roughly follow the [Douglas sea scale](https://en.wikipedia.org/wiki/Douglas_sea_scale), currently limited to lower degrees.",
      "enum": [
        "calm",
        "moderate",
        "rippled",
        "slight"
      ],
      "default": "moderate"
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "Water SymbolLayer defaults",
        "code": {
          "symbolLayers": [
            {
              "type": "Water"
            }
          ]
        }
      },
      {
        "title": "Water SymbolLayer",
        "code": {
          "symbolLayers": [
            {
              "type": "Water",
              "color": [
                98,
                182,
                210
              ],
              "waterbodySize": "large",
              "waveStrength": "rippled",
              "waveDirection": 60
            }
          ]
        }
      }
    ]
  }
}
