From 60cb97c0c47072734d53789b6a84e123449b5611 Mon Sep 17 00:00:00 2001 From: Pavel Kornev Date: Fri, 16 Oct 2026 15:13:48 +0200 Subject: [PATCH 1/2] Rename project to "OpenAPI Extensions for SAP Ecosystem" --- .github/workflows/release.yml | 2 +- CHANGELOG.md | 6 +++++- README.md | 18 ++++++++---------- REUSE.toml | 6 +++--- package.json | 8 ++++---- sap-schemas/v2.0/README.md | 6 +++--- sap-schemas/v3.0/README.md | 6 +++--- 7 files changed, 27 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0375f5c..53fc165 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ jobs: contents: read id-token: write runs-on: ubuntu-latest - environment: npmjs:@sap/openapi-specification + environment: npmjs:@sap/openapi-extensions steps: - uses: actions/checkout@v7 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d1b1b0..038ad1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] -## [[0.16.0](https://github.com/SAP/openapi-specification/releases/tag/v0.16.0)] - 2026-09-30 +### Changed + +- Project renamed to "OpenAPI Extensions for SAP Ecosystem" and so the GitHub repository and NPM package accordingly. + +## [[0.16.0](https://github.com/SAP/openapi-extensions/releases/tag/v0.16.0)] - 2026-09-30 ### Added diff --git a/README.md b/README.md index 657f719..ab96226 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,15 @@ -[![REUSE status](https://api.reuse.software/badge/github.com/SAP/openapi-specification)](https://api.reuse.software/info/github.com/SAP/openapi-specification) +[![REUSE status](https://api.reuse.software/badge/github.com/SAP/openapi-extensions)](https://api.reuse.software/info/github.com/SAP/openapi-extensions) -# OpenAPI Specification for SAP Ecosystem +# OpenAPI Extensions for SAP Ecosystem This repository contains extensions to the original [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification) which are relevant for SAP Ecosystem and corresponding tooling. Additionally, it provides a compiled "ready to use" version of schema files which includes the original schemas with SAP-specific changes on top. -The following versions of OpenAPI Specification are supported: +The following extended versions of OpenAPI Specification are currently supported: -- [OpenAPI Specification v2.0 for SAP Ecosystem](./sap-schemas/v2.0) (based on [OpenAPI v2.0](https://spec.openapis.org/oas/v2.0), also known as Swagger 2.0) -- [OpenAPI Specification v3.0 for SAP Ecosystem](./sap-schemas/v3.0) (based on [OpenAPI v3.0.3](https://spec.openapis.org/oas/v3.0.3)) +- [OpenAPI v2.0](./sap-schemas/v2.0) (also known as Swagger 2.0) +- [OpenAPI v3.0](./sap-schemas/v3.0) -Every OpenAPI Specification for SAP Ecosystem document is also a valid OpenAPI document of a corresponding version. - -The goal of these specification is to describe SAP's extensions to OpenAPI Specifications in a standardized way. The specification are used by [SAP API Business Hub](https://api.sap.com) and other tooling in SAP Ecosystem. +The goal of these SAP-specific schemas is to describe SAP's extensions to OpenAPI Specifications in a standardized way. The schemas are used by [SAP Business Accelerator Hub](https://api.sap.com) and other tooling in SAP Ecosystem. ## Requirements @@ -57,7 +55,7 @@ OpenAPI is based on the JSON type system and uses the `format` keyword for diffe [hana]: https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/20a1569875191014b507cf392724b7eb.html [odata]: https://docs.oasis-open.org/odata/odata-csdl-json/v4.01/odata-csdl-json-v4.01.html#sec_PrimitiveTypes [formats]: https://spec.openapis.org/registry/format/index.html -[ps]: https://github.com/SAP/openapi-specification/tree/main/sap-schemas/v3.0#x-sap-precision +[ps]: https://github.com/SAP/openapi-extensions/tree/main/sap-schemas/v3.0#x-sap-precision ## How to obtain support @@ -73,4 +71,4 @@ We as members, contributors, and leaders pledge to make participation in our com ## Licensing -Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/openapi-specification). +Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/openapi-extensions). diff --git a/REUSE.toml b/REUSE.toml index 17e1620..a1b7bdc 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -1,13 +1,13 @@ version = 1 -SPDX-PackageName = "openapi-specification" +SPDX-PackageName = "openapi-extensions" SPDX-PackageSupplier = "pavel.kornev@sap.com" -SPDX-PackageDownloadLocation = "" +SPDX-PackageDownloadLocation = "" SPDX-PackageComment = "The code in this project may include calls to APIs (\"API Calls\") of\n SAP or third-party products or services developed outside of this project\n (\"External Products\").\n \"APIs\" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls." [[annotations]] path = "**" precedence = "aggregate" -SPDX-FileCopyrightText = "2026 SAP SE or an SAP affiliate company and @sap/openapi-specification contributors" +SPDX-FileCopyrightText = "2026 SAP SE or an SAP affiliate company and @sap/openapi-extensions contributors" SPDX-License-Identifier = "Apache-2.0" [[annotations]] diff --git a/package.json b/package.json index 25e5af7..a90670e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "@sap/openapi-specification", - "version": "0.16.0", - "description": "SAP OpenAPI Specification for OpenAPI v2.0 (Swagger 2.0) and OpenAPI 3.0", + "name": "@sap/openapi-extensions", + "version": "0.17.0", + "description": "OpenAPI Extensions for SAP Ecosystem", "author": "SAP SE", "license": "Apache-2.0", "main": "./dist/src/index.js", @@ -17,7 +17,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/SAP/openapi-specification.git" + "url": "git+https://github.com/SAP/openapi-extensions.git" }, "devDependencies": { "@types/lodash": "4.17.25", diff --git a/sap-schemas/v2.0/README.md b/sap-schemas/v2.0/README.md index b27fc45..13be910 100644 --- a/sap-schemas/v2.0/README.md +++ b/sap-schemas/v2.0/README.md @@ -1,8 +1,8 @@ -# SAP OpenAPI Specification v2.0 +# SAP Extensions for OpenAPI Specification v2.0 -This specification is based on [OpenAPI Specification v2.0](https://spec.openapis.org/oas/v2.0). +This extends [OpenAPI Specification v2.0](https://spec.openapis.org/oas/v2.0). -Every SAP OpenAPI Specification v2.0 document is also a valid OpenAPI v2.0 (Swagger v2.0) document. +Every OpenAPI description which comply with SAP-specific schema for OpenAPI Specification v2.0 is also a valid OpenAPI v2.0 (Swagger v2.0) document. ## Notational Conventions diff --git a/sap-schemas/v3.0/README.md b/sap-schemas/v3.0/README.md index 522978c..daf6afb 100644 --- a/sap-schemas/v3.0/README.md +++ b/sap-schemas/v3.0/README.md @@ -1,8 +1,8 @@ -# SAP OpenAPI Specification v3.0 +# SAP Extensions for OpenAPI Specification v3.0 -This specification is based on [OpenAPI Specification v3.0.3](https://spec.openapis.org/oas/v3.0.3). +This extends [OpenAPI Specification v3.0.3](https://spec.openapis.org/oas/v3.0.3). -Every SAP OpenAPI Specification v3.0 document is also a valid OpenAPI v3.0 document. +Every OpenAPI description which comply with SAP-specific schema for OpenAPI Specification v3.0 is also a valid OpenAPI v3.0 document. ## Notational Conventions From 8767b1b15647c5209727ab26454880001ac8776a Mon Sep 17 00:00:00 2001 From: Pavel Kornev Date: Fri, 16 Oct 2026 15:35:43 +0200 Subject: [PATCH 2/2] Fix grammar issues --- package-lock.json | 8 ++++---- sap-extensions/extensions.json | 10 +++++----- sap-extensions/v2.0-extensions.json | 2 +- sap-extensions/v3.0-extensions.json | 2 +- sap-schemas/v2.0/README.md | 26 +++++++++++++------------- sap-schemas/v2.0/schema.json | 12 ++++++------ sap-schemas/v3.0/README.md | 22 +++++++++++----------- sap-schemas/v3.0/schema.json | 12 ++++++------ 8 files changed, 47 insertions(+), 47 deletions(-) diff --git a/package-lock.json b/package-lock.json index cccbbc2..374e201 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@sap/openapi-specification", - "version": "0.16.0", + "name": "@sap/openapi-extensions", + "version": "0.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@sap/openapi-specification", - "version": "0.16.0", + "name": "@sap/openapi-extensions", + "version": "0.17.0", "license": "Apache-2.0", "devDependencies": { "@types/lodash": "4.17.25", diff --git a/sap-extensions/extensions.json b/sap-extensions/extensions.json index 2f1409f..334cc04 100644 --- a/sap-extensions/extensions.json +++ b/sap-extensions/extensions.json @@ -11,7 +11,7 @@ "properties": { "x-sap-dpp-entity-semantics": { "type": "string", - "description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous to x-sap-dpp-is-potentially-personal.", + "description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous with x-sap-dpp-is-potentially-personal.", "enum": [ "sap:DataSubject", "sap:DataSubjectDetails", @@ -50,7 +50,7 @@ "x-sap-dpp-is-potentially-sensitive": { "type": "boolean", "default": true, - "description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts." + "description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination of which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts." } } }, @@ -233,7 +233,7 @@ "2022-01-01", "2021-11-14" ], - "description": "Decommission date of an API (sunset data, when it will not be available anymore)." + "description": "Decommission date of an API (sunset date, when it will not be available anymore)." }, { "type": "string", @@ -242,14 +242,14 @@ "01 Jan 2022", "14 Nov 2021" ], - "description": "Decommission date of an API (sunset data, when it will not be available anymore)." + "description": "Decommission date of an API (sunset date, when it will not be available anymore)." } ] }, "successorApi": { "type": "string", "format": "uri-reference", - "description": "Provides an URL to a successor API." + "description": "Provides a URL to a successor API." } }, "additionalProperties": false diff --git a/sap-extensions/v2.0-extensions.json b/sap-extensions/v2.0-extensions.json index 801b9c6..5365015 100644 --- a/sap-extensions/v2.0-extensions.json +++ b/sap-extensions/v2.0-extensions.json @@ -88,7 +88,7 @@ "successorOperationRef": { "type": "string", "format": "uri-reference", - "description": "A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition." + "description": "A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition." }, "successorOperationId": { "type": "string", diff --git a/sap-extensions/v3.0-extensions.json b/sap-extensions/v3.0-extensions.json index 6eb0302..8e712e8 100644 --- a/sap-extensions/v3.0-extensions.json +++ b/sap-extensions/v3.0-extensions.json @@ -87,7 +87,7 @@ "successorOperationRef": { "type": "string", "format": "uri-reference", - "description": "A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition." + "description": "A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition." }, "successorOperationId": { "type": "string", diff --git a/sap-schemas/v2.0/README.md b/sap-schemas/v2.0/README.md index 13be910..5fc525e 100644 --- a/sap-schemas/v2.0/README.md +++ b/sap-schemas/v2.0/README.md @@ -2,7 +2,7 @@ This extends [OpenAPI Specification v2.0](https://spec.openapis.org/oas/v2.0). -Every OpenAPI description which comply with SAP-specific schema for OpenAPI Specification v2.0 is also a valid OpenAPI v2.0 (Swagger v2.0) document. +Every OpenAPI description which complies with the SAP-specific schema for OpenAPI Specification v2.0 is also a valid OpenAPI v2.0 (Swagger v2.0) document. ## Notational Conventions @@ -57,7 +57,7 @@ Constraints: "properties": { "resource": { "type": "string", - "description": "dentifies the target API for which the token is being requested. Ensures the token is audience-bound to this specific API. Value format: urn:sap:identity:application:provider:name:public_api:{clientId}", + "description": "Identifies the target API for which the token is being requested. Ensures the token is audience-bound to this specific API. Value format: urn:sap:identity:application:provider:name:public_api:{clientId}", "pattern": "urn:sap:identity:application:provider:name:public_api:{clientId}" }, "tenantId": { @@ -179,7 +179,7 @@ Constraints: | state | `String` | **REQUIRED**. API lifecycle state. Possible values: `Beta`, `Active`, `Deprecated`, `Decommissioned`, `Development`. Defaults to `Active` | | deprecationDate | `String` | **RECOMMENDED** if API is deprecated. Deprecation date of the API (when the deprecation process started).

The `deprecationDate` must follow the [RFC 3339 full-date](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format `yyyy-mm-dd`. For example: `2022-01-01`, `2021-11-14`

Consumers should use this date to know they should stop using this deprecated API. The provided date may be used to anticipate the decommission deadline, based on the rules for minimum lifespan (see [Deprecation Policy](https://sap.sharepoint.com/:w:/r/teams/CPAIntegration/_layouts/15/Doc.aspx?sourcedoc=%7B39FAC929-C93A-47D7-B299-3442A522F05F%7D&file=API%20Deprecation%20Policy.docx&action=default&mobileredirect=true)). | | decommissionedDate | `String` | **RECOMMENDED** if API is Deprecated. MUST be provided once known. Decommission date (aka sunset date) of the API, when it will not be available anymore.

The `decommissionedDate` must follow the [RFC 3339 full-date](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format `yyyy-mm-dd`. For example: `2022-01-01`, `2021-11-14` | - | successorApi | `Uri` | Provides an URL to a successor API | + | successorApi | `Uri` | Provides a URL to a successor API | ### `x-servers` @@ -195,11 +195,11 @@ Constraints: - Type: `Object` - Schema: - | Field Name | Type | Description | - | ----------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | url | `String` | API base URL. They URL may contain [templates](https://spec.openapis.org/oas/v2.0#path-templating). Each template variable MUST be defined in the `templates` object. | - | description | `String` | Description of the API host. | - | templates | `Object` | Defines a set of variables (placeholders) to be used in `url` field. | + | Field Name | Type | Description | + | ----------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | + | url | `String` | API base URL. The URL may contain [templates](https://spec.openapis.org/oas/v2.0#path-templating). Each template variable MUST be defined in the `templates` object. | + | description | `String` | Description of the API host. | + | templates | `Object` | Defines a set of variables (placeholders) to be used in `url` field. | **Templates schema**: @@ -279,7 +279,7 @@ Example: - Type: `String` - Format: Valid [ORD ID for API Resources](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#api-resource_ordid) - Used at: [Swagger Object](https://spec.openapis.org/oas/v2.0#swagger-object) (root level) -- Description: The ORD ID can be used to lookup more high-level metadata via Business Accelerator Hub or Unified Customer Landscape. It is also used when describing Integration Dependencies. +- Description: The ORD ID can be used to look up more high-level metadata via Business Accelerator Hub or Unified Customer Landscape. It is also used when describing Integration Dependencies. Constraints: @@ -372,7 +372,7 @@ Constraints: | Field Name | Type | Description | | --------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | deprecationDate | `String` | **REQUIRED** if API operation is deprecated. Deprecation date of the API operation (when the deprecation process started).

The `deprecationDate` must follow the [RFC 3339 full-date](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format `yyyy-mm-dd`. For example: `2022-01-01`, `2021-11-14`

Consumers should use this date to know they should stop using this deprecated API operation. | - | successorOperationRef | `Uri` | A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition. | + | successorOperationRef | `Uri` | A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition. | | successorOperationId | `String` | The name of an existing, resolvable successor API operation, as defined with a unique `operationId`. This field is mutually exclusive of the `successorOperationRef` field. | Example: @@ -614,7 +614,7 @@ Constraints: - `sap:DataSubjectDetails` - `sap:Other` - Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v2.0#schema-object) -- Description: Primary meaning of the personal data in the annotated entity set. Entities annotated with `x-sap-dpp-entity-semantics` are synonymous to `x-sap-dpp-is-potentially-personal`. +- Description: Primary meaning of the personal data in the annotated entity set. Entities annotated with `x-sap-dpp-entity-semantics` are synonymous with `x-sap-dpp-is-potentially-personal`. Constraints: @@ -643,7 +643,7 @@ Constraints: ### `x-sap-dpp-field-semantics` - Type: `String` -- Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v2.0#schema-object +- Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v2.0#schema-object) - Description: Primary meaning of the personal data contained in the annotated property. Changes to values of annotated properties are tracked in the audit log. Use this annotation also on fields that are already marked as contact or address data. Properties annotated with `x-sap-dpp-field-semantics` need not be additionally annotated with `x-sap-dpp-is-potentially-personal`. - Allowed Values: - `sap:DataSubjectID` @@ -676,7 +676,7 @@ Constraints: - Type: `Boolean` - Used at: [Schema Object](https://spec.openapis.org/oas/v2.0#schema-object) -- Description: Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination which personal data is sensitive may differ for different legal areas or industries. +- Description: Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination of which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: diff --git a/sap-schemas/v2.0/schema.json b/sap-schemas/v2.0/schema.json index e6fd3fc..d7ca72b 100644 --- a/sap-schemas/v2.0/schema.json +++ b/sap-schemas/v2.0/schema.json @@ -199,20 +199,20 @@ "type": "string", "format": "date", "examples": ["2022-01-01", "2021-11-14"], - "description": "Decommission date of an API (sunset data, when it will not be available anymore)." + "description": "Decommission date of an API (sunset date, when it will not be available anymore)." }, { "type": "string", "pattern": "^[0-9]{2} [A-Za-z]{3} [0-9]{4}$", "examples": ["01 Jan 2022", "14 Nov 2021"], - "description": "Decommission date of an API (sunset data, when it will not be available anymore)." + "description": "Decommission date of an API (sunset date, when it will not be available anymore)." } ] }, "successorApi": { "type": "string", "format": "uri-reference", - "description": "Provides an URL to a successor API." + "description": "Provides a URL to a successor API." } }, "additionalProperties": false @@ -530,7 +530,7 @@ "successorOperationRef": { "type": "string", "format": "uri-reference", - "description": "A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition." + "description": "A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition." }, "successorOperationId": { "type": "string", @@ -1340,7 +1340,7 @@ "example": {}, "x-sap-dpp-entity-semantics": { "type": "string", - "description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous to x-sap-dpp-is-potentially-personal.", + "description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous with x-sap-dpp-is-potentially-personal.", "enum": ["sap:DataSubject", "sap:DataSubjectDetails", "sap:Other"] }, "x-sap-dpp-data-subject-role": { @@ -1375,7 +1375,7 @@ "x-sap-dpp-is-potentially-sensitive": { "type": "boolean", "default": true, - "description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts." + "description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination of which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts." }, "x-sap-ai-hint": { "type": "string", diff --git a/sap-schemas/v3.0/README.md b/sap-schemas/v3.0/README.md index daf6afb..e178bf7 100644 --- a/sap-schemas/v3.0/README.md +++ b/sap-schemas/v3.0/README.md @@ -2,7 +2,7 @@ This extends [OpenAPI Specification v3.0.3](https://spec.openapis.org/oas/v3.0.3). -Every OpenAPI description which comply with SAP-specific schema for OpenAPI Specification v3.0 is also a valid OpenAPI v3.0 document. +Every OpenAPI description which complies with the SAP-specific schema for OpenAPI Specification v3.0 is also a valid OpenAPI v3.0 document. ## Notational Conventions @@ -57,7 +57,7 @@ Constraints: "properties": { "resource": { "type": "string", - "description": "dentifies the target API for which the token is being requested. Ensures the token is audience-bound to this specific API. Value format: urn:sap:identity:application:provider:name:public_api:{clientId}", + "description": "Identifies the target API for which the token is being requested. Ensures the token is audience-bound to this specific API. Value format: urn:sap:identity:application:provider:name:public_api:{clientId}", "pattern": "urn:sap:identity:application:provider:name:public_api:{clientId}" }, "tenantId": { @@ -131,10 +131,10 @@ Constraints: - Type: `Object` - Schema: - | Field Name | Type | Description | - | ---------- | -------------------- | ------------------------------------------------------------------- | - | name | `String` | **REQUIRED**. Information title | - | values | `String` or `Object` | **REQUIRED**. Object MUST follow the structure like described below | + | Field Name | Type | Description | + | ---------- | -------------------- | -------------------------------------------------------------- | + | name | `String` | **REQUIRED**. Information title | + | values | `String` or `Object` | **REQUIRED**. Object MUST follow the structure described below | - Values MUST be either a primitive string or an object of the following structure: @@ -183,7 +183,7 @@ Constraints: | state | `String` | **REQUIRED**. API lifecycle state. Possible values: `Beta`, `Active`, `Deprecated`, `Decommissioned`, `Development`. Defaults to `Active` | | deprecationDate | `String` | **RECOMMENDED** if API is deprecated. Deprecation date of the API (when the deprecation process started).

The `deprecationDate` must follow the [RFC 3339 full-date](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format `yyyy-mm-dd`. For example: `2022-01-01`, `2021-11-14`

Consumers should use this date to know they should stop using this deprecated API. The provided date may be used to anticipate the decommission deadline, based on the rules for minimum lifespan (see [Deprecation Policy](https://sap.sharepoint.com/:w:/r/teams/CPAIntegration/_layouts/15/Doc.aspx?sourcedoc=%7B39FAC929-C93A-47D7-B299-3442A522F05F%7D&file=API%20Deprecation%20Policy.docx&action=default&mobileredirect=true)). | | decommissionedDate | `String` | **RECOMMENDED** if API is Deprecated. MUST be provided once known. Decommission date (aka sunset date) of the API, when it will not be available anymore.

The `decommissionedDate` must follow the [RFC 3339 full-date](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format `yyyy-mm-dd`. For example: `2022-01-01`, `2021-11-14` | - | successorApi | `Uri` | Provides an URL to a successor API | + | successorApi | `Uri` | Provides a URL to a successor API | ### `x-sap-extensible` @@ -235,7 +235,7 @@ Example: - Type: `String` - Format: Valid [ORD ID for API Resources](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#api-resource_ordid) - Used at: [OpenAPI Object](https://spec.openapis.org/oas/v3.0.3#openapi-object) (root level) -- Description: The ORD ID can be used to lookup more high-level metadata via Business Accelerator Hub or Unified Customer Landscape. It is also used when describing Integration Dependencies. +- Description: The ORD ID can be used to look up more high-level metadata via Business Accelerator Hub or Unified Customer Landscape. It is also used when describing Integration Dependencies. Constraints: @@ -328,7 +328,7 @@ Constraints: | Field Name | Type | Description | | --------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | deprecationDate | `String` | **REQUIRED** if API operation is deprecated. Deprecation date of the API operation (when the deprecation process started).

The `deprecationDate` must follow the [RFC 3339 full-date](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format `yyyy-mm-dd`. For example: `2022-01-01`, `2021-11-14`

Consumers should use this date to know they should stop using this deprecated API operation. | - | successorOperationRef | `Uri` | A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition. | + | successorOperationRef | `Uri` | A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition. | | successorOperationId | `String` | The name of an existing, resolvable successor API operation, as defined with a unique `operationId`. This field is mutually exclusive of the `successorOperationRef` field. | Example: @@ -587,7 +587,7 @@ Constraints: - `sap:DataSubjectDetails` - `sap:Other` - Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v3.0.3#schemaObject) -- Description: Primary meaning of the personal data in the annotated entity set. Entities annotated with `x-sap-dpp-entity-semantics` are synonymous to `x-sap-dpp-is-potentially-personal`. +- Description: Primary meaning of the personal data in the annotated entity set. Entities annotated with `x-sap-dpp-entity-semantics` are synonymous with `x-sap-dpp-is-potentially-personal`. Constraints: @@ -649,7 +649,7 @@ Constraints: - Type: `Boolean` - Used at: [Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object) -- Description: Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination which personal data is sensitive may differ for different legal areas or industries. +- Description: Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination of which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: diff --git a/sap-schemas/v3.0/schema.json b/sap-schemas/v3.0/schema.json index 2947a02..0c97c04 100644 --- a/sap-schemas/v3.0/schema.json +++ b/sap-schemas/v3.0/schema.json @@ -163,20 +163,20 @@ "type": "string", "format": "date", "examples": ["2022-01-01", "2021-11-14"], - "description": "Decommission date of an API (sunset data, when it will not be available anymore)." + "description": "Decommission date of an API (sunset date, when it will not be available anymore)." }, { "type": "string", "pattern": "^[0-9]{2} [A-Za-z]{3} [0-9]{4}$", "examples": ["01 Jan 2022", "14 Nov 2021"], - "description": "Decommission date of an API (sunset data, when it will not be available anymore)." + "description": "Decommission date of an API (sunset date, when it will not be available anymore)." } ] }, "successorApi": { "type": "string", "format": "uri-reference", - "description": "Provides an URL to a successor API." + "description": "Provides a URL to a successor API." } }, "additionalProperties": false @@ -709,7 +709,7 @@ }, "x-sap-dpp-entity-semantics": { "type": "string", - "description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous to x-sap-dpp-is-potentially-personal.", + "description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous with x-sap-dpp-is-potentially-personal.", "enum": ["sap:DataSubject", "sap:DataSubjectDetails", "sap:Other"] }, "x-sap-dpp-data-subject-role": { @@ -744,7 +744,7 @@ "x-sap-dpp-is-potentially-sensitive": { "type": "boolean", "default": true, - "description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts." + "description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination of which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts." }, "x-sap-ai-hint": { "type": "string", @@ -1192,7 +1192,7 @@ "successorOperationRef": { "type": "string", "format": "uri-reference", - "description": "A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition." + "description": "A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition." }, "successorOperationId": { "type": "string",