|
| 1 | +{ |
| 2 | + "name": "Project Alpha", |
| 3 | + "version": "2.0.0", |
| 4 | + "description": "An updated sample project with new features", |
| 5 | + "active": true, |
| 6 | + "priority": 8, |
| 7 | + "status": "released", |
| 8 | + "config": { |
| 9 | + "debug": false, |
| 10 | + "timeout": 10000, |
| 11 | + "retries": 5, |
| 12 | + "logging": { |
| 13 | + "level": "warn", |
| 14 | + "format": "structured", |
| 15 | + "outputs": ["console", "file", "cloud"], |
| 16 | + "rotation": { |
| 17 | + "enabled": true, |
| 18 | + "maxSize": "50MB", |
| 19 | + "maxFiles": 10, |
| 20 | + "compress": true |
| 21 | + } |
| 22 | + }, |
| 23 | + "features": { |
| 24 | + "auth": true, |
| 25 | + "cache": true, |
| 26 | + "analytics": true, |
| 27 | + "notifications": true, |
| 28 | + "rateLimit": { |
| 29 | + "enabled": true, |
| 30 | + "requests": 500, |
| 31 | + "window": "1m", |
| 32 | + "burstLimit": 50 |
| 33 | + } |
| 34 | + }, |
| 35 | + "database": { |
| 36 | + "host": "db.production.internal", |
| 37 | + "port": 5432, |
| 38 | + "name": "app_db_v2", |
| 39 | + "pool": { |
| 40 | + "min": 5, |
| 41 | + "max": 50, |
| 42 | + "idleTimeout": 30000 |
| 43 | + }, |
| 44 | + "replicas": ["replica-1", "replica-2"] |
| 45 | + }, |
| 46 | + "redis": { |
| 47 | + "host": "redis.internal", |
| 48 | + "port": 6379, |
| 49 | + "cluster": true |
| 50 | + } |
| 51 | + }, |
| 52 | + "users": [ |
| 53 | + {"id": 1, "name": "Alice", "role": "superadmin", "active": true, "email": "alice@example.com", "verified": true}, |
| 54 | + {"id": 2, "name": "Bob", "role": "user", "active": false, "email": "robert@example.com"}, |
| 55 | + {"id": 4, "name": "Diana", "role": "admin", "active": true, "email": "diana@example.com"}, |
| 56 | + {"id": 5, "name": "Eric", "role": "editor", "active": true, "email": "eric@example.com"} |
| 57 | + ], |
| 58 | + "teams": { |
| 59 | + "engineering": { |
| 60 | + "lead": "Alice", |
| 61 | + "members": ["Bob", "Diana", "Eric", "Frank"], |
| 62 | + "projects": ["api", "frontend", "mobile", "infrastructure"] |
| 63 | + }, |
| 64 | + "design": { |
| 65 | + "lead": "Grace", |
| 66 | + "members": ["Henry", "Ivy"], |
| 67 | + "projects": ["ui-kit", "branding", "design-system"] |
| 68 | + }, |
| 69 | + "marketing": { |
| 70 | + "lead": "Jack", |
| 71 | + "members": ["Kate", "Leo"], |
| 72 | + "projects": ["campaigns", "analytics"] |
| 73 | + } |
| 74 | + }, |
| 75 | + "permissions": { |
| 76 | + "superadmin": ["read", "write", "delete", "manage", "audit"], |
| 77 | + "admin": ["read", "write", "delete", "manage"], |
| 78 | + "editor": ["read", "write", "comment"], |
| 79 | + "user": ["read", "comment"] |
| 80 | + }, |
| 81 | + "metadata": { |
| 82 | + "created": "2024-01-15", |
| 83 | + "updated": "2024-06-15", |
| 84 | + "author": "alice", |
| 85 | + "tags": ["production", "stable", "v2", "featured"], |
| 86 | + "environment": "production", |
| 87 | + "region": "us-east-1" |
| 88 | + }, |
| 89 | + "history": [ |
| 90 | + {"action": "create", "timestamp": "2024-01-15T10:00:00Z", "user": "admin"}, |
| 91 | + {"action": "update", "timestamp": "2024-01-20T14:30:00Z", "user": "alice"}, |
| 92 | + {"action": "migrate", "timestamp": "2024-03-01T09:00:00Z", "user": "system"}, |
| 93 | + {"action": "upgrade", "timestamp": "2024-06-15T12:00:00Z", "user": "alice", "notes": "Major version upgrade"} |
| 94 | + ], |
| 95 | + "stats": { |
| 96 | + "requests": { |
| 97 | + "total": 500000, |
| 98 | + "success": 485000, |
| 99 | + "failed": 15000, |
| 100 | + "cached": 250000 |
| 101 | + }, |
| 102 | + "users": { |
| 103 | + "total": 2500, |
| 104 | + "active": 2100, |
| 105 | + "new": 150, |
| 106 | + "premium": 500 |
| 107 | + }, |
| 108 | + "performance": { |
| 109 | + "avgLatency": 85, |
| 110 | + "p99Latency": 320, |
| 111 | + "uptime": 99.99, |
| 112 | + "errorRate": 0.03 |
| 113 | + } |
| 114 | + }, |
| 115 | + "integrations": { |
| 116 | + "slack": { |
| 117 | + "enabled": true, |
| 118 | + "channel": "#production-alerts", |
| 119 | + "events": ["error", "warning", "deployment"] |
| 120 | + }, |
| 121 | + "github": { |
| 122 | + "enabled": true, |
| 123 | + "repo": "org/project-v2", |
| 124 | + "branch": "main", |
| 125 | + "actions": true |
| 126 | + }, |
| 127 | + "datadog": { |
| 128 | + "enabled": true, |
| 129 | + "apiKey": "***", |
| 130 | + "metrics": ["latency", "errors", "throughput"] |
| 131 | + } |
| 132 | + }, |
| 133 | + "limits": { |
| 134 | + "maxFileSize": "100MB", |
| 135 | + "maxRequests": 50000, |
| 136 | + "quotas": { |
| 137 | + "storage": "500GB", |
| 138 | + "bandwidth": "5TB", |
| 139 | + "apiCalls": "1M" |
| 140 | + }, |
| 141 | + "rateLimit": { |
| 142 | + "tier1": 1000, |
| 143 | + "tier2": 5000, |
| 144 | + "tier3": 20000 |
| 145 | + } |
| 146 | + }, |
| 147 | + "notifications": { |
| 148 | + "email": true, |
| 149 | + "sms": true, |
| 150 | + "push": true, |
| 151 | + "webhook": true, |
| 152 | + "channels": ["email", "push", "sms", "webhook"] |
| 153 | + }, |
| 154 | + "schedule": { |
| 155 | + "backup": "0 */6 * * *", |
| 156 | + "cleanup": "0 3 * * *", |
| 157 | + "reports": "0 9 * * 1", |
| 158 | + "healthCheck": "*/5 * * * *" |
| 159 | + }, |
| 160 | + "experiments": { |
| 161 | + "darkMode": { |
| 162 | + "enabled": true, |
| 163 | + "percentage": 100 |
| 164 | + }, |
| 165 | + "newCheckout": { |
| 166 | + "enabled": true, |
| 167 | + "percentage": 100, |
| 168 | + "graduated": true |
| 169 | + }, |
| 170 | + "aiAssistant": { |
| 171 | + "enabled": true, |
| 172 | + "percentage": 10, |
| 173 | + "models": ["gpt-4", "claude"] |
| 174 | + } |
| 175 | + }, |
| 176 | + "compliance": { |
| 177 | + "gdpr": true, |
| 178 | + "soc2": true, |
| 179 | + "hipaa": false |
| 180 | + }, |
| 181 | + "changelog": "v2.0.0: Major update with performance improvements, new integrations, and enhanced security" |
| 182 | +} |
0 commit comments