Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > JsonSchema > shortName

JsonSchema.shortName property

Returns a short name for this schema, for use in error messages.

Signature:

get shortName(): string;

Remarks

If the schema was loaded from a file, then the base filename is used. Otherwise, the "id" field is used if available.