Last active
September 17, 2025 16:45
-
-
Save cbejensen/cdde3552be1dc25b388d179c0bbba9e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "type": "object", | |
| "additionalProperties": false, | |
| "patternProperties": { | |
| "^.*$": { | |
| "type": "object", | |
| "properties": { | |
| "translation": { | |
| "oneOf": [ | |
| { | |
| "type": "string", | |
| "description": "Singular translation" | |
| }, | |
| { | |
| "type": "object", | |
| "properties": { | |
| "one": { "type": "string" }, | |
| "other": { "type": "string" } | |
| }, | |
| "description": "Plural translation" | |
| } | |
| ] | |
| }, | |
| "notes": { | |
| "type": "string", | |
| "description": "Additional information for translators" | |
| }, | |
| "context": { | |
| "type": "string", | |
| "description": "Context for translators, e.g. male/female; see https://lokalise.com/blog/the-3-pillars-of-context-that-will-improve-your-translations" | |
| }, | |
| "limit": { | |
| "type": "number", | |
| "description": "Character limit" | |
| }, | |
| "tags": { | |
| "type": "array", | |
| "items": { "type": "string" }, | |
| "description": "See https://docs.lokalise.com/en/articles/1475552-tags" | |
| } | |
| }, | |
| "required": ["translation"], | |
| "additionalProperties": false | |
| } | |
| }, | |
| "description": "See https://docs.lokalise.com/en/articles/3229161-structured-json" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment