CSVW RDF Convertor - Documentation
    Preparing search index...
    • Validates the inherited properties of a CSVW descriptor object.

      This function checks the structure and values of the provided props object against the predefined schema for inherited properties. It ensures that the properties conform to the expected types and constraints. Additionally, it validates specific properties (valueUrl, propertyUrl, aboutUrl) to ensure they are strings, issuing warnings and resetting invalid values if necessary. The datatype property is also validated using a dedicated function.

      Parameters

      • props: CsvwInheritedProperties

        The inherited properties object to validate.

      • message: string

        A descriptive message used for logging validation issues.

      • ctx: ValidationContext

        The context object containing the issue tracker and other utilities.

      Returns void