Skip to content

Commit

Permalink
Merge pull request #173 from ideditor/kh/$schema
Browse files Browse the repository at this point in the history
add `$schema` and `$id` to all json schema
  • Loading branch information
k-yle authored Dec 26, 2024
2 parents 4063c57 + 781f2f0 commit a345ed1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schemas/deprecated.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/ideditor/schema-builder/raw/main/schemas/deprecated.json",
"title": "Deprecated tags",
"description": "An ordered list of old tags mapped to new tags.",
"type": "array",
Expand Down
2 changes: 2 additions & 0 deletions schemas/discarded.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/ideditor/schema-builder/raw/main/schemas/discarded.json",
"title": "Discarded tags",
"description": "Keys of tags to be deleted when editing features.",
"type": "object",
Expand Down
2 changes: 2 additions & 0 deletions schemas/field.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/ideditor/schema-builder/raw/main/schemas/field.json",
"title": "Field",
"description": "A reusable form element for presets",
"type": "object",
Expand Down
2 changes: 2 additions & 0 deletions schemas/preset.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/ideditor/schema-builder/raw/main/schemas/preset.json",
"title": "Preset",
"description": "Associates an icon, form fields, and other UI with a set of OSM tags",
"type": "object",
Expand Down
2 changes: 2 additions & 0 deletions schemas/preset_category.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/ideditor/schema-builder/raw/main/schemas/preset_category.json",
"title": "Preset category",
"description": "An ordered grouping of presets",
"type": "object",
Expand Down
2 changes: 2 additions & 0 deletions schemas/preset_defaults.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/ideditor/schema-builder/raw/main/schemas/preset_defaults.json",
"title": "Default presets",
"description": "Directory of the IDs of the presets or categories to be shown in the default list for each geometry type.",
"type": "object",
Expand Down

0 comments on commit a345ed1

Please sign in to comment.