Name: gateway-uvi/rngs/response.rng
| 1: | <grammar |
| 2: | datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" |
| 3: | xmlns="http://relaxng.org/ns/structure/1.0" |
| 4: | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5: | ns="http://www.fp7-adventure.eu/xmlSchema/Gateways/"> |
| 6: | |
| 7: | <define name="xsi.schemaLocation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 8: | <attribute name="xsi:schemaLocation"> |
| 9: | <data type="anyURI"/> |
| 10: | </attribute> |
| 11: | </define> |
| 12: | |
| 13: | <start> |
| 14: | <element name="gatewayResponse"> |
| 15: | <optional> |
| 16: | <ref name="xsi.schemaLocation"/> |
| 17: | </optional> |
| 18: | <element name="header"> |
| 19: | <ref name="header"/> |
| 20: | </element> |
| 21: | <element name="payload"> |
| 22: | <ref name="payload"/> |
| 23: | </element> |
| 24: | </element> |
| 25: | </start> |
| 26: | |
| 27: | <define name='header'> |
| 28: | <element name="operationName"> |
| 29: | <data type="NMTOKEN"/> |
| 30: | </element> |
| 31: | <element name="commandResult"> |
| 32: | <data type="string"/> |
| 33: | </element> |
| 34: | <element name="commandSequence"> |
| 35: | <choice> |
| 36: | <value>LAST</value> |
| 37: | <value>INTERMEDIATE</value> |
| 38: | </choice> |
| 39: | </element> |
| 40: | <optional> |
| 41: | <element name="validity"> |
| 42: | <choice> |
| 43: | <value>NOW</value> |
| 44: | <value>UNTIL</value> |
| 45: | <value>FOREVER</value> |
| 46: | </choice> |
| 47: | </element> |
| 48: | </optional> |
| 49: | <optional> |
| 50: | <element name="commandResultDescription"> |
| 51: | <data type="string"/> |
| 52: | </element> |
| 53: | </optional> |
| 54: | </define> |
| 55: | |
| 56: | <define name="payload"> |
| 57: | <zeroOrMore> |
| 58: | <element name="outputData"> |
| 59: | <attribute name="paramName"> |
| 60: | <data type="NMTOKEN"/> |
| 61: | </attribute> |
| 62: | <optional> |
| 63: | <attribute name="encoding"> |
| 64: | <choice> |
| 65: | <value>false</value> |
| 66: | <value>base64</value> |
| 67: | </choice> |
| 68: | </attribute> |
| 69: | </optional> |
| 70: | <choice> |
| 71: | <text/> |
| 72: | <element name="summary"> |
| 73: | <element name="info"> |
| 74: | <attribute name="name"> |
| 75: | <data type="string"/> |
| 76: | </attribute> |
| 77: | <optional> |
| 78: | <attribute name="semRef"> |
| 79: | <data type="string"/> |
| 80: | </attribute> |
| 81: | </optional> |
| 82: | <zeroOrMore> |
| 83: | <element name="info"> |
| 84: | <attribute name="name"> |
| 85: | <data type="string"/> |
| 86: | </attribute> |
| 87: | <attribute name="value"> |
| 88: | <data type="string"/> |
| 89: | </attribute> |
| 90: | </element> |
| 91: | </zeroOrMore> |
| 92: | </element> |
| 93: | </element> |
| 94: | </choice> |
| 95: | </element> |
| 96: | </zeroOrMore> |
| 97: | </define> |
| 98: | </grammar> |
