changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conflictsInLocales": {
+ "description": "Locales where the destination holds a different value. Nothing is written at all when this is non-empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "deduplicatedLocales": {
+ "description": "Locales where the destination already held this value, so only the source copy was dropped.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dryRun": {
+ "description": "True when nothing was written because a plan 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"
+ },
+ "fromLayer": {
+ "description": "Layer the key was moved out of.",
+ "type": "string"
+ },
+ "key": {
+ "description": "The key as it was before the move.",
+ "type": "string"
+ },
+ "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"
+ },
+ "movedLocales": {
+ "description": "Locales whose value was written to the destination layer. Absent on a dry run.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "newKey": {
+ "description": "The key path it now has. Equal to key when only the layer changed.",
+ "type": "string"
+ },
+ "notFoundInLocales": {
+ "description": "Locales whose source layer does not define the key at all.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "description": "Counts of what the run did.",
+ "properties": {
+ "localesAffected": {
+ "description": "Number of locales whose files changed, or would change.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "message": {
+ "description": "One sentence stating what the run did.",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Present when the run wrote less than asked — a conflict, or a key some locales do not define.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "localesAffected",
+ "message"
+ ],
+ "type": "object"
+ },
+ "toLayer": {
+ "description": "Layer the key was moved into.",
+ "type": "string"
+ },
+ "wouldMove": {
+ "description": "The plan, one entry per locale. Present only with dryRun.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "description": "\"move\" writes the target and drops the source; \"deduplicate\" finds the target already holding the same value, so only the source is dropped.",
+ "enum": [
+ "move",
+ "deduplicate"
+ ],
+ "type": "string"
+ },
+ "locale": {
+ "description": "Locale this entry is about.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value that would be carried over."
+ }
+ },
+ "required": [
+ "locale",
+ "value",
+ "action"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conflictsInLocales": {
+ "description": "Locales that already hold a different value under the new key.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dryRun": {
+ "description": "True when nothing was written because a plan 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"
+ },
+ "newKey": {
+ "description": "The key path after it.",
+ "type": "string"
+ },
+ "notFoundInLocales": {
+ "description": "Locales that do not define the key at all.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "oldKey": {
+ "description": "The key path before the rename.",
+ "type": "string"
+ },
+ "renamed": {
+ "description": "Locales whose file was rewritten with the new key. Absent on a dry run.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "skippedDueToConflict": {
+ "description": "Locales left untouched because of such a conflict.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "description": "Counts of what the run did.",
+ "properties": {
+ "localesAffected": {
+ "description": "Number of locales whose files changed, or would change.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "message": {
+ "description": "One sentence stating what the run did.",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Present when the run wrote less than asked — a conflict, or a key some locales do not define.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "localesAffected",
+ "message"
+ ],
+ "type": "object"
+ },
+ "wouldRename": {
+ "description": "The plan, one entry per locale. Present only with dryRun.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "locale": {
+ "description": "Locale this entry is about.",
+ "type": "string"
+ },
+ "newKey": {
+ "description": "The key path it would get.",
+ "type": "string"
+ },
+ "oldKey": {
+ "description": "The key path today.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value that would move with it."
+ }
+ },
+ "required": [
+ "locale",
+ "oldKey",
+ "newKey",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}