Link a collection or specific token to a schema so the Asset Registry can validate and generate the Asset Tree.
registerTokenSchema
to attach a schema at the collection level (omit or set tokenId
to null
). This supersedes the deprecated registerCollection
mutation.
createSchema
.registerOffChainAsset
, link its collection (or optionally a specific off-chain NFT token) to a schema using the same registerTokenSchema
mutation. Off-chain collection IDs use the pattern:
off-chain:{creatorId}:{creatorCollectionId}
(collection-wide)
and individual NFT tokens may add a token segment when referencing the asset itself, but schema linkage for token-level overrides still supplies the collection ID plus a tokenId value (mirroring on-chain semantics).
did:fv-asset:off-chain:...
DID. Use the raw off-chain collection ID (off-chain:...:...
) and, for token-level overrides, the tokenId
you used during registerOffChainAsset
.tokenId
) requires a divergent schema:
registerCollection
is deprecated and will be / has been removed. Use registerTokenSchema
for all new integrations.