Class: QgsNativeProjectMetadataValidator

class qgis.core.QgsNativeProjectMetadataValidator

Bases: QgsNativeMetadataBaseValidator

A validator for the native QGIS project metadata schema definition.

New in version 3.2.

QgsNativeProjectMetadataValidator() Constructor for QgsNativeProjectMetadataValidator.

QgsNativeProjectMetadataValidator(QgsNativeProjectMetadataValidator)

Methods

validate

param metadata

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

metadata (QgsAbstractMetadataBase) –

Return type

Tuple[bool, List[QgsAbstractMetadataBaseValidator.ValidationResult]]