# `Jido.Character.Schema.Trait`
[🔗](https://github.com/agentjido/jido_character/blob/v1.0.0/lib/jido_character/schema/trait.ex#L1)

Personality trait with optional intensity (0.0-1.0).

# `t`

```elixir
@type t() :: %Jido.Character.Schema.Trait{intensity: float(), name: binary()}
```

# `new`

```elixir
@spec new(map()) :: {:ok, t()} | {:error, term()}
```

# `new!`

```elixir
@spec new!(map()) :: t()
```

# `schema`

Returns the Zoi schema for Trait

---

*Consult [api-reference.md](api-reference.md) for complete listing*
