Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: version all schemas to v1 #220

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schema/field/v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://mapeo.world/schemas/field/v2.json",
"$id": "http://mapeo.world/schemas/field/v1.json",
"title": "Field",
"description": "A field defines a form field that will be shown to the user when creating or editing a map entity. Presets define which fields are shown to the user for a particular map entity. The field definition defines whether the field should show as a text box, multiple choice, single-select, etc. It defines what tag-value is set when the field is entered.",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion schema/icon/v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://mapeo.world/schemas/icon/v2.json",
"$id": "http://mapeo.world/schemas/icon/v1.json",
"title": "Icon",
"description": "An Icon represents metadata to retrieve an Icon blob",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion schema/observation/v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://mapeo.world/schemas/observation/v5.json",
"$id": "http://mapeo.world/schemas/observation/v1.json",
"title": "Observation",
"description": "An observation is something that has been observed at a particular time and place. It is a subjective statement of 'I saw/heard this, here'",
"definitions": {
Expand Down
2 changes: 1 addition & 1 deletion schema/preset/v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://mapeo.world/schemas/preset/v2.json",
"$id": "http://mapeo.world/schemas/preset/v1.json",
"title": "Preset",
"description": "Presets define how map entities are displayed to the user. They define the icon used on the map, and the fields / questions shown to the user when they create or edit the entity on the map. The `tags` property of a preset is used to match the preset with observations, nodes, ways and relations. If multiple presets match, the one that matches the most tags is used.",
"definitions": {
Expand Down
Loading