addedInput schema / properties
Added value: +{
+ "customFormat": {
+ "default": "{line}: {text}",
+ "description": "Template used when format is custom; {line} is replaced by the number and {text} by the line content.",
+ "type": "string"
+ },
+ "format": {
+ "default": "simple",
+ "description": "Output style. simple and padded emit \"<number>: <line>\"; padded zero-pads the number; custom uses the customFormat template.",
+ "enum": [
+ "simple",
+ "padded",
+ "custom"
+ ],
+ "type": "string"
+ },
+ "increment": {
+ "default": 1,
+ "description": "Amount added per numbered line. Values below 1 are clamped to 1.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "padding": {
+ "default": 0,
+ "description": "Zero-pad width when format is padded; falls back to 3 when 0. Ignored for other formats.",
+ "maximum": 20,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "skipEmptyLines": {
+ "default": false,
+ "description": "When true, blank/whitespace-only lines are kept as-is, not numbered, and counted as skipped.",
+ "type": "boolean"
+ },
+ "startNumber": {
+ "default": 1,
+ "description": "First line number. Values below 1 are clamped to 1.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "text": {
+ "description": "Multi-line text to number; split on newline (\\n).",
+ "type": "string"
+ }
+}
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "options": {
+ "description": "The effective settings applied after clamping/normalization.",
+ "properties": {
+ "customFormat": {
+ "description": "Effective custom template.",
+ "type": "string"
+ },
+ "format": {
+ "description": "Effective format.",
+ "type": "string"
+ },
+ "increment": {
+ "description": "Effective increment.",
+ "type": "integer"
+ },
+ "padding": {
+ "description": "Effective pad width.",
+ "type": "integer"
+ },
+ "skipEmptyLines": {
+ "description": "Effective skip-empty-lines flag.",
+ "type": "boolean"
+ },
+ "startNumber": {
+ "description": "Effective starting number.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "result": {
+ "description": "The numbered text.",
+ "type": "string"
+ },
+ "stats": {
+ "description": "Counts for the input and output plus numbering summary.",
+ "properties": {
+ "numbering": {
+ "properties": {
+ "finalNumber": {
+ "description": "Last number assigned.",
+ "type": "integer"
+ },
+ "format": {
+ "description": "Effective format used.",
+ "type": "string"
+ },
+ "increment": {
+ "description": "Effective increment.",
+ "type": "integer"
+ },
+ "startNumber": {
+ "description": "Effective starting number.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "original": {
+ "properties": {
+ "characters": {
+ "description": "Byte length of the input.",
+ "type": "integer"
+ },
+ "emptyLines": {
+ "description": "Blank/whitespace-only line count of the input.",
+ "type": "integer"
+ },
+ "lines": {
+ "description": "Line count of the input.",
+ "type": "integer"
+ },
+ "words": {
+ "description": "Alphabetic word count of the input.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "result": {
+ "properties": {
+ "characters": {
+ "description": "Byte length of the result.",
+ "type": "integer"
+ },
+ "lines": {
+ "description": "Line count of the result.",
+ "type": "integer"
+ },
+ "numberedLines": {
+ "description": "Number of lines that received a number.",
+ "type": "integer"
+ },
+ "skippedLines": {
+ "description": "Number of blank lines skipped when skipEmptyLines is true.",
+ "type": "integer"
+ },
+ "words": {
+ "description": "Alphabetic word count of the result.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "success": {
+ "description": "Always true on success.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+}