# Path: safe/definitions/keyword_properties.py



from safe.definitions.concepts import concepts
from safe.definitions.field_groups import aggregation_field_groups
from safe.definitions.keyword_properties import property_layer_purpose
from safe.definitions.layer_geometry import (
    layer_geometry_raster,
    layer_geometry_line,
    layer_geometry_point,
    layer_geometry_polygon
)
from safe.utilities.i18n import tr

layer_purpose_nearby_places = {
    'key': 'nearby_places',
    'name': tr('Nearby Places'),
    'description': tr('Lorem ipsum on the nearby places layers.'),
    'allowed_geometries': [layer_geometry_point],
    'citations': [
        {
            'text': None,
            'link': None
        }
    ]
}

layer_purpose_earthquake_contour = {
    'key': 'earthquake_contour',
    'name': tr('Earthquake Contour'),
    'description': tr('A contour of a hazard earthquake'),
    'allowed_geometries': [layer_geometry_line],
    'citations': [
        {
            'text': None,
            'link': None
        }
    ]
}

layer_purpose = {
    'key': 'layer_purpose',
    'name': tr('Purpose'),

# Path: safe/definitions/keyword_properties.py



# Path: safe/definitions/layer_purposes.py
from safe.definitions.concepts import concepts
from safe.definitions.field_groups import aggregation_field_groups
from safe.definitions.keyword_properties import property_layer_purpose
from safe.definitions.layer_geometry import (
    layer_geometry_raster,
    layer_geometry_line,
    layer_geometry_point,
    layer_geometry_polygon
)
from safe.utilities.i18n import tr


layer_purpose_nearby_places = {
    'key': 'nearby_places',
    'name': tr('Nearby Places'),
    'description': tr('Lorem ipsum on the nearby places layers.'),
    'allowed_geometries': [layer_geometry_point],
    'citations': [
        {
            'text': None,
            'link': None
        }
    ]
}

layer_purpose_earthquake_contour = {
    'key': 'earthquake_contour',
    'name': tr('Earthquake Contour'),
    'description': tr('A contour of a hazard earthquake'),
    'allowed_geometries': [layer_geometry_line],
    'citations': [
        {
            'text': None,
            'link': None
        }
    ]
}

layer_purpose = {
    'key': 'layer_purpose',
    'name': tr('Purpose'),

    'description': property_layer_purpose['description'],