{
    "title": "popupElement attachments",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema",
    "description": "Configures attachments in popup elements.",
    "properties": {
        "displayType": {
            "type": "string",
            "description": "A string value indicating how to display the attachment. If `list` is specified, attachments show as links.",
            "enum": [
                "list",
                "preview"
            ]
        },
        "type": {
            "type": "string",
            "enum": [
                "attachments"
            ]
        }
    },
    "required": [
        "type"
    ],
    "additionalProperties": false,
    "esriDocumentation": {
        "examples": [
            {
                "title": "popupElement attachments",
                "code": {
                    "popupElements": [
                        {
                            "type": "attachments",
                            "displayType": "list"
                        }
                    ]
                }
            }
        ]
    }
}