RspecExtensions/sliver-info/1: sliver_info.xsd

File sliver_info.xsd, 1.2 KB (added by sedwards@bbn.com, 12 years ago)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- An extension for specifying sliver info within an RSpec -->
3<!-- Hosted here: http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1/sliver_info.xsd?format=raw -->
4<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1" xmlns:sliver_info="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1">
5  <!-- This is meant to extend the node or link element -->
6  <xs:element name="geni_sliver_info">
7    <xs:complexType>
8      <xs:attribute name="creator_urn" use="required" type="xs:string"/>
9      <xs:attribute name="creation_time" use="required" type="xs:dateTime"/>
10      <xs:attribute name="expiration_time" use="required" type="xs:dateTime"/>
11      <xs:attribute name="start_time" type="xs:dateTime"/>
12      <xs:attribute name="state" type="xs:string"/>
13      <xs:attribute name="destroyed" type="xs:boolean"/>
14      <xs:attribute name="error" type="xs:string"/>
15      <xs:attribute name="resource_id" type="xs:string"/>
16    </xs:complexType>
17  </xs:element>
18</xs:schema>