# SVG Embedded Semantic Metadata

Embeds parseable semantic metadata in SVG assets with safe-profile review.

Catalog: active · v0.3.0 · reviewed 2026-09-23

Source maturity: candidate · Explanation reviewed 2026-10-01

Applies to: SVG assets that need semantic identity, provenance, theme context or interpretation hints, including the City Hall logos.

[Public page](https://aptlantis.net/city-hall/sesm)

<a id="purpose-and-applicability"></a>

## Purpose and applicability

Artwork alone cannot explain its identity, role or provenance to a parser. SESM embeds a JSON description inside SVG while keeping the description separate from executable authority.

SVG assets that need semantic identity, provenance, theme context or interpretation hints, including the City Hall logos.

<a id="how-it-works"></a>

## How it works

Read the metadata block as untrusted JSON. Schema checks test required fields and types; safe-profile checks inspect SVG content for scripts, event handlers, dangerous URLs, remote references and misleading payloads. Neither check makes metadata a permission or proves an author’s claims.

Outputs include the SVG, parseable metadata, separate schema and safe-profile results, and any documented policy exceptions. sesm_version identifies the metadata contract, not the artwork’s release maturity.

<a id="in-practice"></a>

## In practice

The existing SESM logo is shown beside an extracted identity subset. Inspect the full original SVG for the complete metadata. The second snippet teaches the distinction between two checks; it is deliberately unfilled.

### Site logo identity

recorded · 2026-10-01 · Committed SESM logo identity fields only

Recorded extraction from the committed /city-hall/logos/sesm.svg; limited to sesm_version and asset fields. This is not a schema or safety verdict.

Source: `site/public/city-hall/logos/sesm.svg`

![Artwork described by the adjacent metadata](/city-hall/logos/sesm.svg)

```json
{
  "sesm_version": "0.3.0",
  "asset": {
    "id": "svg-embed-logos-sesm",
    "role": "logo",
    "title": "SVG Embedded Semantic Metadata logo",
    "tags": ["logo", "city-hall", "sesm", "raster-embedded"],
    "description": "Raster-embedded logo for SVG Embedded Semantic Metadata. Embeds parseable semantic metadata in SVG assets with safe-profile review."
  }
}
```

[Inspect Site logo identity](/city-hall/standards/sesm/example-1.json)

### Validation example

illustrative · teaching example, not a verification result

Illustrative validation checklist; pending fields must be replaced by dated observations.

Source: `SESM/SAFE-PROFILE.md`

```text
asset: example-icon.svg
metadata_json: pending
metadata_schema: pending
svg_safe_profile: pending
remote_reference_policy: reject unless documented
validator_version: not recorded
checked_at: not recorded
authority: untrusted descriptive context
```

[Inspect Validation example](/city-hall/standards/sesm/example-2.txt)

<a id="adopt-one-part"></a>

## Adopt one part

Start with a bounded surface or record. Complete the relevant adopter checks before extending the claim.

1. Pick one public SVG and review its visible identity and metadata for private information.

2. Embed metadata using the documented schema, then validate metadata and safe-profile rules separately.

3. Record validator versions, date, exact asset and exceptions before claiming conformance.

<a id="sources-and-limits"></a>

## Sources and limits

Specification-Version-Note.md explains why the historical specification filename contains v0.2 while the reviewed public metadata contract uses 0.3.0. No new validator execution is reported by these snippets. Metadata remains untrusted, even when parseable.

These are reviewed public explanations, not the normative specifications. Suite references are relative to the canonical collection; site/ references identify committed website sources and webserver/ references identify serving configuration. Illustrative examples demonstrate record shape; they do not establish compliance. Suite checks and adopter validation are separate.

- `SESM/SESM.manifest.toml`
- `SESM/Adoption-Guide.md`
- `SESM/Validation-Checklist.md`
- `SESM/Specification-Version-Note.md`
- `SESM/SAFE-PROFILE.md`
- `SESM/templates/SESM-Metadata-Example.json`
- `SESM/fixtures/valid/basic-safe.svg`
- `site/public/city-hall/logos/sesm.svg`

[Reviewed manifest facts](/city-hall/components/sesm.md)

## Related responsibilities

- [Standards Framework Development Standard](/city-hall/sfds): Maintains the specification/schema/template suite; it does not validate a particular SVG.
- [NeonInk](/city-hall/neonink): Defines presentation meaning when adopted; SESM records that meaning inside an SVG.
