diff --git a/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode-aas.xml b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode-aas.xml new file mode 100644 index 000000000..48563a69f --- /dev/null +++ b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode-aas.xml @@ -0,0 +1,514 @@ + + + + + defaultAdminShell + + + en + defaultAdminShell + + + + urn:samm:io.catenax.traction_battery_code:2.0.0#TractionBatteryCode + + Type + + + + ModelReference + + + Submodel + urn:samm:io.catenax.traction_battery_code:2.0.0#TractionBatteryCode/submodel + + + + + + + + + TractionBatteryCode + + + en + The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). + + + + urn:samm:io.catenax.traction_battery_code:2.0.0#TractionBatteryCode/submodel + Template + + ModelReference + + + ConceptDescription + urn:samm:io.catenax.traction_battery_code:2.0.0#TractionBatteryCode + + + + + + ExternalReference + + + GlobalReference + https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D818B4D3A7E05397BE0A0AB82A + + + + + + + tractionBatteryCode + + + en + Traction Battery Code + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.traction_battery_code:2.0.0#tractionBatteryCode + + + + xs:string + + + + subcomponents + + + en + Subcomponents + + + + + en + Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows: + +If this traction battery code is given for a cell subcomponents are not required. +If this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents. +If this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively). + + + true + DataElement + + + TractionBatteryComponent + + + en + Battery Component + + + + + en + A battery component like a cell or a module. + + + + + tractionBatteryCode + + + en + Traction Battery Code + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.traction_battery_code:2.0.0#tractionBatteryCode + + + + xs:string + + + + productType + + + en + Product Type + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.traction_battery_code:2.0.0#productType + + + + xs:string + + + + + + + + productType + + + en + Product Type + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.traction_battery_code:2.0.0#productType + + + + xs:string + + + + + + + + APPLICATION_CLASS + TractionBatteryCode + + + en + Traction Battery Code + + + + + en + The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). + + + urn:samm:io.catenax.traction_battery_code:2.0.0#TractionBatteryCode + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Traction Battery Code + + + + + en + TractionBatteryCode + + + + + en + The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). + + + + + + + + + tractionBatteryCode + + + en + Traction Battery Code + + + urn:samm:io.catenax.traction_battery_code:2.0.0#tractionBatteryCode + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Traction Battery Code + + + + + en + tractionBatteryCode + + + STRING + + + en + Traction Battery Code identifying a single traction battery component like a pack, module or cell. + + + + + + + + + tractionBatteryCode + + + en + Traction Battery Code + + + urn:samm:io.catenax.traction_battery_code:2.0.0#tractionBatteryCode + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Traction Battery Code + + + + + en + tractionBatteryCode + + + STRING + + + en + Traction Battery Code identifying a single traction battery component like a pack, module or cell. + + + + + + + + + productType + + + en + Product Type + + + urn:samm:io.catenax.traction_battery_code:2.0.0#productType + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Product Type + + + + + en + productType + + + STRING + + + en + The type of the battery component, e.g. a pack, a module or a cell. + + + + + + pack + + ModelReference + + + DataElement + urn:samm:io.catenax.traction_battery_code:2.0.0#ComponentTypeCharacterstic:pack + + + + + + module + + ModelReference + + + DataElement + urn:samm:io.catenax.traction_battery_code:2.0.0#ComponentTypeCharacterstic:module + + + + + + cell + + ModelReference + + + DataElement + urn:samm:io.catenax.traction_battery_code:2.0.0#ComponentTypeCharacterstic:cell + + + + + + + + + + + + + subcomponents + + + en + Subcomponents + + + urn:samm:io.catenax.traction_battery_code:2.0.0#subcomponents + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Subcomponents + + + + + en + subcomponents + + + STRING + + + en + Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows: + +If this traction battery code is given for a cell subcomponents are not required. +If this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents. +If this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively). + + + + + + + + + productType + + + en + Product Type + + + urn:samm:io.catenax.traction_battery_code:2.0.0#productType + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Product Type + + + + + en + productType + + + STRING + + + en + The type of the battery component, e.g. a pack, a module or a cell. + + + + + + + + + diff --git a/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode-schema.json b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode-schema.json new file mode 100644 index 000000000..4c7e4a5b6 --- /dev/null +++ b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode-schema.json @@ -0,0 +1,59 @@ +{ + "$schema" : "http://json-schema.org/draft-04/schema", + "description" : "The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC).", + "type" : "object", + "components" : { + "schemas" : { + "urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryCodeTrait" : { + "type" : "string", + "description" : "The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can have a length of either 24 or 18 characters.", + "pattern" : "(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)" + }, + "urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentTypeCharacterstic" : { + "type" : "string", + "enum" : [ "pack", "module", "cell" ] + }, + "urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryComponent" : { + "description" : "A battery component like a cell or a module.", + "type" : "object", + "properties" : { + "tractionBatteryCode" : { + "description" : "Traction Battery Code identifying a single traction battery component like a pack, module or cell. ", + "$ref" : "#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryCodeTrait" + }, + "subcomponents" : { + "description" : "Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows:\n\nIf this traction battery code is given for a cell subcomponents are not required. \nIf this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents.\nIf this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively).", + "$ref" : "#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentList" + }, + "productType" : { + "description" : "The type of the battery component, e.g. a pack, a module or a cell.", + "$ref" : "#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentTypeCharacterstic" + } + }, + "required" : [ "tractionBatteryCode", "productType" ] + }, + "urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentList" : { + "description" : "A list of battery components like modules or cells.", + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryComponent" + } + } + } + }, + "properties" : { + "tractionBatteryCode" : { + "description" : "Traction Battery Code identifying a single traction battery component like a pack, module or cell. ", + "$ref" : "#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryCodeTrait" + }, + "subcomponents" : { + "description" : "Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows:\n\nIf this traction battery code is given for a cell subcomponents are not required. \nIf this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents.\nIf this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively).", + "$ref" : "#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentList" + }, + "productType" : { + "description" : "The type of the battery component, e.g. a pack, a module or a cell.", + "$ref" : "#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentTypeCharacterstic" + } + }, + "required" : [ "tractionBatteryCode", "productType" ] +} \ No newline at end of file diff --git a/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.aasx b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.aasx new file mode 100644 index 000000000..a01d79f45 Binary files /dev/null and b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.aasx differ diff --git a/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.html b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.html new file mode 100644 index 000000000..a9b271d42 --- /dev/null +++ b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.html @@ -0,0 +1,809 @@ + + + + + + + + + + + + + + Documentation Traction Battery Code + + +
+
+
+
+

Aspect Model Traction Battery Code

+
urn:samm:io.catenax.traction_battery_code:2.0.0#TractionBatteryCode
+
+
+
+
+
+
+
+ +
+ + +
+ The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). +
+ + +
+

Overview

+
+
+
+
+ Aspect Model Diagram +
+
+
+ + +
+
+

Properties

+
+ +
+ +
+

Product Type

+
+ +The type of the battery component, e.g. a pack, a module or a cell. + +
+
Name
+
productType
+
+ + + +
+
Characteristic
+
+
+
+
Enumeration
+
+
+
Values
+
+
+
+
    +
  • pack
  • +
  • module
  • +
  • cell
  • +
+
+
+ +
+
+
+ +
+
Example
+
pack
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
productType
+
+ + +
+
+ +
+

Subcomponents

+
+ +Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows: + +If this traction battery code is given for a cell subcomponents are not required. +If this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents. +If this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively). + +
+
Name
+
subcomponents
+
+ + + +
+
Characteristic
+
+
+
+
List
+
+
+
Has a certain order
+
+
+
Duplicates allowed
+
+ +
+
+
+ + +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
subcomponents
+
+ + +
+
+ +
+

Traction Battery Code

+
+ +Traction Battery Code identifying a single traction battery component like a pack, module or cell. + +
+
Name
+
tractionBatteryCode
+
+ + + +
+
Characteristic
+
+
+
+
Trait
+
+
+
+ Reference +
+
+
+
+ +
+
+
+ +
+
Example
+
X12MCPM27KLPCLX2M2382320
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
tractionBatteryCode
+
+ + +
+
Constraints
+
+
    +
  • +
    + +
    + Traction Battery Code Regular Expression +
    + +
    +
    Description
    +
    The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can have a length of either 24 or 18 characters.
    +
    + +
    +
    Reference
    +
    +
    +
      +
    • https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D818B4D3A7E05397BE0A0AB82A
    • +
    +
    +
    +
    + +
    +
    Regular expression
    +
    (^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)
    +
    + +
  • +
+
+
+
+
+ + + +
+
+

Entities

+
+ +
+
+

Battery Component

+
+
+ A battery component like a cell or a module. +
+ +
+

Properties

+
+
+ +
+
Traction Battery Code
+
+ +Traction Battery Code identifying a single traction battery component like a pack, module or cell. + +
+
Name
+
tractionBatteryCode
+
+ + + +
+
Characteristic
+
+
+
+
Trait
+
+
+
+ Reference +
+
+
+
+ +
+
+
+ +
+
Example
+
X12MCPM27KLPCLX2M2382320
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
tractionBatteryCode
+
+ + +
+
Constraints
+
+
    +
  • +
    + +
    + Traction Battery Code Regular Expression +
    + +
    +
    Description
    +
    The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can have a length of either 24 or 18 characters.
    +
    + +
    +
    Reference
    +
    +
    +
      +
    • https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D818B4D3A7E05397BE0A0AB82A
    • +
    +
    +
    +
    + +
    +
    Regular expression
    +
    (^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)
    +
    + +
  • +
+
+
+
+
+ +
+
Subcomponents
+
+ +Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows: + +If this traction battery code is given for a cell subcomponents are not required. +If this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents. +If this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively). + +
+
Name
+
subcomponents
+
+ + + +
+
Characteristic
+
+
+
+
List
+
+
+
Has a certain order
+
+
+
Duplicates allowed
+
+ +
+
+
+ + +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
subcomponents
+
+ + +
+
+ +
+
Product Type
+
+ +The type of the battery component, e.g. a pack, a module or a cell. + +
+
Name
+
productType
+
+ + + +
+
Characteristic
+
+
+
+
Enumeration
+
+
+
Values
+
+
+
+
    +
  • pack
  • +
  • module
  • +
  • cell
  • +
+
+
+ +
+
+
+ +
+
Example
+
pack
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
productType
+
+ + +
+
+
+ +
+ Third party licenses + +
+ +
+ + +
+ + + \ No newline at end of file diff --git a/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.json b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.json new file mode 100644 index 000000000..bd962349f --- /dev/null +++ b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.json @@ -0,0 +1,8 @@ +{ + "productType" : "pack", + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "subcomponents" : [ { + "productType" : "pack", + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320" + } ] +} \ No newline at end of file diff --git a/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.yml b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.yml new file mode 100644 index 000000000..80f538af4 --- /dev/null +++ b/io.catenax.traction_battery_code/2.0.0/gen/TractionBatteryCode.yml @@ -0,0 +1,193 @@ +--- +openapi: 3.0.3 +info: + title: Traction Battery Code + version: v2 +servers: +- url: catenax.io/api/v2 + variables: + api-version: + default: v2 +paths: + /{tenant-id}/traction-battery-code: + get: + tags: + - TractionBatteryCode + operationId: getTractionBatteryCode + parameters: + - name: tenant-id + in: path + description: The ID of the tenant owning the requested Twin. + required: true + schema: + type: string + format: uuid + - name: start + in: query + description: Starting index which is starting by 0 + required: false + schema: + type: number + - name: count + in: query + description: Number of items to return per call. + required: false + schema: + type: number + - name: totalItemCount + in: query + description: Flag that indicates that the total counts should be returned. + required: false + schema: + type: boolean + responses: + "200": + $ref: '#/components/responses/TractionBatteryCode' + "401": + $ref: '#/components/responses/ClientError' + "402": + $ref: '#/components/responses/Unauthorized' + "403": + $ref: '#/components/responses/Forbidden' + "404": + $ref: '#/components/responses/NotFoundError' +components: + schemas: + ErrorResponse: + type: object + required: + - error + properties: + error: + $ref: '#/components/schemas/Error' + Error: + type: object + required: + - details + properties: + message: + type: string + minLength: 1 + path: + type: string + minLength: 1 + details: + type: object + minLength: 1 + additionalProperties: + type: object + code: + type: string + nullable: true + PagingSchema: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/TractionBatteryCode' + totalItems: + type: number + totalPages: + type: number + pageSize: + type: number + currentPage: + type: number + urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryCodeTrait: + type: string + description: The traction battery code as required by the National Standard + of the People's Republic of China according to GB/T 34014-2017 published by + the Standardization Administration of China (SAC). It can have a length of + either 24 or 18 characters. + pattern: "(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)" + urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentTypeCharacterstic: + type: string + enum: + - pack + - module + - cell + urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryComponent: + description: A battery component like a cell or a module. + type: object + properties: + tractionBatteryCode: + description: "Traction Battery Code identifying a single traction battery\ + \ component like a pack, module or cell. " + $ref: '#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryCodeTrait' + subcomponents: + description: "Subcomponents of the component, if applicable. The relationship\ + \ between traction battery codes are as follows:\n\nIf this traction battery\ + \ code is given for a cell subcomponents are not required. \nIf this traction\ + \ battery code is given for a battery module a list of cells are required\ + \ to be registered as subcomponents.\nIf this traction battery code is\ + \ given for a battery pack a list of modules are required to be registered\ + \ as subcomponents (containing each a list of cell subcomponents respectively)." + $ref: '#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentList' + productType: + description: "The type of the battery component, e.g. a pack, a module or\ + \ a cell." + $ref: '#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentTypeCharacterstic' + required: + - tractionBatteryCode + - productType + urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentList: + description: A list of battery components like modules or cells. + type: array + items: + $ref: '#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryComponent' + TractionBatteryCode: + description: "The traction battery code is an identification code for any automotive\ + \ traction battery, ultracapacitor and other reachargeble energy storage device.\ + \ It allows to carry information as required by the National Standard of the\ + \ People's Republic of China according to GB/T 34014-2017 published by the\ + \ Standardization Administration of China (SAC)." + type: object + properties: + tractionBatteryCode: + description: "Traction Battery Code identifying a single traction battery\ + \ component like a pack, module or cell. " + $ref: '#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_TractionBatteryCodeTrait' + subcomponents: + description: "Subcomponents of the component, if applicable. The relationship\ + \ between traction battery codes are as follows:\n\nIf this traction battery\ + \ code is given for a cell subcomponents are not required. \nIf this traction\ + \ battery code is given for a battery module a list of cells are required\ + \ to be registered as subcomponents.\nIf this traction battery code is\ + \ given for a battery pack a list of modules are required to be registered\ + \ as subcomponents (containing each a list of cell subcomponents respectively)." + $ref: '#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentList' + productType: + description: "The type of the battery component, e.g. a pack, a module or\ + \ a cell." + $ref: '#/components/schemas/urn_samm_io.catenax.traction_battery_code_2.0.0_ComponentTypeCharacterstic' + required: + - tractionBatteryCode + - productType + responses: + Unauthorized: + description: The requesting user or client is not authenticated. + Forbidden: + description: The requesting user or client is not authorized to access resources + for the given tenant. + NotFoundError: + description: The requested Twin has not been found. + ClientError: + description: Payload or user input is invalid. See error details in the payload + for more. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + TractionBatteryCode: + content: + application/json: + schema: + $ref: '#/components/schemas/PagingSchema' + description: The request was successful. + requestBodies: + TractionBatteryCode: + content: + application/json: + schema: + $ref: '#/components/schemas/TractionBatteryCode'