{
    "$schema": "https://wp-apps.org/schema/v1/manifest.json",
    "spec_version": "0.1.0",

    "app": {
        "id": "com.wpapps.hello-app",
        "name": "Hello App",
        "version": "1.0.0",
        "description": "The simplest possible WP App. Logs post saves and says hello.",
        "author": {
            "name": "WP Apps Team",
            "url": "https://wp-apps.org"
        },
        "license": "MIT"
    },

    "runtime": {
        "endpoint": "http://localhost:8001",
        "health_check": "/health",
        "auth_callback": "/auth/callback",
        "webhook_path": "/hooks",
        "timeout_ms": 5000
    },

    "permissions": {
        "scopes": [
            "posts:read"
        ]
    },

    "hooks": {
        "events": [
            {
                "event": "save_post",
                "description": "Log when a post is saved"
            }
        ]
    }
}
