Parse-ACNS

 view release on metacpan or  search on metacpan

share/schema/compat/acns.xsd  view on Meta::CPAN

<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2011 rel. 3 (x64) (http://www.altova.com) by Craig Seidel (private) -->
<!--Created with Liquid XML Studio 6.1.17.0 (http://www.liquid-technologies.com)-->
<xs:schema xmlns="http://www.acns.net/ACNS" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNam...
	<xs:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
	<!--ACNS 2 v1.2-->
	<xs:attribute name="schemaVersion" type="xs:string" fixed="compat"/>
	<xs:complexType name="Contact">
		<xs:all>
			<xs:element name="Entity" type="xs:string"/>
			<xs:element name="Contact" type="xs:string" minOccurs="0"/>
			<xs:element name="Address" type="xs:string" minOccurs="0"/>
			<xs:element name="Phone" type="xs:string" minOccurs="0"/>
			<xs:element name="Email" type="xs:string"/>
			<xs:element name="ContactURL" type="xs:anyURI" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="Case">
		<xs:all>
			<xs:element name="ID" type="xs:string"/>
			<xs:element name="Ref_URL" type="xs:anyURI" minOccurs="0"/>
			<xs:element name="Status" type="xs:string" minOccurs="0"/>
			<xs:element name="Severity" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="Normal"/>
						<xs:enumeration value="Low"/>
						<xs:enumeration value="High"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:element name="Infringement" id="v0.7">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Case" type="Case"/>
				<xs:element name="Complainant" type="Contact"/>
				<xs:element name="Service_Provider" type="Contact"/>
				<xs:element name="Source">
					<xs:complexType>
						<xs:all>
							<xs:element name="TimeStamp" type="xs:dateTime"/>
							<xs:element name="IP_Address" type="type_IPAddress"/>
							<xs:element name="Port" type="type_Port" minOccurs="0"/>
							<xs:element name="Protocol" minOccurs="0">
								<xs:simpleType>
									<xs:restriction base="xs:int">
										<xs:minInclusive value="0"/>
										<xs:maxInclusive value="254"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="DNS_Name" minOccurs="0">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:whiteSpace value="collapse"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="MAC_Address" type="xs:string" minOccurs="0"/>
							<xs:element name="IP_Block" type="xs:string" minOccurs="0"/>
							<xs:element name="Type" type="xs:string" minOccurs="0"/>
							<xs:element name="SubType" minOccurs="0">
								<xs:complexType>



( run in 0.938 second using v1.01-cache-2.11-cpan-6de40a662fe )