# `PaperTiger.Search`
[🔗](https://github.com/EnaiaInc/paper_tiger/blob/v1.2.2/lib/paper_tiger/search.ex#L1)

Shared Stripe-style search support.

This implements the same structural pieces for every search endpoint:
parsing to a small AST, validating fields against each resource's schema,
evaluating clauses over resource maps, and returning Stripe's
`search_result` pagination shape.

# `field_schema`

```elixir
@type field_schema() :: %{required(String.t()) =&gt; field_type()}
```

# `field_type`

```elixir
@type field_type() :: :numeric | :string | :token
```

---

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