Skip to content

Commit f35ef56

Browse files
authored
Update Phrase schema (SchemaStore#5191)
1 parent 77601c3 commit f35ef56

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/schemas/json/phrase.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@
187187
"locale_id": {
188188
"$ref": "#/definitions/locale_id"
189189
},
190+
"locale_ids": {
191+
"description": "List of locale IDs to be downloaded.",
192+
"type": "array",
193+
"items": {
194+
"type": "string"
195+
}
196+
},
190197
"include_empty_translations": {
191198
"description": "Indicates whether keys without translations should be included in the output as well",
192199
"type": "boolean",
@@ -233,9 +240,14 @@
233240
"default": false
234241
},
235242
"fallback_locale_id": {
236-
"description": "If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to true",
243+
"description": "If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to true. Mutually exclusive with use_locale_fallback",
237244
"type": "string"
238245
},
246+
"use_locale_fallback": {
247+
"description": "If set to true the locale fallback (set in the locale's settings) will be used to fetch missing translations. Requires include_empty_translations to be set to true. Mutually exclusive with fallback_locale_id",
248+
"type": "boolean",
249+
"default": false
250+
},
239251
"custom_metadata_filters": {
240252
"description": "Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download",
241253
"type": "object"
@@ -248,6 +260,11 @@
248260
"description": "If a key name starts with the given prefix, the prefix will be removed from the key name in the files",
249261
"type": "string"
250262
},
263+
"updated_since": {
264+
"description": "Only keys updated since the given date (in ISO 8601 format) will be included in the download",
265+
"type": "string",
266+
"format": "date-time"
267+
},
251268
"format_options": {
252269
"$ref": "#/definitions/format_options"
253270
}

0 commit comments

Comments
 (0)