Multi-Language Text / String

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

Schema ID: http://schemas.digitallinguistics.io/MultiLangString-4.1.0.json

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".

This item must also validate against exactly one of the following schemas:

  • Type: object

    Regular Expression Properties

    Property names which match one of the following regular expressions must validate against the associated schema.

    • Text: ^[(a-z)|(A-Z)|(0-9)]+$

      Type: string

      Description

      The string of text in the specified language

    Additional Properties

    Any additional properties must adhere to the following schema:

    No values are valid for this schema.

  • Type: string

Examples

The following are example values for this schema:

  • "man"
  • {
      "eng": "man",
      "fra": "homme"
    }