{
  "header": {
    "id": "FREIGANG_APPLICATION_AM_COPY",
    "modelType": "application",
    "modelVersion": "6.0.0",
    "locales": [
      {
        "code": "en"
      },
      {
        "code": "de"
      }
    ],
    "labels": [
      {
        "locale": "en",
        "text": "Freigang Applications"
      },
      {
        "locale": "de",
        "text": "Freigangsanträge"
      }
    ],
    "annotations": [
      {
        "name": "roles",
        "value": "user"
      }
    ],
    "modelReferences": []
  },
  "content": {
    "modules": [
      {
        "name": "FreigangApplicationModule",
        "menu": {
          "name": "FreigangApplication",
          "label": [
            {
              "locale": "en",
              "text": "Freigang Applications 4"
            },
            {
              "locale": "de",
              "text": "Freigangsanträge 4"
            }
          ],
          "initialActivity": {
            "descriptor": {
              "module": "FreigangApplication"
            }
          }
        },
        "flows": [
          {
            "name": "FreigangApplicationFlow",
            "scenes": [
              {
                "name": "FreigangApplicationOverview",
                "description": "Overview of FreigangApplication Documents",
                "matchConditions": [
                  {
                    "key": "module",
                    "mustEqual": "FreigangApplication"
                  },
                  {
                    "key": "instance",
                    "isSet": false
                  }
                ],
                "sceneChange": {
                  "onEnter": [
                    {
                      "layout": {
                        "name": "MasterDetail"
                      },
                      "type": "REGION_CLEAR"
                    },
                    {
                      "type": "VIEW_ADD",
                      "name": "OverviewEngine",
                      "models": [
                        {
                          "modelType": "overview",
                          "name": "FREIGANG_APPLICATION_OM"
                        }
                      ]
                    }
                  ]
                }
              },
              {
                "name": "FreigangApplicationForm",
                "description": "Form showing on FreigangApplication Document",
                "matchConditions": [
                  {
                    "key": "module",
                    "mustEqual": "FreigangApplication"
                  },
                  {
                    "key": "instance",
                    "isSet": true
                  }
                ],
                "sceneChange": {
                  "onEnter": [
                    {
                      "type": "VIEW_ADD",
                      "name": "FormEngine",
                      "constraints": {
                        "type": "MasterDetail"
                      },
                      "models": [
                        {
                          "modelType": "form",
                          "name": "FREIGANG_APPLICATION_FM",
                          "documentModel": "FREIGANG_APPLICATION_DM"
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    ],
    "region": {
      "name": "APP",
      "layout": {
        "name": "ApplicationFrame"
      },
      "subRegions": [
        {
          "name": "CONTENT",
          "layout": {
            "name": "MasterDetail"
          }
        },
        {
          "name": "SIDEBAR",
          "layout": {
            "name": "Null"
          }
        },
        {
          "name": "MODAL",
          "layout": {
            "name": "Stack"
          }
        }
      ]
    },
    "defaultRegion": [
      "CONTENT"
    ],
    "initialActivity": {
      "descriptor": {
        "module": "FreigangApplication"
      }
    }
  }
}