mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
tests: Added tests for constants and tips checking
This commit is contained in:
39
tips/_schema.json
Normal file
39
tips/_schema.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"definitions": {},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "https://example.com/object1655988771.json",
|
||||
"title": "Root",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"tips"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"$id": "#root/name",
|
||||
"title": "Name",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"examples": [
|
||||
"Tips category"
|
||||
],
|
||||
"pattern": "^.*$"
|
||||
},
|
||||
"tips": {
|
||||
"$id": "#root/tips",
|
||||
"title": "Tips",
|
||||
"type": "array",
|
||||
"default": [],
|
||||
"items":{
|
||||
"$id": "#root/tips/items",
|
||||
"title": "Items",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"examples": [
|
||||
"Some interesting tip"
|
||||
],
|
||||
"pattern": "^.*$"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user