Multi-Language Text / String

Validate against: http://json-schema.org/schema#

Description

A piece of text in multiple languages. This is typically used for analyses, database properties, and information in metalanguages rather than transcriptions or translations of data (for those, see the Transcription and Translation schemas). For example, the part of speech for a lexeme might be given as both English noun and Spanish nombre. Each key must be the abbreviation for a language (see the Abbreviation schema), and the value for that key is the string of text in that language. Note: MultiLangStrings do not have a type property.\n\nIf the text is in only one language and that language is English, it may be represented as a simple string instead of an object. Thus instead of gloss: { eng: "M.SG" } you can simply write gloss: "M.SG".

Validates Against (oneOf)

This schema must validate against one and only one of the following schemas:

  • Type: object

    Custom Properties (patternProperties)

    • Text

      Description

      The string of text in the specified language

      Type: string

  • Type: string