-
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.
Merge pull request #67 from mthiers/mthiers-MarketplaceOffer-new
MarketplaceOffer reopen PR due to ECA failure
- Loading branch information
Showing
3 changed files
with
378 additions
and
2 deletions.
There are no files selected for viewing
365 changes: 365 additions & 0 deletions
365
io.catenax.market_place_offer/1.4.0/MarketplaceOffer.ttl
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,365 @@ | ||
####################################################################### | ||
# Copyright (c) 2022 T-Systems International GmbH | ||
# Copyright (c) 2022 Bayerische Motoren Werke Aktiengesellschaft | ||
# Copyright (c) 2022 Robert Bosch GmbH | ||
# Copyright (c) 2022 Henkel AG & Co. KGaA | ||
# Copyright (c) 2022 LRP Autorecycling Leipzig GmbH | ||
# Copyright (c) 2022 SAP SE | ||
# Copyright (c) 2022 ZF Friedrichshafen AG | ||
# Copyright (c) 2022 Circular Economy Solutions GmbH (C-ECO) | ||
# 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 bamm: <urn:bamm:io.openmanufacturing:meta-model:2.0.0#>. | ||
@prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:2.0.0#>. | ||
@prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:2.0.0#>. | ||
@prefix unit: <urn:bamm:io.openmanufacturing:unit:2.0.0#>. | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>. | ||
@prefix : <urn:bamm:io.catenax.market_place_offer:1.4.0#>. | ||
|
||
:MarketplaceOffer a bamm:Aspect; | ||
bamm:preferredName "Marketplace Offer"@en; | ||
bamm:description "Description of all needed information to place a market place offer on the marketplace."@en; | ||
bamm:properties ([ | ||
bamm:property :sku; | ||
bamm:optional "true"^^xsd:boolean | ||
] :quantity :unitOfMeasure [ | ||
bamm:property :condition; | ||
bamm:optional "true"^^xsd:boolean | ||
] :pickupLocation [ | ||
bamm:property :incoterms; | ||
bamm:optional "true"^^xsd:boolean | ||
] :price [ | ||
bamm:property :image; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :attachment; | ||
bamm:optional "true"^^xsd:boolean | ||
] :bundleOffer :marketplaceProduct [ | ||
bamm:property :missingParts; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :dismantled; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :mechanicalDamage; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :corroded; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :discolored; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :availabilityDate; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :mileage; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :burned; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :catenaXId; | ||
bamm:optional "true"^^xsd:boolean | ||
]); | ||
bamm:operations (); | ||
bamm:events (). | ||
:sku a bamm:Property; | ||
bamm:description "Stock Keeping Unit is an unique identifier of the dealer providing the product"@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "1002090, xYz.09, ABcXYZ". | ||
:quantity a bamm:Property; | ||
bamm:description "The available quantity of an offered product."@en; | ||
bamm:characteristic :QuantityCharacteristic; | ||
bamm:exampleValue "50"^^xsd:double. | ||
:unitOfMeasure a bamm:Property; | ||
bamm:description "The unit of measure (related to quantity)."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "each"; | ||
bamm:see <https%253A%252F%252Fresources.gs1us.org%252FGS1-US-Data-Hub-Help-Center%252FArtMID%252F3451%252FArticleID%252F116%252FUnit-of-Measure-Codes>. | ||
:condition a bamm:Property; | ||
bamm:description "The condition of the offered product."@en; | ||
bamm:characteristic :ConditionCharacteristic; | ||
bamm:exampleValue "used". | ||
:pickupLocation a bamm:Property; | ||
bamm:description "The pickup location for the offered item."@en; | ||
bamm:characteristic :GeographicalCoordinates. | ||
:incoterms a bamm:Property; | ||
bamm:description "The incoterms."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "DAP (Delivered at Place)"; | ||
bamm:see <https%2525253A%2525252F%2525252Ficcwbo.org%2525252Fpublication%2525252Fincoterms-2020-introduction%2525252F>. | ||
:price a bamm:Property; | ||
bamm:description "The price of the product."@en; | ||
bamm:characteristic :Price. | ||
:image a bamm:Property; | ||
bamm:description "Images of the product."@en; | ||
bamm:characteristic :ImageFile. | ||
:attachment a bamm:Property; | ||
bamm:description "Attachments related to the product."@en; | ||
bamm:characteristic :Attachment. | ||
:bundleOffer a bamm:Property; | ||
bamm:preferredName "Bundle Offer"@en; | ||
bamm:description "If this is a single product or a lot of products (group) not being necessarly of the same part number."@en; | ||
bamm:characteristic :BundleOffer. | ||
:marketplaceProduct a bamm:Property; | ||
bamm:preferredName "marketplace product"@en; | ||
bamm:description "The description of the product within the marketplace that might differ from the digital twin."@en; | ||
bamm:characteristic :ProductCharacteristic. | ||
:missingParts a bamm:Property; | ||
bamm:preferredName "missing parts"@en; | ||
bamm:description "Completeness of the product, e.g. missing parts are not acceptable."@en; | ||
bamm:characteristic :Boolean; | ||
bamm:exampleValue "true"^^xsd:boolean. | ||
:dismantled a bamm:Property; | ||
bamm:preferredName "dismantled"@en; | ||
bamm:description "Information on whether the product has been dismantled."@en; | ||
bamm:characteristic :Boolean; | ||
bamm:exampleValue "true"^^xsd:boolean. | ||
:mechanicalDamage a bamm:Property; | ||
bamm:preferredName "mechanical damage"@en; | ||
bamm:description "Information on mechanical damage to the part, e.g. two broken ribs or part deformation indicate mechanical damage."@en; | ||
bamm:characteristic :Boolean; | ||
bamm:exampleValue "true"^^xsd:boolean. | ||
:corroded a bamm:Property; | ||
bamm:preferredName "corroded"@en; | ||
bamm:description "Information on whether the product has corrosion."@en; | ||
bamm:characteristic :Boolean; | ||
bamm:exampleValue "true"^^xsd:boolean. | ||
:discolored a bamm:Property; | ||
bamm:preferredName "discolored"@en; | ||
bamm:description "Information on whether the product has been discoloured."@en; | ||
bamm:characteristic :Boolean; | ||
bamm:exampleValue "true"^^xsd:boolean. | ||
:availabilityDate a bamm:Property; | ||
bamm:preferredName "availability date"@en; | ||
bamm:description "The availability date when the product is in stock."@en; | ||
bamm:characteristic :AvailabilityDateCharacteristic; | ||
bamm:exampleValue "2022-03-11"^^xsd:date. | ||
:mileage a bamm:Property; | ||
bamm:preferredName "mileage"@en; | ||
bamm:description "The mileage the item was ins use."@en; | ||
bamm:characteristic :MileageCharacteristic; | ||
bamm:exampleValue "120000.06"^^xsd:decimal. | ||
:burned a bamm:Property; | ||
bamm:preferredName "burned"@en; | ||
bamm:description "Information on whether the product has been fired and suffered damage from heat."@en; | ||
bamm:characteristic :Boolean; | ||
bamm:exampleValue "true"^^xsd:boolean. | ||
:catenaXId a bamm:Property; | ||
bamm:preferredName "Catena-X Identifier"@en; | ||
bamm:description "The fully anonymous Catena-X ID of the offer, valid for the Catena-X dataspace."@en; | ||
bamm:characteristic :CatenaXIdTrait; | ||
bamm:exampleValue "580d3adf-1981-44a0-a214-13d6ceed9379". | ||
:ConditionCharacteristic a bamm-c:Enumeration; | ||
bamm:preferredName "Condition Characteristic"@en; | ||
bamm:description "Condition of the article as enumeration."@en; | ||
bamm:dataType xsd:string; | ||
bamm-c:values ("New" "Used" "Refurbished" "Other"). | ||
:GeographicalCoordinates a bamm:Characteristic; | ||
bamm:preferredName "geographical coordinates"@en; | ||
bamm:see <https%2525253A%2525252F%2525252Fen.wikipedia.org%2525252Fwiki%2525252FGeographic_coordinate_system>; | ||
bamm:dataType :GeographicalCoordinate. | ||
:Price a bamm:Characteristic; | ||
bamm:preferredName "price"@en; | ||
bamm:dataType :PriceEntity. | ||
:ImageFile a bamm:Characteristic; | ||
bamm:preferredName "ImageFile"@en; | ||
bamm:description "Image of the object."@en; | ||
bamm:dataType :File. | ||
:Attachment a bamm-c:Set; | ||
bamm:preferredName "Attachment"@en; | ||
bamm:description "Links the referenced attachment."@en; | ||
bamm:dataType :AttachmentEntity. | ||
:BundleOffer a bamm:Characteristic; | ||
bamm:preferredName "bundleOffer"@en; | ||
bamm:dataType xsd:boolean. | ||
:ProductCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "product characteristic"@en; | ||
bamm:dataType :ProductEntity. | ||
:Boolean a bamm:Characteristic; | ||
bamm:preferredName "boolean"@en; | ||
bamm:dataType xsd:boolean. | ||
:AvailabilityDateCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "availability date characteristic"@en; | ||
bamm:description "The availability date when the product is in stock."@en; | ||
bamm:dataType xsd:date. | ||
:MileageCharacteristic a bamm-c:Measurement; | ||
bamm:preferredName "mileage characteristic"@en; | ||
bamm:description "The value describing the mileage of the item."@en; | ||
bamm:dataType xsd:decimal; | ||
bamm-c:unit unit:kilometre. | ||
:CatenaXIdTrait a bamm-c:Trait; | ||
bamm:preferredName "Catena-X ID Trait"@en; | ||
bamm:description "Trait to ensure data format for Catena-X ID."@en; | ||
bamm-c:baseCharacteristic :UUIDv4; | ||
bamm-c:constraint :UUIDv4RegularExpression. | ||
:GeographicalCoordinate a bamm:Entity; | ||
bamm:preferredName "geographical coordinate"@en; | ||
bamm:properties (:longitude :latitude). | ||
:PriceEntity a bamm:Entity; | ||
bamm:preferredName "price"@en; | ||
bamm:properties (:value :currency). | ||
:File a bamm:Entity; | ||
bamm:preferredName "File"@en; | ||
bamm:description "Image file of the object."@en; | ||
bamm:properties (:name :location). | ||
:AttachmentEntity a bamm:Entity; | ||
bamm:preferredName "attachment entity"@en; | ||
bamm:description "attachment for the article."@en; | ||
bamm:properties (:name :location). | ||
:ProductEntity a bamm:Entity; | ||
bamm:preferredName "product entity"@en; | ||
bamm:properties (:productDescription :brand :category [ | ||
bamm:property :originalManufacturer; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :manufacturerPartNumber; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :productLink; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :oeNumber; | ||
bamm:optional "true"^^xsd:boolean | ||
] :technicalSpecification). | ||
:UUIDv4 a bamm:Characteristic; | ||
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. | ||
:UUIDv4RegularExpression a bamm-c:RegularExpressionConstraint; | ||
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)."@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}$". | ||
:longitude a bamm:Property; | ||
bamm:preferredName "longitude"@en; | ||
bamm:description "The longitude of the 2D sphere coordinates."@en; | ||
bamm:characteristic :LongitudeCharacteristic; | ||
bamm:exampleValue "-117.283333"^^xsd:float. | ||
:latitude a bamm:Property; | ||
bamm:preferredName "latitude"@en; | ||
bamm:description "The latitude of the 2D sphere coordinates."@en; | ||
bamm:characteristic :LatitudeCharacteristic; | ||
bamm:exampleValue "48.137154"^^xsd:float. | ||
:value a bamm:Property; | ||
bamm:preferredName "value"@en; | ||
bamm:description "The absolute value of the price"@en; | ||
bamm:characteristic :Value; | ||
bamm:exampleValue "250.00"^^xsd:float. | ||
:currency a bamm:Property; | ||
bamm:description "The currency of the price."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "EUR"; | ||
bamm:see <https%2525253A%2525252F%2525252Fwww.iso.org%2525252Fiso-4217-currency-codes.html>. | ||
:name a bamm:Property; | ||
bamm:preferredName "name"@en; | ||
bamm:description "Name or title of the object."@en; | ||
bamm:characteristic bamm-c:Text. | ||
:location a bamm:Property; | ||
bamm:preferredName "location"@en; | ||
bamm:description "Location of the object."@en; | ||
bamm:characteristic :LocationCharacteristic. | ||
:productDescription a bamm:Property; | ||
bamm:preferredName "product description"@en; | ||
bamm:description "The description of the product on the marketplace."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "BMW 3er (E36) BJ: 1996". | ||
:brand a bamm:Property; | ||
bamm:preferredName "brand"@en; | ||
bamm:description "The brandname of the offered product."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "ZF". | ||
:category a bamm:Property; | ||
bamm:preferredName "category"@en; | ||
bamm:description "Category within the marketplace for classification of listings."@en; | ||
bamm:characteristic :CategoryCharacteristic. | ||
:originalManufacturer a bamm:Property; | ||
bamm:preferredName "original manufacturer"@en; | ||
bamm:description "The original manufacturer of a product."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "BMW". | ||
:manufacturerPartNumber a bamm:Property; | ||
bamm:preferredName "manufacturer part number"@en; | ||
bamm:description "The unique identifier of the product from the manufacturer."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "4S7R7002DB". | ||
:productLink a bamm:Property; | ||
bamm:preferredName "product link"@en; | ||
bamm:description "A link to either the product on the original marketplace/webshop or a link to the product specifications document."@en; | ||
bamm:characteristic :ProductLinkCharacteristic. | ||
:oeNumber a bamm:Property; | ||
bamm:preferredName "original equipment number"@en; | ||
bamm:description "The original equipment number."@en; | ||
bamm:characteristic bamm-c:Text; | ||
bamm:exampleValue "4B0905851C". | ||
:technicalSpecification a bamm:Property; | ||
bamm:preferredName "technical specification"@en; | ||
bamm:description "Further technical specifications."@en; | ||
bamm:characteristic :TechnicalSpecification. | ||
:LongitudeCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "longitude characteristic"@en; | ||
bamm:dataType xsd:float. | ||
:LatitudeCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "latitude characteristic"@en; | ||
bamm:dataType xsd:float. | ||
:Value a bamm:Characteristic; | ||
bamm:preferredName "value"@en; | ||
bamm:dataType xsd:float. | ||
:LocationCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Location characteristic"@en; | ||
bamm:description "Location with an URI."@en; | ||
bamm:dataType xsd:anyURI. | ||
:CategoryCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "category characteristic"@en; | ||
bamm:description "The category of the listing within the marketplace."@en; | ||
bamm:dataType :CategoryEntity. | ||
:ProductLinkCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "product link characteristic"@en; | ||
bamm:dataType xsd:anyURI. | ||
:TechnicalSpecification a bamm-c:Set; | ||
bamm:preferredName "technical specification"@en; | ||
bamm:dataType :TechnicalSpecificationEntity. | ||
:CategoryEntity a bamm:Entity; | ||
bamm:preferredName "category entity"@en; | ||
bamm:properties (:mainCategory :subCategory). | ||
:TechnicalSpecificationEntity a bamm:Entity; | ||
bamm:preferredName "technical specification"@en; | ||
bamm:properties (:key :technicalValue). | ||
:mainCategory a bamm:Property; | ||
bamm:preferredName "main category"@en; | ||
bamm:characteristic :MainCategory; | ||
bamm:exampleValue "Audio, video, navigation". | ||
:subCategory a bamm:Property; | ||
bamm:preferredName "sub category"@en; | ||
bamm:characteristic :SubCategory; | ||
bamm:exampleValue "Amplifiers, subwoofers, etc". | ||
:key a bamm:Property; | ||
bamm:preferredName "key"@en; | ||
bamm:description "The key of the key value pair"@en; | ||
bamm:characteristic bamm-c:Text. | ||
:technicalValue a bamm:Property; | ||
bamm:preferredName "technical value"@en; | ||
bamm:description "The value of the key value pair."@en; | ||
bamm:characteristic bamm-c:Text. | ||
:MainCategory a bamm-c:List; | ||
bamm:preferredName "main category"@en; | ||
bamm:dataType xsd:string. | ||
:SubCategory a bamm-c:List; | ||
bamm:preferredName "sub category"@en; | ||
bamm:dataType xsd:string. | ||
:QuantityCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "quantity characteristic"@en; | ||
bamm:description "Describes a quantity as decimal number."@en; | ||
bamm:dataType xsd:double. |
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 @@ | ||
{ "status" : "release"} |
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