{
  "service": {
    "name": "Silverframe Photos",
    "version": "2.8.1",
    "environment": "production",
    "publicUrl": "https://photos.example.net",
    "readOnly": false,
    "features": {
      "facialRecognition": true,
      "objectDetection": true,
      "reverseGeocoding": true,
      "publicSharing": true,
      "rawImageSupport": true
    }
  },
  "storage": {
    "libraryPath": "/srv/photos/library",
    "uploadPath": "/srv/photos/uploads",
    "thumbnailPath": "/var/cache/silverframe/thumbnails",
    "capacityBytes": 8796093022208,
    "usedBytes": 3418794803200,
    "allowedExtensions": [
      "jpg",
      "jpeg",
      "png",
      "heic",
      "webp",
      "dng",
      "cr2",
      "nef",
      "mp4",
      "mov"
    ]
  },
  "database": {
    "host": "postgres",
    "port": 5432,
    "name": "silverframe",
    "ssl": false,
    "pool": {
      "minimum": 2,
      "maximum": 20,
      "idleTimeoutSeconds": 30
    }
  },
  "authentication": {
    "localLoginEnabled": true,
    "registrationEnabled": false,
    "sessionLifetimeSeconds": 1209600,
    "oidc": {
      "enabled": true,
      "issuerUrl": "https://auth.example.net/application/o/silverframe/",
      "clientId": "silverframe-web",
      "autoRegister": false,
      "scopes": [
        "openid",
        "profile",
        "email"
      ]
    }
  },
  "processing": {
    "workers": 4,
    "thumbnailSizes": [
      256,
      1024,
      2048
    ],
    "imageQuality": 85,
    "videoTranscoding": {
      "enabled": true,
      "codec": "h264",
      "maximumResolution": "1080p",
      "hardwareAcceleration": "vaapi"
    },
    "machineLearning": {
      "endpoint": "http://machine-learning:3003",
      "models": {
        "visual": "ViT-B-32__openai",
        "facialRecognition": "buffalo_l",
        "minimumFaceScore": 0.7
      }
    }
  },
  "libraries": [
    {
      "id": "lib_primary",
      "name": "Family Library",
      "ownerId": "usr_01",
      "assetCount": 48217,
      "scanPaths": [
        "/srv/photos/library/family",
        "/mnt/archive/scanned-albums"
      ],
      "exclusions": [
        "**/.thumbnails/**",
        "**/exports/**",
        "**/*.tmp"
      ],
      "lastScan": {
        "startedAt": "2026-07-17T01:15:02Z",
        "completedAt": "2026-07-17T01:42:38Z",
        "newAssets": 126,
        "updatedAssets": 19,
        "errors": []
      }
    },
    {
      "id": "lib_portfolio",
      "name": "Photography Portfolio",
      "ownerId": "usr_02",
      "assetCount": 7310,
      "scanPaths": [
        "/srv/photos/library/portfolio"
      ],
      "exclusions": [
        "**/rejects/**",
        "**/.xmp-cache/**"
      ],
      "lastScan": {
        "startedAt": "2026-07-16T22:00:00Z",
        "completedAt": "2026-07-16T22:11:47Z",
        "newAssets": 34,
        "updatedAssets": 8,
        "errors": [
          {
            "path": "/srv/photos/library/portfolio/2026/events/DSC_8841.NEF",
            "code": "METADATA_READ_FAILED",
            "message": "Unable to parse embedded preview"
          }
        ]
      }
    }
  ],
  "users": [
    {
      "id": "usr_01",
      "displayName": "Alex Morgan",
      "email": "alex@example.net",
      "role": "administrator",
      "quotaBytes": null,
      "preferences": {
        "theme": "system",
        "dateFormat": "YYYY-MM-DD",
        "timelineSort": "descending",
        "mapProvider": "openstreetmap"
      }
    },
    {
      "id": "usr_02",
      "displayName": "Sam Rivera",
      "email": "sam@example.net",
      "role": "user",
      "quotaBytes": 1099511627776,
      "preferences": {
        "theme": "dark",
        "dateFormat": "MMM D, YYYY",
        "timelineSort": "descending",
        "mapProvider": "openstreetmap"
      }
    }
  ],
  "sharing": {
    "defaultExpirationDays": 30,
    "allowPasswordProtection": true,
    "allowDownloads": true,
    "maximumAssetsPerShare": 5000,
    "activeLinks": [
      {
        "id": "shr_summer_2026",
        "albumId": "alb_8f21c9",
        "createdBy": "usr_01",
        "createdAt": "2026-07-03T14:22:09Z",
        "expiresAt": "2026-08-02T14:22:09Z",
        "passwordProtected": true,
        "allowDownloads": false,
        "viewCount": 47
      }
    ]
  },
  "backup": {
    "enabled": true,
    "schedule": "0 3 * * *",
    "destination": "s3://silverframe-backups/production",
    "retention": {
      "daily": 14,
      "weekly": 8,
      "monthly": 12
    },
    "lastRun": {
      "startedAt": "2026-07-17T03:00:00Z",
      "completedAt": "2026-07-17T03:38:12Z",
      "status": "success",
      "uploadedBytes": 18492033122
    }
  },
  "telemetry": {
    "enabled": false,
    "logLevel": "info",
    "healthEndpoint": "/api/health",
    "metricsEndpoint": "/metrics"
  }
}