{
    "title": "PointCloud Value Filter",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema",
    "description": "Filters points based on the value of an specified attribute.",
    "properties": {
        "field": {
            "type": "string",
            "description": "The name of the field that is used for the filter."
        },
        "mode": {
            "type": "string",
            "description": "Defines if values should be included or excluded.",
            "enum": [
                "exclude",
                "include"
            ]
        },
        "type": {
            "type": "string",
            "description": "Filters points based on the value of an specified attribute.",
            "enum": [
                "pointCloudValueFilter"
            ]
        },
        "values": {
            "type": "array",
            "description": "list of values",
            "items": {
                "type": "number"
            }
        }
    },
    "required": [
        "field",
        "mode",
        "type",
        "values"
    ],
    "additionalProperties": false,
    "esriDocumentation": {
        "examples": [
            {
                "title": "PointCloud Value Filter",
                "description": "",
                "code": {
                    "filters": [
                        {
                            "type": "pointCloudValueFilter",
                            "field": "USAGE",
                            "values": [
                                1,
                                3,
                                7
                            ],
                            "mode": "include"
                        }
                    ]
                }
            }
        ]
    }
}