{
  "limits": {
    "host_request_limiter": {
      "hacker-news.firebaseio.com": 50
    }
  },
  "item": {
    "connector_config": {
      "response_type": "json",
      "url": "https://hacker-news.firebaseio.com/v0/beststories.json?print=pretty&limitToFirst=10&orderBy=%22$key%22",
      "server_config": {
        "method": "GET"
      }
    },
    "model": {
      "object_config": {
        "fields": {
          "response_id": {
            "base_field": {
              "generated": {
                "uuid": {}
              }
            }
          },
          "sky_news": {
            "base_field": {
              "generated": {
                "model": {
                  "type": "array",
                  "model": {
                    "type": "array",
                    "array_config": {
                      "root_path": "//div[@class='fc-item__standfirst']",
                      "item_config": {
                        "field": {
                          "type": "string",
                          "path": "text()"
                        }
                      }
                    }
                  },
                  "connector_config": {
                    "response_type": "xpath",
                    "url": "https://www.theguardian.com/world",
                    "server_config": {
                      "method": "GET"
                    }
                  }
                }
              }
            }
          },
          "quotes": {
            "base_field": {
              "generated": {
                "model": {
                  "type": "array",
                  "model": {
                    "type": "array",
                    "array_config": {
                      "root_path": "#content dt.quote > a",
                      "item_config": {
                        "field": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "connector_config": {
                    "response_type": "HTML",
                    "url": "http://www.quotationspage.com/random.php",
                    "server_config": {
                      "method": "GET"
                    }
                  }
                }
              }
            }
          },
          "hackernews": {
            "array_config": {
              "item_config": {
                "fields": {
                  "id": {
                    "base_field": {
                      "type": "int"
                    }
                  },
                  "internal_url": {
                    "base_field": {
                      "type": "int",
                      "generated": {
                        "formatted": {
                          "template": "https://news.ycombinator.com/item?id={PL}"
                        }
                      }
                    }
                  },
                  "content": {
                    "base_field": {
                      "type": "int",
                      "generated": {
                        "model": {
                          "type": "object",
                          "model": {
                            "object_config": {
                              "fields": {
                                "title": {
                                  "base_field": {
                                    "type": "string",
                                    "path": "title"
                                  }
                                },
                                "score": {
                                  "base_field": {
                                    "type": "int",
                                    "path": "score"
                                  }
                                },
                                "kids": {
                                  "array_config": {
                                    "root_path": "kids",
                                    "item_config": {
                                      "fields": {
                                        "id": {
                                          "base_field": {
                                            "type": "int"
                                          }
                                        },
                                        "response_id": {
                                          "base_field": {
                                            "generated": {
                                              "uuid": {}
                                            }
                                          }
                                        },
                                        "internal_url": {
                                          "base_field": {
                                            "type": "int",
                                            "generated": {
                                              "formatted": {
                                                "template": "https://news.ycombinator.com/item?id={PL}"
                                              }
                                            }
                                          }
                                        },
                                        "content": {
                                          "base_field": {
                                            "type": "int",
                                            "generated": {
                                              "model": {
                                                "type": "object",
                                                "model": {
                                                  "object_config": {
                                                    "fields": {
                                                      "title": {
                                                        "base_field": {
                                                          "type": "string",
                                                          "path": "type"
                                                        }
                                                      },
                                                      "text": {
                                                        "base_field": {
                                                          "type": "string",
                                                          "path": "text"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "connector_config": {
                                                  "response_type": "json",
                                                  "url": "https://hacker-news.firebaseio.com/v0/item/{PL}.json?print=pretty",
                                                  "server_config": {
                                                    "method": "GET"
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "connector_config": {
                            "response_type": "json",
                            "url": "https://hacker-news.firebaseio.com/v0/item/{PL}.json?print=pretty",
                            "server_config": {
                              "method": "GET"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}