diff --git a/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossary.json b/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossary.json index e1feb966c72..d7eb80a7027 100644 --- a/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossary.json +++ b/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossary.json @@ -1,41 +1,41 @@ { - "$id": "https://open-metadata.org/schema/api/data/createGlossary.json", - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Create Glossary entity request", - "description": "Create Glossary entity request", - "type": "object", - "properties" : { - "name": { - "description": "Name that identifies this glossary.", - "$ref": "../../entity/data/glossary.json#/definitions/name" - }, - "displayName": { - "description": "Display Name that identifies this glossary.", + "$id": "https://open-metadata.org/schema/api/data/createGlossary.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "CreateGlossaryRequest", + "description": "Create Glossary entity request", + "type": "object", + "properties": { + "name": { + "description": "Name that identifies this glossary.", + "$ref": "../../entity/data/glossary.json#/definitions/name" + }, + "displayName": { + "description": "Display Name that identifies this glossary.", + "type": "string" + }, + "description": { + "description": "Description of the glossary instance.", + "type": "string" + }, + "reviewers": { + "description": "User names of the reviewers for this glossary.", + "type": "array", + "items": { "type": "string" - }, - "description": { - "description": "Description of the glossary instance.", - "type": "string" - }, - "reviewers": { - "description": "User names of the reviewers for this glossary.", - "type": "array", - "items" : { - "type": "string" - } - }, - "owner": { - "description": "Owner of this glossary", - "$ref": "../../type/entityReference.json" - }, - "tags": { - "description": "Tags for this glossary", - "type": "array", - "items": { - "$ref": "../../type/tagLabel.json" - }, - "default": null } }, - "required": ["name"] - } \ No newline at end of file + "owner": { + "description": "Owner of this glossary", + "$ref": "../../type/entityReference.json" + }, + "tags": { + "description": "Tags for this glossary", + "type": "array", + "items": { + "$ref": "../../type/tagLabel.json" + }, + "default": null + } + }, + "required": ["name"] +} diff --git a/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossaryTerm.json b/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossaryTerm.json index 8d45c40d8eb..45ba01b40c4 100644 --- a/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossaryTerm.json +++ b/catalog-rest-service/src/main/resources/json/schema/api/data/createGlossaryTerm.json @@ -1,15 +1,15 @@ { - "$id": "https://open-metadata.org/schema/api/data/createGlossary.json", + "$id": "https://open-metadata.org/schema/api/data/createGlossaryTerm.json", "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Create Glossary entity request", - "description": "Create Glossary entity request", + "title": "CreateGlossaryTermRequest", + "description": "Create Glossary term entity request", "type": "object", "properties": { - "glossary" : { + "glossary": { "description": "Reference to the glossary that this term is part of.", "$ref": "../../type/entityReference.json" }, - "parent" : { + "parent": { "description": "Reference to the parent glossary term. When null, the term is at the root of the glossary.", "$ref": "../../type/entityReference.json" }, @@ -57,8 +57,5 @@ "default": null } }, - "required": [ - "glossary", - "name" - ] -} \ No newline at end of file + "required": ["glossary", "name"] +}