Template:- OASIS:Warranty

The Warranty template describes how to represent a Warranty. A Warranty is represented by a Contract assigned to the Item under warranty.

The validity of the Warranty is represented by its status.

The SysML Block Definition diagram in Figure 1 shows how a Contract is represented in the PLCS PSM.

Template Properties

The following SysML Part, Reference, and Value properties are defined for this template:

References:
warrantingOrganization [0..1] (Template: OASIS:Organization)
The organization granting the Warranty.
status [0..1] (Template: OASIS:StateAssertion)
The status of the Warranty.
warrantyDocuments [0..*] (Template: OASIS:Document)
The documents associated with the Warranty
warrantedItem [0..1] (Block: Ap239Ap233Psm:ContractAssignmentSelect)
The item that is under warranty.
Parts:
ids [1..*] (Template: OASIS:Identification)
The collection of identifiers of the Warranty.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
descriptions [0..*] (Template: OASIS:Descriptor)
The descriptions of the Warranty.
classifications [1..*] (Template: OASIS:Classifier)
The classification of the Warranty.
The reference data used in Template: OASIS:Classifier is restricted as follows:
RDL constraint 1:
The reference data for:
OASIS:Classifier.class -> ExternalOwlClass.class
is restricted to classes that are subclasses of the following class:
http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/plcs/plcs-psm/refdata/plcs-psm#Warranty
names [0..*] (Template: OASIS:Name)
The collection of names of the Warranty.
Values:
warrantyStart [0..1] (Block: Ap239Ap233Psm:DateTimeString)
The date that the Warranty started.

The following constraint, normally a uniqueness constraint, is applicable when instantiating the DateTimeString:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: XSDDATETIME
Specification: (OCL2.0)
self.matches('[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')
warrantyEnd [0..1] (Block: Ap239Ap233Psm:DateTimeString)
The date that the Warranty ended.

The following constraint, normally a uniqueness constraint, is applicable when instantiating the DateTimeString:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: XSDDATETIME
Specification: (OCL2.0)
self.matches('[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')