メインコンテンツへスキップ
Z

What is UUID?

A UUID (Universally Unique Identifier), also called a GUID, is a 128-bit identifier written as 32 hexadecimal digits in five groups (8-4-4-4-12). UUIDs are generated to be unique across space and time without a central authority, so different systems can create IDs that practically never collide.

A UUID looks like 550e8400-e29b-41d4-a716-446655440000. The most common is version 4, which is random; other versions derive from time, namespace or a hash. With 122 random bits, accidental collisions are astronomically unlikely.

UUIDs are used as database primary keys, distributed-system identifiers and idempotency keys — anywhere you need a unique ID without coordinating with a central counter.

UUID tools

よくある質問

どんなドットパスが使えますか?

<code class="font-mono text-xs">faker.*</code> 配下にあるものならすべて利用できます。例えば <code class="font-mono text-xs">person.firstName</code>、<code class="font-mono text-xs">company.name</code>、<code class="font-mono text-xs">finance.iban</code>、<code class="font-mono text-xs">date.past</code> などです。完全な一覧はfaker.jsの公式ドキュメントを参照してください。

パラメータを渡すことはできますか?

はい、丸括弧内にパラメータオブジェクトを指定できます。例:<code class="font-mono text-xs">number.int({min:1,max:100})</code> や <code class="font-mono text-xs">helpers.arrayElement(["a","b","c"])</code> のように記述します。

このデータはどこから取得されますか?

すべてお使いのブラウザ内で処理されます。faker.jsがローカルでデータを生成するため、APIへの通信は一切発生しません。スキーマと生成データがデバイスの外に出ることはありません。