Predicates/Metadata/Linking

has description

Attaches a textual description atom to the subject entity.

enshrined Metadata/Linking hasDescription

Enshrined — the object model is decided and the ID below is what every conforming app and the contract resolve.

Identity

A predicate is itself an atom. Its ID is derived from these exact bytes — the same value in your app, in anyone else's, and onchain.

predicate atom data
{
  "@context": "https://schema.org/",
  "@type": "DefinedTerm",
  "name": "has description",
  "description": "Attaches a textual description atom to the subject entity"
}
atom id 0x7026ee74d00fc4bc448cf761b239defe0165b0c5b7be2532adb5b8acae612ab4

Semantics

Market patternattributive — describes the subject

Recommended for

Classifications whose metadata vocabulary includes hasDescription:

Use it

import
// tree-shakeable: only this predicate ships in your bundle
import { hasDescriptionId } from "@0xintuition/predicates/hasDescription";

// or resolve everything from the aggregate registry
import { PREDICATE_IDS } from "@0xintuition/predicates";
PREDICATE_IDS.hasDescription; // 0x7026ee74d00fc4bc448cf761b239defe0165b0c5b7be2532adb5b8acae612ab4
make a claim
import { buildTripleByName } from "@0xintuition/primitives/triple";

const { value: triple } = buildTripleByName(
	subjectId,
	"hasDescription",
	objectId,
);
// triple.predicateId === 0x7026ee74… — resolved from the registry