validate_fssai
Check a 14-digit FSSAI license number format and verify food business operator details. Decodes state, license type, and year from the number to support compliance checks.
Instructions
Validate FSSAI (Food Safety) license number format and decode details.
Use when verifying food business operator licenses in compliance checks.
Args: license_number: 14-digit FSSAI license. Spaces/hyphens stripped.
Returns: Standard envelope with validation, state, license type, year decoded.
Notes: The 14-digit format encodes: state(2) + year(2) + type(1) + sequence(9). Type: 1=Central, 2=State, 3=State (turnover-based).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| license_number | Yes | 14-digit FSSAI license (spaces/hyphens allowed). Ex: 10019000000001 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||