DSV schema example (Method 2)

This is a DSV Schema example for data objects containing localized strings, using method 2:
{ 
   "title":"myDelimitedFile",
   “description”:”Sample schema for DSV with localized data”,
   "dialect":{
      “separator”:”,”,
      “skipLines”:1,
      “enclosingCharacter”:”\””
   },
   "properties":{ 
      "id":{ 
         "description":"The identifier",
         "type":"string",
         "maxLength":40
      },
      "description":{ 
         "description":"Additional Information",
         "type":"string",
         "x-localized":true,
         "maxLength":250
      }
   }
}

Inside the data objects, localized properties must contain a separate column for each of the supported locale codes. The locale code must be used as a suffix to the property name.

This example of a data object relates to the DSV Schema example for data objects containing localized strings.

"id","description_en_US",”description_es_ES”
“123”,”car”,”coche”