-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding auto-generated artifacts for new models
- Loading branch information
GitHub Actions Bot
committed
Nov 14, 2023
1 parent
4d53028
commit a38891f
Showing
6 changed files
with
1,668 additions
and
0 deletions.
There are no files selected for viewing
591 changes: 591 additions & 0 deletions
591
io.catenax.id_based_request_for_update/2.0.0/gen/IdBasedRequestForUpdate-aas.xml
Large diffs are not rendered by default.
Oops, something went wrong.
75 changes: 75 additions & 0 deletions
75
io.catenax.id_based_request_for_update/2.0.0/gen/IdBasedRequestForUpdate-schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"$schema" : "http://json-schema.org/draft-04/schema", | ||
"description" : "The requirements for a request for update from another Catena-X Partner of a specific entity.\nIf within the payload, no specific object type is defined (Payload empty), than an update of all objects within the sender reciever relation is requested).", | ||
"type" : "object", | ||
"components" : { | ||
"schemas" : { | ||
"urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait" : { | ||
"type" : "string", | ||
"description" : "The provided regular expression ensures that the UUID is composed of five groups of characters separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens), optionally prefixed by \"urn:uuid:\" to make it an IRI.", | ||
"pattern" : "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)" | ||
}, | ||
"urn_samm_io.catenax.id_based_request_for_update_2.0.0_Timestamp" : { | ||
"type" : "string", | ||
"pattern" : "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?", | ||
"description" : "Describes a Property which contains the date and time with an optional timezone." | ||
}, | ||
"urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandEntity" : { | ||
"description" : "Encapsulates the information that is necessary for an update request.", | ||
"type" : "object", | ||
"properties" : { | ||
"materialDemandId" : { | ||
"description" : "The Material Demand ID uniquely identifies the material demand the supplier requests an update for within the business relationship between the customer and its supplier.", | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait" | ||
}, | ||
"changedAt" : { | ||
"description" : "Point in time of the last update known to the requesting business partner. If the requested entity has been changed more recently, the requested party should resend the data. If the changedAt property is not given, the latest entity should be send without precondition.", | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_Timestamp" | ||
} | ||
}, | ||
"required" : [ "materialDemandId" ] | ||
}, | ||
"urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandCharacteristic" : { | ||
"description" : "A list of material demand UUIDs without duplicates an update is requested for.", | ||
"type" : "array", | ||
"items" : { | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandEntity" | ||
}, | ||
"uniqueItems" : true | ||
}, | ||
"urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupEntity" : { | ||
"description" : "Encapsulates the information that is necessary for an update request.", | ||
"type" : "object", | ||
"properties" : { | ||
"capacityGroupId" : { | ||
"description" : "The Capacity Group ID uniquely identifies the capacity group the supplier requests an update for within the business relationship between the supplier and its customer.", | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait" | ||
}, | ||
"changedAt" : { | ||
"description" : "Point in time of the last update known to the requesting business partner. If the requested entity has been changed more recently, the requested party should resend the data. If the changedAt property is not given, the latest entity should be send without precondition.", | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_Timestamp" | ||
} | ||
}, | ||
"required" : [ "capacityGroupId" ] | ||
}, | ||
"urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupCharacteristic" : { | ||
"description" : "A list of capacity group UUIDs without duplicates an update is requested for.", | ||
"type" : "array", | ||
"items" : { | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupEntity" | ||
}, | ||
"uniqueItems" : true | ||
} | ||
} | ||
}, | ||
"properties" : { | ||
"materialDemand" : { | ||
"description" : "Material demands the supplier requests an update for.\nIf within the array, no specific ID (array empty), than an update of all IDs is requested).", | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandCharacteristic" | ||
}, | ||
"weekBasedCapacityGroup" : { | ||
"description" : "Capacity groups the customer requests an update for.\nIf within the array, no specific ID (array empty), than an update of all IDs is requested).", | ||
"$ref" : "#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupCharacteristic" | ||
} | ||
} | ||
} |
Binary file added
BIN
+3.91 KB
io.catenax.id_based_request_for_update/2.0.0/gen/IdBasedRequestForUpdate.aasx
Binary file not shown.
792 changes: 792 additions & 0 deletions
792
io.catenax.id_based_request_for_update/2.0.0/gen/IdBasedRequestForUpdate.html
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
io.catenax.id_based_request_for_update/2.0.0/gen/IdBasedRequestForUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"materialDemand" : [ { | ||
"materialDemandId" : "0157ba42-d2a8-4e28-8565-7b07830c3456", | ||
"changedAt" : "2023-03-10T12:27:11.320Z" | ||
} ], | ||
"weekBasedCapacityGroup" : [ { | ||
"capacityGroupId" : "0157ba42-d2a8-4e28-8565-7b07830c1110", | ||
"changedAt" : "2023-03-10T12:27:11.320Z" | ||
} ] | ||
} |
200 changes: 200 additions & 0 deletions
200
io.catenax.id_based_request_for_update/2.0.0/gen/IdBasedRequestForUpdate.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
--- | ||
openapi: 3.0.3 | ||
info: | ||
title: ID Based Request For Update | ||
version: v2 | ||
servers: | ||
- url: catenax.io/api/v2 | ||
variables: | ||
api-version: | ||
default: v2 | ||
paths: | ||
/{tenant-id}/id-based-request-for-update: | ||
get: | ||
tags: | ||
- IdBasedRequestForUpdate | ||
operationId: getIdBasedRequestForUpdate | ||
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/IdBasedRequestForUpdate' | ||
"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/IdBasedRequestForUpdate' | ||
totalItems: | ||
type: number | ||
totalPages: | ||
type: number | ||
pageSize: | ||
type: number | ||
currentPage: | ||
type: number | ||
urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait: | ||
type: string | ||
description: "The provided regular expression ensures that the UUID is composed\ | ||
\ of five groups of characters separated by hyphens, in the form 8-4-4-4-12\ | ||
\ for a total of 36 characters (32 hexadecimal characters and 4 hyphens),\ | ||
\ optionally prefixed by \"urn:uuid:\" to make it an IRI." | ||
pattern: "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)" | ||
urn_samm_io.catenax.id_based_request_for_update_2.0.0_Timestamp: | ||
type: string | ||
pattern: "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\ | ||
.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" | ||
description: Describes a Property which contains the date and time with an optional | ||
timezone. | ||
urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandEntity: | ||
description: Encapsulates the information that is necessary for an update request. | ||
type: object | ||
properties: | ||
materialDemandId: | ||
description: The Material Demand ID uniquely identifies the material demand | ||
the supplier requests an update for within the business relationship between | ||
the customer and its supplier. | ||
$ref: '#/components/schemas/urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait' | ||
changedAt: | ||
description: "Point in time of the last update known to the requesting business\ | ||
\ partner. If the requested entity has been changed more recently, the\ | ||
\ requested party should resend the data. If the changedAt property is\ | ||
\ not given, the latest entity should be send without precondition." | ||
$ref: '#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_Timestamp' | ||
required: | ||
- materialDemandId | ||
urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandCharacteristic: | ||
description: A list of material demand UUIDs without duplicates an update is | ||
requested for. | ||
type: array | ||
items: | ||
$ref: '#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandEntity' | ||
uniqueItems: true | ||
urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupEntity: | ||
description: Encapsulates the information that is necessary for an update request. | ||
type: object | ||
properties: | ||
capacityGroupId: | ||
description: The Capacity Group ID uniquely identifies the capacity group | ||
the supplier requests an update for within the business relationship between | ||
the supplier and its customer. | ||
$ref: '#/components/schemas/urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait' | ||
changedAt: | ||
description: "Point in time of the last update known to the requesting business\ | ||
\ partner. If the requested entity has been changed more recently, the\ | ||
\ requested party should resend the data. If the changedAt property is\ | ||
\ not given, the latest entity should be send without precondition." | ||
$ref: '#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_Timestamp' | ||
required: | ||
- capacityGroupId | ||
urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupCharacteristic: | ||
description: A list of capacity group UUIDs without duplicates an update is | ||
requested for. | ||
type: array | ||
items: | ||
$ref: '#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupEntity' | ||
uniqueItems: true | ||
IdBasedRequestForUpdate: | ||
description: |- | ||
The requirements for a request for update from another Catena-X Partner of a specific entity. | ||
If within the payload, no specific object type is defined (Payload empty), than an update of all objects within the sender reciever relation is requested). | ||
type: object | ||
properties: | ||
materialDemand: | ||
description: |- | ||
Material demands the supplier requests an update for. | ||
If within the array, no specific ID (array empty), than an update of all IDs is requested). | ||
$ref: '#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_MaterialDemandCharacteristic' | ||
weekBasedCapacityGroup: | ||
description: |- | ||
Capacity groups the customer requests an update for. | ||
If within the array, no specific ID (array empty), than an update of all IDs is requested). | ||
$ref: '#/components/schemas/urn_samm_io.catenax.id_based_request_for_update_2.0.0_WeekBasedCapacityGroupCharacteristic' | ||
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' | ||
IdBasedRequestForUpdate: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/PagingSchema' | ||
description: The request was successful. | ||
requestBodies: | ||
IdBasedRequestForUpdate: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/IdBasedRequestForUpdate' |