@prefix schema: <https://schema.org/> .
@prefix ssd:   <http://www.w3.org/ns/sparql-service-description#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix qb:    <http://purl.org/linked-data/cube#> .
@prefix dgu:   <http://reference.data.gov.uk/def/reference/> .
@prefix ui:    <http://purl.org/linked-data/registry-ui#> .
@prefix dct:   <http://purl.org/dc/terms/> .
@prefix reg:   <http://purl.org/linked-data/registry#> .
@prefix api:   <http://purl.org/linked-data/api/vocab#> .
@prefix vann:  <http://purl.org/vocab/vann/> .
@prefix prov:  <http://www.w3.org/ns/prov#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix cc:    <http://creativecommons.org/ns#> .
@prefix void:  <http://rdfs.org/ns/void#> .
@prefix adms:  <http://www.w3.org/ns/adms#> .
@prefix org:   <http://www.w3.org/ns/org#> .
@prefix odrs:  <http://schema.theodi.org/odrs#> .
@prefix env-ui: <http://environment.data.gov.uk/registry/structure/ui/> .
@prefix version: <http://purl.org/linked-data/version#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ldp:   <http://www.w3.org/ns/ldp#> .
@prefix time:  <http://www.w3.org/2006/time#> .
@prefix vs:    <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .

<https://data.geoscience.fr/ncl/system/form-templates/register>
        a              ui:FormTemplate ;
        rdfs:label     "Subregister"@en ;
        ui:formFields  ( [ a              ui:FormField ;
                           rdfs:label     "id" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    reg:notation ;
                           ui:required    true ;
                           ui:tooltip     "ID ('notation') for the sub-register"@en ;
                           skos:notation  "id"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "label" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    rdfs:label ;
                           ui:required    true ;
                           ui:tooltip     "Label (name) for the register"@en ;
                           skos:notation  "label"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "description" ;
                           ui:fieldType   ui:textField ;
                           ui:property    dct:description ;
                           ui:required    true ;
                           ui:tooltip     "Longer description of the register"@en ;
                           skos:notation  "description"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "membership predicate" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    ldp:membershipPredicate ;
                           ui:tooltip     "Optional membership predicate for the register."@en ;
                           skos:notation  "membership"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "inv membership" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    reg:inverseMembershipPredicate ;
                           ui:tooltip     "Optional inverse membership predicate for the register."@en ;
                           skos:notation  "inv-membership"
                         ]
                         [ a               ui:FormField ;
                           rdfs:label      "contained types" ;
                           ui:fieldType    ui:anyURIField ;
                           ui:multivalued  true ;
                           ui:property     reg:containedItemClass ;
                           ui:tooltip      "Option set of types which will be allowed in this register."@en ;
                           skos:notation   "containedIC"
                         ]
                         [ a               ui:FormField ;
                           rdfs:label      "register type" ;
                           ui:fieldType    ui:anyURIField ;
                           ui:multivalued  true ;
                           ui:property     rdf:type ;
                           ui:tooltip      "Additional rdf:type values for the register (will already be a reg:Register)."@en ;
                           skos:notation   "type"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "hierarchy child property" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    ui:hierarchyChildProperty ;
                           ui:tooltip     "Property used for child links in tree view"@en ;
                           skos:notation  "hChild"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "hierarchy root property" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    ui:hierarchyRootProperty ;
                           ui:tooltip     "Property used to find root entries in tree view"@en ;
                           skos:notation  "hRoot"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "category" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    reg:category ;
                           ui:tooltip     "Category tag for the resister to aid discovery"@en ;
                           skos:notation  "category"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "owner" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    reg:owner ;
                           ui:tooltip     "Organization that owns the register"@en ;
                           skos:notation  "owner"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "entity type" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    env-ui:entityType ;
                           ui:tooltip     "The kind of thing held in the register"@en ;
                           skos:notation  "entity"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "licence" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    dct:license ;
                           ui:tooltip     "Licence that applies to the register contents"@en ;
                           skos:notation  "licence"
                         ]
                       ) ;
        ui:prototype   [ a  reg:Register ] ;
        ui:tooltip     "Define a sub-register."@en .
