changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "ambiguousLocales": {
+ "description": "Locale refs that matched several locales, with the one precedence picked. Absent when every ref was unambiguous.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "candidates": {
+ "description": "Codes of every locale the ref matched, in config order.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "matchedBy": {
+ "description": "Which field of the locale the ref matched on, in resolution precedence order.",
+ "enum": [
+ "code",
+ "language",
+ "file"
+ ],
+ "type": "string"
+ },
+ "ref": {
+ "description": "The locale ref as the caller wrote it.",
+ "type": "string"
+ },
+ "resolvedTo": {
+ "description": "The code that was used — the first candidate.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ref",
+ "matchedBy",
+ "candidates",
+ "resolvedTo"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "dryRun": {
+ "description": "True when nothing was written because a preview was asked for. Absent otherwise.",
+ "type": "boolean"
+ },
+ "filesWritten": {
+ "description": "Number of locale files changed on disk. Absent on a dry run.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "message": {
+ "description": "The step to take next, as the surface the call ran on phrases it. Present only when there is no summary to carry it.",
+ "type": "string"
+ },
+ "placeholderValidation": {
+ "additionalProperties": false,
+ "description": "Placeholder comparison of the written values against the reference locale. Absent when nothing was comparable.",
+ "properties": {
+ "errors": {
+ "description": "One entry per translation that did not match. Empty when ok is true.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "extra": {
+ "description": "Placeholders the translation invented and the source does not have.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "key": {
+ "description": "Dot-path key of the mismatching translation.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "What failed: a placeholder set mismatch (the default) or a vue-i18n plural variant-count mismatch.",
+ "enum": [
+ "placeholder",
+ "plural-count"
+ ],
+ "type": "string"
+ },
+ "locale": {
+ "description": "Locale code the mismatch was found in.",
+ "type": "string"
+ },
+ "missing": {
+ "description": "Placeholders the source has and the translation dropped.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sourceVariants": {
+ "description": "Plural variants in the source value. Present only for kind \"plural-count\".",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "targetVariants": {
+ "description": "Plural variants in the translated value. Present only for kind \"plural-count\".",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "locale",
+ "key",
+ "missing",
+ "extra"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "ok": {
+ "description": "True when every checked translation carries the same placeholders as its source.",
+ "type": "boolean"
+ },
+ "placeholders": {
+ "description": "Placeholder names found in the source values, e.g. [\"{name}\"].",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "ok",
+ "placeholders",
+ "errors"
+ ],
+ "type": "object"
+ },
+ "skipped": {
+ "description": "Keys the write mode left alone — existing keys under mode \"add\", missing ones under mode \"update\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "skippedKeys": {
+ "description": "The keys behind keysSkipped, when the mode skipped any. Absent when nothing was skipped.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "description": "Counts of what the run did. Absent on a dry run.",
+ "properties": {
+ "keysSkipped": {
+ "description": "Number of keys the write mode left alone.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "keysWritten": {
+ "description": "Number of keys written across every locale.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "message": {
+ "description": "One sentence stating what the run did.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "keysWritten",
+ "keysSkipped",
+ "message"
+ ],
+ "type": "object"
+ },
+ "unresolvedLocales": {
+ "description": "Locale refs that matched no known locale; their values were dropped while other locales were still written. Absent when every ref resolved.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "keys": {
+ "description": "Dot-path keys whose value for this ref was dropped.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ref": {
+ "description": "The locale ref that matched no known locale. Nothing was written for it.",
+ "type": "string"
+ },
+ "suggestion": {
+ "description": "\"Did you mean …?\", when a near match exists.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ref",
+ "keys"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "warnings": {
+ "description": "Non-fatal problems, e.g. a value written over a nested object. Absent when there are none.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "wouldWrite": {
+ "description": "The writes a dry run would make. Present only with dryRun.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "description": "Dot-path key that would be written.",
+ "type": "string"
+ },
+ "locale": {
+ "description": "Locale code the value would be written to.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value that would be written.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "locale",
+ "key",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "written": {
+ "description": "Dot-path keys that were written. Absent on a dry run.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "skipped"
+ ],
+ "type": "object"
+}