Template:- SwedishDefence:Publication
The Publication template describes how to represent a publication concerning some materiel that is relevant for the Swedish Defence.
Template Properties

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

References:
publicationConcernsEndItem [0..*] (Template: SwedishDefence:ItemDefinition)
The item definition which the publication concerns.
externalPublication [0..*] (Template: SwedishDefence:PartDefinition)
The part definition that constitutes an external publication.
defencePublication [0..1] (Template: SwedishDefence:ItemOfSupplyDefinition)
The item of supply that constitutes a defence publication.
publicationCreatedBy [0..1] (Template: SwedishDefence:ExternalActor)
The organization or person in organization that created the publication or publication edition.
dataFile [0..1] (Block: Ap239Ap233Psm:DigitalFile)
Every Publication corresponds to a specific electronic file often produced with XML language (e.g. if s1000d) - the source making it possible to structure and identify individual information contained in the Publication itself.
Parts:
publicationId [1] (Template: OASIS:Identification)
Identifier of a publication.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
publicationId constraint
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationSecurityClassification [0..1] (ValueType: ExternalOwlObject)
The security level of a publication.
publicationStatus [1] (ValueType: ExternalOwlObject)
The status of a publication.
publicationCategory [1..*] (ValueType: ExternalOwlClass)
The category into which the publication falls.
publicationEditionId [1] (Template: OASIS:Identification)
Identifier of a specific version of a publication.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
publicationEditionId constraint
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationDescription [1] (Template: OASIS:Descriptor)
Description of the contents of the publication.
The reference data used in Template: OASIS:Descriptor is restricted as follows:
RDL constraint 1:
publicationDescription constraint
The reference data for:
OASIS:Descriptor.classifiedAs -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationTitle [1] (Template: OASIS:Descriptor)
Title of the publication.
The reference data used in Template: OASIS:Descriptor is restricted as follows:
RDL constraint 1:
publicationTitle constraint
The reference data for:
OASIS:Descriptor.classifiedAs -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationLanguageCode [1] (Template: OASIS:Descriptor)
The language in which the content of a publication is expressed. Language code according to ISO 639-2 and country code as specified in ISO 3166-1.
Values:
publicationDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
Date of publication.

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')