{
  "type": "object",
  "properties": {
    "name": {
      "title": "Name",
      "type": "string",
      "description": "Name identifying this item or group.",
      "propertyOrder": 1,
      "default": "(unnamed item)"
    },
    "type": {
      "title": "Item type",
      "type": "string",
      "description": "Code designating the kind of data source. Cannot be changed in this editor.",
      "options": {
        "hidden": true
      }
    },
    "description": {
      "title": "Description",
      "description": "Free text description of the layer, appearing in the datasource description box, overriding any retrieved metadata.",
      "type": "string",
      "format": "textarea",
      "options": {
        "expand_height": true
      }
    },
    "url": {
      "title": "URL",
      "description": "Source of the data to load",
      "type": "string"
    },
    "info": {
      "$ref": "r_info.json"
    },
    "isPromoted": {
      "title": "Promote this item",
      "type": "boolean",
      "format": "checkbox",
      "description": "Whether this item is kept above other non-promoted items."
    },
    "isHidden": {
      "title": "Hide",
      "type": "boolean",
      "format": "checkbox",
      "description": "Whether this item is hidden from the catalog."
    },
    "initialMessage": {
      "title": "Initial message",
      "type": "object",
      "description": "A message that is presented to the user when an item or group is initially clicked.",
      "defaultProperties": [
        "title",
        "content",
        "key"
      ],
      "options": {
        "remove_empty_properties": true
      },
      "properties": {
        "title": {
          "title": "Title",
          "type": "string"
        },
        "content": {
          "title": "Content",
          "type": "string"
        },
        "key": {
          "title": "Key",
          "type": "string"
        }
      }
    }
  }
}
