Skip to main content
Alpha: Document API is currently alpha and subject to breaking changes.

Summary

Apply document-level default style changes to the stylesheet (word/styles.xml). Targets docDefaults run and paragraph channels with set-style patch semantics.
  • Operation ID: styles.apply
  • API member path: editor.doc.styles.apply(...)
  • Mutates document: yes
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a StylesApplyReceipt with per-channel success/failure details for each property change.

Input fields

Variant 1 (target.channel=“run”)

FieldTypeRequiredDescription
patchobjectyes
patch.boldbooleanno
patch.boldCsbooleanno
patch.bordersobjectno
patch.borders.colorstringno
patch.borders.framebooleanno
patch.borders.shadowbooleanno
patch.borders.sizeintegerno
patch.borders.spaceintegerno
patch.borders.themeColorstringno
patch.borders.themeShadestringno
patch.borders.themeTintstringno
patch.borders.valstringno
patch.colorobjectno
patch.color.themeColorstringno
patch.color.themeShadestringno
patch.color.themeTintstringno
patch.color.valstringno
patch.dstrikebooleanno
patch.eastAsianLayoutobjectno
patch.eastAsianLayout.combinebooleanno
patch.eastAsianLayout.combineBracketsstringno
patch.eastAsianLayout.idintegerno
patch.eastAsianLayout.vertbooleanno
patch.eastAsianLayout.vertCompressbooleanno
patch.effectstringno
patch.emenumno"none", "dot", "comma", "circle", "sesame"
patch.embossbooleanno
patch.fitTextobjectno
patch.fitText.idintegerno
patch.fitText.valintegerno
patch.fontFamilyobjectno
patch.fontFamily.asciistringno
patch.fontFamily.asciiThemestringno
patch.fontFamily.csstringno
patch.fontFamily.csthemestringno
patch.fontFamily.eastAsiastringno
patch.fontFamily.eastAsiaThemestringno
patch.fontFamily.hAnsistringno
patch.fontFamily.hAnsiThemestringno
patch.fontFamily.hintstringno
patch.fontFamily.valstringno
patch.fontSizeintegerno
patch.fontSizeCsintegerno
patch.iCsbooleanno
patch.imprintbooleanno
patch.italicbooleanno
patch.kernintegerno
patch.langobjectno
patch.lang.bidistringno
patch.lang.eastAsiastringno
patch.lang.valstringno
patch.letterSpacingintegerno
patch.noProofbooleanno
patch.outlinebooleanno
patch.positionintegerno
patch.shadingobjectno
patch.shading.colorstringno
patch.shading.fillstringno
patch.shading.themeColorstringno
patch.shading.themeFillstringno
patch.shading.themeFillShadestringno
patch.shading.themeFillTintstringno
patch.shading.themeShadestringno
patch.shading.themeTintstringno
patch.shading.valstringno
patch.shadowbooleanno
patch.smallCapsbooleanno
patch.snapToGridbooleanno
patch.specVanishbooleanno
patch.strikebooleanno
patch.textTransformenumno"uppercase", "none"
patch.underlineobjectno
patch.underline.colorstringno
patch.underline.themeColorstringno
patch.underline.themeShadestringno
patch.underline.themeTintstringno
patch.underline.valenumno"single", "double", "thick", "dotted", "dottedHeavy", "dash", "dashedHeavy", "dashLong", "dashLongHeavy", "dotDash", "dashDotHeavy", "dotDotDash", "dashDotDotHeavy", "wave", "wavyHeavy", "wavyDouble", "words", "none"
patch.vanishbooleanno
patch.vertAlignenumno"superscript", "subscript", "baseline"
patch.wintegerno
patch.webHiddenbooleanno
targetobject(scope=“docDefaults”)yes
target.channel"run"yesConstant: "run"
target.scope"docDefaults"yesConstant: "docDefaults"

Variant 2 (target.channel=“paragraph”)

FieldTypeRequiredDescription
patchobjectyes
patch.adjustRightIndbooleanno
patch.autoSpaceDEbooleanno
patch.autoSpaceDNbooleanno
patch.bordersobjectno
patch.borders.barobjectno
patch.borders.bar.colorstringno
patch.borders.bar.framebooleanno
patch.borders.bar.shadowbooleanno
patch.borders.bar.sizeintegerno
patch.borders.bar.spaceintegerno
patch.borders.bar.themeColorstringno
patch.borders.bar.themeShadestringno
patch.borders.bar.themeTintstringno
patch.borders.bar.valstringno
patch.borders.betweenobjectno
patch.borders.between.colorstringno
patch.borders.between.framebooleanno
patch.borders.between.shadowbooleanno
patch.borders.between.sizeintegerno
patch.borders.between.spaceintegerno
patch.borders.between.themeColorstringno
patch.borders.between.themeShadestringno
patch.borders.between.themeTintstringno
patch.borders.between.valstringno
patch.borders.bottomobjectno
patch.borders.bottom.colorstringno
patch.borders.bottom.framebooleanno
patch.borders.bottom.shadowbooleanno
patch.borders.bottom.sizeintegerno
patch.borders.bottom.spaceintegerno
patch.borders.bottom.themeColorstringno
patch.borders.bottom.themeShadestringno
patch.borders.bottom.themeTintstringno
patch.borders.bottom.valstringno
patch.borders.leftobjectno
patch.borders.left.colorstringno
patch.borders.left.framebooleanno
patch.borders.left.shadowbooleanno
patch.borders.left.sizeintegerno
patch.borders.left.spaceintegerno
patch.borders.left.themeColorstringno
patch.borders.left.themeShadestringno
patch.borders.left.themeTintstringno
patch.borders.left.valstringno
patch.borders.rightobjectno
patch.borders.right.colorstringno
patch.borders.right.framebooleanno
patch.borders.right.shadowbooleanno
patch.borders.right.sizeintegerno
patch.borders.right.spaceintegerno
patch.borders.right.themeColorstringno
patch.borders.right.themeShadestringno
patch.borders.right.themeTintstringno
patch.borders.right.valstringno
patch.borders.topobjectno
patch.borders.top.colorstringno
patch.borders.top.framebooleanno
patch.borders.top.shadowbooleanno
patch.borders.top.sizeintegerno
patch.borders.top.spaceintegerno
patch.borders.top.themeColorstringno
patch.borders.top.themeShadestringno
patch.borders.top.themeTintstringno
patch.borders.top.valstringno
patch.contextualSpacingbooleanno
patch.frameProbjectno
patch.framePr.anchorLockbooleanno
patch.framePr.dropCapstringno
patch.framePr.hintegerno
patch.framePr.hAnchorstringno
patch.framePr.hRulestringno
patch.framePr.hSpaceintegerno
patch.framePr.linesintegerno
patch.framePr.vAnchorstringno
patch.framePr.vSpaceintegerno
patch.framePr.wintegerno
patch.framePr.wrapstringno
patch.framePr.xintegerno
patch.framePr.xAlignstringno
patch.framePr.yintegerno
patch.framePr.yAlignstringno
patch.indentobjectno
patch.indent.endintegerno
patch.indent.endCharsintegerno
patch.indent.firstLineintegerno
patch.indent.firstLineCharsintegerno
patch.indent.hangingintegerno
patch.indent.hangingCharsintegerno
patch.indent.leftintegerno
patch.indent.leftCharsintegerno
patch.indent.rightintegerno
patch.indent.rightCharsintegerno
patch.indent.startintegerno
patch.indent.startCharsintegerno
patch.justificationenumno"left", "center", "right", "justify", "distribute"
patch.keepLinesbooleanno
patch.keepNextbooleanno
patch.kinsokubooleanno
patch.mirrorIndentsbooleanno
patch.numberingPropertiesobjectno
patch.numberingProperties.ilvlintegerno
patch.numberingProperties.numIdintegerno
patch.outlineLvlintegerno
patch.overflowPunctbooleanno
patch.pageBreakBeforebooleanno
patch.rightToLeftbooleanno
patch.shadingobjectno
patch.shading.colorstringno
patch.shading.fillstringno
patch.shading.themeColorstringno
patch.shading.themeFillstringno
patch.shading.themeFillShadestringno
patch.shading.themeFillTintstringno
patch.shading.themeShadestringno
patch.shading.themeTintstringno
patch.shading.valstringno
patch.snapToGridbooleanno
patch.spacingobjectno
patch.spacing.afterintegerno
patch.spacing.afterAutospacingbooleanno
patch.spacing.afterLinesintegerno
patch.spacing.beforeintegerno
patch.spacing.beforeAutospacingbooleanno
patch.spacing.beforeLinesintegerno
patch.spacing.lineintegerno
patch.spacing.lineRuleenumno"auto", "exact", "atLeast"
patch.suppressAutoHyphensbooleanno
patch.suppressLineNumbersbooleanno
patch.suppressOverlapbooleanno
patch.tabStopsobject[]no
patch.textAlignmentenumno"top", "center", "baseline", "bottom", "auto"
patch.textDirectionenumno"lrTb", "tbRl", "btLr", "lrTbV", "tbRlV", "tbLrV"
patch.textboxTightWrapenumno"none", "allLines", "firstAndLastLine", "firstLineOnly", "lastLineOnly"
patch.topLinePunctbooleanno
patch.widowControlbooleanno
patch.wordWrapbooleanno
targetobject(scope=“docDefaults”)yes
target.channel"paragraph"yesConstant: "paragraph"
target.scope"docDefaults"yesConstant: "docDefaults"

Example request

{
  "patch": {
    "bold": true,
    "boldCs": true
  },
  "target": {
    "channel": "run",
    "scope": "docDefaults"
  }
}

Output fields

Variant 1 (success=true)

FieldTypeRequiredDescription
afterobjectyes
after.adjustRightIndenumno"on", "off", "inherit"
after.autoSpaceDEenumno"on", "off", "inherit"
after.autoSpaceDNenumno"on", "off", "inherit"
after.boldenumno"on", "off", "inherit"
after.boldCsenumno"on", "off", "inherit"
after.bordersobject \"inherit"noOne of: object, "inherit"
after.colorobject \"inherit"noOne of: object, "inherit"
after.contextualSpacingenumno"on", "off", "inherit"
after.dstrikeenumno"on", "off", "inherit"
after.eastAsianLayoutobject \"inherit"noOne of: object, "inherit"
after.effectstring \"inherit"noOne of: string, "inherit"
after.emstring \"inherit"noOne of: string, "inherit"
after.embossenumno"on", "off", "inherit"
after.fitTextobject \"inherit"noOne of: object, "inherit"
after.fontFamilyobject \"inherit"noOne of: object, "inherit"
after.fontSizenumber \"inherit"noOne of: number, "inherit"
after.fontSizeCsnumber \"inherit"noOne of: number, "inherit"
after.frameProbject \"inherit"noOne of: object, "inherit"
after.iCsenumno"on", "off", "inherit"
after.imprintenumno"on", "off", "inherit"
after.indentobject \"inherit"noOne of: object, "inherit"
after.italicenumno"on", "off", "inherit"
after.justificationstring \"inherit"noOne of: string, "inherit"
after.keepLinesenumno"on", "off", "inherit"
after.keepNextenumno"on", "off", "inherit"
after.kernnumber \"inherit"noOne of: number, "inherit"
after.kinsokuenumno"on", "off", "inherit"
after.langobject \"inherit"noOne of: object, "inherit"
after.letterSpacingnumber \"inherit"noOne of: number, "inherit"
after.mirrorIndentsenumno"on", "off", "inherit"
after.noProofenumno"on", "off", "inherit"
after.numberingPropertiesobject \"inherit"noOne of: object, "inherit"
after.outlineenumno"on", "off", "inherit"
after.outlineLvlnumber \"inherit"noOne of: number, "inherit"
after.overflowPunctenumno"on", "off", "inherit"
after.pageBreakBeforeenumno"on", "off", "inherit"
after.positionnumber \"inherit"noOne of: number, "inherit"
after.rightToLeftenumno"on", "off", "inherit"
after.shadingobject \"inherit"noOne of: object, "inherit"
after.shadowenumno"on", "off", "inherit"
after.smallCapsenumno"on", "off", "inherit"
after.snapToGridenumno"on", "off", "inherit"
after.spacingobject \"inherit"noOne of: object, "inherit"
after.specVanishenumno"on", "off", "inherit"
after.strikeenumno"on", "off", "inherit"
after.suppressAutoHyphensenumno"on", "off", "inherit"
after.suppressLineNumbersenumno"on", "off", "inherit"
after.suppressOverlapenumno"on", "off", "inherit"
after.tabStopsarray \"inherit"noOne of: array, "inherit"
after.textAlignmentstring \"inherit"noOne of: string, "inherit"
after.textDirectionstring \"inherit"noOne of: string, "inherit"
after.textTransformstring \"inherit"noOne of: string, "inherit"
after.textboxTightWrapstring \"inherit"noOne of: string, "inherit"
after.topLinePunctenumno"on", "off", "inherit"
after.underlineobject \"inherit"noOne of: object, "inherit"
after.vanishenumno"on", "off", "inherit"
after.vertAlignstring \"inherit"noOne of: string, "inherit"
after.wnumber \"inherit"noOne of: number, "inherit"
after.webHiddenenumno"on", "off", "inherit"
after.widowControlenumno"on", "off", "inherit"
after.wordWrapenumno"on", "off", "inherit"
beforeobjectyes
before.adjustRightIndenumno"on", "off", "inherit"
before.autoSpaceDEenumno"on", "off", "inherit"
before.autoSpaceDNenumno"on", "off", "inherit"
before.boldenumno"on", "off", "inherit"
before.boldCsenumno"on", "off", "inherit"
before.bordersobject \"inherit"noOne of: object, "inherit"
before.colorobject \"inherit"noOne of: object, "inherit"
before.contextualSpacingenumno"on", "off", "inherit"
before.dstrikeenumno"on", "off", "inherit"
before.eastAsianLayoutobject \"inherit"noOne of: object, "inherit"
before.effectstring \"inherit"noOne of: string, "inherit"
before.emstring \"inherit"noOne of: string, "inherit"
before.embossenumno"on", "off", "inherit"
before.fitTextobject \"inherit"noOne of: object, "inherit"
before.fontFamilyobject \"inherit"noOne of: object, "inherit"
before.fontSizenumber \"inherit"noOne of: number, "inherit"
before.fontSizeCsnumber \"inherit"noOne of: number, "inherit"
before.frameProbject \"inherit"noOne of: object, "inherit"
before.iCsenumno"on", "off", "inherit"
before.imprintenumno"on", "off", "inherit"
before.indentobject \"inherit"noOne of: object, "inherit"
before.italicenumno"on", "off", "inherit"
before.justificationstring \"inherit"noOne of: string, "inherit"
before.keepLinesenumno"on", "off", "inherit"
before.keepNextenumno"on", "off", "inherit"
before.kernnumber \"inherit"noOne of: number, "inherit"
before.kinsokuenumno"on", "off", "inherit"
before.langobject \"inherit"noOne of: object, "inherit"
before.letterSpacingnumber \"inherit"noOne of: number, "inherit"
before.mirrorIndentsenumno"on", "off", "inherit"
before.noProofenumno"on", "off", "inherit"
before.numberingPropertiesobject \"inherit"noOne of: object, "inherit"
before.outlineenumno"on", "off", "inherit"
before.outlineLvlnumber \"inherit"noOne of: number, "inherit"
before.overflowPunctenumno"on", "off", "inherit"
before.pageBreakBeforeenumno"on", "off", "inherit"
before.positionnumber \"inherit"noOne of: number, "inherit"
before.rightToLeftenumno"on", "off", "inherit"
before.shadingobject \"inherit"noOne of: object, "inherit"
before.shadowenumno"on", "off", "inherit"
before.smallCapsenumno"on", "off", "inherit"
before.snapToGridenumno"on", "off", "inherit"
before.spacingobject \"inherit"noOne of: object, "inherit"
before.specVanishenumno"on", "off", "inherit"
before.strikeenumno"on", "off", "inherit"
before.suppressAutoHyphensenumno"on", "off", "inherit"
before.suppressLineNumbersenumno"on", "off", "inherit"
before.suppressOverlapenumno"on", "off", "inherit"
before.tabStopsarray \"inherit"noOne of: array, "inherit"
before.textAlignmentstring \"inherit"noOne of: string, "inherit"
before.textDirectionstring \"inherit"noOne of: string, "inherit"
before.textTransformstring \"inherit"noOne of: string, "inherit"
before.textboxTightWrapstring \"inherit"noOne of: string, "inherit"
before.topLinePunctenumno"on", "off", "inherit"
before.underlineobject \"inherit"noOne of: object, "inherit"
before.vanishenumno"on", "off", "inherit"
before.vertAlignstring \"inherit"noOne of: string, "inherit"
before.wnumber \"inherit"noOne of: number, "inherit"
before.webHiddenenumno"on", "off", "inherit"
before.widowControlenumno"on", "off", "inherit"
before.wordWrapenumno"on", "off", "inherit"
changedbooleanyes
dryRunbooleanyes
resolutionobject(scope=“docDefaults”)yes
resolution.channelenumyes"run", "paragraph"
resolution.scope"docDefaults"yesConstant: "docDefaults"
resolution.xmlPart"word/styles.xml"yesConstant: "word/styles.xml"
resolution.xmlPathenumyes"w:styles/w:docDefaults/w:rPrDefault/w:rPr", "w:styles/w:docDefaults/w:pPrDefault/w:pPr"
successtrueyesConstant: true

Variant 2 (success=false)

FieldTypeRequiredDescription
failureobjectyes
failure.codestringyes
failure.detailsanyno
failure.messagestringyes
resolutionobject(scope=“docDefaults”)yes
resolution.channelenumyes"run", "paragraph"
resolution.scope"docDefaults"yesConstant: "docDefaults"
resolution.xmlPart"word/styles.xml"yesConstant: "word/styles.xml"
resolution.xmlPathenumyes"w:styles/w:docDefaults/w:rPrDefault/w:rPr", "w:styles/w:docDefaults/w:pPrDefault/w:pPr"
successfalseyesConstant: false

Example response

{
  "after": {
    "bold": "on",
    "boldCs": "on"
  },
  "before": {
    "bold": "on",
    "boldCs": "on"
  },
  "changed": true,
  "dryRun": true,
  "resolution": {
    "channel": "run",
    "scope": "docDefaults",
    "xmlPart": "word/styles.xml",
    "xmlPath": "w:styles/w:docDefaults/w:rPrDefault/w:rPr"
  },
  "success": true
}

Pre-apply throws

  • INVALID_TARGET
  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE
  • REVISION_MISMATCH

Non-applied failure codes

  • None

Raw schemas

{
  "oneOf": [
    {
      "additionalProperties": false,
      "properties": {
        "patch": {
          "additionalProperties": false,
          "minProperties": 1,
          "properties": {
            "bold": {
              "type": "boolean"
            },
            "boldCs": {
              "type": "boolean"
            },
            "borders": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "frame": {
                  "type": "boolean"
                },
                "shadow": {
                  "type": "boolean"
                },
                "size": {
                  "type": "integer"
                },
                "space": {
                  "type": "integer"
                },
                "themeColor": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeShade": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeTint": {
                  "minLength": 1,
                  "type": "string"
                },
                "val": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "color": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "themeColor": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeShade": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeTint": {
                  "minLength": 1,
                  "type": "string"
                },
                "val": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "dstrike": {
              "type": "boolean"
            },
            "eastAsianLayout": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "combine": {
                  "type": "boolean"
                },
                "combineBrackets": {
                  "minLength": 1,
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "vert": {
                  "type": "boolean"
                },
                "vertCompress": {
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "effect": {
              "minLength": 1,
              "type": "string"
            },
            "em": {
              "enum": [
                "none",
                "dot",
                "comma",
                "circle",
                "sesame"
              ]
            },
            "emboss": {
              "type": "boolean"
            },
            "fitText": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "id": {
                  "type": "integer"
                },
                "val": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "fontFamily": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "ascii": {
                  "minLength": 1,
                  "type": "string"
                },
                "asciiTheme": {
                  "minLength": 1,
                  "type": "string"
                },
                "cs": {
                  "minLength": 1,
                  "type": "string"
                },
                "cstheme": {
                  "minLength": 1,
                  "type": "string"
                },
                "eastAsia": {
                  "minLength": 1,
                  "type": "string"
                },
                "eastAsiaTheme": {
                  "minLength": 1,
                  "type": "string"
                },
                "hAnsi": {
                  "minLength": 1,
                  "type": "string"
                },
                "hAnsiTheme": {
                  "minLength": 1,
                  "type": "string"
                },
                "hint": {
                  "minLength": 1,
                  "type": "string"
                },
                "val": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "fontSize": {
              "type": "integer"
            },
            "fontSizeCs": {
              "type": "integer"
            },
            "iCs": {
              "type": "boolean"
            },
            "imprint": {
              "type": "boolean"
            },
            "italic": {
              "type": "boolean"
            },
            "kern": {
              "type": "integer"
            },
            "lang": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "bidi": {
                  "minLength": 1,
                  "type": "string"
                },
                "eastAsia": {
                  "minLength": 1,
                  "type": "string"
                },
                "val": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "letterSpacing": {
              "type": "integer"
            },
            "noProof": {
              "type": "boolean"
            },
            "outline": {
              "type": "boolean"
            },
            "position": {
              "type": "integer"
            },
            "shading": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "fill": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeColor": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeFill": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeFillShade": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeFillTint": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeShade": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeTint": {
                  "minLength": 1,
                  "type": "string"
                },
                "val": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "shadow": {
              "type": "boolean"
            },
            "smallCaps": {
              "type": "boolean"
            },
            "snapToGrid": {
              "type": "boolean"
            },
            "specVanish": {
              "type": "boolean"
            },
            "strike": {
              "type": "boolean"
            },
            "textTransform": {
              "enum": [
                "uppercase",
                "none"
              ]
            },
            "underline": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeColor": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeShade": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeTint": {
                  "minLength": 1,
                  "type": "string"
                },
                "val": {
                  "enum": [
                    "single",
                    "double",
                    "thick",
                    "dotted",
                    "dottedHeavy",
                    "dash",
                    "dashedHeavy",
                    "dashLong",
                    "dashLongHeavy",
                    "dotDash",
                    "dashDotHeavy",
                    "dotDotDash",
                    "dashDotDotHeavy",
                    "wave",
                    "wavyHeavy",
                    "wavyDouble",
                    "words",
                    "none"
                  ]
                }
              },
              "type": "object"
            },
            "vanish": {
              "type": "boolean"
            },
            "vertAlign": {
              "enum": [
                "superscript",
                "subscript",
                "baseline"
              ]
            },
            "w": {
              "maximum": 600,
              "minimum": 1,
              "type": "integer"
            },
            "webHidden": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "target": {
          "additionalProperties": false,
          "properties": {
            "channel": {
              "const": "run"
            },
            "scope": {
              "const": "docDefaults"
            }
          },
          "required": [
            "scope",
            "channel"
          ],
          "type": "object"
        }
      },
      "required": [
        "target",
        "patch"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "patch": {
          "additionalProperties": false,
          "minProperties": 1,
          "properties": {
            "adjustRightInd": {
              "type": "boolean"
            },
            "autoSpaceDE": {
              "type": "boolean"
            },
            "autoSpaceDN": {
              "type": "boolean"
            },
            "borders": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "bar": {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "color": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "frame": {
                      "type": "boolean"
                    },
                    "shadow": {
                      "type": "boolean"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "space": {
                      "type": "integer"
                    },
                    "themeColor": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeShade": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeTint": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "val": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "between": {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "color": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "frame": {
                      "type": "boolean"
                    },
                    "shadow": {
                      "type": "boolean"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "space": {
                      "type": "integer"
                    },
                    "themeColor": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeShade": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeTint": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "val": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bottom": {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "color": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "frame": {
                      "type": "boolean"
                    },
                    "shadow": {
                      "type": "boolean"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "space": {
                      "type": "integer"
                    },
                    "themeColor": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeShade": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeTint": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "val": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "left": {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "color": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "frame": {
                      "type": "boolean"
                    },
                    "shadow": {
                      "type": "boolean"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "space": {
                      "type": "integer"
                    },
                    "themeColor": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeShade": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeTint": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "val": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "right": {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "color": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "frame": {
                      "type": "boolean"
                    },
                    "shadow": {
                      "type": "boolean"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "space": {
                      "type": "integer"
                    },
                    "themeColor": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeShade": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeTint": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "val": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "top": {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "color": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "frame": {
                      "type": "boolean"
                    },
                    "shadow": {
                      "type": "boolean"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "space": {
                      "type": "integer"
                    },
                    "themeColor": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeShade": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "themeTint": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "val": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "contextualSpacing": {
              "type": "boolean"
            },
            "framePr": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "anchorLock": {
                  "type": "boolean"
                },
                "dropCap": {
                  "minLength": 1,
                  "type": "string"
                },
                "h": {
                  "type": "integer"
                },
                "hAnchor": {
                  "minLength": 1,
                  "type": "string"
                },
                "hRule": {
                  "minLength": 1,
                  "type": "string"
                },
                "hSpace": {
                  "type": "integer"
                },
                "lines": {
                  "type": "integer"
                },
                "vAnchor": {
                  "minLength": 1,
                  "type": "string"
                },
                "vSpace": {
                  "type": "integer"
                },
                "w": {
                  "type": "integer"
                },
                "wrap": {
                  "minLength": 1,
                  "type": "string"
                },
                "x": {
                  "type": "integer"
                },
                "xAlign": {
                  "minLength": 1,
                  "type": "string"
                },
                "y": {
                  "type": "integer"
                },
                "yAlign": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "indent": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "end": {
                  "type": "integer"
                },
                "endChars": {
                  "type": "integer"
                },
                "firstLine": {
                  "type": "integer"
                },
                "firstLineChars": {
                  "type": "integer"
                },
                "hanging": {
                  "type": "integer"
                },
                "hangingChars": {
                  "type": "integer"
                },
                "left": {
                  "type": "integer"
                },
                "leftChars": {
                  "type": "integer"
                },
                "right": {
                  "type": "integer"
                },
                "rightChars": {
                  "type": "integer"
                },
                "start": {
                  "type": "integer"
                },
                "startChars": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "justification": {
              "enum": [
                "left",
                "center",
                "right",
                "justify",
                "distribute"
              ]
            },
            "keepLines": {
              "type": "boolean"
            },
            "keepNext": {
              "type": "boolean"
            },
            "kinsoku": {
              "type": "boolean"
            },
            "mirrorIndents": {
              "type": "boolean"
            },
            "numberingProperties": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "ilvl": {
                  "type": "integer"
                },
                "numId": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "outlineLvl": {
              "maximum": 9,
              "minimum": 0,
              "type": "integer"
            },
            "overflowPunct": {
              "type": "boolean"
            },
            "pageBreakBefore": {
              "type": "boolean"
            },
            "rightToLeft": {
              "type": "boolean"
            },
            "shading": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "fill": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeColor": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeFill": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeFillShade": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeFillTint": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeShade": {
                  "minLength": 1,
                  "type": "string"
                },
                "themeTint": {
                  "minLength": 1,
                  "type": "string"
                },
                "val": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "snapToGrid": {
              "type": "boolean"
            },
            "spacing": {
              "additionalProperties": false,
              "minProperties": 1,
              "properties": {
                "after": {
                  "type": "integer"
                },
                "afterAutospacing": {
                  "type": "boolean"
                },
                "afterLines": {
                  "type": "integer"
                },
                "before": {
                  "type": "integer"
                },
                "beforeAutospacing": {
                  "type": "boolean"
                },
                "beforeLines": {
                  "type": "integer"
                },
                "line": {
                  "type": "integer"
                },
                "lineRule": {
                  "enum": [
                    "auto",
                    "exact",
                    "atLeast"
                  ]
                }
              },
              "type": "object"
            },
            "suppressAutoHyphens": {
              "type": "boolean"
            },
            "suppressLineNumbers": {
              "type": "boolean"
            },
            "suppressOverlap": {
              "type": "boolean"
            },
            "tabStops": {
              "items": {
                "additionalProperties": false,
                "minProperties": 1,
                "properties": {
                  "tab": {
                    "additionalProperties": false,
                    "minProperties": 1,
                    "properties": {
                      "leader": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "pos": {
                        "type": "integer"
                      },
                      "tabType": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "textAlignment": {
              "enum": [
                "top",
                "center",
                "baseline",
                "bottom",
                "auto"
              ]
            },
            "textboxTightWrap": {
              "enum": [
                "none",
                "allLines",
                "firstAndLastLine",
                "firstLineOnly",
                "lastLineOnly"
              ]
            },
            "textDirection": {
              "enum": [
                "lrTb",
                "tbRl",
                "btLr",
                "lrTbV",
                "tbRlV",
                "tbLrV"
              ]
            },
            "topLinePunct": {
              "type": "boolean"
            },
            "widowControl": {
              "type": "boolean"
            },
            "wordWrap": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "target": {
          "additionalProperties": false,
          "properties": {
            "channel": {
              "const": "paragraph"
            },
            "scope": {
              "const": "docDefaults"
            }
          },
          "required": [
            "scope",
            "channel"
          ],
          "type": "object"
        }
      },
      "required": [
        "target",
        "patch"
      ],
      "type": "object"
    }
  ]
}
{
  "oneOf": [
    {
      "additionalProperties": false,
      "properties": {
        "after": {
          "additionalProperties": false,
          "properties": {
            "adjustRightInd": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "autoSpaceDE": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "autoSpaceDN": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "bold": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "boldCs": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "borders": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "color": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "contextualSpacing": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "dstrike": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "eastAsianLayout": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "effect": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "em": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "emboss": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "fitText": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "fontFamily": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "fontSize": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "fontSizeCs": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "framePr": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "iCs": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "imprint": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "indent": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "italic": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "justification": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "keepLines": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "keepNext": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "kern": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "kinsoku": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "lang": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "letterSpacing": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "mirrorIndents": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "noProof": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "numberingProperties": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "outline": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "outlineLvl": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "overflowPunct": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "pageBreakBefore": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "position": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "rightToLeft": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "shading": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "shadow": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "smallCaps": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "snapToGrid": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "spacing": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "specVanish": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "strike": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "suppressAutoHyphens": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "suppressLineNumbers": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "suppressOverlap": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "tabStops": {
              "oneOf": [
                {
                  "type": "array"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textAlignment": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textboxTightWrap": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textDirection": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textTransform": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "topLinePunct": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "underline": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "vanish": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "vertAlign": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "w": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "webHidden": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "widowControl": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "wordWrap": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            }
          },
          "type": "object"
        },
        "before": {
          "additionalProperties": false,
          "properties": {
            "adjustRightInd": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "autoSpaceDE": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "autoSpaceDN": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "bold": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "boldCs": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "borders": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "color": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "contextualSpacing": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "dstrike": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "eastAsianLayout": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "effect": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "em": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "emboss": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "fitText": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "fontFamily": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "fontSize": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "fontSizeCs": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "framePr": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "iCs": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "imprint": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "indent": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "italic": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "justification": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "keepLines": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "keepNext": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "kern": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "kinsoku": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "lang": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "letterSpacing": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "mirrorIndents": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "noProof": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "numberingProperties": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "outline": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "outlineLvl": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "overflowPunct": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "pageBreakBefore": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "position": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "rightToLeft": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "shading": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "shadow": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "smallCaps": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "snapToGrid": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "spacing": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "specVanish": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "strike": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "suppressAutoHyphens": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "suppressLineNumbers": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "suppressOverlap": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "tabStops": {
              "oneOf": [
                {
                  "type": "array"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textAlignment": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textboxTightWrap": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textDirection": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "textTransform": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "topLinePunct": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "underline": {
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "vanish": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "vertAlign": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "w": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "const": "inherit"
                }
              ]
            },
            "webHidden": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "widowControl": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            },
            "wordWrap": {
              "enum": [
                "on",
                "off",
                "inherit"
              ]
            }
          },
          "type": "object"
        },
        "changed": {
          "type": "boolean"
        },
        "dryRun": {
          "type": "boolean"
        },
        "resolution": {
          "additionalProperties": false,
          "properties": {
            "channel": {
              "enum": [
                "run",
                "paragraph"
              ]
            },
            "scope": {
              "const": "docDefaults"
            },
            "xmlPart": {
              "const": "word/styles.xml"
            },
            "xmlPath": {
              "enum": [
                "w:styles/w:docDefaults/w:rPrDefault/w:rPr",
                "w:styles/w:docDefaults/w:pPrDefault/w:pPr"
              ]
            }
          },
          "required": [
            "scope",
            "channel",
            "xmlPart",
            "xmlPath"
          ],
          "type": "object"
        },
        "success": {
          "const": true
        }
      },
      "required": [
        "success",
        "changed",
        "resolution",
        "dryRun",
        "before",
        "after"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "failure": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "details": {},
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "resolution": {
          "additionalProperties": false,
          "properties": {
            "channel": {
              "enum": [
                "run",
                "paragraph"
              ]
            },
            "scope": {
              "const": "docDefaults"
            },
            "xmlPart": {
              "const": "word/styles.xml"
            },
            "xmlPath": {
              "enum": [
                "w:styles/w:docDefaults/w:rPrDefault/w:rPr",
                "w:styles/w:docDefaults/w:pPrDefault/w:pPr"
              ]
            }
          },
          "required": [
            "scope",
            "channel",
            "xmlPart",
            "xmlPath"
          ],
          "type": "object"
        },
        "success": {
          "const": false
        }
      },
      "required": [
        "success",
        "resolution",
        "failure"
      ],
      "type": "object"
    }
  ]
}
{
  "additionalProperties": false,
  "properties": {
    "after": {
      "additionalProperties": false,
      "properties": {
        "adjustRightInd": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "autoSpaceDE": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "autoSpaceDN": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "bold": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "boldCs": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "borders": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "color": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "contextualSpacing": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "dstrike": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "eastAsianLayout": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "effect": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "em": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "emboss": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "fitText": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "fontFamily": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "fontSize": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "fontSizeCs": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "framePr": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "iCs": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "imprint": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "indent": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "italic": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "justification": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "keepLines": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "keepNext": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "kern": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "kinsoku": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "lang": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "letterSpacing": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "mirrorIndents": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "noProof": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "numberingProperties": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "outline": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "outlineLvl": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "overflowPunct": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "pageBreakBefore": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "position": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "rightToLeft": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "shading": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "shadow": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "smallCaps": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "snapToGrid": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "spacing": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "specVanish": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "strike": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "suppressAutoHyphens": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "suppressLineNumbers": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "suppressOverlap": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "tabStops": {
          "oneOf": [
            {
              "type": "array"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textAlignment": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textboxTightWrap": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textDirection": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textTransform": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "topLinePunct": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "underline": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "vanish": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "vertAlign": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "w": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "webHidden": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "widowControl": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "wordWrap": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        }
      },
      "type": "object"
    },
    "before": {
      "additionalProperties": false,
      "properties": {
        "adjustRightInd": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "autoSpaceDE": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "autoSpaceDN": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "bold": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "boldCs": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "borders": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "color": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "contextualSpacing": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "dstrike": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "eastAsianLayout": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "effect": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "em": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "emboss": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "fitText": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "fontFamily": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "fontSize": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "fontSizeCs": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "framePr": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "iCs": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "imprint": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "indent": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "italic": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "justification": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "keepLines": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "keepNext": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "kern": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "kinsoku": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "lang": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "letterSpacing": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "mirrorIndents": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "noProof": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "numberingProperties": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "outline": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "outlineLvl": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "overflowPunct": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "pageBreakBefore": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "position": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "rightToLeft": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "shading": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "shadow": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "smallCaps": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "snapToGrid": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "spacing": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "specVanish": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "strike": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "suppressAutoHyphens": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "suppressLineNumbers": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "suppressOverlap": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "tabStops": {
          "oneOf": [
            {
              "type": "array"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textAlignment": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textboxTightWrap": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textDirection": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "textTransform": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "topLinePunct": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "underline": {
          "oneOf": [
            {
              "type": "object"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "vanish": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "vertAlign": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "w": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "const": "inherit"
            }
          ]
        },
        "webHidden": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "widowControl": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        },
        "wordWrap": {
          "enum": [
            "on",
            "off",
            "inherit"
          ]
        }
      },
      "type": "object"
    },
    "changed": {
      "type": "boolean"
    },
    "dryRun": {
      "type": "boolean"
    },
    "resolution": {
      "additionalProperties": false,
      "properties": {
        "channel": {
          "enum": [
            "run",
            "paragraph"
          ]
        },
        "scope": {
          "const": "docDefaults"
        },
        "xmlPart": {
          "const": "word/styles.xml"
        },
        "xmlPath": {
          "enum": [
            "w:styles/w:docDefaults/w:rPrDefault/w:rPr",
            "w:styles/w:docDefaults/w:pPrDefault/w:pPr"
          ]
        }
      },
      "required": [
        "scope",
        "channel",
        "xmlPart",
        "xmlPath"
      ],
      "type": "object"
    },
    "success": {
      "const": true
    }
  },
  "required": [
    "success",
    "changed",
    "resolution",
    "dryRun",
    "before",
    "after"
  ],
  "type": "object"
}
{
  "additionalProperties": false,
  "properties": {
    "failure": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {},
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    },
    "resolution": {
      "additionalProperties": false,
      "properties": {
        "channel": {
          "enum": [
            "run",
            "paragraph"
          ]
        },
        "scope": {
          "const": "docDefaults"
        },
        "xmlPart": {
          "const": "word/styles.xml"
        },
        "xmlPath": {
          "enum": [
            "w:styles/w:docDefaults/w:rPrDefault/w:rPr",
            "w:styles/w:docDefaults/w:pPrDefault/w:pPr"
          ]
        }
      },
      "required": [
        "scope",
        "channel",
        "xmlPart",
        "xmlPath"
      ],
      "type": "object"
    },
    "success": {
      "const": false
    }
  },
  "required": [
    "success",
    "resolution",
    "failure"
  ],
  "type": "object"
}