Skip to content

Commit

Permalink
Fix regex rules for BPNs and e-mail properties
Browse files Browse the repository at this point in the history
  • Loading branch information
bs-jokri committed Aug 14, 2023
1 parent b5ff329 commit b686ce3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions io.catenax.essincident/2.0.0/EssIncident.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@
:BpnLConstraint a samm-c:RegularExpressionConstraint ;
samm:preferredName "BPNL Constraint"@en ;
samm:description "Business Partner L Number Contraint"@en ;
samm:value "^(BPN)(L)(\\\\d{8})([a-zA-Z0-9]{4})$" .
samm:value "^(BPN)(L)(\\d{8})([a-zA-Z0-9]{4})$" .

:BpnSCharacteristic a samm:Characteristic ;
samm:preferredName "BPNS Characteristic"@en ;
Expand All @@ -334,7 +334,7 @@
:BpnSConstraint a samm-c:RegularExpressionConstraint ;
samm:preferredName "BPNS Constraint"@en ;
samm:description "Business Partner S Number Constraint"@en ;
samm:value "^(BPN)(S)(\\\\d{8})([a-zA-Z0-9]{4})$" .
samm:value "^(BPN)(S)(\\d{8})([a-zA-Z0-9]{4})$" .

:BpnACharacteristic a samm:Characteristic ;
samm:preferredName "BPNA Characteristic"@en ;
Expand All @@ -344,7 +344,7 @@
:BpnAConstraint a samm-c:RegularExpressionConstraint ;
samm:preferredName "BPNA Constraint"@en ;
samm:description "Business Partner A Number Constraint"@en ;
samm:value "^(BPN)(A)(\\\\d{8})([a-zA-Z0-9]{4})$" .
samm:value "^(BPN)(A)(\\d{8})([a-zA-Z0-9]{4})$" .

:EssOriginatorCoordinatesEntity a samm:Entity ;
samm:preferredName "ESS Originator Coordinates Entity"@en ;
Expand All @@ -354,7 +354,7 @@
:ContactMailConstraint a samm-c:RegularExpressionConstraint ;
samm:preferredName "Contact Mail Constraint"@en ;
samm:description "Regular expression for a contact mail address."@en ;
samm:value "^[a-zA-Z0-9.!#$%&?*+\\\\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\\\.[a-zA-Z0-9-]+)*$" .
samm:value "^[a-zA-Z0-9.!#$%&?*+\\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$" .

:longitude a samm:Property ;
samm:preferredName "Longitude"@en ;
Expand Down

0 comments on commit b686ce3

Please sign in to comment.