> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/contributor/contributor-pt/conteudo/collections.md).

# Coleções

Collections são grupos de [wearables](/contributor/contributor-pt/conteudo/tipos-de-entity/wearables.md) e [emotes](/contributor/contributor-pt/conteudo/tipos-de-entity/emotes.md) definidos no mesmo namespace off-chain ou contrato on-chain.

Eles não são [entidades](https://github.com/decentraland/docs/tree/main/contributor/entities.md) por si só, mas os seus itens individuais podem ser obtidos de content servers normalmente usando [ponteiros](https://github.com/decentraland/docs/tree/main/contributor/pointers.md).

### URNs and Pointers <a href="#pointers" id="pointers"></a>

Collections são identificadas usando URNs, que são prefixos para as URNs dos seus itens. Existem 4 tipos gerais de URNs:

* `v1` collections com conteúdo aprovado pela Foundation (deprecated).
* `v2` collections com conteúdo aprovado pela comunidade.
* `thirdparty` collections com itens associados a NFTs fora de Decentraland.
* `off-chain` collections, contendo principalmente itens padrão para novos avatars.

{% hint style="info" %}
Apesar do facto de que `v1` collections estão deprecated e já não serão criadas nem atualizadas, continuam válidas e os seus itens podem ser usados.
{% endhint %}

#### Collections das versões 1 e 2

Tanto o antigo `v1` como o atual `v2` namespaces de collections têm URNs da mesma forma:

```
urn:decentraland:<blockchain>:<collections-version>:<contract-address>
```

Por exemplo:

```
# Uma collection no espaço v1 deprecated:
urn:decentraland:mainnet:collections-v1:DCL Test Masks

# Uma collection no espaço v2 aprovado pela comunidade:
urn:decentraland:matic:collections-v2:0x25a1d66891d44cdf7b8c45802489c1dea7aadf8b
```

Se o `:<id>` segmento for acrescentado no final, a URN torna-se uma [pointer](https://github.com/decentraland/docs/tree/main/contributor/pointers.md) para um item dentro da collection. Consulte [wearable pointers](/contributor/contributor-pt/conteudo/tipos-de-entity/wearables.md#pointers) e [emote pointers](/contributor/contributor-pt/conteudo/tipos-de-entity/emotes.md#pointers) para informação sobre estes.

#### Collections de terceiros

As third-party collections, também conhecidas como [linked wearables](https://github.com/decentraland/docs/tree/main/contributor/wearables-and-emotes/wearables/linked-wearables.md), são diferentes dos wearables normais, pois estão ligadas a NFTs existentes fora de Decentraland. Elas permitem que os players exibam NFTs do seu conjunto pessoal nos seus avatars in-world.

As suas URNs têm este aspeto:

```
urn:decentraland:<blockchain>:collections-thirdparty:<third-party-id>:<collection-id>
```

Pode encontrar muitas informações sobre estas na [linked wearables](https://github.com/decentraland/docs/tree/main/contributor/wearables-and-emotes/wearables/linked-wearables.md) documentação para criadores.

### Descobrir Collections

Os content servers podem fornecer-lhe uma lista de todas as collections conhecidas, usando o [`/lambdas/collections`](https://decentraland.github.io/catalyst-api-specs/#tag/Lambdas/operation/getCollections) endpoint.

A resposta será um objeto com uma `collections` propriedade, contendo um array de URNs e nomes. Por exemplo:

```json
{
  "collections": [
    {
      "id": "urn:decentraland:amoy:collections-v2:0xff5d4ebc6bc1ff7262cab42d3c693d953f4614d2",
      "name": "Coleção de roupas de inverno"
    },
    // ... muitas mais
  ]
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/contributor/contributor-pt/conteudo/collections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
