{
  "api": "1",
  "type": "element",
  "editingElement": "core",
  "hideDefaultSettings": false,
  "canScale": true,

  "canEditSource": true,
  "contentEditable": false,
  "gizmo": {
    "title": "Smart Collection",
    "description": "Collection built from site manifest data.",
    "icon": "hax:idea",
    "color": "blue",
    "tags": ["Layout", "smart", "site", "collection", "list", "items"],
    "handles": [],
    "meta": {
      "author": "HAXTheWeb core team"
    }
  },
  "settings": {
    "configure": [
      {
        "property": "parent",
        "title": "Parent",
        "description": "Limit results to items with this parent.",
        "inputMethod": "textfield"
      },
      {
        "property": "tags",
        "title": "Tags",
        "description": "Filter by tags (comma-separated).",
        "inputMethod": "textfield"
      },
      {
        "property": "pageType",
        "title": "Page type",
        "description": "Filter by page type.",
        "inputMethod": "textfield"
      },
      {
        "property": "published",
        "title": "Publishing status",
        "description": "Filter by publishing status.",
        "inputMethod": "select",
        "itemsList": [
          {
            "value": "null",
            "text": "Show all items"
          },
          {
            "value": "true",
            "text": "Only published items"
          },
          {
            "value": "false",
            "text": "Only unpublished items"
          }
        ]
      },
      {
        "property": "hideInMenu",
        "title": "Hidden in menus status",
        "description": "Filter by hidden-in-menu status.",
        "inputMethod": "select",
        "itemsList": [
          {
            "value": "null",
            "text": "Show all items"
          },
          {
            "value": "false",
            "text": "Only items in menus"
          },
          {
            "value": "true",
            "text": "Only hidden items"
          }
        ]
      },
      {
        "property": "relatedItems",
        "title": "Related items",
        "description": "Filter by related items.",
        "inputMethod": "textfield"
      }
    ],
    "advanced": [
      {
        "property": "sort",
        "title": "Sort by",
        "inputMethod": "select",
        "options": {
          "title": "Title",
          "metadata.updated": "Updated date",
          "metadata.created": "Created date",
          "order": "Order"
        }
      },
      {
        "property": "limit",
        "title": "Limit",
        "description": "Limit the number of results.",
        "inputMethod": "number"
      }
    ],
    "developer": [
      {
        "property": "breakSmartCollection",
        "title": "Break smart collection",
        "description": "Convert to Collection List for direct editing; items stop auto-updating from source pages.",
        "inputMethod": "boolean"
      }
    ]
  },
  "saveOptions": {
    "unsetAttributes": [
      "editMode",
      "edit-mode",
      "conditions",
      "sortObj",
      "sort-obj",
      "results",
      "breakSmartCollection",
      "t"
    ]
  },
  "documentation": {
    "howTo": null,
    "purpose": null
  },
  "demoSchema": [
    {
      "tag": "site-collection-list",
      "content": "",
      "properties": {}
    }
  ]
}
