<?xml version="1.0" encoding="utf-8"?>
<!--<?xml-stylesheet type="text/xsl" href="onvif-schema-viewer.xsl"?>-->
<!--
Copyright (c) 2008-2010 by ONVIF: Open Network Video Interface Forum. All rights reserved.
Recipients of this document may copy, distribute, publish, or display this document so long as this copyright notice, license and disclaimer are retained with all copies of the document. No license is granted to modify this document.
THIS DOCUMENT IS PROVIDED "AS IS," AND THE CORPORATION AND ITS MEMBERS AND THEIR AFFILIATES, MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THIS DOCUMENT ARE SUITABLE FOR ANY PURPOSE; OR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS DOCUMENT, WHETHER OR NOT (1) THE CORPORATION, MEMBERS OR THEIR AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR (2) SUCH DAMAGES WERE REASONABLY FORESEEABLE, AND ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS DOCUMENT. THE FOREGOING DISCLAIMER AND LIMITATION ON LIABILITY DO NOT APPLY TO, INVALIDATE, OR LIMIT REPRESENTATIONS AND WARRANTIES MADE BY THE MEMBERS AND THEIR RESPECTIVE AFFILIATES TO THE CORPORATION AND OTHER MEMBERS IN CERTAIN WRITTEN POLICIES OF THE CORPORATION.
-->
<xs:schema xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:xop="http://www.w3.org/2004/08/xop/include" targetNamespace="http://www.onvif.org/ver10/schema" elementFormDefault="qualified">
<xs:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>
<xs:import namespace="http://docs.oasis-open.org/wsn/b-2" schemaLocation="http://docs.oasis-open.org/wsn/b-2.xsd"/>
<xs:import namespace="http://www.w3.org/2004/08/xop/include" schemaLocation="http://www.w3.org/2004/08/xop/include"/>
<!--===============================-->
<!-- Generic Types -->
<!--===============================-->
<xs:complexType name="DeviceEntity">
<xs:annotation><xs:documentation>Base class for physical entities like inputs and outputs.</xs:documentation></xs:annotation>
<xs:attribute name="token" type="tt:ReferenceToken" use="required">
<xs:annotation><xs:documentation>Unique identifier referencing the physical entity.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
<!--===============================-->
<xs:simpleType name="ReferenceToken">
<xs:annotation><xs:documentation>Unique identifier for a physical or logical resource.
Tokens should be assigned such that they are unique within a device. Tokens must be at least unique within its class.
Length up to 64 characters.</xs:documentation></xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="64"/>
</xs:restriction>
</xs:simpleType>
<!--===============================-->
<xs:simpleType name="Name">
<xs:annotation><xs:documentation>User readable name. Length up to 64 characters.</xs:documentation></xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="64"/>
</xs:restriction>
</xs:simpleType>
<!--===============================-->
<xs:complexType name="IntRectangle">
<xs:annotation><xs:documentation>Rectangle defined by lower left corner position and size. Units are pixel.</xs:documentation></xs:annotation>
<xs:attribute name="x" type="xs:int" use="required"/>
<xs:attribute name="y" type="xs:int" use="required"/>
<xs:attribute name="width" type="xs:int" use="required"/>
<xs:attribute name="height" type="xs:int" use="required"/>
</xs:complexType>
<!--===============================-->
<xs:complexType name="IntRectangleRange">
<xs:annotation><xs:documentation>Range of a rectangle. The rectangle itself is defined by lower left corner position and size. Units are pixel.</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="XRange" type="tt:IntRange">
<xs:annotation><xs:documentation>Range of X-axis.</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="YRange" type="tt:IntRange">
<xs:annotation><xs:documentation>Range of Y-axis.</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="WidthRange" type="tt:IntRange">
<xs:annotation><xs:documentation>Range of width.</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="HeightRange" type="tt:IntRange">
<xs:annotation><xs:documentation>Range of height.</xs:documentation></xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--===============================-->
<xs:complexType name="IntRange">
<xs:annotation><xs:documentation>Range of values greater equal Min value and less equal Max value.</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Min" type="xs:int"/>
<xs:element name="Max" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<!--===============================-->
<xs:complexType name="FloatRange">
<xs:annotation><xs:documentation>Range of values greater equal Min value and less equal Max value.</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Min" type="xs:float"/>
<xs:element name="Max" type="xs:float"/>
</xs:sequence>
</xs:complexType>
<!--===============================-->
<xs:complexType name="DurationRange">
<xs:annotation><xs:documentation>Range of duration greater equal Min duration and less equal Max duration.</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Min" type="xs:duration"/>
<xs:element name="Max" type="xs:duration"/>
</xs:sequence>
</xs:complexType>
<!--===============================-->
<xs:complexType name="IntList">
<xs:annotation><xs:documentation>List of values.</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Items" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!--===============================-->
<!-- End, Generic Types -->
<!--===============================-->
<!--===============================-->
<!--===============================-->
<!-- Media Related Types -->
<!--===============================-->
<xs:complexType name="VideoSource">
<xs:annotation><xs:documentation>Representation of a physical video input.</xs:documentation></xs:annotation>
<xs:complexContent>
<xs:extension base="tt:DeviceEntity">
<xs:sequence>
<xs:element name="Framerate" type="xs:float"><xs:annotation><xs:documentation>Frame rate in frames per second.</xs:documentation></xs:annotation></xs:element>
<xs:element name="Resolution" type="tt:VideoResolution"><xs:annotation><xs:documentation>Horizontal and vertical resolution</xs:documentation></xs:annotation></xs:element>
<xs:element name="Imaging" type="tt:ImagingSettings" minOccurs="0"><xs:annotation><xs:documentation>Optional configuration of the image sensor.</xs:documentation></xs:annotation></xs:element>
<xs:element name="Extension" type="tt:VideoSourceExtension" minOccurs="0"/>
</xs:sequence>
<xs:anyAttribute processContents="lax"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!--===============================-->
<xs:complexType name="VideoSourceExtension">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!--===============================-->
- 1
- 2
前往页