JSON File for Object Models

JSON is a file that stores simple data structures and objects. It contains data in a standard data interchange format which is lightweight, text-based, and human-readable. The file imported by the object model importer must contain all the data needed to create the WinCC OA Data Point Types and to configure the related object models (Type Functions).

The elements contained in the JSON file can be mandatory or optional. The mandatory elements must be specified for the first import as well as in case of any subsequent re-import. Instead, if the optional elements are not specified:

  • In case of a first import, the default values are assumed.
  • In case of subsequent re-import, the previous values remain unchanged.

The encoding of the file must be UTF-8.

 

NOTICE
Data Point Types with values, but no properties, are not supported

Also, it is not possible to create, configure, or export these DPTs. Even in case they are referenced, they are not correctly exported.

 

NOTICE
JSON Schema File

To check the schema for JSON files to be imported to validate the data structure, see the file provided in Installation\bin.