Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dmj
kitodo-schema
Commits
ae698cf9
Commit
ae698cf9
authored
Oct 17, 2017
by
David Maus
Browse files
Grammatik für Konfiguration der Prozesseigenschaften
parent
7868a9f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
ae698cf9
...
...
@@ -11,7 +11,7 @@ SAXON = java -jar lib/saxon9he.jar
%.sch
:
%.rng
$(SAXON)
-xsl
:lib/rngsch.xsl
-o
:
$@
$<
all
:
ruleset import projects test
all
:
ruleset import projects
properties
test
import
:
src/import.xsd src/import.rng
...
...
@@ -19,6 +19,8 @@ ruleset: src/ruleset.xsd src/ruleset.rng src/ruleset.sch
projects
:
src/projects.xsd src/projects.rng
properties
:
src/properties.xsd src/properties.rng
.PHONY
:
clean
clean
:
rm
-f
src/
*
.xsd
...
...
src/properties.rnc
0 → 100644
View file @
ae698cf9
# -*- mode: rnc; -*-
#
# RelaxNG Schema für Kitido.Production Prozesseigenschaften
#
# Author: David Maus <maus@hab.de>
#
start = processProperties
processProperties =
element config_processProperties {
Property+
}
Property =
element property {
attribute name { text }
& attribute container { "0" }
& Project+
& Step+
& ProcessGroup
& ValidationRegExpr?
& Type
& DefaultValue
& Value*
}
Project =
element project {
text
}
Step =
element showStep {
attribute name { text }
& AccessAttr
& empty
}
ProcessGroup =
element showProcessGroup {
AccessAttr
& empty
}
AccessAttr =
attribute access { "read" | "write" | "writeRequired" }
ValidationRegExpr =
element validation {
text
}
Type =
element type {
"text" | "list" | "listmultiselect" | "boolean" | "date" | "number" | "link"
}
DefaultValue =
element defaultvalue {
text
}
Value =
element value {
text
}
\ No newline at end of file
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