Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:10:42 +02:00
parent f188cfa6ee
commit 67ccb3d2d1
134 changed files with 2414 additions and 385 deletions

View File

@@ -6,14 +6,22 @@
"title": "Health",
"additionalProperties": false,
"required": [],
"dependencies": { "max": ["value"] },
"dependencies": {
"max": ["value"]
},
"properties": {
"max": { "type": "integer", "description": "The maximum health the entity can heal", "title": "Maximum" },
"max": {
"type": "integer",
"description": "The maximum health the entity can heal",
"title": "Maximum"
},
"value": {
"description": "Current health of the entity",
"title": "Value",
"oneOf": [
{ "type": "integer" },
{
"type": "integer"
},
{
"type": "object",
"additionalProperties": false,
@@ -35,5 +43,10 @@
}
]
}
}
},
"examples": [
{
"max": 0
}
]
}