Ticket #245: scenario.rnc

File scenario.rnc, 1008 bytes (added by Philip Taylor, 15 years ago)

incomplete year-old scenario schema

Line 
1element Scenario {
2 element Environment {
3 element SkySet { xsd:string { pattern = "[a-z]*" } },
4 element SunColour {
5 attribute r { xsd:decimal { minInclusive = "0" } },
6 attribute g { xsd:decimal { minInclusive = "0" } },
7 attribute b { xsd:decimal { minInclusive = "0" } }
8 },
9 element SunElevation {
10 attribute angle { xsd:decimal }
11 },
12 element SunRotation {
13 attribute angle { xsd:decimal }
14 }
15 # ...
16 },
17 element Entities {
18 element Entity {
19 attribute uid { xsd:positiveInteger },
20 element Template { text },
21 element Player { text },
22 element Position {
23 attribute x { xsd:decimal },
24 attribute y { xsd:decimal },
25 attribute z { xsd:decimal }
26 },
27 element Orientation {
28 attribute angle { xsd:decimal }
29 }
30 }*
31 }
32 # ...
33}