{
    "modules": {
        "readingbookmark": true,
        "outline": true,
//        "annotations":true,
        "annotations": {
            "highlight": true,
            "underline": true,
            "squiggly": true,
            "strikeout": true,
            "insert": true,
            "replace": true,
            "line": true,
            "rectangle": true,
            "oval": true,
            "arrow": true,
            "pencil": true,
            "eraser": true,
            "typewriter": true,
            "textbox": true,
            "callout": true,
            "note": true,
            "stamp": true,
            "polygon": true,
            "cloud": true,
            "polyline": true,
            "measure": true,
            "image": true,
            "audio": true,
            "video": true,
            "redaction":true
        },
        "thumbnail": true,
        "attachment": true,
        "signature": true,
        "fillSign": true,
        "search": true,
        "navigation": true,
        "form": true,
        "selection": true,
        "encryption": true,
        "multipleSelection": true
    },
    "permissions": {
         "runJavaScript": true,
         "copyText": true,
         "disableLink": false
    },
    "uiSettings": {
      "pageMode": "Single", //("Single"/"Facing"/"CoverLeft"/"CoverMiddle"/"CoverRight"/"Reflow"
                            // Note: /"CoverLeft"/"CoverMiddle"/"CoverRight" currently only support CoverRight)
      "continuous": false,  // True means continuous pages, false means discontinuous pages. Invalid for "Reflow" mode
      "reflowBackgroundColor": "#FFFFFF", // option
      "zoomMode": "FitWidth", //("FitWidth"/"FitPage")
      "colorMode": "Normal", //("Normal"/"Night"/"Map")
      "mapForegroundColor": "#5d5b71", //Effective only when colorMode is "Map" and "Night" mode is not.
      "mapBackgroundColor": "#00001b", //Effective only when colorMode is "Map" and "Night" mode is not.
      "disableFormNavigationBar": false,
      "highlightForm": true,
      "highlightFormColor": "#200066cc", //Set the highlight color with alpha
      "highlightLink": true,
      "highlightLinkColor": "#16007fff", //Set the highlight color with alpha
      "fullscreen": true, // Enter the full screen immediately after opening. If the user clicks on the page, the toolbar will be displayed. After 5 seconds, if it is in full screen mode, the toolbar and other auxiliary toolbar buttons will be hidden automatically.
      "showPenOnlySwitch": true, // Only use for pencil and eraser
      "enableHandwritingRecognition": false,
      "enableTopbarDraggable": 2,// Is it possible to drag the toolbar to change its position(left, right or top), this value can be 0, 1, 2, 3;
                                 // 0: Neither the phone nor the tablet can drag the topbar;
                                 // 1: Only the mobile phone can drag the topbar;
                                 // 2: Only the tablet can drag the topbar;
                                 // 3: Both mobile phone and tablet can drag topbar;
      "annotations": {
               "continuouslyAdd": true,
                "highlight": {
                  "color": "#ffff00", "opacity": 1.0 //opacity: 0.0f - 1.0f, Use default configuration if out of range.
                },
                "areaHighlight": {
                  "color": "#ffff00", "opacity": 1.0 //opacity: 0.0f - 1.0f, Use default configuration if out of range.
                },
                "underline": {
                  "color": "#66cc33", "opacity": 1.0
                },
                "squiggly": {
                  "color": "#993399", "opacity": 1.0
                },
                "strikeout": {
                  "color": "#ff0000", "opacity": 1.0
                },
                "insert": {
                  "color": "#993399", "opacity": 1.0
                },
                "replace": {
                  "color": "#0000ff", "opacity": 1.0
                },
                "line": {
                  "color": "#ff0000", "opacity": 1.0, "thickness": 2 //thickness: 1 - 12, Use default configuration if out of range.
                },
                "rectangle": {
                  "color": "#ff0000", "opacity": 1.0, "thickness": 2, "fillColor": null
                },
                "oval": {
                  "color": "#ff0000", "opacity": 1.0, "thickness": 2, "fillColor": null
                },
                "arrow": {
                  "color": "#ff0000", "opacity": 1.0, "thickness": 2
                },
                "pencil": {
                  "color": "#ff0000",
                  "opacity": 1.0,
                  "thickness": 2,
                  "addHistoricalPoints": true
                },
                "polygon": {
                  "color": "#ff0000", "opacity": 1.0, "thickness": 2, "fillColor": null
                },
                "cloud": {
                  "color": "#ff0000", "opacity": 1.0, "thickness": 2 ,"fillColor": null
                },
                "polyline": {
                  "color": "#ff0000", "opacity": 1.0, "thickness": 2
                },
                "typewriter": {
                  "textColor": "#0000ff",
                  "opacity": 1.0,
                  "textFace": "Courier", // textFace:"Courier"/"Helvetica"/"Times"
                  "textSize": 18 // testSize > 0
                },
                "textbox": {
                  "color": "#ff0000",
                  "textColor": "#0000ff",
                  "opacity": 1.0,
                  "textFace": "Courier", // textFace:"Courier"/"Helvetica"/"Times"
                  "textSize": 18
                },
                "callout": {
                  "color": "#ff0000",
                  "textColor": "#0000ff",
                  "opacity": 1.0,
                  "textFace": "Courier", // textFace:"Courier"/"Helvetica"/"Times"
                  "textSize": 18
                },
                "note": {
                  "color": "#ff0000",
                  "opacity": 1.0,
                  "icon": "Comment" //icon：Comment/Key/Note/Help/NewParagraph/Paragraph/Insert
                },
                "attachment": {
                  "color": "#ff0000",
                  "opacity": 1.0,
                  "icon": "PushPin" //icon：Graph/PushPin/Paperclip/Tag
                },
                "image": {
                  "rotation": 0, //rotation: 0/90/180/270.
                  "opacity": 1.0
                },
                "measure": {
                   "color": "#ff0000",
                   "opacity": 1.0,
                   "thickness": 2,
                   "scaleFromUnit": "inch",//Unit: pt/inch/ft/yd/p/mm/cm/m
                   "scaleToUnit": "inch",//Unit: pt/inch/ft/yd/p/mm/cm/m
                   "scaleFromValue": 1.0,
                   "scaleToValue": 1.0
                },
                "redaction": {
                   "fillColor": "#000000",
                   "textColor": "#ff0000",
                   "textFace": "Courier", // textFace:"Courier"/"Helvetica"/"Times"
                   "textSize": 12
                }
      },
      "form": {
        "textField": {
          "textColor": "#000000",
          "textFace": "Courier", // textFace:"Courier"/"Helvetica"/"Times"
          "textSize": 0 // 0 means auto-adjust font size (textSize >= 0)
        },
        "checkBox": {
          "textColor": "#000000"
        },
        "radioButton": {
          "textColor": "#000000"
        },
        "comboBox": {
          "textColor": "#000000",
          "textFace": "Courier", // textFace:"Courier"/"Helvetica"/"Times"
          "textSize": 0, // 0 means auto-adjust font size (textSize >= 0)
          "customText": false
        },
        "listBox": {
          "textColor": "#000000",
          "textFace": "Courier", // textFace:"Courier"/"Helvetica"/"Times"
          "textSize": 0, // 0 means auto-adjust font size (textSize >= 0)
          "multipleSelection": false
        }
      },
      "signature": {
            "color": "#000000", "thickness": 8
      }
    },
    "optimizations": {
      "optimizeEmbeddedFontsForAnnots": false // When this field is enabled, the font information from the existing document will be reused when adding annotations, allowing fonts to be shared and reducing the final document size to some extent. Currently, this option only takes effect for FreeText annotations.
    }
}
