validate_tag_collection
Validate complete OpenStreetMap tag collections against the tagging schema to check for deprecated tags, identify conflicts, and ensure compatibility before uploading or analyzing data quality.
Instructions
Validate a complete collection of OpenStreetMap tags (e.g., all tags for a feature) against the OSM tagging schema. Performs batch validation of multiple tag pairs, checks for deprecated tags across the entire collection, identifies conflicting or incompatible tags, and validates tag combinations. Returns comprehensive validation results for all tags with individual validation status, deprecation warnings, and collection-level issues. Use this to validate complete features before uploading to OSM or for data quality analysis of existing features.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | A collection of OpenStreetMap tags to validate. Accepts three formats: 1) JSON object ({"amenity": "restaurant", "name": "Example"}), 2) JSON string ('{"amenity":"parking"}'), or 3) flat text format (amenity=restaurant\nname=Example). All tags in the collection will be validated individually and as a set to identify conflicts or missing required tags. | |
| options | No | Options to control validation output detail and summary generation. |