Separating ui file into its components
This commit is contained in:
17
source/resource/ui/elements/properties/texture.json
Normal file
17
source/resource/ui/elements/properties/texture.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"title": "Texture",
|
||||
"description": "The texture to display.",
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^textures/[a-zA-Z0-9/_-]+$",
|
||||
"examples": ["textures/ui/file"]
|
||||
},
|
||||
{
|
||||
"$ref": "../../general/item_ref.json"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user