- EntityValue names can contain letters, numbers, underscores, and hyphens.
- EntityValue synonyms are a common-delimted list, e.g. “ruby, rouge, crimson”.
- Entity bindings cannot reference objects in a scene. Entities are assets and are not bound to a particular scene.
An entity asset has a single binding type. If you create a Material entity, each value will have a Material binding. A single asset cannot have multiple binding types.
That said, you can have multiple assets with the same entity name. For example, you might have two assets with the name Color. For primitives, you might use a Color entity with binding type Color, which describes many different rgb values. For dragons, you might use a Color entity with binding type Texture, which describes just three values for the textures you have available. Lexicon will merge all these color values into a single Color entity on Watson’s end. At runtime, it will correctly parse out the particular color entity an intent is expecting.