Skip to content

Broken Data Integrity due to Lack of Schema Validation #3445

@ShubhamMalekar

Description

@ShubhamMalekar

Problem: Profiles are stored in a flat JSON file without any schema enforcement. Contributors may push invalid data (e.g., wrong country codes, broken image links, inconsistent role formats). This silently breaks UI components.

Solution: Introduce a JSON Schema (AJV or Zod) for persons.json. Add pre-commit GitHub Action to validate PR data before merge. Ensure proper error messages for contributors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions