Skip to content

Schema Catalogue ​

The credential type catalogue — type metadata and JSON Schemas for every `vct`. Static, public, no authentication.

Catalogue (shared by the real network and the sandbox)
https://schemas.tamga.network/v1
Authentication
None — public
Definition
OpenAPI 3.1 file · Guide

Every Tamga credential type has a URN (vct, e.g. urn:tamga:edu:DiplomaCredential:1). The catalogue maps each vct to its SD-JWT VC Type Metadata and JSON Schema (IETF SD-JWT VC registry resolution). The credential carries vct#integrity; compare it with the catalogue entry's content_hash before trusting the metadata. Files are versioned by path and never change once published; the trust lists anchor every schema's digest.

@tamga-network/schemas contains the same catalogue for offline use. The rules are in SPEC-SCHEMA-0001.

Endpoints ​

EndpointDescription
GET /catalogue.jsonGet the catalogue
GET /index.jsonGet the plain index
GET /{domain}/{type}/{version}/metadata.jsonGet a type's metadata
GET /{domain}/{type}/{version}/schema.jsonGet a type's JSON Schema

Authentication ​

No authentication: every endpoint is public.

Catalogue ​

Find a credential type and its files.

Get the catalogue ​

GET/catalogue.json

Every credential type with its metadata and schema addresses, digests and status.

Authentication None — public

Responses ​

StatusDescription
200The catalogue.

Example ​

bash
curl "https://schemas.tamga.network/v1/catalogue.json"
json
{
  "catalogue_version": 0,
  "generated_at": "2026-10-09T12:00:00Z",
  "base": "https://example.org",
  "entries": [
    {
      "vct": "urn:tamga:edu:StudentCredential:1",
      "schema_id": "…",
      "metadata_url": "https://example.org",
      "schema_url": "https://example.org",
      "content_hash": "…",
      "content_hashes": [
        "…"
      ],
      "version": "1.0.0",
      "layer": "NETWORK",
      "status": "ACTIVE"
    }
  ]
}

Get the plain index ​

GET/index.json

The catalogue entries as a plain array (no envelope).

Authentication None — public

Responses ​

StatusDescription
200Entries. Returns CatalogueEntry

Example ​

bash
curl "https://schemas.tamga.network/v1/index.json"
json
[
  {
    "vct": "urn:tamga:edu:StudentCredential:1",
    "schema_id": "…",
    "metadata_url": "https://example.org",
    "schema_url": "https://example.org",
    "content_hash": "…",
    "content_hashes": [
      "…"
    ],
    "version": "1.0.0",
    "layer": "NETWORK",
    "status": "ACTIVE"
  }
]

Get a type's metadata ​

GET/{domain}/{type}/{version}/metadata.json

SD-JWT VC Type Metadata: display names in each language, the parent type (extends + extends#integrity), the schema address with schema_uri#integrity, and claim display rules. Use the metadata_url from the catalogue rather than building the path yourself.

Authentication None — public

Parameters ​

NameInTypeDescription
domain requiredpathstring
type requiredpathstring
version requiredpathstring

Responses ​

StatusDescription
200Type Metadata.
404Unknown type or version.

Example ​

bash
curl "https://schemas.tamga.network/v1/edu/StudentCredential/1.0.0/metadata.json"
json
{
  "vct": "urn:tamga:edu:StudentCredential:1",
  "version": "1.0.0",
  "name": "Tamga Student Credential",
  "extends": "urn:tamga:core:TamgaBaseCredential:1",
  "schema_uri": "https://schemas.tamga.network/v1/edu/StudentCredential/1.0.0/schema.json",
  "display": [
    {
      "lang": "tr-TR",
      "name": "Öğrenci Belgesi"
    },
    {
      "lang": "en-US",
      "name": "Student Certificate"
    }
  ]
}

Get a type's JSON Schema ​

GET/{domain}/{type}/{version}/schema.json

The JSON Schema of the credential's claims (use the schema_url from the catalogue).

Authentication None — public

Parameters ​

NameInTypeDescription
domain requiredpathstring
type requiredpathstring
version requiredpathstring

Responses ​

StatusDescription
200JSON Schema.
404Unknown type or version.

Example ​

bash
curl "https://schemas.tamga.network/v1/edu/StudentCredential/1.0.0/schema.json"
json
{}

Objects ​

CatalogueEntry ​

FieldTypeDescription
vctstring
schema_idstringkeccak256(vct)
metadata_urlstring (uri)
schema_urlstring (uri)
content_hashstringDigest of the current metadata — equals vct#integrity in the credential.
content_hashesarray<string>Digests of the valid versions.
versionstring
layerstringOne of: NETWORK · NATIONAL
statusstring

Import the machine-readable definition into any OpenAPI tool to generate a client or send test requests: schema-catalogue.openapi.yaml.