schema.resourceschema.profile.md

October 26, 2023 ยท View on GitHub

Home > @datashaper/schema > ResourceSchema > profile

ResourceSchema.profile property

Defines the resource type. Known resource types should have accompanying processors and rendering components. Unknown resource types can be interrogated to determine if the format is understandable by an existing component. Note that this could be inferred from $schema, but a simple string here is easier to deal with in code.

Signature:

profile?: Profile;