Skip to content

Commit

Permalink
version all schemas to v1 (#220)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomás Ciccola <[email protected]>
  • Loading branch information
tomasciccola and Tomás Ciccola authored Aug 26, 2024
1 parent 946ca92 commit 862e6a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 862e6a9

Please sign in to comment.