Source: ViewEdit

Publish a first identity file

If you have a website and a symbol you want other apps to display reliably, you shouldn’t have to hope they scrape the right favicon or copy an outdated PNG. Publishing a single JSON manifest on your domain gives software one authoritative place to look—and lets it verify the exact bytes it downloads.

Serve the manifest over HTTPS

Publish your identity document at:

https://<your-host>/.well-known/identity.json

At minimum, the file names who you are, links to your site, and sets use.default to the role apps should pick when they just want your icon (for a symbol, that role is mark). Each entry in resources defines a slot for one role and colorway, and each variant inside that slot carries an immutable tag, an absolute https:// URL, and the lowercase hex SHA-256 digest of the asset bytes:

{
  "spec": "1",
  "name": "Ada Lovelace",
  "url": "https://ada.example",
  "use": { "default": "mark" },
  "resources": [
    {
      "id": "mark",
      "role": "mark",
      "colorway": "full",
      "variants": [
        {
          "id": "mark",
          "tag": "1",
          "mediaType": "image/svg+xml",
          "url": "https://ada.example/.well-known/identity/mark/1.svg",
          "sha256": "<lowercase hex of those exact bytes>",
          "default": true
        }
      ]
    }
  ]
}

Keep tagged files immutable

Host the SVG at the exact URL declared in the manifest, and never overwrite the bytes at tag 1. When you redesign or tweak the mark, publish the updated artwork under a new tag (such as 2) and mark the new variant as "default": true. Existing apps pinned to tag 1 keep passing hash verification until they choose to update.

If you keep a human-facing brand or press page on your site, link directly to your identity.json and tagged asset files from it. People can browse and download what they need there, while apps go straight to the JSON manifest without parsing your HTML.

Next steps

  • Browse a complete worked example under examples/person/ in the dev-centr/identity repository.

  • Check the full field and validation rules in Identity document.