{ 
  "FormSubform_TwoInstances_Cust": {
    "table":"cust",
    "layout":"form",
    "onecolumn":true,
    "caption":["Customer","Customers"],
    "actions":"BIU",
    "fields":[
      {"name":"cust_name","caption":"Name"},
      {"name":"cust_sts","caption":"Status"},
      {"control": "subform","target": "FormSubform_TwoInstances_Cust_Address_Billing","bindings":{ "cust_id":"cust_id", "cust_addr_type":"'BILLING'" },"actions":"BU"},
      {"control": "subform","target": "FormSubform_TwoInstances_Cust_Address_Shipping","bindings":{ "cust_id":"cust_id", "cust_addr_type":"'SHIPPING'" },"actions": "BU"}
    ]
  },
  "FormSubform_TwoInstances_Cust_Address": {
    "table":"cust_addr",
    "layout":"form",
    "onecolumn":true,
    "popup": [550,300],
    "caption":["Address","Addresses"],
    "fields":[
      {"name":"cust_id","key":1,"control":"hidden"},
      {"name":"cust_addr_type","key":1,"control":"hidden"},
      {"name":"cust_addr_country","caption":"Country"},
      {"name":"cust_addr_line1","caption":"Address"},
      {"name":"cust_addr_line2","caption":""},
      {"name":"cust_addr_city","caption":"City"},
      {"name":"cust_addr_state","caption":"State"},
      {"name":"cust_addr_zip","caption":"Zip"}
    ]
  },
  "FormSubform_TwoInstances_Cust_Address_Billing": {
    "inherits":"FormSubform_TwoInstances_Cust_Address",
    "title": "Billing Address"
  },
  "FormSubform_TwoInstances_Cust_Address_Shipping": {
    "inherits":"FormSubform_TwoInstances_Cust_Address",
    "title": "Shipping Address"
  }
}