Debian Codegraph @

schemas/arf/1.1/asset-identification_1.1.0.xsd

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
3 xmlns:core="http://scap.nist.gov/schema/reporting-core/1.1" xmlns:xal="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"
4 xmlns:xnl="urn:oasis:names:tc:ciq:xsdschema:xNL:2.0"
5 targetNamespace="http://scap.nist.gov/schema/asset-identification/1.1" elementFormDefault="qualified"
6 attributeFormDefault="unqualified" version="1.1.1" xmlns:cpe-name="http://cpe.mitre.org/naming/2.0">
7 <xs:annotation>
8 <xs:appinfo>
9 <schema>Asset Identification</schema>
10 <author>David Waltermire, Adam Halbardier, John Wunder</author>
11 <version>1.1.1</version>
12 <date>2012-02-13</date>
13 </xs:appinfo>
14 </xs:annotation>
15 <xs:import namespace="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"
16 schemaLocation="xAL.xsd"/>
17 <xs:import namespace="urn:oasis:names:tc:ciq:xsdschema:xNL:2.0"
18 schemaLocation="xNL.xsd"/>
19 <xs:import namespace="http://scap.nist.gov/schema/reporting-core/1.1"
20 schemaLocation="reporting-core_1.1.0.xsd"/>
21 <xs:import namespace="http://cpe.mitre.org/naming/2.0"
22 schemaLocation="../../cpe/2.3/cpe-naming_2.3.xsd"/>
23 <!--The following elements are first-order citizens of this model-->
24 <xs:element name="asset-related" type="ai:asset-identification-type">
25 <xs:key name="assetRelKey">
26 <xs:selector xpath="ai:asset"/>
27 <xs:field xpath="@id"/>
28 </xs:key>
29 <xs:keyref refer="ai:assetRelKey" name="assetRelKeyRef">
30 <xs:selector xpath="."/>
31 <xs:field xpath="@asset-ref"/>
32 </xs:keyref>
33 <xs:keyref refer="ai:assetRelKey" name="assetRelRefSubjKeyRef">
34 <xs:selector xpath="core:relationships/core:relationship"/>
35 <xs:field xpath="@subject"/>
36 </xs:keyref>
37 <xs:keyref refer="ai:assetRelKey" name="assetRelRefObjKeyRef">
38 <xs:selector xpath="core:relationships/core:relationship/core:ref"/>
39 <xs:field xpath="."/>
40 </xs:keyref>
41 </xs:element>
42 <xs:complexType name="asset-identification-type">
43 <xs:complexContent>
44 <xs:extension base="ai:assets-type">
45 <xs:attribute name="asset-ref" type="xs:NCName" use="required"/>
46 </xs:extension>
47 </xs:complexContent>
48 </xs:complexType>
49 <xs:element name="assets" type="ai:assets-type">
50 <xs:key name="assetsRelKey">
51 <xs:selector xpath="ai:asset"/>
52 <xs:field xpath="@id"/>
53 </xs:key>
54 <xs:keyref refer="ai:assetsRelKey" name="assetsRelRefSubjKeyRef">
55 <xs:selector xpath="core:relationships/core:relationship"/>
56 <xs:field xpath="@subject"/>
57 </xs:keyref>
58 <xs:keyref refer="ai:assetsRelKey" name="assetsRelRefObjKeyRef">
59 <xs:selector xpath="core:relationships/core:relationship/core:ref"/>
60 <xs:field xpath="."/>
61 </xs:keyref>
62 </xs:element>
63 <xs:complexType name="assets-type">
64 <xs:complexContent>
65 <xs:extension base="core:relationships-container-type">
66 <xs:sequence>
67 <xs:element name="asset" maxOccurs="unbounded">
68 <xs:complexType>
69 <xs:sequence>
70 <xs:element ref="ai:asset"/>
71 </xs:sequence>
72 <xs:attribute name="id" type="xs:NCName" use="required">
73 <xs:annotation>
74 <xs:documentation>An internal ID to identify this asset.</xs:documentation>
75 </xs:annotation>
76 </xs:attribute>
77 <xs:anyAttribute namespace="##other">
78 <xs:annotation>
79 <xs:documentation>A placeholder so that content creators can add attributes as
80 desired.</xs:documentation>
81 </xs:annotation>
82 </xs:anyAttribute>
83 </xs:complexType>
84 </xs:element>
85 </xs:sequence>
86 </xs:extension>
87 </xs:complexContent>
88 </xs:complexType>
89 <xs:element name="asset" type="ai:asset-type" abstract="true">
90 <xs:annotation>
91 <xs:documentation>Holds identifying attributes that are common to all assets.</xs:documentation>
92 </xs:annotation>
93 </xs:element>
94 <xs:element name="it-asset" type="ai:it-asset-type" abstract="true" substitutionGroup="ai:asset">
95 <xs:annotation>
96 <xs:documentation>Holds identifying attributes that are common to all IT assets</xs:documentation>
97 </xs:annotation>
98 </xs:element>
99 <xs:element name="circuit" type="ai:circuit-type" substitutionGroup="ai:it-asset">
100 <xs:annotation>
101 <xs:documentation>Holds identifying attributes for a circuit.</xs:documentation>
102 </xs:annotation>
103 </xs:element>
104 <xs:element name="computing-device" type="ai:computing-device-type" substitutionGroup="ai:it-asset">
105 <xs:annotation>
106 <xs:documentation>Holds identifying attributes for a computing device.</xs:documentation>
107 </xs:annotation>
108 </xs:element>
109 <xs:element name="data" type="ai:data-type" substitutionGroup="ai:asset">
110 <xs:annotation>
111 <xs:documentation>A stub element to represent the identification of data. This element can be extended in
112 the future for specific types of data.</xs:documentation>
113 </xs:annotation>
114 </xs:element>
115 <xs:element name="database" substitutionGroup="ai:it-asset" type="ai:database-type">
116 <xs:annotation>
117 <xs:documentation>Holds identifying attributes for a database.</xs:documentation>
118 </xs:annotation>
119 </xs:element>
120 <xs:element name="network" type="ai:network-type" substitutionGroup="ai:it-asset">
121 <xs:annotation>
122 <xs:documentation>Holds identifying attributes for a network.</xs:documentation>
123 </xs:annotation>
124 </xs:element>
125 <!-- This element leverages the OASIS xNL specification which spells it as "organisation" -->
126 <xs:element name="organization" type="ai:organization-type" substitutionGroup="ai:asset">
127 <xs:annotation>
128 <xs:documentation>Holds identifying attributes for an organization.</xs:documentation>
129 </xs:annotation>
130 </xs:element>
131 <xs:element name="person" type="ai:person-type" substitutionGroup="ai:asset">
132 <xs:annotation>
133 <xs:documentation>Holds identifying attributes for a person.</xs:documentation>
134 </xs:annotation>
135 </xs:element>
136 <xs:element name="service" substitutionGroup="ai:it-asset" type="ai:service-type">
137 <xs:annotation>
138 <xs:documentation>Holds identifying attributes for a service.</xs:documentation>
139 </xs:annotation>
140 </xs:element>
141 <xs:element name="software" type="ai:software-type" substitutionGroup="ai:it-asset">
142 <xs:annotation>
143 <xs:documentation>Holds identifying attributes for a software installation</xs:documentation>
144 </xs:annotation>
145 </xs:element>
146 <xs:element name="system" type="ai:system-type" substitutionGroup="ai:it-asset">
147 <xs:annotation>
148 <xs:documentation>Holds identifying attributes for a system.</xs:documentation>
149 </xs:annotation>
150 </xs:element>
151 <xs:element name="website" substitutionGroup="ai:it-asset" type="ai:website-type">
152 <xs:annotation>
153 <xs:documentation>Holds identifying attributes for a website.</xs:documentation>
154 </xs:annotation>
155 </xs:element>
156 <!--The following types correspond directly to the elements above-->
157 <xs:complexType name="asset-type" abstract="true">
158 <xs:sequence>
159 <xs:element ref="ai:synthetic-id" minOccurs="0" maxOccurs="unbounded"/>
160 <xs:element ref="ai:locations" minOccurs="0"/>
161 <xs:element name="extended-information" minOccurs="0">
162 <xs:annotation>
163 <xs:documentation>This is a container to hold any addtional identifying information for an asset, as
164 specified by the content creator.</xs:documentation>
165 </xs:annotation>
166 <xs:complexType>
167 <xs:sequence>
168 <xs:any namespace="##other" processContents="lax" maxOccurs="unbounded"/>
169 </xs:sequence>
170 </xs:complexType>
171 </xs:element>
172 </xs:sequence>
173 <xs:attribute ref="ai:timestamp"/>
174 </xs:complexType>
175 <xs:complexType name="it-asset-type" abstract="true">
176 <xs:complexContent>
177 <xs:extension base="ai:asset-type"/>
178 </xs:complexContent>
179 </xs:complexType>
180 <xs:complexType name="circuit-type">
181 <xs:complexContent>
182 <xs:extension base="ai:it-asset-type">
183 <xs:sequence>
184 <xs:element name="circuit-name" minOccurs="0">
185 <xs:annotation>
186 <xs:documentation>The common name for the circult.</xs:documentation>
187 </xs:annotation>
188 <xs:complexType>
189 <xs:simpleContent>
190 <xs:extension base="xs:token">
191 <xs:attribute ref="ai:source"/>
192 <xs:attribute ref="ai:timestamp"/>
193 <xs:anyAttribute namespace="##other"/>
194 </xs:extension>
195 </xs:simpleContent>
196 </xs:complexType>
197 </xs:element>
198 </xs:sequence>
199 </xs:extension>
200 </xs:complexContent>
201 </xs:complexType>
202 <xs:complexType name="computing-device-type">
203 <xs:complexContent>
204 <xs:extension base="ai:it-asset-type">
205 <xs:sequence>
206 <xs:element name="distinguished-name" minOccurs="0">
207 <xs:annotation>
208 <xs:documentation>The full X.500 distinguished name for the device.</xs:documentation>
209 </xs:annotation>
210 <xs:complexType>
211 <xs:simpleContent>
212 <xs:extension base="xs:token">
213 <xs:attribute ref="ai:source"/>
214 <xs:attribute ref="ai:timestamp"/>
215 <xs:anyAttribute namespace="##other"/>
216 </xs:extension>
217 </xs:simpleContent>
218 </xs:complexType>
219 </xs:element>
220 <xs:element ref="ai:cpe" minOccurs="0" maxOccurs="unbounded">
221 <xs:annotation>
222 <xs:documentation>The hardware CPE name for the device (CPE 2.2 URI or CPE 2.3 Formatted String).</xs:documentation>
223 </xs:annotation>
224 </xs:element>
225 <xs:element name="connections" minOccurs="0">
226 <xs:annotation>
227 <xs:documentation>The IP network interface connections that exist for the device (regardless
228 of if the network interface is connected to a network or not).</xs:documentation>
229 </xs:annotation>
230 <xs:complexType>
231 <xs:sequence>
232 <xs:element name="connection" type="ai:network-interface-type" maxOccurs="unbounded">
233 <xs:annotation>
234 <xs:documentation>An IP network interface connection.</xs:documentation>
235 </xs:annotation>
236 </xs:element>
237 </xs:sequence>
238 </xs:complexType>
239 </xs:element>
240 <xs:element minOccurs="0" ref="ai:fqdn"/>
241 <xs:element name="hostname" minOccurs="0">
242 <xs:annotation>
243 <xs:documentation>The hostname of the computing device.</xs:documentation>
244 </xs:annotation>
245 <xs:complexType>
246 <xs:simpleContent>
247 <xs:extension base="ai:hostname-type">
248 <xs:attribute ref="ai:source"/>
249 <xs:attribute ref="ai:timestamp"/>
250 <xs:anyAttribute namespace="##other"/>
251 </xs:extension>
252 </xs:simpleContent>
253 </xs:complexType>
254 </xs:element>
255 <xs:element minOccurs="0" name="motherboard-guid">
256 <xs:annotation>
257 <xs:documentation>The motherboard globally unique identifier of the computing
258 device.</xs:documentation>
259 </xs:annotation>
260 <xs:complexType>
261 <xs:simpleContent>
262 <xs:extension base="xs:string">
263 <xs:attribute ref="ai:source"/>
264 <xs:attribute ref="ai:timestamp"/>
265 <xs:anyAttribute namespace="##other"/>
266 </xs:extension>
267 </xs:simpleContent>
268 </xs:complexType>
269 </xs:element>
270 </xs:sequence>
271 </xs:extension>
272 </xs:complexContent>
273 </xs:complexType>
274 <xs:complexType name="data-type">
275 <xs:complexContent>
276 <xs:extension base="ai:asset-type"/>
277 </xs:complexContent>
278 </xs:complexType>
279 <xs:complexType name="database-type">
280 <xs:complexContent>
281 <xs:extension base="ai:it-asset-type">
282 <xs:sequence>
283 <xs:element minOccurs="0" name="instance-name">
284 <xs:annotation>
285 <xs:documentation>The name of the database instance being identified.</xs:documentation>
286 </xs:annotation>
287 <xs:complexType>
288 <xs:simpleContent>
289 <xs:extension base="xs:token">
290 <xs:attribute ref="ai:source"/>
291 <xs:attribute ref="ai:timestamp"/>
292 <xs:anyAttribute namespace="##other"/>
293 </xs:extension>
294 </xs:simpleContent>
295 </xs:complexType>
296 </xs:element>
297 </xs:sequence>
298 </xs:extension>
299 </xs:complexContent>
300 </xs:complexType>
301 <xs:complexType name="network-type">
302 <xs:complexContent>
303 <xs:extension base="ai:it-asset-type">
304 <xs:sequence>
305 <xs:element name="network-name" minOccurs="0">
306 <xs:annotation>
307 <xs:documentation>The name of the network as commonly referred to.</xs:documentation>
308 </xs:annotation>
309 <xs:complexType>
310 <xs:simpleContent>
311 <xs:extension base="xs:normalizedString">
312 <xs:attribute ref="ai:source"/>
313 <xs:attribute ref="ai:timestamp"/>
314 <xs:anyAttribute namespace="##other"/>
315 </xs:extension>
316 </xs:simpleContent>
317 </xs:complexType>
318 </xs:element>
319 <xs:choice minOccurs="0">
320 <xs:element name="ip-net-range">
321 <xs:annotation>
322 <xs:documentation>The start and end IP addresses to indicate the range of IP addresses
323 covered by this network.</xs:documentation>
324 </xs:annotation>
325 <xs:complexType>
326 <xs:sequence>
327 <xs:element name="ip-net-range-start" type="ai:ip-address-type">
328 <xs:annotation>
329 <xs:documentation>The starting IP address in the network.</xs:documentation>
330 </xs:annotation>
331 </xs:element>
332 <xs:element name="ip-net-range-end" type="ai:ip-address-type">
333 <xs:annotation>
334 <xs:documentation>The ending IP address in the network.</xs:documentation>
335 </xs:annotation>
336 </xs:element>
337 </xs:sequence>
338 </xs:complexType>
339 </xs:element>
340 <xs:element name="cidr">
341 <xs:annotation>
342 <xs:documentation>The classless inter-domain routing notation for the
343 network.</xs:documentation>
344 </xs:annotation>
345 <xs:complexType>
346 <xs:simpleContent>
347 <xs:extension base="ai:cidr-type">
348 <xs:attribute ref="ai:source"/>
349 <xs:attribute ref="ai:timestamp"/>
350 <xs:anyAttribute namespace="##other"/>
351 </xs:extension>
352 </xs:simpleContent>
353 </xs:complexType>
354 </xs:element>
355 </xs:choice>
356 </xs:sequence>
357 </xs:extension>
358 </xs:complexContent>
359 </xs:complexType>
360 <xs:complexType name="organization-type">
361 <xs:complexContent>
362 <xs:extension base="ai:asset-type">
363 <xs:sequence>
364 <xs:element ref="xnl:OrganisationNameDetails" minOccurs="0" maxOccurs="unbounded"/>
365 <xs:element ref="ai:email-address" minOccurs="0" maxOccurs="unbounded"/>
366 <xs:element ref="ai:telephone-number" minOccurs="0" maxOccurs="unbounded"/>
367 <xs:element ref="ai:website-url" minOccurs="0" maxOccurs="unbounded"/>
368 </xs:sequence>
369 </xs:extension>
370 </xs:complexContent>
371 </xs:complexType>
372 <xs:complexType name="person-type">
373 <xs:complexContent>
374 <xs:extension base="ai:asset-type">
375 <xs:sequence>
376 <xs:element ref="xnl:PersonName" minOccurs="0"/>
377 <xs:element ref="ai:email-address" minOccurs="0" maxOccurs="unbounded"/>
378 <xs:element ref="ai:telephone-number" minOccurs="0" maxOccurs="unbounded"/>
379 <xs:element name="birthdate" minOccurs="0">
380 <xs:annotation>
381 <xs:documentation>The birthdate of the person.</xs:documentation>
382 </xs:annotation>
383 <xs:complexType>
384 <xs:simpleContent>
385 <xs:extension base="xs:date">
386 <xs:attribute ref="ai:source"/>
387 <xs:attribute ref="ai:timestamp"/>
388 <xs:anyAttribute namespace="##other"/>
389 </xs:extension>
390 </xs:simpleContent>
391 </xs:complexType>
392 </xs:element>
393 </xs:sequence>
394 </xs:extension>
395 </xs:complexContent>
396 </xs:complexType>
397 <xs:complexType name="service-type">
398 <xs:complexContent>
399 <xs:extension base="ai:it-asset-type">
400 <xs:sequence>
401 <xs:element minOccurs="0" name="host">
402 <xs:annotation>
403 <xs:documentation>The hostname or IP address where the service is hosted.</xs:documentation>
404 </xs:annotation>
405 <xs:complexType>
406 <xs:choice>
407 <xs:element ref="ai:fqdn"/>
408 <xs:element ref="ai:ip-address"/>
409 </xs:choice>
410 </xs:complexType>
411 </xs:element>
412 <xs:element name="port" maxOccurs="unbounded" minOccurs="0">
413 <xs:annotation>
414 <xs:documentation>The port to which the service is bound.</xs:documentation>
415 </xs:annotation>
416 <xs:complexType>
417 <xs:simpleContent>
418 <xs:extension base="ai:port-type">
419 <xs:attribute ref="ai:source"/>
420 <xs:attribute ref="ai:timestamp"/>
421 <xs:anyAttribute namespace="##other"/>
422 </xs:extension>
423 </xs:simpleContent>
424 </xs:complexType>
425 </xs:element>
426 <xs:element name="port-range" maxOccurs="unbounded" minOccurs="0">
427 <xs:annotation>
428 <xs:documentation>The inclusive port range to which the service is
429 bound.</xs:documentation>
430 </xs:annotation>
431 <xs:complexType>
432 <xs:attribute name="lower-bound" type="ai:port-type" use="required"/>
433 <xs:attribute name="upper-bound" type="ai:port-type" use="required"/>
434 <xs:attribute ref="ai:source"/>
435 <xs:attribute ref="ai:timestamp"/>
436 <xs:anyAttribute namespace="##other"/>
437 </xs:complexType>
438 </xs:element>
439 <xs:element name="protocol" minOccurs="0">
440 <xs:annotation>
441 <xs:documentation>The protocol used to interact with the service.</xs:documentation>
442 </xs:annotation>
443 <xs:complexType>
444 <xs:simpleContent>
445 <xs:extension base="xs:string">
446 <xs:attribute ref="ai:source"/>
447 <xs:attribute ref="ai:timestamp"/>
448 <xs:anyAttribute namespace="##other"/>
449 </xs:extension>
450 </xs:simpleContent>
451 </xs:complexType>
452 </xs:element>
453 </xs:sequence>
454 </xs:extension>
455 </xs:complexContent>
456 </xs:complexType>
457 <xs:complexType name="software-type">
458 <xs:complexContent>
459 <xs:extension base="ai:it-asset-type">
460 <xs:sequence>
461 <xs:element name="installation-id" minOccurs="0">
462 <xs:annotation>
463 <xs:documentation>Any identifier for the software instance (installation)</xs:documentation>
464 </xs:annotation>
465 <xs:complexType>
466 <xs:simpleContent>
467 <xs:extension base="xs:token">
468 <xs:attribute ref="ai:source"/>
469 <xs:attribute ref="ai:timestamp"/>
470 <xs:anyAttribute namespace="##other"/>
471 </xs:extension>
472 </xs:simpleContent>
473 </xs:complexType>
474 </xs:element>
475 <xs:element ref="ai:cpe" minOccurs="0">
476 <xs:annotation>
477 <xs:documentation>The CPE name for the software (CPE 2.2 URI or CPE 2.3 Formatted String).</xs:documentation>
478 </xs:annotation>
479 </xs:element>
480 <xs:element name="license" minOccurs="0" maxOccurs="unbounded">
481 <xs:annotation>
482 <xs:documentation>The license key for the software.</xs:documentation>
483 </xs:annotation>
484 <xs:complexType>
485 <xs:simpleContent>
486 <xs:extension base="xs:string">
487 <xs:attribute ref="ai:source"/>
488 <xs:attribute ref="ai:timestamp"/>
489 <xs:anyAttribute namespace="##other"/>
490 </xs:extension>
491 </xs:simpleContent>
492 </xs:complexType>
493 </xs:element>
494 </xs:sequence>
495 </xs:extension>
496 </xs:complexContent>
497 </xs:complexType>
498 <xs:complexType name="system-type">
499 <xs:complexContent>
500 <xs:extension base="ai:it-asset-type">
501 <xs:sequence>
502 <xs:element name="system-name" minOccurs="0" maxOccurs="unbounded">
503 <xs:annotation>
504 <xs:documentation>The name of the system. It is possible that a system have multiple names,
505 or even abbreviated names. Each one of those names may be captured
506 here.</xs:documentation>
507 </xs:annotation>
508 <xs:complexType>
509 <xs:simpleContent>
510 <xs:extension base="xs:token">
511 <xs:attribute ref="ai:source"/>
512 <xs:attribute ref="ai:timestamp"/>
513 <xs:anyAttribute namespace="##other"/>
514 </xs:extension>
515 </xs:simpleContent>
516 </xs:complexType>
517 </xs:element>
518 <xs:element name="version" minOccurs="0">
519 <xs:annotation>
520 <xs:documentation>The version of the system.</xs:documentation>
521 </xs:annotation>
522 <xs:complexType>
523 <xs:simpleContent>
524 <xs:extension base="xs:token">
525 <xs:attribute ref="ai:source"/>
526 <xs:attribute ref="ai:timestamp"/>
527 <xs:anyAttribute namespace="##other"/>
528 </xs:extension>
529 </xs:simpleContent>
530 </xs:complexType>
531 </xs:element>
532 </xs:sequence>
533 </xs:extension>
534 </xs:complexContent>
535 </xs:complexType>
536 <xs:complexType name="website-type">
537 <xs:complexContent>
538 <xs:extension base="ai:it-asset-type">
539 <xs:sequence>
540 <xs:element name="document-root" minOccurs="0">
541 <xs:annotation>
542 <xs:documentation>The absolute path to the document root location of the website on the
543 host.</xs:documentation>
544 </xs:annotation>
545 <xs:complexType>
546 <xs:simpleContent>
547 <xs:extension base="xs:token">
548 <xs:attribute ref="ai:source"/>
549 <xs:attribute ref="ai:timestamp"/>
550 <xs:anyAttribute namespace="##other"/>
551 </xs:extension>
552 </xs:simpleContent>
553 </xs:complexType>
554 </xs:element>
555 <xs:element name="locale" minOccurs="0">
556 <xs:annotation>
557 <xs:documentation>The locale of the website represented as an RFC 5646 language, and optionally, region code.</xs:documentation>
558 </xs:annotation>
559 <xs:complexType>
560 <xs:simpleContent>
561 <xs:extension base="ai:locale-type">
562 <xs:attribute ref="ai:source"/>
563 <xs:attribute ref="ai:timestamp"/>
564 <xs:anyAttribute namespace="##other"/>
565 </xs:extension>
566 </xs:simpleContent>
567 </xs:complexType>
568 </xs:element>
569 </xs:sequence>
570 </xs:extension>
571 </xs:complexContent>
572 </xs:complexType>
573 <!--The follow elements support the first-order citizen elements defined above-->
574 <xs:element name="cpe">
575 <xs:annotation>
576 <xs:documentation>A Common Platform Enumeration (CPE) name (CPE 2.2 URI or CPE 2.3 Formatted String).</xs:documentation>
577 </xs:annotation>
578 <xs:complexType>
579 <xs:simpleContent>
580 <xs:extension base="ai:cpe-type">
581 <xs:attribute ref="ai:source"/>
582 <xs:attribute ref="ai:timestamp"/>
583 <xs:anyAttribute namespace="##other"/>
584 </xs:extension>
585 </xs:simpleContent>
586 </xs:complexType>
587 </xs:element>
588 <xs:element name="synthetic-id">
589 <xs:annotation>
590 <xs:documentation>Holds the synthetic ID for the asset</xs:documentation>
591 </xs:annotation>
592 <xs:complexType>
593 <xs:attribute name="resource" type="xs:anyURI" use="required">
594 <xs:annotation>
595 <xs:documentation>The namespace governing this synthetic ID.</xs:documentation>
596 </xs:annotation>
597 </xs:attribute>
598 <xs:attribute name="id" type="xs:token" use="required">
599 <xs:annotation>
600 <xs:documentation>The ID of the asset within the resource namespace.</xs:documentation>
601 </xs:annotation>
602 </xs:attribute>
603 </xs:complexType>
604 </xs:element>
605 <xs:element name="email-address">
606 <xs:annotation>
607 <xs:documentation>An email address</xs:documentation>
608 </xs:annotation>
609 <xs:complexType>
610 <xs:simpleContent>
611 <xs:extension base="xs:token">
612 <xs:attribute ref="ai:source"/>
613 <xs:attribute ref="ai:timestamp"/>
614 <xs:anyAttribute namespace="##other"/>
615 </xs:extension>
616 </xs:simpleContent>
617 </xs:complexType>
618 </xs:element>
619 <xs:element name="fqdn">
620 <xs:annotation>
621 <xs:documentation>The fully qualified domain name for the object.</xs:documentation>
622 </xs:annotation>
623 <xs:complexType>
624 <xs:simpleContent>
625 <xs:extension base="xs:token">
626 <xs:attribute ref="ai:source"/>
627 <xs:attribute ref="ai:timestamp"/>
628 <xs:anyAttribute namespace="##other"/>
629 </xs:extension>
630 </xs:simpleContent>
631 </xs:complexType>
632 </xs:element>
633 <xs:element name="ip-address" type="ai:ip-address-type">
634 <xs:annotation>
635 <xs:documentation>An IP address</xs:documentation>
636 </xs:annotation>
637 </xs:element>
638 <xs:element name="location" abstract="true"/>
639 <xs:element name="location-address" type="xal:AddressDetails" substitutionGroup="ai:location">
640 <xs:annotation>
641 <xs:documentation>The address where an asset is located.</xs:documentation>
642 </xs:annotation>
643 </xs:element>
644 <xs:element name="location-point" substitutionGroup="ai:location">
645 <xs:annotation>
646 <xs:documentation>The geographic point where an asset is located.</xs:documentation>
647 </xs:annotation>
648 <xs:complexType>
649 <xs:attribute name="latitude" use="required">
650 <xs:annotation>
651 <xs:documentation>The latitude of the asset, defined between -90 (90 degrees South, inclusive) and
652 90 (90 degrees North, inclusive).</xs:documentation>
653 </xs:annotation>
654 <xs:simpleType>
655 <xs:restriction base="xs:double">
656 <xs:minInclusive value="-90"/>
657 <xs:maxInclusive value="90"/>
658 </xs:restriction>
659 </xs:simpleType>
660 </xs:attribute>
661 <xs:attribute name="longitude" use="required">
662 <xs:annotation>
663 <xs:documentation>The longitude of the asset, defined between -180 (180 degrees West, exclusive) and
664 180 (180 degrees East, inclusive).</xs:documentation>
665 </xs:annotation>
666 <xs:simpleType>
667 <xs:restriction base="xs:double">
668 <xs:minExclusive value="-180"/>
669 <xs:maxInclusive value="180"/>
670 </xs:restriction>
671 </xs:simpleType>
672 </xs:attribute>
673 <xs:attribute name="elevation" type="xs:double">
674 <xs:annotation>
675 <xs:documentation>The elevation of the asset, specified in meters from sea level.</xs:documentation>
676 </xs:annotation>
677 </xs:attribute>
678 <xs:attribute name="radius">
679 <xs:annotation>
680 <xs:documentation>The radius of a horizontal circle centered on the point within which the asset
681 resides.</xs:documentation>
682 </xs:annotation>
683 <xs:simpleType>
684 <xs:restriction base="xs:double">
685 <xs:minInclusive value="0"/>
686 </xs:restriction>
687 </xs:simpleType>
688 </xs:attribute>
689 <xs:attribute ref="ai:source"/>
690 <xs:attribute ref="ai:timestamp"/>
691 <xs:anyAttribute namespace="##other"/>
692 </xs:complexType>
693 </xs:element>
694 <xs:element name="location-region" substitutionGroup="ai:location">
695 <xs:annotation>
696 <xs:documentation>The region where an asset is located.</xs:documentation>
697 </xs:annotation>
698 <xs:complexType>
699 <xs:simpleContent>
700 <xs:extension base="xs:normalizedString">
701 <xs:attribute ref="ai:source"/>
702 <xs:attribute ref="ai:timestamp"/>
703 <xs:anyAttribute namespace="##other"/>
704 </xs:extension>
705 </xs:simpleContent>
706 </xs:complexType>
707 </xs:element>
708 <xs:element name="locations">
709 <xs:annotation>
710 <xs:documentation>One or more locations where this asset resides</xs:documentation>
711 </xs:annotation>
712 <xs:complexType>
713 <xs:sequence>
714 <xs:element ref="ai:location" maxOccurs="unbounded">
715 <xs:annotation>
716 <xs:documentation>The base for a subtitution group for elements that contain location
717 information.</xs:documentation>
718 </xs:annotation>
719 </xs:element>
720 </xs:sequence>
721 </xs:complexType>
722 </xs:element>
723 <xs:element name="served-by" type="ai:service-type">
724 <xs:annotation>
725 <xs:documentation>The service that is serving up the asset.</xs:documentation>
726 </xs:annotation>
727 </xs:element>
728 <xs:element name="telephone-number">
729 <xs:annotation>
730 <xs:documentation>The telephone number. For a North American number, the number must be valid and the format
731 must be XXX-XXX-XXXX where X is a digit. For an international number, the number must begin with a '+'
732 symbol, followed by 7 to 15 digits. A space may be used between digits, as appropriate. For example: +88
733 888 888 8 (this is following the ITU-T E.123 notation).</xs:documentation>
734 </xs:annotation>
735 <xs:complexType>
736 <xs:simpleContent>
737 <xs:extension base="ai:telephone-number-type">
738 <xs:attribute ref="ai:source"/>
739 <xs:attribute ref="ai:timestamp"/>
740 <xs:anyAttribute namespace="##other"/>
741 </xs:extension>
742 </xs:simpleContent>
743 </xs:complexType>
744 </xs:element>
745 <xs:element name="website-url">
746 <xs:annotation>
747 <xs:documentation>The URL to the website.</xs:documentation>
748 </xs:annotation>
749 <xs:complexType>
750 <xs:simpleContent>
751 <xs:extension base="xs:anyURI">
752 <xs:attribute ref="ai:source"/>
753 <xs:attribute ref="ai:timestamp"/>
754 <xs:anyAttribute namespace="##other"/>
755 </xs:extension>
756 </xs:simpleContent>
757 </xs:complexType>
758 </xs:element>
759 <!--The following types support the supporting elements above-->
760 <xs:attribute name="source" type="xs:string">
761 <xs:annotation>
762 <xs:documentation>Contains the source of the information. The value of this field is left open to the
763 content producer, but MAY include a synthetic ID of the asset which sourced the information, another ID
764 of the source, or a description of the source.</xs:documentation>
765 </xs:annotation>
766 </xs:attribute>
767 <xs:attribute name="timestamp" type="xs:dateTime">
768 <xs:annotation>
769 <xs:documentation>Indicates when the data was last known to be correct.</xs:documentation>
770 </xs:annotation>
771 </xs:attribute>
772 <xs:complexType name="ip-address-type">
773 <xs:sequence>
774 <xs:element name="ip-v4" minOccurs="0">
775 <xs:complexType>
776 <xs:simpleContent>
777 <xs:extension base="ai:ipv4-type">
778 <xs:attribute ref="ai:source"/>
779 <xs:attribute ref="ai:timestamp"/>
780 <xs:anyAttribute namespace="##other"/>
781 </xs:extension>
782 </xs:simpleContent>
783 </xs:complexType>
784 </xs:element>
785 <xs:element name="ip-v6" minOccurs="0">
786 <xs:complexType>
787 <xs:simpleContent>
788 <xs:extension base="ai:ipv6-type">
789 <xs:attribute ref="ai:source"/>
790 <xs:attribute ref="ai:timestamp"/>
791 <xs:anyAttribute namespace="##other"/>
792 </xs:extension>
793 </xs:simpleContent>
794 </xs:complexType>
795 </xs:element>
796 </xs:sequence>
797 </xs:complexType>
798 <xs:complexType name="network-interface-type">
799 <xs:sequence>
800 <xs:element ref="ai:ip-address" minOccurs="0">
801 <xs:annotation>
802 <xs:documentation>The IP address for this network interface.</xs:documentation>
803 </xs:annotation>
804 </xs:element>
805 <xs:element name="mac-address" minOccurs="0">
806 <xs:annotation>
807 <xs:documentation>The MAC address associated with this network interface.</xs:documentation>
808 </xs:annotation>
809 <xs:complexType>
810 <xs:simpleContent>
811 <xs:extension base="ai:mac-address-type">
812 <xs:attribute ref="ai:source"/>
813 <xs:attribute ref="ai:timestamp"/>
814 <xs:anyAttribute namespace="##other"/>
815 </xs:extension>
816 </xs:simpleContent>
817 </xs:complexType>
818 </xs:element>
819 <xs:element name="url" minOccurs="0" maxOccurs="unbounded">
820 <xs:annotation>
821 <xs:documentation>A URL in a relevant DNS server for this IP address.</xs:documentation>
822 </xs:annotation>
823 <xs:complexType>
824 <xs:simpleContent>
825 <xs:extension base="xs:anyURI">
826 <xs:attribute ref="ai:source"/>
827 <xs:attribute ref="ai:timestamp"/>
828 <xs:anyAttribute namespace="##other"/>
829 </xs:extension>
830 </xs:simpleContent>
831 </xs:complexType>
832 </xs:element>
833 <xs:element name="subnet-mask" type="ai:ip-address-type" minOccurs="0">
834 <xs:annotation>
835 <xs:documentation>The subnet mask address for this network interface.</xs:documentation>
836 </xs:annotation>
837 </xs:element>
838 <xs:element name="default-route" type="ai:ip-address-type" minOccurs="0">
839 <xs:annotation>
840 <xs:documentation>The IP address for the default gateway of this connection.</xs:documentation>
841 </xs:annotation>
842 </xs:element>
843 </xs:sequence>
844 </xs:complexType>
845 <xs:simpleType name="cidr-type">
846 <xs:restriction base="xs:token">
847 <xs:pattern
848 value="([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))/([0-9]|[1-2][0-9]|3[0-2])"
849 />
850 </xs:restriction>
851 </xs:simpleType>
852 <xs:simpleType name="cpe-type">
853 <xs:union memberTypes="cpe-name:cpe22Type cpe-name:cpe23Type"/>
854 </xs:simpleType>
855 <xs:simpleType name="hostname-type">
856 <xs:restriction base="xs:token">
857 <xs:pattern value="[\w\-]+(\.[\w\-]+){0,}"/>
858 </xs:restriction>
859 </xs:simpleType>
860 <xs:simpleType name="ipv4-type">
861 <xs:restriction base="xs:token">
862 <xs:pattern
863 value="([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))"
864 />
865 </xs:restriction>
866 </xs:simpleType>
867 <xs:simpleType name="ipv6-type">
868 <xs:restriction base="xs:token">
869 <xs:pattern value="([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}"/>
870 </xs:restriction>
871 </xs:simpleType>
872 <xs:simpleType name="locale-type">
873 <xs:restriction base="xs:token">
874 <xs:pattern value="[a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?"/>
875 </xs:restriction>
876 </xs:simpleType>
877 <xs:simpleType name="mac-address-type">
878 <xs:restriction base="xs:token">
879 <xs:pattern value="([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}"/>
880 </xs:restriction>
881 </xs:simpleType>
882 <xs:simpleType name="port-type">
883 <xs:restriction base="xs:integer">
884 <xs:minInclusive value="0"/>
885 <xs:maxInclusive value="65535"/>
886 </xs:restriction>
887 </xs:simpleType>
888 <xs:simpleType name="telephone-number-type">
889 <xs:restriction base="xs:token">
890 <xs:pattern value="(([2-9][0-8]\d-[2-9]\d{2}-[0-9]{4})|(\+([0-9] ?){6,14}[0-9]))"/>
891 </xs:restriction>
892 </xs:simpleType>
893 </xs:schema>
894 <!-- CHANGELOG
895
896 date change remarks
897
898 02/13/12 Update the version number Updated the schema version to 1.1.1
899 Update the schema date Updated the schema date to 2012-02-13
900 Allow dashes in hostname Hostnames are permitted to include dashes, so the regex on hostname-type was updated appropriately.
901
902 -->