From ec90d8d5e51910dd56c4fe72e211785a43eda73a Mon Sep 17 00:00:00 2001 From: Pham Huu Hien Date: Wed, 9 Jun 2021 23:19:21 +0700 Subject: [PATCH] docs: change field name from id to $id in schema.json file (#42528) fix error "SchematicsMyService" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID. PR Close #42528 --- .../projects/my-lib/schematics/my-service/schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/examples/schematics-for-libraries/projects/my-lib/schematics/my-service/schema.json b/aio/content/examples/schematics-for-libraries/projects/my-lib/schematics/my-service/schema.json index 7ea68d3b62..672069b27f 100644 --- a/aio/content/examples/schematics-for-libraries/projects/my-lib/schematics/my-service/schema.json +++ b/aio/content/examples/schematics-for-libraries/projects/my-lib/schematics/my-service/schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/schema", - "id": "SchematicsMyService", + "$id": "SchematicsMyService", "title": "My Service Schema", "type": "object", "properties": { @@ -25,4 +25,4 @@ "required": [ "name" ] -} \ No newline at end of file +}