-
Notifications
You must be signed in to change notification settings - Fork 47
/
PartSiteInformationAsPlanned.ttl
115 lines (113 loc) · 6.68 KB
/
PartSiteInformationAsPlanned.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#######################################################################
# Copyright (c) 2022 BASF SE
# Copyright (c) 2022 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (c) 2022 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. (represented by Fraunhofer ISST & Fraunhofer IML)
# Copyright (c) 2022 German Edge Cloud GmbH & Co. KG
# Copyright (c) 2022 Henkel AG & Co. KGaA
# Copyright (c) 2022 Mercedes Benz AG
# Copyright (c) 2022 Robert Bosch Manufacturing Solutions GmbH
# Copyright (c) 2022 SAP SE
# Copyright (c) 2022 Siemens AG
# Copyright (c) 2022 T-Systems International GmbH
# Copyright (c) 2022 ZF Friedrichshafen AG
# Copyright (c) 2022 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This work is made available under the terms of the
# Creative Commons Attribution 4.0 International (CC-BY-4.0) license,
# which is available at
# https://creativecommons.org/licenses/by/4.0/legalcode.
#
# SPDX-License-Identifier: CC-BY-4.0
#######################################################################
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix bamm: <urn:bamm:io.openmanufacturing:meta-model:1.0.0#>.
@prefix unit: <urn:bamm:io.openmanufacturing:unit:1.0.0#>.
@prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:1.0.0#>.
@prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:1.0.0#>.
@prefix : <urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#>.
:UUIDv4RegularExpression a bamm-c:RegularExpressionConstraint;
bamm:name "UUIDv4RegularExpression";
bamm:preferredName "Catena-X Id Regular Expression"@en;
bamm: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."@en;
bamm:value "(^[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}$)";
bamm:see <https://datatracker.ietf.org/doc/html/rfc4122>.
:UUIDv4 a bamm:Characteristic;
bamm:name "UUIDv4";
bamm:preferredName "UUIDv4"@en;
bamm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en;
bamm:dataType xsd:string.
:catenaXId a bamm:Property;
bamm:name "catenaXId";
bamm:preferredName "Catena-X Identifier"@en;
bamm:description "The Catena-X ID of the given item (i.e. a part type or part instance), valid for the Catena-X dataspace."@en;
bamm:characteristic :CatenaXIdTrait;
bamm:exampleValue "580d3adf-1981-44a0-a214-13d6ceed9379".
:CatenaXIdTrait a bamm-c:Trait;
bamm:name "CatenaXIdTrait";
bamm:preferredName "Catena-X ID Trait"@en;
bamm:description "Trait to ensure data format for Catena-X ID"@en;
bamm-c:constraint :UUIDv4RegularExpression;
bamm-c:baseCharacteristic :UUIDv4.
:sites a bamm:Property;
bamm:name "sites";
bamm:preferredName "Sites"@en;
bamm:description "A site is a delimited geographical area where a legal entity does business (geographical address with geo coordinates).A site always has a primary physical address. It is possible that further physical addresses are specified for the site. P.O. box details are only possible in addition to the physical address. A site has a 1:n relation to addresses, means at least 1 address is necessary and multiple addresses are possible."@en;
bamm:characteristic :SitesCharacteristic;
bamm:see <https://confluence.catena-x.net/x/QkBHAw>.
:SitesCharacteristic a bamm-c:Set;
bamm:name "SitesCharacteristic";
bamm:description "Sites Characteristic"@en;
bamm:dataType :SiteEntity.
:SiteEntity a bamm:Entity;
bamm:name "SiteEntity";
bamm:preferredName "Site Entity"@en;
bamm:description "Site Entity"@en;
bamm:properties (:catenaXsiteId :function [
bamm:property :functionValidFrom;
bamm:optional "true"^^xsd:boolean
] [
bamm:property :functionValidUntil;
bamm:optional "true"^^xsd:boolean
]).
:catenaXsiteId a bamm:Property;
bamm:name "catenaXSiteId";
bamm:preferredName "Catena-X site identifier"@en;
bamm:description "The identifier of the site according to Catena-X BPDM. The catenaXsiteId must be a valid Catena-X BPN. The BPN is a unique, unchangeable identifier for Business Partners / company locations from foundation to closure, regardless of the different business relationships / structures between or within the Business Partners or company locations."@en;
bamm:characteristic :BpnCharacteristic;
bamm:exampleValue "BPNS1234567890ZZ".
:function a bamm:Property;
bamm:name "function";
bamm:preferredName "Function"@en;
bamm:description "The function of the site in relation to the part (i.e. the activity within the value chain of the part that is performed at the site)"@en;
bamm:characteristic :FunctionCharacteristic;
bamm:exampleValue "production".
:functionValidFrom a bamm:Property;
bamm:name "functionValidFrom";
bamm:preferredName "Function valid from"@en;
bamm:description "Timestamp, from when the site has the specified function for the given part"@en;
bamm:characteristic bamm-c:Timestamp.
:functionValidUntil a bamm:Property;
bamm:name "functionValidUntil";
bamm:preferredName "functionValidUntil"@en;
bamm:description "Timestamp, until when the site has the specified function for the given part"@en;
bamm:characteristic bamm-c:Timestamp.
:BpnCharacteristic a bamm:Characteristic;
bamm:name "BpnCharacteristic";
bamm:preferredName "BPN Characteristic"@en;
bamm:description "A string of 16 characters:\nPrefix: 3 digits\t\t\t\t\nClassification: 1 digit\nIdentifier: 10 digits"@en;
bamm:dataType xsd:string.
:FunctionCharacteristic a bamm-c:Enumeration;
bamm:name "FunctionCharacteristic";
bamm:preferredName "Function Characteristic"@en;
bamm:dataType xsd:string;
bamm-c:values ("production").
:PartSiteInformationAsPlanned a bamm:Aspect;
bamm:name "PartSiteInformationAsPlanned";
bamm:preferredName "Part Site Information as Planned"@en;
bamm:description "The aspect provides site related information for a given as planned item (i.e. a part type or part instance that is uniquely identifiable within Catena-X via its Catena-X ID). A site is a delimited geographical area where a legal entity does business. In the \"as planned\" lifecycle context all potentially related sites are listed including all sites where e.g. production of this part (type) is planned."@en;
bamm:properties (:catenaXId :sites);
bamm:operations ();
bamm:events ().