mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-02-12 09:08:03 +00:00
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "2176758423",
|
|
"definitions": {
|
|
"2267778531": {
|
|
"title": "struct SharedTypes::Legacy::ExpressionNode::StringRepresentation",
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"expression": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"expression",
|
|
"version"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"3178719147": {
|
|
"title": "struct SharedTypes::Legacy::ExpressionNode",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/2267778531"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Scatter Chance",
|
|
"description": "Scatter probability represented by an expression or an object with a numerator and denominator.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/3178719147"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"denominator": {
|
|
"description": "Denominator for scatter probability.",
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
},
|
|
"numerator": {
|
|
"description": "Numerator for scatter probability.",
|
|
"type": "integer",
|
|
"minimum": 1.0
|
|
}
|
|
},
|
|
"required": [
|
|
"denominator",
|
|
"numerator"
|
|
]
|
|
}
|
|
]
|
|
} |