## Context
**馃搷KR: In order to better understand the needs of our users on the visibility of the Wikibase instances available on the ecosystem, we deliver a prototype, by the end of Q2, that facilitates ecosystem-wide discovery of stable Wikibases that are intended for federation and reuse by wider audiences.**
The Suite team is building a prototype for a tool that facilitates discovery of Wikibases in the ecosystem (analog of Cloud's [[ https://www.wikibase.cloud/discovery | discovery page ]], but with known Suite instances included). The scope of the prototype includes possibility to recognize instances that are intended by their managers for federation and reuse by wider audiences.
As part of the data governance process, the Cloud team is planning to implement [a question](https://docs.google.com/document/d/1Vdsfwj7M8lkoNu1bA1HC4CRfipd3yW5UblgH0DTq3-s/edit?tab=t.kyvu5vllt69#bookmark=id.3fbfn67vmk7e) that explicitly asks the manager whether they believe the instance is intended for reuse / intended, but not ready for reuse / not intended for reuse / unsure. This work is planned when the Wiki profile implementation starts (see [Iteration 1](https://docs.google.com/document/d/1Vdsfwj7M8lkoNu1bA1HC4CRfipd3yW5UblgH0DTq3-s/edit?tab=t.pnbwvcbn5tvh#bookmark=id.ebs64dyh5k4v)).
Until then, for the purposes of the prototype, we would like to return a flag that is an approximation of the manager's intent based on the data we already collect in the **Intended Use** section of the wiki profile:
- data hub
- permanent
- intended for wider audience.
The prototype currently gets metadata on Cloud instances from the Cloud's discovery page API.
## Story
As a reuser navigating the Wikibase Ecosystem,
I would like to discover and recognize instances intended for reuse and federation by their managers,
In order to understand which data I can confidently rely on in my projects.
## Acceptance Criteria
[ ] The [discovery page API](https://www.wikibase.cloud/api/wiki?sort=pages&direction=desc&page=1&per_page=2000) returns one additional flag per instance: `reuse_prototype`.
[ ] The flag is 1 if the instance has:
- purpose = data_hub
- lifespan = permanent
- audience = wide
[ ] The flag is 0 othewise.
## Notes
The flag will be replaced in the future with the one reflecting the answer of the manager to an explicit question. We might also choose to expose it through a different API. This solution is temporary and good enough for the prototype for now to support Suite achieve their learning goals when they validate the prototype with users.