{
  "header": {
    "id": "SecondHighestValue_DM",
    "modelType": "document",
    "modelVersion": "28.0.2",
    "locales": [
      {
        "code": "en"
      },
      {
        "code": "de"
      }
    ],
    "annotations": [
      {
        "name": "roles",
        "value": "tester,reviewer"
      }
    ],
    "modelReferences": []
  },
  "content": {
    "modelInfo": {
      "name": "SecondHighestValue_DM"
    },
    "modelConfig": {
      "decimalSeparator": ".",
      "timeZone": "UTC",
      "conditionLanguage": {
        "code": "en_US"
      }
    },
    "modelRoot": {
      "rootGroups": [
        {
          "type": "Group",
          "id": "group_313ca",
          "name": "SecondHighestValue",
          "Group": {
            "repeatability": 1,
            "elements": [
              {
                "type": "Field",
                "id": "field_59aeb",
                "name": "SecondHighestValue",
                "Field": {
                  "fieldType": {
                    "type": "NumberType"
                  },
                  "label": [
                    {
                      "locale": "en",
                      "text": "Second Highest Value"
                    },
                    {
                      "locale": "de",
                      "text": "Second Highest Value"
                    }
                  ]
                }
              },
              {
                "type": "Computation",
                "id": "computation_65130",
                "name": "SecondHighestValueComp",
                "Computation": {
                  "computedFieldRelPath": "../SecondHighestValue",
                  "computationAlternatives": [
                    {
                      "precondition": "MoreThanOneFieldFilled(MyRepeat*/Value)",
                      "operation": "MaxValue(MyRepeat*/Value Having [MyRepeat/Value] < MaxValue(MyRepeat*/Value))"
                    }
                  ],
                  "errorMessage": [
                    {
                      "locale": "en",
                      "text": "error text for computation of SecondHighestValueComp"
                    },
                    {
                      "locale": "de",
                      "text": "error text for computation of SecondHighestValueComp"
                    }
                  ]
                }
              },
              {
                "type": "Group",
                "id": "group_bd012",
                "name": "MyRepeat",
                "Group": {
                  "repeatability": 10,
                  "elements": [
                    {
                      "type": "Field",
                      "id": "field_ed37f",
                      "name": "Value",
                      "Field": {
                        "fieldType": {
                          "type": "NumberType"
                        },
                        "label": [
                          {
                            "locale": "en",
                            "text": "Value"
                          },
                          {
                            "locale": "de",
                            "text": "Value"
                          }
                        ]
                      }
                    },
                    {
                      "type": "Field",
                      "id": "field_29ec7",
                      "name": "ThisIsTheSecondHighestValue",
                      "Field": {
                        "fieldType": {
                          "type": "ConfirmType"
                        },
                        "label": [
                          {
                            "locale": "en",
                            "text": "This Is The Second Highest Value"
                          },
                          {
                            "locale": "de",
                            "text": "This Is The Second Highest Value"
                          }
                        ]
                      }
                    },
                    {
                      "type": "Computation",
                      "id": "computation_95f6f",
                      "name": "ThisIsTheSecondHighestValueComp",
                      "Computation": {
                        "computedFieldRelPath": "../ThisIsTheSecondHighestValue",
                        "computationAlternatives": [
                          {
                            "precondition": "MoreThanOneFieldFilled(../MyRepeat*/Value) And [Value] == MaxValue(../MyRepeat*/Value Having [Value] < MaxValue(../MyRepeat*/Value))",
                            "operation": "True"
                          }
                        ],
                        "errorMessage": [
                          {
                            "locale": "en",
                            "text": "error text for computation of ThisIsTheSecondHighestValueComp"
                          },
                          {
                            "locale": "de",
                            "text": "error text for computation of ThisIsTheSecondHighestValueComp"
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  }
}