cs_businessAssociate.xsd
6.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0"?>
<xsd:schema
elementFormDefault="qualified"
attributeFormDefault="unqualified"
targetNamespace="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:witsml="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
version="1.3.1">
<!-- -->
<!--POSC License Agreement
This file is distributed under the POSC License Agreement at
http://www.posc.org/about/license.shtml.
Use of this file implies agreement with the POSC License Agreement.
-->
<!-- -->
<xsd:include schemaLocation="cs_personName.xsd"/>
<xsd:include schemaLocation="cs_generalAddress.xsd"/>
<xsd:include schemaLocation="typ_dataTypes_New.xsd"/>
<xsd:include schemaLocation="attgrp_uid.xsd"/>
<!-- -->
<!-- -->
<xsd:complexType name="cs_businessAssociate">
<xsd:annotation>
<xsd:documentation>The business associate describes any company, person,
group, consultant, etc, which is associated within a context (e.g., a well).
The information contained in this module is:
(1) contact information, such as address, phone numbers, email,
(2) alternate name, or aliases, and
(3) associations, such as the business associate that this one is associated
with, or a contact who is associated with this business associate. </xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The name of the business associate.
This can be the name of a person, business, group, etc.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="role" type="witsml:nameStruct" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The role of the business associate within the
context. For example, "driller" or "operator",
"lead agency - CEQA compliance" "regulatory contact", "safety contact".
A business associate will generally have one role
but the role may be called different things in different naming systems.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="personName" type="witsml:cs_personName" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>If the business associate is a person, this specifies
the component names of the person.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="alias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The alias is an alternate name of a
business associate. It is generally associated with a
naming system. An alias is not necessarily unique
within the naming system. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="address" type="witsml:cs_generalAddress" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Note that address may occur more than
once, because it may be necessary to give a physical
address, a mailing address, or both. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="phoneNumber" type="witsml:phoneNumberStruct" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The various types of phone numbers may
be given. The may be office or home, they may be a
number for a cell phone, or for a fax, etc. Attributes
of PhoneNumber declare the type of phone number that is
being given. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="email" type="witsml:emailQualifierStruct" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The email address may be home, office,
or permanent. More than one may be given. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="contactPreference" type="witsml:ContactPreference" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The preferred method of being contacted within the context
of this role. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="associatedWith" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A pointer to another business associate that this
business associate is associated with. The most common situation is that
of an employee being associated with a company. But it may also be, for
example, a work group associated with a university.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="contact" type="witsml:refNameString" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>A pointer to a business associate
(generally a person) who serves as a contact for this
business associate. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="personnelCount" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The count of the number of personnel in a group.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="comment" type="witsml:commentString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>A general comment. This should not
be used to carry semantic information. This is not
intended to be machine interpretable. </xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="witsml:attgrp_uid">
<xsd:annotation>
<xsd:documentation>Unique identifier for the business associate. </xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
</xsd:complexType>
<!-- -->
</xsd:schema>