diff --git a/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification-aas.xml b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification-aas.xml new file mode 100644 index 00000000..97cdf6cb --- /dev/null +++ b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification-aas.xml @@ -0,0 +1,1170 @@ + + + + + defaultAdminShell + + + en + defaultAdminShell + + + + urn:samm:io.catenax.early_warning_notification:1.0.0#EarlyWarningNotification + + Type + + + + ModelReference + + + Submodel + urn:samm:io.catenax.early_warning_notification:1.0.0#EarlyWarningNotification/submodel + + + + + + + + + EarlyWarningNotification + + urn:samm:io.catenax.early_warning_notification:1.0.0#EarlyWarningNotification/submodel + Template + + ModelReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#EarlyWarningNotification + + + + + + notificationId + + + en + Notification Id + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#notificationId + + + + xs:string + + + + relatedQualityTaskID + + + en + Related Quality Task ID + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#relatedQualityTaskID + + + + xs:string + + + + information + + + en + Information + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#information + + + + xs:string + + + + status + + + en + Status + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#status + + + + xs:string + + + + severity + + + en + Severity + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#severity + + + + xs:string + + + + listOfAffectedItems + + + en + List Of Affected Items + + + + + en + List of unique identifiers to explicitly specify parts or vehicles exhibiting the issue described in the property "Information" + + + true + DataElement + + + Items + + + en + Items + + + + + en + A unique identifier + + + + + catenaXId + + + en + Catena-X ID + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#catenaXId + + + + xs:string + + + + + + + + poulationFilterList + + + en + Population Filter List + + + + + en + A set of Population Filters + + + true + DataElement + + + PopulationFilter + + + en + Population Filter + + + + + en + Population filter for the early warning data + + + + + aspectProperty + + + en + Aspect Property + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#aspectProperty + + + + xs:string + + + + aspectModel + + + en + Aspect Model + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#aspectModel + + + + xs:anyURI + + + + rangeFrom + + + en + Value Range From + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#rangeFrom + + + + xs:string + + + + rangeTo + + + en + Value Range To + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#rangeTo + + + + xs:string + + + + valueList + + + en + List of Values + + + + + en + A list of values for the aspect property + + + true + DataElement + + + valueList + + + en + List of Values + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#valueList + + + + xs:string + + + + + + + + + + earlyWarningAttachmentLink + + + en + Additional Quality Data Link + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.early_warning_notification:1.0.0#earlyWarningAttachmentLink + + + + xs:string + + + + + + + + APPLICATION_CLASS + EarlyWarningNotification + + + en + Early Warning Notification + + + urn:samm:io.catenax.early_warning_notification:1.0.0#EarlyWarningNotification + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Early Warning Notification + + + + + en + EarlyWarningNotification + + + + + + + + + notificationId + + + en + Notification Id + + + urn:samm:io.catenax.early_warning_notification:1.0.0#notificationId + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Notification Id + + + + + en + notificationId + + + STRING + + + en + A unique ID for the EW notification + + + + + + + + + relatedQualityTaskID + + + en + Related Quality Task ID + + + urn:samm:io.catenax.early_warning_notification:1.0.0#relatedQualityTaskID + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Related Quality Task ID + + + + + en + relatedQualityTaskID + + + STRING + + + en + An ID to reference an existing early warning project and its data + + + + + + + + + information + + + en + Information + + + urn:samm:io.catenax.early_warning_notification:1.0.0#information + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Information + + + + + en + information + + + STRING + + + en + Some text describing the detected anomaly in the data + + + + + + + + + status + + + en + Status + + + urn:samm:io.catenax.early_warning_notification:1.0.0#status + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Status + + + + + en + status + + + STRING + + + en + A status information about the current status of the quality process triggered by this notification. + + + + + + ACKNOWLEDGED + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Status:ACKNOWLEDGED + + + + + + ACCEPTED + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Status:ACCEPTED + + + + + + DECLINED + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Status:DECLINED + + + + + + CLOSED + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Status:CLOSED + + + + + + + + + + + + + severity + + + en + Severity + + + urn:samm:io.catenax.early_warning_notification:1.0.0#severity + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Severity + + + + + en + severity + + + STRING + + + en + A flag indicating the severity of the quality issue + + + + + + MINOR + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Severity:MINOR + + + + + + MAJOR + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Severity:MAJOR + + + + + + CRITICAL + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Severity:CRITICAL + + + + + + LIFE-THREATENING + + ModelReference + + + DataElement + urn:samm:io.catenax.early_warning_notification:1.0.0#Severity:LIFE-THREATENING + + + + + + + + + + + + + catenaXId + + + en + Catena-X ID + + + urn:samm:io.catenax.early_warning_notification:1.0.0#catenaXId + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Catena-X ID + + + + + en + catenaXId + + + STRING + + + en + A unique identifier for a part or a vehicle. The identifier relates to a Catena-X digital twin + + + + + + + + + listOfAffectedItems + + + en + List Of Affected Items + + + urn:samm:io.catenax.early_warning_notification:1.0.0#listOfAffectedItems + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + List Of Affected Items + + + + + en + listOfAffectedItems + + + STRING + + + en + List of unique identifiers to explicitly specify parts or vehicles exhibiting the issue described in the property "Information" + + + + + + + + + aspectProperty + + + en + Aspect Property + + + urn:samm:io.catenax.early_warning_notification:1.0.0#aspectProperty + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Aspect Property + + + + + en + aspectProperty + + + STRING + + + en + A property from the aspect model referenced by "aspectModel" + + + + + + + + + aspectModel + + + en + Aspect Model + + + urn:samm:io.catenax.early_warning_notification:1.0.0#aspectModel + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Aspect Model + + + + + en + aspectModel + + + STRING + + + en + A reference to an aspect model standardized by Catena-X for the quality use case + + + + + + + + + rangeFrom + + + en + Value Range From + + + urn:samm:io.catenax.early_warning_notification:1.0.0#rangeFrom + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Value Range From + + + + + en + rangeFrom + + + STRING + + + en + Start value of a value range for an aspect property + + + + + + + + + rangeTo + + + en + Value Range To + + + urn:samm:io.catenax.early_warning_notification:1.0.0#rangeTo + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Value Range To + + + + + en + rangeTo + + + STRING + + + en + End value of a value range for an aspect property + + + + + + + + + valueList + + + en + List of Values + + + urn:samm:io.catenax.early_warning_notification:1.0.0#valueList + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + List of Values + + + + + en + valueList + + + STRING + + + en + A list of values for the aspect property + + + + + + + + + poulationFilterList + + + en + Population Filter List + + + urn:samm:io.catenax.early_warning_notification:1.0.0#poulationFilterList + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Population Filter List + + + + + en + poulationFilterList + + + STRING + + + en + A set of Population Filters + + + + + + + + + earlyWarningAttachmentLink + + + en + Additional Quality Data Link + + + urn:samm:io.catenax.early_warning_notification:1.0.0#earlyWarningAttachmentLink + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0 + + + + + + + + en + Additional Quality Data Link + + + + + en + earlyWarningAttachmentLink + + + STRING + + + en + This property provides a reference to an EDC asset that will contain a zip file organized according to the specification CX-0092 and the model defined in io.catenax.quality_task_attachment:1.0.0. The zip file will contain additional data describing the early warning case. + + + + + + + + + diff --git a/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification-schema.json b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification-schema.json new file mode 100644 index 00000000..5e640538 --- /dev/null +++ b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification-schema.json @@ -0,0 +1,125 @@ +{ + "$schema" : "http://json-schema.org/draft-04/schema", + "type" : "object", + "components" : { + "schemas" : { + "urn_samm_io.catenax.shared.uuid_2.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_org.eclipse.esmf.samm_characteristic_2.1.0_Text" : { + "type" : "string", + "description" : "Describes a Property which contains plain text. This is intended exclusively for human readable strings, not for identifiers, measurement values, etc." + }, + "urn_samm_io.catenax.early_warning_notification_1.0.0_Status" : { + "type" : "string", + "description" : "A status infomration d´selected from a predefined set of possible states.", + "enum" : [ "ACKNOWLEDGED", "ACCEPTED", "DECLINED", "CLOSED" ] + }, + "urn_samm_io.catenax.early_warning_notification_1.0.0_Severity" : { + "type" : "string", + "description" : "Describes the severity of a quality issue.", + "enum" : [ "MINOR", "MAJOR", "CRITICAL", "LIFE-THREATENING" ] + }, + "urn_samm_io.catenax.early_warning_notification_1.0.0_Items" : { + "description" : "A unique identifier", + "type" : "object", + "properties" : { + "catenaXId" : { + "description" : "A unique identifier for a part or a vehicle. The identifier relates to a Catena-X digital twin", + "$ref" : "#/components/schemas/urn_samm_io.catenax.shared.uuid_2.0.0_UuidV4Trait" + } + } + }, + "urn_samm_io.catenax.early_warning_notification_1.0.0_AffectedItemsCharacteristic" : { + "description" : "Characteristic for the UIDs defining the affected items", + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_Items" + } + }, + "urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_ResourcePath" : { + "type" : "string", + "format" : "uri", + "description" : "The path of a resource." + }, + "urn_samm_io.catenax.early_warning_notification_1.0.0_ValuesCharacteristic" : { + "description" : "Characteristic for the values in the value list", + "type" : "array", + "items" : { + "type" : "string" + } + }, + "urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilter" : { + "description" : "Population filter for the early warning data", + "type" : "object", + "properties" : { + "aspectProperty" : { + "description" : "A property from the aspect model referenced by \"aspectModel\"", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text" + }, + "aspectModel" : { + "description" : "A reference to an aspect model standardized by Catena-X for the quality use case", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_ResourcePath" + }, + "rangeFrom" : { + "description" : "Start value of a value range for an aspect property ", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text" + }, + "rangeTo" : { + "description" : "End value of a value range for an aspect property ", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text" + }, + "valueList" : { + "description" : "A list of values for the aspect property", + "$ref" : "#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_ValuesCharacteristic" + } + }, + "required" : [ "aspectProperty", "aspectModel" ] + }, + "urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilterListCharacteristic" : { + "description" : "Characteristic for a List of Population Filters", + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilter" + } + } + } + }, + "properties" : { + "notificationId" : { + "description" : "A unique ID for the EW notification ", + "$ref" : "#/components/schemas/urn_samm_io.catenax.shared.uuid_2.0.0_UuidV4Trait" + }, + "relatedQualityTaskID" : { + "description" : "An ID to reference an existing early warning project and its data", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text" + }, + "information" : { + "description" : "Some text describing the detected anomaly in the data", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text" + }, + "status" : { + "description" : "A status information about the current status of the quality process triggered by this notification.", + "$ref" : "#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_Status" + }, + "severity" : { + "description" : "A flag indicating the severity of the quality issue", + "$ref" : "#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_Severity" + }, + "listOfAffectedItems" : { + "description" : "List of unique identifiers to explicitly specify parts or vehicles exhibiting the issue described in the property \"Information\"", + "$ref" : "#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_AffectedItemsCharacteristic" + }, + "poulationFilterList" : { + "description" : "A set of Population Filters", + "$ref" : "#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilterListCharacteristic" + }, + "earlyWarningAttachmentLink" : { + "description" : "This property provides a reference to an EDC asset that will contain a zip file organized according to the specification CX-0092 and the model defined in io.catenax.quality_task_attachment:1.0.0. The zip file will contain additional data describing the early warning case.", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text" + } + }, + "required" : [ "notificationId", "relatedQualityTaskID", "status", "severity", "listOfAffectedItems" ] +} \ No newline at end of file diff --git a/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.aasx b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.aasx new file mode 100644 index 00000000..cd4f28e4 Binary files /dev/null and b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.aasx differ diff --git a/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.html b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.html new file mode 100644 index 00000000..c74b626f --- /dev/null +++ b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.html @@ -0,0 +1,1255 @@ + + + + + + + + + + + + + + Documentation Early Warning Notification + + +
+
+
+
+

Aspect Model Early Warning Notification

+
urn:samm:io.catenax.early_warning_notification:1.0.0#EarlyWarningNotification
+
+
+
+
+
+
+
+ +
+ + + + +
+

Overview

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

Properties

+
+ +
+ +
+ +
+ +This property provides a reference to an EDC asset that will contain a zip file organized according to the specification CX-0092 and the model defined in io.catenax.quality_task_attachment:1.0.0. The zip file will contain additional data describing the early warning case. + +
+
Name
+
earlyWarningAttachmentLink
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
subprotocolBody: catalogEndpoint=https://test.com/catalog;dataset=79afc338-f7ea-4255-a17d-ba6faf40d2b5
+
+ +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
earlyWarningAttachmentLink
+
+ + +
+
+ +
+

Information

+
+ +Some text describing the detected anomaly in the data + +
+
Name
+
information
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
There is an unusual number of DTCs occuring in the population described by the property qualityAppFiilter
+
+ +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
information
+
+ + +
+
+ +
+

List Of Affected Items

+
+ +List of unique identifiers to explicitly specify parts or vehicles exhibiting the issue described in the property "Information" + +
+
Name
+
listOfAffectedItems
+
+ + + +
+
Characteristic
+
+
+
+
List
+
+
+
Has a certain order
+
+
+
Duplicates allowed
+
+ +
+
+
+ + +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
listOfAffectedItems
+
+ + +
+
+ +
+

Notification Id

+
+ +A unique ID for the EW notification + +
+
Name
+
notificationId
+
+ + + +
+
Characteristic
+
+
+
+
Trait
+
+
+
+ Reference +
+
    +
  • https://tools.ietf.org/html/rfc4122
  • +
+
+
+
+ +
+
+
+ +
+
Example
+
c2801472-5f87-41a7-9a25-b0939c4e0dff
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
notificationId
+
+ + +
+
Constraints
+
+
    +
  • +
    + +
    + UUID v4 Regular Expression +
    + +
    +
    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.
    +
    + +
    +
    Reference
    +
    +
    +
      +
    • https://datatracker.ietf.org/doc/html/rfc4122
    • +
    +
    +
    +
    + +
    +
    Regular expression
    +
    (^[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}$)
    +
    + +
  • +
+
+
+
+
+ +
+

Population Filter List

+
+ +A set of Population Filters + +
+
Name
+
poulationFilterList
+
+ + + +
+
Characteristic
+
+
+
+
List
+
+
+
Has a certain order
+
+
+
Duplicates allowed
+
+ +
+
+
+ + +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
poulationFilterList
+
+ + +
+
+ +
+

Related Quality Task ID

+
+ +An ID to reference an existing early warning project and its data + +
+
Name
+
relatedQualityTaskID
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
BPN-811_2022_000001
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
relatedQualityTaskID
+
+ + +
+
+ +
+

Severity

+
+ +A flag indicating the severity of the quality issue + +
+
Name
+
severity
+
+ + + +
+
Characteristic
+
+
+
+
Enumeration
+
+
+
Values
+
+
+
+
    +
  • MINOR
  • +
  • MAJOR
  • +
  • CRITICAL
  • +
  • LIFE-THREATENING
  • +
+
+
+ +
+
+
+ +
+
Example
+
MINOR
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
severity
+
+ + +
+
+ +
+

Status

+
+ +A status information about the current status of the quality process triggered by this notification. + +
+
Name
+
status
+
+ + + +
+
Characteristic
+
+
+
+
Enumeration
+
+
+
Values
+
+
+
+
    +
  • ACKNOWLEDGED
  • +
  • ACCEPTED
  • +
  • DECLINED
  • +
  • CLOSED
  • +
+
+
+ +
+
+
+ +
+
Example
+
ACCEPTED
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
status
+
+ + +
+
+ + + +
+
+

Entities

+
+ +
+
+

Items

+
+
+ A unique identifier +
+ +
+

Properties

+
+
+ +
+
Catena-X ID
+
+ +A unique identifier for a part or a vehicle. The identifier relates to a Catena-X digital twin + +
+
Name
+
catenaXId
+
+ + + +
+
Characteristic
+
+
+
+
Trait
+
+
+
+ Reference +
+
    +
  • https://tools.ietf.org/html/rfc4122
  • +
+
+
+
+ +
+
+
+ +
+
Example
+
urn:uuid:ed85f17e-29dd-473c-9cb8-d7ad1dc44d2f
+
+ +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
catenaXId
+
+ + +
+
Constraints
+
+
    +
  • +
    + +
    + UUID v4 Regular Expression +
    + +
    +
    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.
    +
    + +
    +
    Reference
    +
    +
    +
      +
    • https://datatracker.ietf.org/doc/html/rfc4122
    • +
    +
    +
    +
    + +
    +
    Regular expression
    +
    (^[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}$)
    +
    + +
  • +
+
+
+
+
+
+
+

Population Filter

+
+
+ Population filter for the early warning data +
+ +
+

Properties

+
+
+ +
+
Aspect Property
+
+ +A property from the aspect model referenced by "aspectModel" + +
+
Name
+
aspectProperty
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
production.productionDate
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
aspectProperty
+
+ + +
+
+ +
+
Aspect Model
+
+ +A reference to an aspect model standardized by Catena-X for the quality use case + +
+
Name
+
aspectModel
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
urn:bamm:io.catenax.manufactured_parts_quality_information:1.0.0
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
aspectModel
+
+ + +
+
+ +
+
Value Range From
+
+ +Start value of a value range for an aspect property + +
+
Name
+
rangeFrom
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
2019-02-01T00:00:00
+
+ +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
rangeFrom
+
+ + +
+
+ +
+
Value Range To
+
+ +End value of a value range for an aspect property + +
+
Name
+
rangeTo
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
2019-07-30T23:59:59
+
+ +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
rangeTo
+
+ + +
+
+ +
+
List of Values
+
+ +A list of values for the aspect property + +
+
Name
+
valueList
+
+ + + +
+
Characteristic
+
+
+
+
List
+
+
+
Has a certain order
+
+
+
Duplicates allowed
+
+ +
+
+
+ + +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
valueList
+
+ + +
+
+
+ +
+ Third party licenses + +
+ +
+ + +
+ + + \ No newline at end of file diff --git a/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.json b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.json new file mode 100644 index 00000000..edf1f46f --- /dev/null +++ b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.json @@ -0,0 +1,18 @@ +{ + "severity" : "MINOR", + "earlyWarningAttachmentLink" : "subprotocolBody: catalogEndpoint=https://test.com/catalog;dataset=79afc338-f7ea-4255-a17d-ba6faf40d2b5", + "relatedQualityTaskID" : "BPN-811_2022_000001", + "notificationId" : "c2801472-5f87-41a7-9a25-b0939c4e0dff", + "information" : "There is an unusual number of DTCs occuring in the population described by the property qualityAppFiilter", + "poulationFilterList" : [ { + "aspectModel" : "urn:bamm:io.catenax.manufactured_parts_quality_information:1.0.0", + "rangeTo" : "2019-07-30T23:59:59", + "rangeFrom" : "2019-02-01T00:00:00", + "aspectProperty" : "production.productionDate", + "valueList" : [ "eOMtThyhVNLWUZNRcBaQKxI" ] + } ], + "listOfAffectedItems" : [ { + "catenaXId" : "urn:uuid:ed85f17e-29dd-473c-9cb8-d7ad1dc44d2f" + } ], + "status" : "ACKNOWLEDGED" +} \ No newline at end of file diff --git a/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.yml b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.yml new file mode 100644 index 00000000..41eceb7e --- /dev/null +++ b/io.catenax.early_warning_notification/1.0.0/gen/EarlyWarningNotification.yml @@ -0,0 +1,241 @@ +--- +openapi: 3.0.3 +info: + title: Early Warning Notification + version: v1 +servers: +- url: catenax.io/api/v1 + variables: + api-version: + default: v1 +paths: + /{tenant-id}/early-warning-notification: + get: + tags: + - EarlyWarningNotification + operationId: getEarlyWarningNotification + 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/EarlyWarningNotification' + "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/EarlyWarningNotification' + totalItems: + type: number + totalPages: + type: number + pageSize: + type: number + currentPage: + type: number + urn_samm_io.catenax.shared.uuid_2.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_org.eclipse.esmf.samm_characteristic_2.1.0_Text: + type: string + description: "Describes a Property which contains plain text. This is intended\ + \ exclusively for human readable strings, not for identifiers, measurement\ + \ values, etc." + urn_samm_io.catenax.early_warning_notification_1.0.0_Status: + type: string + description: A status infomration d´selected from a predefined set of possible + states. + enum: + - ACKNOWLEDGED + - ACCEPTED + - DECLINED + - CLOSED + urn_samm_io.catenax.early_warning_notification_1.0.0_Severity: + type: string + description: Describes the severity of a quality issue. + enum: + - MINOR + - MAJOR + - CRITICAL + - LIFE-THREATENING + urn_samm_io.catenax.early_warning_notification_1.0.0_Items: + description: A unique identifier + type: object + properties: + catenaXId: + description: A unique identifier for a part or a vehicle. The identifier + relates to a Catena-X digital twin + $ref: '#/components/schemas/urn_samm_io.catenax.shared.uuid_2.0.0_UuidV4Trait' + urn_samm_io.catenax.early_warning_notification_1.0.0_AffectedItemsCharacteristic: + description: Characteristic for the UIDs defining the affected items + type: array + items: + $ref: '#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_Items' + urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_ResourcePath: + type: string + format: uri + description: The path of a resource. + urn_samm_io.catenax.early_warning_notification_1.0.0_ValuesCharacteristic: + description: Characteristic for the values in the value list + type: array + items: + type: string + urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilter: + description: Population filter for the early warning data + type: object + properties: + aspectProperty: + description: A property from the aspect model referenced by "aspectModel" + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text' + aspectModel: + description: A reference to an aspect model standardized by Catena-X for + the quality use case + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_ResourcePath' + rangeFrom: + description: 'Start value of a value range for an aspect property ' + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text' + rangeTo: + description: 'End value of a value range for an aspect property ' + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text' + valueList: + description: A list of values for the aspect property + $ref: '#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_ValuesCharacteristic' + required: + - aspectProperty + - aspectModel + urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilterListCharacteristic: + description: Characteristic for a List of Population Filters + type: array + items: + $ref: '#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilter' + EarlyWarningNotification: + type: object + properties: + notificationId: + description: 'A unique ID for the EW notification ' + $ref: '#/components/schemas/urn_samm_io.catenax.shared.uuid_2.0.0_UuidV4Trait' + relatedQualityTaskID: + description: An ID to reference an existing early warning project and its + data + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text' + information: + description: Some text describing the detected anomaly in the data + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text' + status: + description: A status information about the current status of the quality + process triggered by this notification. + $ref: '#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_Status' + severity: + description: A flag indicating the severity of the quality issue + $ref: '#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_Severity' + listOfAffectedItems: + description: List of unique identifiers to explicitly specify parts or vehicles + exhibiting the issue described in the property "Information" + $ref: '#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_AffectedItemsCharacteristic' + poulationFilterList: + description: A set of Population Filters + $ref: '#/components/schemas/urn_samm_io.catenax.early_warning_notification_1.0.0_PopulationFilterListCharacteristic' + earlyWarningAttachmentLink: + description: This property provides a reference to an EDC asset that will + contain a zip file organized according to the specification CX-0092 and + the model defined in io.catenax.quality_task_attachment:1.0.0. The zip + file will contain additional data describing the early warning case. + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Text' + required: + - notificationId + - relatedQualityTaskID + - status + - severity + - listOfAffectedItems + 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' + EarlyWarningNotification: + content: + application/json: + schema: + $ref: '#/components/schemas/PagingSchema' + description: The request was successful. + requestBodies: + EarlyWarningNotification: + content: + application/json: + schema: + $ref: '#/components/schemas/EarlyWarningNotification'