adk.json

adk.json is the project manifest. It contains the manifest version, FileMaker file targets, Web Viewer app bindings, and an optional project standards pack.

Copy
{
  "version": 1,
  "standards": {
    "pack": "acme",
    "enabled": {
      "advisory.md": false
    }
  },
  "files": {
    "Inventory": {
      "target": "fmnet://filemaker.example.com/Inventory",
      "username": "adk-developer"
    },
    "Sandbox": {
      "target": "files/Sandbox.fmp12"
    }
  },
  "apps": {
    "inventory-dashboard": {
      "path": "webviewer-apps/inventory-dashboard",
      "file": "Inventory"
    }
  }
}

Top-level keys

Key Type Required Description
version 1 Yes Manifest schema version. The current and only supported value is 1.
files Record<string, FileEntry> Yes FileMaker files known to the project, keyed by the name used elsewhere in the manifest. An empty project uses {}.
apps Record<string, AppEntry> Yes Web Viewer apps in the project, keyed by app name. An empty project uses {}.
standards StandardsEntry No Project-specific FileMaker standards. When omitted, no standards pack is followed; only built-in rules and local project files apply.

files

Each key in files identifies one FileMaker file. A key cannot be empty or contain /.

Copy
{
  "files": {
    "Inventory": {
      "target": "fmnet://filemaker.example.com/Inventory",
      "username": "adk-developer"
    }
  }
}
Key Type Required Description
target string Yes An fmnet://<host>/<FileName> address or a path to a local .fmp12 file.
username string No FileMaker account name associated with this target. It cannot be empty.

An fmnet:// target names a database hosted by FileMaker Pro or FileMaker Server. The file name does not include the .fmp12 extension. Targets hosted on FileMaker Server require FileMaker Server 26.1.1 or later with Allow ADK Connections turned on. See Work with hosted files.

Relative local targets resolve from the directory containing adk.json. Absolute paths are also supported. Tilde (~) paths are not supported and are not expanded.

username specifies the FileMaker account name. Passwords and authentication tokens are not stored in the manifest.

The FileMaker Pro Agent Access port is not recorded in the manifest. The port describes the local workstation environment rather than project configuration. ADK reads custom port assignments from the FM_DEV_SERVER_PORT environment variable (default: 19080). Define the variable in your shell profile or coding agent environment. See System requirements.

apps

Each key in apps is an app name. Names use lowercase alphanumeric characters plus -, _, ., and ~; npm-style scoped names are also valid.

Copy
{
  "apps": {
    "inventory-dashboard": {
      "path": "webviewer-apps/inventory-dashboard",
      "file": "Inventory"
    }
  }
}
Key Type Required Description
path string Yes Path to the app directory, relative to the project root.
file string Yes Key of the FileMaker file in the top-level files object that this app deploys to.

standards

The optional standards object declares a project standards pack. Without this object, no standards pack is followed; only built-in rules and local project files apply.

Copy
{
  "standards": {
    "pack": "acme",
    "enabled": {
      "naming.md": true,
      "patterns.md": true,
      "advisory.md": false
    }
  }
}
Key Type Required Description
pack string Yes Name declared by the standards pack's META.json. The value cannot be empty.
enabled Record<string, boolean> No Per-file switches for the pack. A missing key is enabled.

The recognized standard files are naming.md, patterns.md, and advisory.md. Other keys have no effect.

Validation and serialization

The manifest must contain a valid JSON object. ADK rejects unsupported version numbers, invalid key types, invalid app names, empty usernames, or malformed structures.

ADK serializes keys in the order: standards, files, and apps. File and app keys are sorted alphabetically. Empty standards.enabled objects and omitted usernames are excluded. Unrecognized custom properties are not preserved when ADK updates the manifest.