Source code for plistrc.resources

"""Property list resources."""


[docs] class PropertyDefinition: """Property definition. Attributes: key_path (str): key path of the property. name (str): name of the property. schema (list[PropertyDefinition]): schema of the property. value_type (str): value type of the property. """
[docs] def __init__(self): """Initializes a property definition.""" super().__init__() self.key_path = None self.name = None self.schema = [] self.value_type = None
[docs] class PropertyListDefinition: """Property list definition. Attributes: artifact_definition (str): name of the corresponding Digital Forensics Artifact definition. property_list_identifier (str): identifier of the property list. """
[docs] def __init__(self): """Initializes a property list definition.""" super().__init__() self.artifact_definition = None self.property_list_identifier = None