|
|
@@ -8,19 +8,19 @@
|
|
|
"oneOf":[
|
|
|
{
|
|
|
"properties":{
|
|
|
- "@type": {"enum": ["Line"]},
|
|
|
+ "@type": {"const": "Line"},
|
|
|
"distance": {"type": "integer"}
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"properties":{
|
|
|
- "@type": {"enum": ["Emission"]},
|
|
|
+ "@type": {"const": "Emission"},
|
|
|
"emit": {"enum": ["BURST", "EMANATION", "SPREAD", "NONE"]}
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"properties":{
|
|
|
- "@type": {"enum": ["Sphere"]},
|
|
|
+ "@type": {"const": "Sphere"},
|
|
|
"radius": {"type": "integer"},
|
|
|
"emit": {"enum": ["BURST", "EMANATION", "SPREAD", "NONE"]},
|
|
|
"aroundYou": {"type": "boolean"}
|
|
|
@@ -28,7 +28,7 @@
|
|
|
},
|
|
|
{
|
|
|
"properties":{
|
|
|
- "@type": {"enum": ["Cylinder"]},
|
|
|
+ "@type": {"const": "Cylinder"},
|
|
|
"radius": {"type": "integer"},
|
|
|
"height": {"type": "integer"}
|
|
|
}
|