# `IDUtils.Schemes.ISNI`
[🔗](https://github.com/moefuerst/id_utils/blob/v0.1.0/lib/id_utils/schemes/isni.ex#L1)

ISNI (International Standard Name Identifier) scheme.

See https://en.wikipedia.org/wiki/International_Standard_Name_Identifier

# `build_uri`

Builds a URI for the given ISNI.

## Examples

    iex> IDUtils.Schemes.ISNI.build_uri("000000012146438X")
    {:ok, %URI{scheme: "https", host: "isni.org", path: "/isni/000000012146438X", port: 443}}

# `match?`

Checks whether a string is an ISNI.

## Examples

    iex> IDUtils.Schemes.ISNI.match?("000000012146438X")
    true

    iex> IDUtils.Schemes.ISNI.match?("0000000121464380")
    false

# `normalize`

Normalizes an ISNI.

## Examples

    iex> IDUtils.Schemes.ISNI.normalize("ISNI 0000 0001 2146 438X")
    {:ok, "000000012146438X"}

    iex> IDUtils.Schemes.ISNI.normalize("https://isni.org/isni/000000012146438X")
    {:ok, "000000012146438X"}

    iex> IDUtils.Schemes.ISNI.normalize("0000 0001 2146 438X")
    {:ok, "000000012146438X"}

# `prefix?`

```elixir
@spec prefix?(binary()) :: boolean()
```

Checks whether a string starts with an ISNI prefix.

## Examples

    iex> IDUtils.Schemes.ISNI.prefix?("https://isni.org/isni/000000012146438X")
    true

    iex> IDUtils.Schemes.ISNI.prefix?("ISNI 0000 0001 2146 438X")
    true

    iex> IDUtils.Schemes.ISNI.prefix?("000000012146438X")
    false

---

*Consult [api-reference.md](api-reference.md) for complete listing*
