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

@@ -8,9 +8,17 @@
"definitions": {
"integer_range": {
"title": "Range",
"examples": [-1, { "range_min": 4, "range_max": 7 }],
"examples": [
-1,
{
"range_min": 4,
"range_max": 7
}
],
"oneOf": [
{ "type": "integer" },
{
"type": "integer"
},
{
"type": "object",
"properties": {
@@ -34,7 +42,6 @@
"properties": {
"mutation_rate": {
"type": "number",
"description": "Chance that an allele will be replaced with a random one instead of the parent's allele during birth.",
"title": "Mutation Rate"
},
@@ -92,5 +99,11 @@
}
}
}
}
},
"examples": [
{
"mutation_rate": 0.0,
"genes": []
}
]
}