# Criteria for adding and editing landmark information

The `criteria` object specifies the landmark or landmark category to add or edit.

The `criteria` object has two main properties: `Type` and `Data`. These are described in the following table.

Table: Criteria object properties
Property | Description | Type | Value
--- | --- | --- | ---
`criteria.Type` | Specifies the type of landmark information to add or edit. | string | Possible values: `"Landmark"` `"Category"`
`criteria.Data` | Specifies the information to add or edit. The exact set of properties that need to be specified depends on the type of information. Moreover: To add a new landmark or landmark category, do not specify the `Data.id` property. The system generates the new ID automatically. To edit an existing landmark or landmark category, first retrieve the correct ID using `GetList`, and then specify this ID as the `Data.id` property. Do not change the ID value. | object | Object with the properties specified below
`[criteria.Data.DatabaseURI]` | Specifies the URI of the landmark database on which the add or edit operation is performed. If this property is not specified, the operation is performed on the default database. | string | For example: `file://c:landmarks.ldb`
`criteria.Data.<property>` | Specifies one of the properties for the landmark or landmark category to add or edit: For landmark properties, see section Landmark. For landmark category properties, see section Landmark category. | (depends on the property) |