# 4.2 Trait Map

The Trait Map is the structured representation of a pet’s visual and conceptual attributes. While traditional NFTs often treat traits as cosmetic metadata, PetVerse extends this concept to influence both presentation and behavior. The Trait Map encodes features such as species, body type, coloration, markings, accessories, and stylistic choices (e.g., cyber, fantasy, realistic), but also higher-level descriptors like “curious,” “shy,” or “protective.” These descriptors are learned or curated from user inputs and model inferences and are stored in a normalized format suitable for both AI engines and smart contracts.

From a technical standpoint, the Trait Map is represented as a keyed attribute set associated with each PET Identity. Each trait entry combines a human-readable label, a machine-readable code, and optional weight values that can be referenced by the behavior and emotion engines. This design enables the same underlying AI models to generate different outputs depending on a pet’s unique trait configuration. When third-party applications read the Trait Map, they can adapt visual rendering, sound design, or interaction patterns to align with the pet’s defined identity. Over time, certain traits may be marked as “locked” (core identity) while others remain mutable to reflect growth and customization.

* Trait Map characteristics:
* Hybrid of visual traits and personality tags
* Machine-readable structure with human-readable labels
* Partial mutability to reflect growth and upgrades
* Direct influence on generated behaviors and emotional responses

Definition: **Trait Map** — the structured set of attributes describing what the pet “is” in both visual and conceptual dimensions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.petverse.vip/4.-digital-identity-layer/4.2-trait-map.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
