UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 2.23 kB
{"title":"JSON schema for PhraseApp configuration files","$schema":"http://json-schema.org/draft-04/schema#","definitions":{"project_id":{"type":"string"},"file_format":{"type":"string","default":"yml"},"locale_id":{"type":"string"},"encoding":{"type":"string","default":"UTF-8"}},"properties":{"phraseapp":{"type":"object","properties":{"defaults":{"type":"object","properties":{"keys/list":{"type":"object","properties":{"sort":{"type":"string","default":"updated_at"},"order":{"type":"string","default":"desc"}}}}},"host":{"type":"string"},"access_token":{"type":"string"},"file_format":{"$ref":"#/definitions/file_format"},"project_id":{"$ref":"#/definitions/project_id"},"push":{"type":"object","properties":{"sources":{"minItems":1,"type":"array","items":{"type":"object","properties":{"file":{"type":"string","default":"<locale_name>.yml"},"params":{"type":"object","properties":{"branch":{"type":"string"},"file_format":{"$ref":"#/definitions/file_format"},"locale_id":{"$ref":"#/definitions/locale_id"},"tags":{"type":"string"},"update_translations":{"type":"boolean","default":false},"update_descriptions":{"type":"boolean","default":false},"convert_emoji":{"type":"boolean","default":false},"skip_upload_tags":{"type":"boolean","default":false},"skip_unverification":{"type":"boolean","default":false},"file_encoding":{"$ref":"#/definitions/encoding"},"format_options":{"type":"object","properties":{"column_separator":{"type":"string","default":";"}}}}}}}}}},"pull":{"type":"object","properties":{"targets":{"minItems":1,"type":"array","items":{"type":"object","properties":{"file":{"type":"string","default":"<locale_name>.yml"},"project_id":{"$ref":"#/definitions/project_id"},"params":{"type":"object","properties":{"branch":{"type":"string"},"file_format":{"$ref":"#/definitions/file_format"},"tag":{"type":"string","default":""},"locale_id":{"$ref":"#/definitions/locale_id"},"include_empty_translations":{"type":"boolean","default":false},"keep_notranslate_tags":{"type":"boolean","default":false},"convert_emoji":{"type":"boolean","default":false},"encoding":{"$ref":"#/definitions/encoding"},"skip_unverified_translations":{"type":"boolean","default":false},"fallback_locale_id":{"type":"string"}}}}}}}}}}}}