Method 2: Metadata for localized strings

This method can only be used for JSON and DSV objects.

To define that a field or property contains localized data, perform these steps:

  1. Include a Boolean property called x-localized and set it to true.
  2. Specify a maximum length for the localized strings with maxLength.
    For information on localized strings in data objects, see the "Data object definitions for localized string values" topic.