{
  "generated_at": "2026-04-10T10:31:25.522Z",
  "system": {
    "id": "topolo-mdm",
    "name": "TopoloMDM",
    "slug": "topolo-mdm",
    "kind": "application",
    "summary": "MDM platform cluster spanning a device API, operator console, and mobile scaffold.",
    "aliases": [],
    "lifecycle": "active",
    "last_verified": "2026-04-09",
    "owners": [
      "device-platform"
    ],
    "repo_paths": [
      "PlatformApplications/TopoloMDM"
    ],
    "service_ids": [
      "svc_nodo_mdm_console",
      "svc_nodo_mdm_api",
      "svc_nodo_state_api"
    ],
    "visibility": "public",
    "api_contract": {
      "type": "curated",
      "source": "PlatformApplications/TopoloDocs/src/content/public/applications/mdm.mdx",
      "notes": "Canonical MDM coverage now lives in the docs application."
    },
    "primary_hosts": [
      "https://nodo-mdm-api.topolo.workers.dev"
    ],
    "doc_paths": [
      "applications/mdm",
      "internal/apps/mdm"
    ],
    "dependencies": [
      "topolo-auth"
    ],
    "public_hub_url": "/systems/topolo-mdm",
    "internal_hub_url": null,
    "application_api_url": "/reference/apps/topolo-mdm",
    "generated_openapi_url": null,
    "machine_urls": {
      "system": "/machine/systems/topolo-mdm.json",
      "application": "/machine/applications/topolo-mdm.json"
    }
  },
  "docs": {
    "public": [
      {
        "id": "applications/commerce.mdx",
        "title": "TopoloCommerce",
        "summary": "Public overview of the multi-vertical commerce platform for venue operations, guest runtimes, and staff execution.",
        "audience": "public",
        "tags": [
          "commerce",
          "venues",
          "kiosk"
        ],
        "url": "/applications/commerce.mdx",
        "last_verified": "2026-04-10"
      },
      {
        "id": "applications/mdm.mdx",
        "title": "TopoloMDM",
        "summary": "Public overview of the device-management cluster spanning the MDM API, operator console, and mobile scaffold.",
        "audience": "public",
        "tags": [
          "mdm",
          "devices",
          "operations"
        ],
        "url": "/applications/mdm.mdx",
        "last_verified": "2026-04-07"
      }
    ],
    "internal": [],
    "runbooks": []
  },
  "authority": {
    "owners": [
      "device-platform"
    ],
    "repo_paths": [
      "PlatformApplications/TopoloMDM"
    ],
    "service_ids": [
      "svc_nodo_mdm_console",
      "svc_nodo_mdm_api",
      "svc_nodo_state_api"
    ],
    "dependencies": [
      "topolo-auth"
    ],
    "aliases": []
  },
  "interfaces": {
    "contract_type": "curated",
    "contract_source": "PlatformApplications/TopoloDocs/src/content/public/applications/mdm.mdx",
    "contract_source_exists": true,
    "openapi": null,
    "readme": {
      "path": "PlatformApplications/TopoloMDM/README.md",
      "intro": [
        "Canonical documentation for TopoloMDM lives in `PlatformApplications/TopoloDocs`.",
        "Use this repository for implementation only. Local product and operational docs have been retired in favor of the docs application."
      ],
      "headings": [
        "TopoloMDM"
      ],
      "routeHighlights": [],
      "commandHighlights": []
    }
  },
  "auth": {
    "depends_on_topolo_auth": true,
    "api_key_scopes": [
      {
        "name": "devices.read",
        "description": "View managed devices",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "devices.write",
        "description": "Manage managed devices",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "packages.read",
        "description": "View device packages",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "packages.write",
        "description": "Manage device packages",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "users.read",
        "description": "View MDM users",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "users.write",
        "description": "Manage MDM users",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "settings.read",
        "description": "View MDM settings",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "settings.write",
        "description": "Manage MDM settings",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "mdm.read",
        "description": "Read device information",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "mdm.write",
        "description": "Send commands to managed devices",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "mdm.admin",
        "description": "Full device management access",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "state.read",
        "description": "Read device state and status data",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "state.write",
        "description": "Update device state information",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "commands.read",
        "description": "View device command history",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "commands.write",
        "description": "Send commands to devices",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "events.read",
        "description": "View device events and logs",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "name": "analytics.read",
        "description": "Access device analytics and metrics",
        "resourcePattern": null,
        "kind": "api_key_scope"
      }
    ],
    "service_permissions": [
      {
        "name": "dashboard:read",
        "description": "View MDM dashboard",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "devices:read",
        "description": "View device inventory and status",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "devices:write",
        "description": "Enroll and configure devices",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "devices:control",
        "description": "Send commands to devices (lock, wipe, etc)",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "policies:read",
        "description": "View device policies and profiles",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "policies:write",
        "description": "Create and edit device policies",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "apps:read",
        "description": "View app catalog and installations",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "apps:write",
        "description": "Manage app deployments",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "reports:read",
        "description": "View MDM reports and analytics",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "state:read",
        "description": "Read device state and status data",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "state:write",
        "description": "Update device state information",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "commands:read",
        "description": "View device command history",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "commands:write",
        "description": "Send commands to devices",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "events:read",
        "description": "View device events and logs",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "name": "analytics:read",
        "description": "Access device analytics and metrics",
        "resourcePattern": null,
        "kind": "permission"
      }
    ]
  },
  "runtime": {
    "primary_hosts": [
      "https://nodo-mdm-api.topolo.workers.dev"
    ],
    "repo_entries": [
      "PlatformApplications/TopoloMDM/README.md",
      "PlatformApplications/TopoloMDM/nodo-mdm-api/",
      "PlatformApplications/TopoloMDM/nodo-mdm-console/",
      "PlatformApplications/TopoloMDM/nodo-mdm-mobile/",
      "PlatformApplications/TopoloMDM/topolo.cloudcontrol.json"
    ],
    "wrangler_surfaces": [
      {
        "path": "PlatformApplications/TopoloMDM/nodo-mdm-api/wrangler.toml",
        "observabilityEnabled": false,
        "environments": [],
        "routes": [],
        "vars": [
          "APP_CATALOG_URL",
          "AUTH_BASE_URL",
          "DEFAULT_TENANT",
          "FEED_API_URL",
          "SERVICE_ID",
          "STATE_API_URL"
        ],
        "bindings": [],
        "cronTriggers": [],
        "workerName": "nodo-mdm-api",
        "compatibilityDate": "2025-04-22",
        "main": "index.js"
      },
      {
        "path": "PlatformApplications/TopoloMDM/nodo-mdm-console/wrangler.toml",
        "observabilityEnabled": false,
        "environments": [],
        "routes": [],
        "vars": [],
        "bindings": [],
        "cronTriggers": [],
        "workerName": "nodo-mdm-console",
        "compatibilityDate": "2026-03-31"
      }
    ],
    "packages": [
      {
        "path": "PlatformApplications/TopoloMDM/nodo-mdm-api/package.json",
        "name": "nodo-mdm-api",
        "description": "State management API for Nodo MDM multi-tenant system",
        "scripts": [
          "dev",
          "deploy",
          "deploy:dry-run",
          "lint",
          "build",
          "local-dev",
          "remote-dev",
          "seed-test-data",
          "dev:with-test-data",
          "dev:with-remote"
        ],
        "scriptCommands": [
          {
            "name": "dev",
            "command": "wrangler dev"
          },
          {
            "name": "deploy",
            "command": "wrangler deploy"
          },
          {
            "name": "deploy:dry-run",
            "command": "npx --yes wrangler@4 deploy --dry-run --config wrangler.toml"
          },
          {
            "name": "lint",
            "command": "find handlers middleware -name '*.js' -print0 | xargs -0 -n1 node --check && node --check index.js && node --check deviceProfiles.js && node --check runtime-config.js && node --check utils.js"
          },
          {
            "name": "build",
            "command": "node --check index.js"
          },
          {
            "name": "local-dev",
            "command": "node scripts/start-local-dev.js"
          },
          {
            "name": "remote-dev",
            "command": "node scripts/start-local-dev.js --remote"
          },
          {
            "name": "seed-test-data",
            "command": "node scripts/seed-test-data.js"
          },
          {
            "name": "dev:with-test-data",
            "command": "node scripts/start-local-dev.js"
          },
          {
            "name": "dev:with-remote",
            "command": "node scripts/start-local-dev.js --remote"
          }
        ]
      },
      {
        "path": "PlatformApplications/TopoloMDM/nodo-mdm-console/package.json",
        "name": "nodo-mdm-console",
        "description": "Nodo MDM Console - Enterprise Device Management",
        "scripts": [
          "dev",
          "build",
          "deploy",
          "lint",
          "preview",
          "astro",
          "typecheck"
        ],
        "scriptCommands": [
          {
            "name": "dev",
            "command": "astro dev"
          },
          {
            "name": "build",
            "command": "astro build"
          },
          {
            "name": "deploy",
            "command": "npm run build && npx wrangler pages deploy dist --project-name nodo-mdm-console"
          },
          {
            "name": "lint",
            "command": "npm run typecheck"
          },
          {
            "name": "preview",
            "command": "astro preview"
          },
          {
            "name": "astro",
            "command": "astro"
          },
          {
            "name": "typecheck",
            "command": "tsc --noEmit"
          }
        ]
      }
    ]
  },
  "data": {
    "env_vars": [
      "APP_CATALOG_URL",
      "AUTH_BASE_URL",
      "DEFAULT_TENANT",
      "FEED_API_URL",
      "SERVICE_ID",
      "STATE_API_URL"
    ],
    "bindings": [],
    "queue_bindings": [],
    "storage_kinds": [],
    "workflow_signals": []
  },
  "deployment": {
    "commands": [
      {
        "name": "deploy",
        "command": "PlatformApplications/TopoloMDM/nodo-mdm-api/package.json :: wrangler deploy"
      },
      {
        "name": "deploy:dry-run",
        "command": "PlatformApplications/TopoloMDM/nodo-mdm-api/package.json :: npx --yes wrangler@4 deploy --dry-run --config wrangler.toml"
      },
      {
        "name": "build",
        "command": "PlatformApplications/TopoloMDM/nodo-mdm-api/package.json :: node --check index.js"
      },
      {
        "name": "build",
        "command": "PlatformApplications/TopoloMDM/nodo-mdm-console/package.json :: astro build"
      },
      {
        "name": "deploy",
        "command": "PlatformApplications/TopoloMDM/nodo-mdm-console/package.json :: npm run build && npx wrangler pages deploy dist --project-name nodo-mdm-console"
      },
      {
        "name": "preview",
        "command": "PlatformApplications/TopoloMDM/nodo-mdm-console/package.json :: astro preview"
      }
    ],
    "routes": [],
    "environments": [],
    "assets_directories": [],
    "observability_enabled": false
  },
  "debugging": {
    "failure_modes": [],
    "entrypoints": [
      "PlatformApplications/TopoloMDM/nodo-mdm-api/wrangler.toml",
      "PlatformApplications/TopoloMDM/nodo-mdm-console/wrangler.toml",
      "PlatformApplications/TopoloDocs/src/content/public/applications/mdm.mdx",
      "PlatformApplications/TopoloMDM/README.md",
      "PlatformApplications/TopoloMDM/nodo-mdm-api/package.json",
      "PlatformApplications/TopoloMDM/nodo-mdm-console/package.json"
    ]
  }
}