diff --git a/.changeset/shaggy-crabs-return.md b/.changeset/shaggy-crabs-return.md new file mode 100644 index 0000000000..afd1f74ef5 --- /dev/null +++ b/.changeset/shaggy-crabs-return.md @@ -0,0 +1,5 @@ +--- +'@backstage/catalog-model': patch +--- + +Added targetRef to common.schema.json to match the Typescript type diff --git a/packages/catalog-model/src/schema/shared/common.schema.json b/packages/catalog-model/src/schema/shared/common.schema.json index a9082d53e4..5a5eb97bb7 100644 --- a/packages/catalog-model/src/schema/shared/common.schema.json +++ b/packages/catalog-model/src/schema/shared/common.schema.json @@ -43,6 +43,11 @@ }, "target": { "$ref": "#reference" + }, + "targetRef": { + "type": "string", + "minLength": 1, + "description": "The entity ref of the target of this relation." } } },