from qgis.PyQt.QtCore import QVariant

# mapping 'type' properties
type_pyd_to_Qvar = {
    # for schema parsing
    "string": QVariant.String,
    "number": QVariant.Double,
    "integer": QVariant.Int,
    "int": QVariant.Int,
    "float": QVariant.Double,
    "array": QVariant.String,  # parse the 'items'
    "boolean": QVariant.Bool,
    "bool": QVariant.Bool,
    # aliases for typename mapping
    "str": QVariant.String,
    "datetime.datetime": QVariant.DateTime,
    "object": QVariant.String,  # parse the object
}

field_exceptions = ["vertices", "location"]


#'allof'
