Managing custom entity types
This article explains how to manage custom entity types. For information on managing custom entities, refer to the documentation.
Viewing custom entity types
After creating a custom entity type, you can view or edit its schema, view a list of entities of the same type, and validate the schema of entities of that type.
From the main sidebar, expand Catalogs, then select All entities.
Select the Entity types tab.
Select an entity type. A list of associated entities is displayed.
Do any or all of the following:
Select an entity to view more information about it. Learn more about the health and incident columns in Step 3 of Searching across and filtering entities.
Select the Schema tab to copy the schema to your clipboard.
Select the Schema linter tab to validate the schema for a custom entity type. See Validating an entity schema for a custom entity type for more information.
Click Edit in the upper-right corner to edit the entity type's information and schema. Note that the Identifier field is uneditable.
Click the Overflow menu to delete the entity type.
Validating an entity schema for a custom entity type
From the main sidebar, expand Catalogs, then select All entities.
Select the Entity types tab.
Select an entity type.
Select the Schema linter tab.
In the text editor, paste in your entity's JSON schema to verify that it's properly formatted for this entity type.
On the right side of the page, click Show example to see an example of how the schema should be formatted.
If you want to use the example as a starting point, click Copy example, then paste it into the text editor.
Click Validate Schema.
Using custom entity types or custom data
In some instances, you may want to use custom data instead of a custom entity type. This is recommended if you need more flexibility for these entity types; they may not always require specific metadata.
It's possible to create an entity type with an empty properties schema:
This entity type appears in catalogs, but its entities are not validated against certain specs. Use custom data to define those properties instead.
Schemas enforce static properties consistently across all entities, while custom data lets users augment and update attributes as needed.
Last updated
Was this helpful?
