Context Mappings Input

Input representation of context mapping.

JSON Example 

1{
2  "contextMappings": [
3    {
4      "name": "ExampleMapping",
5      "description": "Example Mapping Description",
6      "isDefault": true,
7      "intents": [
8        "ASSOCIATION",
9        "HYDRATION",
10        "PERSISTENCE",
11        "TRANSLATION"
12      ]
13    }
14  ],
15  "generateInputMappings": false,
16  "generateSObjectMappings": false
17}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
contextMappingIdStringID of this context mapping. Required for update.Required59.0
contextNodeMappingsContext Node Mappings Input[]List of context node mappings.Optional59.0
descriptionStringDescription of context mapping.Optional59.0
isDefaultBooleanIndicates whether to make a default mapping for the context definition (true) or not (false).Optional59.0
intentsList<String>Purpose that’s used to identify the type of required context mapping.
Valid values are:
  • HYDRATION—To load cache from a data source.
  • PERSISTENCE—To load the sink objects from cache. Sink objects are the final destinations for the processed data.
  • ASSOCIATION—To create a mapping without validating database relationships, attaching context structure nodes and their attributes with data source nodes and their attributes.
  • TRANSLATION—To transform the data loaded in the cache to another representation defined by the mapping.
Optional61.0
nameStringName of the context mapping.Required59.0