Clean up json-schema ids (#3164)

There are mixed schema uris:
https://open-metadata.org/schema
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema

Standardize on the former
This commit is contained in:
Matt 2022-03-04 21:11:16 -08:00 committed by GitHub
parent 2c176d7882
commit f78a1447fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/catalogVersion.json",
"$id": "https://open-metadata.org/schema/api/catalogVersion.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CatalogVersion",
"description": "Catalog application software version",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/data/createDatabase.json",
"$id": "https://open-metadata.org/schema/api/data/createDatabase.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateDatabaseRequest",
"description": "Create Database entity request",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/data/createTable.json",
"$id": "https://open-metadata.org/schema/api/data/createTable.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateTableRequest",
"description": "Schema corresponding to a table that belongs to a database",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/data/createTopic.json",
"$id": "https://open-metadata.org/schema/api/data/createTopic.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateTopicRequest",
"description": "Create a topic entity request",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/feed/createThread.json",
"$id": "https://open-metadata.org/schema/api/feed/createThread.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateThreadRequest",
"description": "Create thread request",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/setOwner.json",
"$id": "https://open-metadata.org/schema/api/setOwner.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SetOwnershipRequest",
"description": "Set ownership for a given entity",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/tags/createTag.json",
"$id": "https://open-metadata.org/schema/api/tags/createTag.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateTagRequest",
"description": "Create tag API request",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/tags/createTagCategory.json",
"$id": "https://open-metadata.org/schema/api/tags/createTagCategory.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateTagCategoryRequest",
"description": "Create tag category request",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/teams/createRole.json",
"$id": "https://open-metadata.org/schema/api/teams/createRole.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateRoleRequest",
"description": "Request for creating a Role entity",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/teams/createTeam.json",
"$id": "https://open-metadata.org/schema/api/teams/createTeam.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateTeamRequest",
"description": "Team entity",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/teams/createUser.json",
"$id": "https://open-metadata.org/schema/api/teams/createUser.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateUserRequest",
"description": "Request to create User entity",

View File

@ -1,5 +1,5 @@
{
"$id": "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/type/include.json",
"$id": "https://open-metadata.org/schema/type/include.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Include",
"description": "GET entity by id, GET entity by name, and LIST entities can include deleted or non-deleted entities using the parameter include",