> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/sanitation/water-sanitation-product-suite/waste-management-system/faecal-sludge-management-fsm/sanitation-worker-welfare/vendor-registry.md).

# Vendor Registry

## Overview

As part of the worker welfare v1.0, a new worker registry concept is being introduced. The creation of a worker, updation of details, searching and tagging a worker for different operations on sanitation programmes will be covered. We will leverage the Individual Registry for storing and querying details about a worker.&#x20;

The individual service is an enhanced version of the user service that houses data about individuals. The individual service is being re-used from [DIGIT Health](https://health.digit.org/).

Click [here](https://health.digit.org/platform/architecture/low-level-design/registries/individual) to access the Individual Service.

## Architecture Diagram

<figure><img src="/files/Y1jcXDwc1IS2gvhR9spA" alt=""><figcaption></figcaption></figure>

## Vendor Registry

#### Changes from Version 1.3.1 is 1.4.0

1. Change from driver concept to worker.
2. Deprecation of the driver table.
3. Backward compatibility for existing drivers (converting a driver user into an individual and mapping/backfilling to vendors).
4. Introducing worker vendor mapping.
5. Creation of workers directly using Individual registry APIs.

## API Specification

[Vendor\_Registration\_Contract.yaml](https://raw.githubusercontent.com/egovernments/SANITATION/sanitation_v1.4_api_contracts/API-CONTRACTS/fsm/Vendor_Registration_Contract.yaml?token=GHSAT0AAAAAACGUKWUFSEN4KJFWGCJW6P5OZINGSVA)

## ER Diagram

<figure><img src="/files/yY8PTF6U7ZGLmE7sEjry" alt=""><figcaption></figcaption></figure>

## Sequence Diagram

#### **Create Worker**

<figure><img src="/files/Rm7p5TqUkHU5kf73TwP7" alt=""><figcaption></figcaption></figure>

#### **Update Vendor**

<figure><img src="/files/CsLsYUq4ga4Hn1VtzF4S" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.digit.org/sanitation/water-sanitation-product-suite/waste-management-system/faecal-sludge-management-fsm/sanitation-worker-welfare/vendor-registry.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
