{
  "data": {
    "tree": [
      {
        "value": "record_out",
        "tree": [
          {
            "value": "customer_id",
            "key": "account_id"
          },
          {
            "value": "name",
            "key": "name",
            "required": true
          },
          {
            "value": "email",
            "key": "account_email",
            "required": true
          },
          {
            "value": "api_access",
            "key": "api_enabled"
          },
          {
            "value": "type",
            "key": "account_type",
            "schema": "account/types:key",
            "output": "value"
          },
          {
            "value": "address",
            "tree": [
              {
                "value": "postal",
                "key": "address.postal"
              }
            ]
          },
          {
            "value": "subscription",
            "tree": [
              {
                "value": "product_id",
                "key": "subscription.product",
                "schema": "products/products"
              },
              {
                "value": "pricing_id",
                "key": "subscription.pricing",
                "schema": "products/pricing"
              },
              {
                "value": "coupon_id",
                "key": "subscription.coupon"
              },
              {
                "value": "features",
                "key": "subscription.features",
                "tree": [
                  {
                    "value": "feature_id",
                    "key": "feature_id",
                    "schema": "products/features"
                  },
                  {
                    "value": "pricing_id",
                    "key": "pricing_id",
                    "schema": "products/pricing"
                  },
                  {
                    "value": "coupon_id",
                    "key": "coupon_id"
                  },
                  {
                    "value": "included_by",
                    "key": "included_by"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}
