Cisco Cisco Security Manager 4.11 Guia De Especificaciones
Cisco Security Manager 4.4 API Specification (Version 1.1)
OL- 29074-01
Page 191
10 XML Schema
The XML schema is broken into four files.
10.1 Common XSD
<?xml version="1.0" encoding="UTF-8"?>
<
xs:schema
xmlns:xs
="
http://www.w3.org/2001/XMLSchema
"
xmlns
="
csm
"
targetNamespace
="
csm
">
<
xs:simpleType
name
="
ObjectIdentifier
">
<
xs:restriction
base
="
xs:string
">
<
xs:pattern
value
="
[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}
"/>
</
xs:restriction
>
</
xs:simpleType
>
<
xs:complexType
name
="ObjectIdentifierList">
<
xs:sequence
>
<
xs:element
name
="gid"
type
="ObjectIdentifier"
minOccurs
="1"
maxOccurs
="unbounded"/>
</
xs:sequence
>
</
xs:complexType
>
<
xs:complexType
name
="
BaseObject
">
<
xs:sequence
>
<
xs:element
name
="
gid
"
type
="
ObjectIdentifier
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<
xs:element
name
="
name
"
type
="
xs:string
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="
lastUpdateTime
"
type
="
xs:dateTime
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<
xs:element
name
="
parentGID
"
type
="
ObjectIdentifier
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="
updatedByUser
"
type
="
xs:string
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="
lastCommitTime
"
type
="
xs:dateTime
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="
ticketId
"
type
="
xs:string
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="
activityName
"
type
="
xs:string
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
</
xs:sequence
>
</
xs:complexType
>
<
xs:complexType
name
="
BaseError
">
<
xs:sequence
>
<
xs:element
name
="
code
"
type
="
xs:unsignedLong
"
maxOccurs
="
1
"/>
<
xs:element
name
="
description
"
type
="
xs:string
"
maxOccurs
="
1
"/>
</
xs:sequence
>
</
xs:complexType
>
<
xs:complexType
name
="
BaseReqResp
">
<
xs:sequence
>
<
xs:element
name
="
protVersion
"
type
="
xs:double
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="
reqId
"
type
="
xs:string
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="startIndex"
type
="xs:unsignedLong"
minOccurs
="0"
maxOccurs
="1"/>
<
xs:element
name
="endIndex"
type
="xs:unsignedLong"
minOccurs
="0"
maxOccurs
="1"/>
<
xs:element
name
="totalCount"
type
="xs:unsignedLong"
minOccurs
="0"
maxOccurs
="1"/>
<
xs:element
name
="
error
"
type
="
BaseError
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
</
xs:sequence
>
</
xs:complexType
>
<
xs:complexType
name
="
EntityDescriptor
">
<
xs:sequence
>
<
xs:element
name
="
name
"
type
="
xs:string
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="
type
"
type
="
xs:string
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
</
xs:sequence
>
</
xs:complexType
>
<
xs:element
name
="
device
"
type
="
Device
"/>
<
xs:complexType
name
="
Device
">
<
xs:complexContent
>
<
xs:extension
base
="
BaseObject
">
<
xs:sequence
>
<
xs:element
name
="
osType
"
type
="
OSType
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<
xs:element
name
="
osVersion
"
type
="
xs:string
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<
xs:element
name
="
imageName
"
type
="
xs:string
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<
xs:element
name
="
sysObjectID
"
type
="
xs:string
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<
xs:element
name
="
fullConfig
"
type
="
xs:string
"
minOccurs
="
0
"
maxOccurs
="
1
"/>