{
  "header": {
    "id": "Contract_DM",
    "modelType": "document",
    "modelVersion": "27.1.0",
    "locales": [
      {
        "code": "en"
      },
      {
        "code": "de"
      }
    ],
    "annotations": [
      {
        "name": "roles",
        "value": "tester,reviewer"
      }
    ],
    "modelReferences": []
  },
  "content": {
    "modelInfo": {
      "name": "Contract_DM"
    },
    "modelConfig": {
      "decimalSeparator": ".",
      "timeZone": "UTC",
      "conditionLanguage": {
        "code": "en_US"
      }
    },
    "modelRoot": {
      "rootGroups": [
        {
          "type": "Group",
          "id": "group_6b988",
          "name": "Contract",
          "Group": {
            "repeatability": 1,
            "elements": [
              {
                "type": "Field",
                "id": "field_f7d8c",
                "name": "ExpiryDate",
                "Field": {
                  "fieldType": {
                    "type": "DateType",
                    "DateType": {
                      "format": "yyyy-MM-dd"
                    }
                  },
                  "label": [
                    {
                      "locale": "en",
                      "text": "ExpiryDate"
                    },
                    {
                      "locale": "de",
                      "text": "ExpiryDate"
                    }
                  ]
                }
              },
              {
                "type": "Group",
                "id": "group_e4f5c",
                "name": "Booking",
                "Group": {
                  "repeatability": 999999,
                  "elements": [
                    {
                      "type": "Field",
                      "id": "field_ea809",
                      "name": "bookingPeriodEnd",
                      "Field": {
                        "fieldType": {
                          "type": "DateType",
                          "DateType": {
                            "format": "yyyy-MM-dd"
                          }
                        },
                        "label": [
                          {
                            "locale": "en",
                            "text": "bookingPeriodEnd"
                          },
                          {
                            "locale": "de",
                            "text": "bookingPeriodEnd"
                          }
                        ]
                      }
                    }
                  ]
                }
              },
              {
                "type": "Field",
                "id": "field_7223a",
                "name": "CriteriaNextInstallmentButton",
                "Field": {
                  "fieldType": {
                    "type": "BooleanType"
                  },
                  "label": [
                    {
                      "locale": "en",
                      "text": "CriteriaNextInstallmentButton"
                    },
                    {
                      "locale": "de",
                      "text": "CriteriaNextInstallmentButton"
                    }
                  ]
                }
              },
              {
                "type": "Computation",
                "id": "computation_74a48",
                "name": "CriteriaNextInstallmentButtonComp",
                "Computation": {
                  "computedFieldId": "field_7223a",
                  "computationAlternatives": [
                    {
                      "operation": "False",
                      "precondition": "AtLeastOneFieldFilled(Booking*/bookingPeriodEnd Having [Booking/bookingPeriodEnd] >= [ExpiryDate])"
                    },
                    {
                      "operation": "True",
                      "precondition": "NoFieldFilled(Booking*/bookingPeriodEnd Having [Booking/bookingPeriodEnd] >= [ExpiryDate])"
                    }
                  ],
                  "errorMessage": [
                    {
                      "locale": "en",
                      "text": "error text for computation of CriteriaNextInstallmentButtonComp"
                    },
                    {
                      "locale": "de",
                      "text": "error text for computation of CriteriaNextInstallmentButtonComp"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  }
}