Fixes on ICBM and Service Status schemas
This commit is contained in:
parent
9424b590ca
commit
1c919880ba
|
@ -24,15 +24,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
>
|
||||
<xs:simpleType name="Latitude">
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:minInclusive value="-90" ></xs:minInclusive>
|
||||
<xs:maxInclusive value="90" ></xs:maxInclusive>
|
||||
<xs:minInclusive value="-90" />
|
||||
<xs:maxInclusive value="90" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="Longitude">
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:minInclusive value="-180" ></xs:minInclusive>
|
||||
<xs:maxInclusive value="180" ></xs:maxInclusive>
|
||||
<xs:minInclusive value="-180" />
|
||||
<xs:maxInclusive value="180" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
version="1.0"
|
||||
elementFormDefault="qualified"
|
||||
xmlns="http://purl.org/rss/1.0/modules/servicestatus/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
>
|
||||
<xs:annotation>
|
||||
|
@ -41,10 +40,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="aboutStats" type="rdf:resource">
|
||||
<xs:element name="aboutStats" type="xs:anyURI">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Resource describing how the availability percentage and average response time are calculated.</xs:documentation>
|
||||
<xs:documentation>URI of an RDF resource describing how the availability percentage and average response time are calculated.</xs:documentation>
|
||||
<xs:documentation>This should be added to the channel element.</xs:documentation>
|
||||
<xs:documentation>
|
||||
Note that the original specification says this is an RDF resource, which may be represented in ways other than a simple URI string in an element.
|
||||
For example, the channel element could have an aboutStats attribute instead, or the element could contain an rdf:Description element, or it could use an `rdf:resource` attribute instead.
|
||||
However, since the specification only used an element with a string URI in its examples,
|
||||
and the Service Status module may be mixed in with documents other than RDF Site Summary feeds,
|
||||
only that representation will be considered valid to avoid any interoperability issues.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
|
@ -62,14 +68,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="lastChecked" type="xs:datetime">
|
||||
<xs:element name="lastChecked" type="xs:dateTime">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The most recent time that the service was checked, no matter how the service responded.</xs:documentation>
|
||||
<xs:documentation>This should be added to an item element.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="lastSeen" type="xs:datetime">
|
||||
<xs:element name="lastSeen" type="xs:dateTime">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The most recent time that the service has successfully responded.</xs:documentation>
|
||||
<xs:documentation>This should be added to an item element.</xs:documentation>
|
||||
|
|
Loading…
Reference in New Issue