Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LIDO
lido-development
Commits
f9a296a1
Commit
f9a296a1
authored
Dec 01, 2020
by
mmarkus1
Browse files
update unrestricted version regarding changes of the schema file
parent
4d242d60
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
1.1/lido-v1.1-unrestricted.xsd
View file @
f9a296a1
This diff is collapsed.
Click to expand it.
1.1/lido-v1.1.xsd
View file @
f9a296a1
...
...
@@ -66,11 +66,9 @@
schemaLocation=
"http://www.w3.org/2001/03/xml.xsd"
/>
<xs:import
namespace=
"http://www.opengis.net/gml"
schemaLocation=
"http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"
/>
<xs:import
namespace=
"http://www.lido-schema.org/quality-assurance"
schemaLocation=
"http://www.lido-schema.org/schema/v1.1/lido-v1.1-qa.xsd"
/>
<xs:annotation>
<xs:appinfo>
<xs:appinfo>
<sch:title>
Abstract Schematron rules
</sch:title>
<sch:pattern>
<sch:title>
Allow free text or LIDO's concept elements (mutually
...
...
@@ -103,12 +101,12 @@
</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:title>
Expansion of skos:Concept
</sch:title>
<sch:p>
Ensures that when enriching a dataset with information retrieved via the URI provided in skos:Concept, only
SKOS properties are added to the dataset.
</sch:p>
<sch:rule
context=
"skos:Concept"
id=
"sch_SKOS_properties"
>
<sch:report
test=
"child::*/namespace-uri() != 'http://www.w3.org/2004/02/skos/core#'"
>
Only SKOS properties are allowed within skos:Concept.
...
...
@@ -127,18 +125,18 @@
used as direct child of
<sch:name/>
from the OWL namespace.
</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:title>
rightsType@type: generic or specific type
</sch:title>
<sch:p>
A LIDO element holding lido:rightsType can either hold a generic or a specific type of right.
Since a right can fall in only one of these categories, they are mutually exclusive.
</sch:p>
<sch:rule
abstract=
"true"
id=
"sch_rightsType"
>
<sch:assert
role=
"warn"
test=
"@lido:type = 'http://terminology.lido-schema.org/lido00920'
test=
"@lido:type = 'http://terminology.lido-schema.org/lido00920'
and not(following-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00921'
or preceding-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00921')
or @lido:type = 'http://terminology.lido-schema.org/lido00921'
or @lido:type = 'http://terminology.lido-schema.org/lido00921'
and not(following-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00920'
or preceding-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00920')
or count(parent::*/lido:rightsType) = 1 and not(@lido:type)"
>
...
...
@@ -146,12 +144,12 @@
</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:title>
Possible values for lido:rightsType@lido:type
</sch:title>
<sch:p>
In LIDOv1.1 a lido:type attribute is introduced for lido:rightsType in order to discern generic rights and specific ones.
This rule ensures that only the URIs for these two types of rights are used when @lido:type is set.
</sch:p>
<sch:rule
abstract=
"true"
id=
"sch_rightsType_type"
>
<sch:assert
role=
"warn"
test=
"(@lido:type = 'http://terminology.lido-schema.org/lido00920' or @lido:type = 'http://terminology.lido-schema.org/lido00921')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment