Skip to content

Identifier field

Description

It's possible to mark a field as identifier with memorix:typeOf memorix:Identifier the value must be unique within the recordtype and fonds when configured.

sh:property          [ 
    memorix:typeOf   memorix:Identifier ; // This will mark the field as identifier
    rdfs:label       "File identifier"@en ;
    sh:path          file:id ;
    memorix:inTitleAt 1.0 ;
    sh:order         1.0 ;
    sh:message       "File identifier field should not be empty"@en ;
    sh:group         file:DisplayGroup ;
    dash:editor      dash:TextFieldEditor ;
    sh:datatype      xsd:string ;
    sh:minCount      1 ;
    sh:maxCount      1 ; 
] ;