Skip to content

Use schema to validate document.commit in knowledge is a 40 char hexadecimal SHA value #30

Open
@bjhargrave

Description

@bjhargrave

In the taxonomy repo, there is discussion about further validation of the document information in a knowledge contribution. One thing the schema can do is validate that the document.commit value is a 40 char hexadecimal SHA value.

See https://json-schema.org/understanding-json-schema/reference/string#regexp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions