code: function(terria) {
    CatalogGroup.call(this, terria, "socrata");
  
    /**
     * Gets or sets the URL of the Socrata server.  This property is observable.
     * @type {String}
     */
    this.url = "";
    /**
     * Gets or sets the filter query to pass to Socrata when querying the available data sources and their groups.  Each string in the
     * array is passed to Socrata as an independent search string and the results are concatenated to create the complete list.
     * @type {String[]}
     */
    this.filterQuery = ["limitTo=MAPS"];
  
    /**
     * Gets or sets a description of the custodian of the data sources in this group.
     * This property is an HTML string that must be sanitized before display to the user.
     * This property is observable.
     * @type {String}
     */
    this.dataCustodian = undefined;
  
    /**
     * Gets or sets a value indicating how datasets should be grouped.  Valid values are:
     * * `none` - Datasets are put in a flat list; they are not grouped at all.
     * * `category` - Datasets are grouped according to their category in Socrata.
     * @type {String}
     */
    this.groupBy = "category";
  
    knockout.track(this, ["url", "filterQuery", "dataCustodian", "category"]);
  }
docs: A {@link CatalogGroup} representing a collection of layers from a [Socrata](http://Socrata.org) server. Only spatial layers with a defined Map
  visualisation are shown, using WMS.
  
  @alias SocrataCatalogGroup
  @constructor
  @extends CatalogGroup
  
  @param {Terria} terria The Terria instance.