diff --git a/schema/assets/asset.json b/schema/assets/asset.json index f39f3d1..62d4b5a 100644 --- a/schema/assets/asset.json +++ b/schema/assets/asset.json @@ -3,18 +3,15 @@ "type": "object", "title": "Asset", "allOf": [ + { + "$ref": "#/$defs/helpers/visual-object" + }, { "type": "object", "properties": { "id": { "title": "ID", "description": "Unique identifier used by layers when referencing this asset", - "type": "string", - "default": "" - }, - "nm": { - "title": "Name", - "description": "Human readable name", "type": "string" } }, diff --git a/schema/helpers/visual-object.json b/schema/helpers/visual-object.json index b9d097b..f478fc5 100644 --- a/schema/helpers/visual-object.json +++ b/schema/helpers/visual-object.json @@ -9,7 +9,7 @@ "properties": { "nm": { "title": "Name", - "description": "Name, as seen from editors and the like", + "description": "Human readable name, as seen from editors and the like", "type": "string" } },