{
  "$schema": "https://json.schemastore.org/block.json",
  "apiVersion": 3,
  "name": "givewp/campaign-grid",
  "version": "1.0.0",
  "title": "Campaign Grid",
  "category": "give",
  "description": "Insert an existing campaign into the page.",
  "supports": {
    "align": [
      "wide",
      "full",
      "left",
      "center",
      "right"
    ]
  },
  "attributes": {
    "layout": {
      "type": "string",
      "default": "full",
      "enum": [
        "full",
        "double",
        "triple"
      ]
    },
    "showImage": {
      "type": "boolean",
      "default": true
    },
    "showDescription": {
      "type": "boolean",
      "default": true
    },
    "showGoal": {
      "type": "boolean",
      "default": true
    },
    "sortBy": {
      "type": "string",
      "default": "date",
      "enum": [
        "date",
        "amount",
        "donations",
        "donors"
      ]
    },
    "orderBy": {
      "type": "string",
      "default": "desc",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "filterBy": {
      "type": "array",
      "default": []
    },
    "perPage": {
      "type": "number",
      "default": "6"
    },
    "showPagination": {
      "type": "boolean",
      "default": true
    }
  },
  "example": {},
  "textdomain": "give",
  "viewScript": "file:../../../../build/campaignGridApp.js",
  "viewStyle": "file:../../../../build/campaignGridApp.css",
  "render": "file:./render.php"
}