{
  "header": {
    "id": "RepeatValue_DM_2",
    "modelType": "document",
    "modelVersion": "28.0.2",
    "locales": [
      {
        "code": "en"
      },
      {
        "code": "de"
      }
    ],
    "labels": [],
    "annotations": [
      {
        "name": "roles",
        "value": "tester,reviewer"
      }
    ],
    "modelReferences": []
  },
  "content": {
    "modelInfo": {
      "name": "RepeatValue_DM_2",
      "immutable": false,
      "joinedModelsInfo": "RepeatValue_DM-document-meta-data+Add"
    },
    "modelConfig": {
      "timeZone": "UTC",
      "decimalSeparator": ".",
      "conditionLanguage": {
        "code": "en_US"
      }
    },
    "modelRoot": {
      "rootGroups": [
        {
          "type": "Group",
          "id": "group_cd755",
          "name": "RepeatValue",
          "Group": {
            "repeatability": 1,
            "elements": [
              {
                "type": "Field",
                "id": "field_2bd4a",
                "name": "AllFilledFieldsSettled",
                "Field": {
                  "fieldType": {
                    "type": "StringType"
                  }
                }
              },
              {
                "type": "Rule",
                "id": "rule_41db2",
                "name": "AtLeastOneFieldIsSettled",
                "Rule": {
                  "errorEntityRelPath": "../MyRepeat/MyField",
                  "errorCode": "Error rule_41db2",
                  "errorCondition": "AtLeastOneFieldValueIncludedInValueList(MyRepeat*/MyField In \"settled\")",
                  "severity": "ERROR",
                  "errorMessage": [
                    {
                      "locale": "en",
                      "text": "At least one field is \"settled\""
                    },
                    {
                      "locale": "de",
                      "text": "Mindestens ein Feld ist \"settled\""
                    }
                  ]
                }
              },
              {
                "type": "Group",
                "id": "group_ecb0e",
                "name": "MyRepeat",
                "Group": {
                  "repeatability": 3,
                  "elements": [
                    {
                      "type": "Field",
                      "id": "field_a1b55",
                      "name": "MyField",
                      "Field": {
                        "fieldType": {
                          "type": "EnumerationType",
                          "EnumerationType": {
                            "values": [
                              {
                                "value": "settled",
                                "label": []
                              },
                              {
                                "value": "not_settled",
                                "label": []
                              }
                            ]
                          }
                        },
                        "label": [
                          {
                            "locale": "en",
                            "text": "My Field"
                          },
                          {
                            "locale": "de",
                            "text": "Mein Feld"
                          }
                        ]
                      }
                    },
                    {
                      "type": "Rule",
                      "id": "rule_87809",
                      "name": "MyFieldIsSettled",
                      "Rule": {
                        "errorEntityRelPath": "../MyField",
                        "errorCode": "Error rule_87809",
                        "errorCondition": "FieldFilled(MyField) And\r\n[MyField] != \"settled\"",
                        "severity": "INFO",
                        "errorMessage": [
                          {
                            "locale": "en",
                            "text": "Please enter \"settled\""
                          },
                          {
                            "locale": "de",
                            "text": "Bitte geben Sie den Wert \"settled\" ein."
                          }
                        ]
                      }
                    }
                  ]
                }
              },
              {
                "type": "Computation",
                "id": "computation_954cf",
                "name": "Comp_AllFilledFieldsSettled",
                "Computation": {
                  "computedFieldRelPath": "../AllFilledFieldsSettled",
                  "commonPrecondition": "AtLeastOneFieldFilled(MyRepeat*/MyField)",
                  "computationAlternatives": [
                    {
                      "operation": "\"settled\"",
                      "precondition": "NoFieldValueIncludedInValueList(MyRepeat*/MyField in \"not_settled\")"
                    },
                    {
                      "operation": "\"unsettled\"",
                      "precondition": "NotAllFieldValuesIncludedInValueList(MyRepeat*/MyField In \"settled\")\n"
                    }
                  ],
                  "errorMessage": [
                    {
                      "locale": "en",
                      "text": "error text for computation of Comp_AllFilledFieldsSettled"
                    },
                    {
                      "locale": "de",
                      "text": "error text for computation of Comp_AllFilledFieldsSettled"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  }
}