Class: QgsNativeMetadataValidator

class qgis.core.QgsNativeMetadataValidator

Bases: QgsNativeMetadataBaseValidator

A validator for the native QGIS layer metadata schema definition.

New in version 3.0.

QgsNativeMetadataValidator() Constructor for QgsNativeMetadataValidator.

QgsNativeMetadataValidator(QgsNativeMetadataValidator)

Methods

validate

param metadata

validate(self, metadata: QgsAbstractMetadataBase)Tuple[bool, List[QgsAbstractMetadataBaseValidator.ValidationResult]]
Parameters

metadata (QgsAbstractMetadataBase) –

Return type

Tuple[bool, List[QgsAbstractMetadataBaseValidator.ValidationResult]]