{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "awt/child-author-activity-card",
  "title": "Activity Card",
  "category": "author-website-templates",
  "icon": "index-card",
  "description": "Individual activity card for the Activities section",
  "keywords": [
    "activity",
    "card",
    "child-author"
  ],
  "parent": [
    "awt/child-author-activities"
  ],
  "usesContext": [
    "awt/activityStyle"
  ],
  "textdomain": "author-website-templates",
  "editorScript": "file:./index.js",
  "attributes": {
    "imageId": {
      "type": "number",
      "default": 0
    },
    "cardStyle": {
      "type": "string",
      "default": "fun"
    },
    "iconSvg": {
      "type": "string",
      "default": ""
    },
    "imageUrl": {
      "type": "string",
      "default": ""
    },
    "title": {
      "type": "string",
      "default": "Activity Title"
    },
    "description": {
      "type": "string",
      "default": "Activity description goes here..."
    },
    "hoverEffect": {
      "type": "string",
      "default": "scale",
      "enum": [
        "rotate-left",
        "scale",
        "rotate-right"
      ]
    },
    "cardUrl": {
      "type": "string",
      "default": ""
    },
    "openInNewTab": {
      "type": "boolean",
      "default": false
    },
    "previewImage": {
      "type": "string",
      "default": "screenshot.png"
    }
  },
  "supports": {
    "html": false,
    "reusable": false
  },
  "style": "file:./style-index.css"
}