Schema xCRL.xsd

schema location: | C:\Documents and Settings\Administrator\Desktop\ciq\xCRL.xsd
targetNamespace: | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0

Elements
Account
Customer
FreeTextLine
InRelationshipWith
xCRL

element Account

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine AccountDescription ServiceProvided BillPaymentOption CurrentBillingCycle CurrentBalance OverDueAmount PreviousBalance LastPayment BillingAddress OtherCharges
used by |
element | InRelationshipWith/RelationshipInformation
attributes |
Name | Type | Use | Default | Fixed | Annotation
AccountID |  |  |  |  |
documentation | Unique account identifier
ForeignSystemAccountID |  |  |  |  |
documentation | If this account information is present in more than one system, this attribute can be used to link the accounts in different systems
AccountStatus |  |  |  |  |
documentation | Current Account status, such as: Active, Inactive, Locked, Suspended, Disputed, etc.
annotation |
documentation | Account information held by a customer about another customer. Eg. A service provider holds its client's account information

element Account/AccountDescription

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:ee
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | If the element can be classified by different types, use this attribute to indicate the type or put some supplementary information, otherwise ignore it.
annotation |
documentation | Description of the account

element Account/ServiceProvided

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:ee
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | If the element can be classified by different types, use this attribute to indicate the type or put some supplementary information, otherwise ignore it.
annotation |
documentation | Describes the type of services provided for this account. Eg. Maintenance of software, ISP, etc

element Account/BillPaymentOption

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | extension of i:ee
children | FreeTextLine i:IDCards i:FinancialAccounts
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | If the element can be classified by different types, use this attribute to indicate the type or put some supplementary information, otherwise ignore it.
annotation |
documentation | Options for bill payment. Type attribute: Direct Debit, Cash, Cheque, Credit Card, etc.

element Account/CurrentBillingCycle

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | extension of i:ee
children | FreeTextLine FirstBillingDate LastBillingDate PaymentDueDate NextBillingDate BillingAmount FinalBillingDate
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | If the element can be classified by different types, use this attribute to indicate the type or put some supplementary information, otherwise ignore it.
Period |  |  |  |  |
documentation | Period of billing cycle. For example, 26 months contract, 25 years contract. Example: 36 months, 5 years, 325 days, etc
annotation |
documentation | Billing cycle. eg. monthly, quarterly, etc.

element Account/CurrentBillingCycle/FirstBillingDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date of first billing

element Account/CurrentBillingCycle/LastBillingDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Indicates the date that the Customer's last account is billed up to

element Account/CurrentBillingCycle/PaymentDueDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date of payment due for the billing amount. Example: 10 days from billing date

element Account/CurrentBillingCycle/NextBillingDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Next billing date in the billing cycle

element Account/CurrentBillingCycle/BillingAmount

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Amount
children | i:FreeTextLine Amount AmountRange
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Amount to be billed for the next billing date

element Account/CurrentBillingCycle/FinalBillingDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Final date of billing in the billing cycle

element Account/CurrentBalance

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Amount
children | i:FreeTextLine Amount AmountRange
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Current balance on this account

element Account/OverDueAmount

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Amount
children | i:FreeTextLine Amount AmountRange
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Any outstanding amount on this account

element Account/PreviousBalance

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Amount
children | i:FreeTextLine Amount AmountRange
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Any previous balance amount

element Account/LastPayment

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine PaymentDate AmountPaid PaymentReferenceNumber BillReferenceNumber
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Details of last payment made by the customer

element Account/LastPayment/PaymentDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date of payment

element Account/LastPayment/AmountPaid

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Amount
children | i:FreeTextLine Amount AmountRange
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Amount paid

element Account/LastPayment/PaymentReferenceNumber

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Payment reference. Example: Reference number

element Account/LastPayment/BillReferenceNumber

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Bill reference for which the payment was made

element Account/BillingAddress

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | a:AddressDetails
children | PostalServiceElements Address AddressLines Country a:AdministrativeArea a:Locality a:Thoroughfare
attributes |
Name | Type | Use | Default | Fixed | Annotation
AddressType |  |  |  |  |
documentation | Type of address. Example: Postal, residential,business, primary, secondary, etc
CurrentStatus |  |  |  |  |
documentation | Moved, Living, Investment, Deceased, etc..
ValidFromDate |  |  |  |  |
documentation | Start Date of the validity of address
ValidToDate |  |  |  |  |
documentation | End date of the validity of address
Usage |  |  |  |  |
documentation | Communication, Contact, etc.
Code |  |  |  |  |
documentation | Used by postal services to encode the name of the element.
AddressDetailsKey |  |  |  |  |
documentation | Key identifier for the element for not reinforced references from other elements. Not required to be unique for the document to be valid, but application may get confused if not unique. Extend this schema adding unique contraint if needed.
annotation |
documentation | Address to which bills are sent

element Account/OtherCharges

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | extension of i:ee
children | FreeTextLine AmountCharged DateCharged InterestRate
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | If the element can be classified by different types, use this attribute to indicate the type or put some supplementary information, otherwise ignore it.
annotation |
documentation | Any other charges. Eg. Interest, Penalty, re-issue bill, etc

element Account/OtherCharges/AmountCharged

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Amount
children | i:FreeTextLine Amount AmountRange
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | The amount charged

element Account/OtherCharges/DateCharged

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | The date the amount was charged

element Account/OtherCharges/InterestRate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:ee
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | If the element can be classified by different types, use this attribute to indicate the type or put some supplementary information, otherwise ignore it.
annotation |
documentation | Interest Rate charged on over due amount. Example: 7.5%. Type Attribute: Type of interest. Example: Compound, daily, fixed, etc.

element Customer

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | extension of i:Record
children | CustomerID n:NameDetails a:AddressDetails i:OrganisationInfo i:PersonInfo FreeTextLine InRelationshipWith
used by |
elements | InRelationshipWith xCRL/RelationshipRecord
attributes |
Name | Type | Use | Default | Fixed | Annotation
PartyType |  |  |  |  |
documentation | Type of Party(customer). Example: Person, organisation, business, club, association, charity, etc.
CustomerDetailsKey |  |  |  |  |
documentation | Key identifier for the element for not reinforced references from other elements. Not required to be unique for the document to be valid, but application may get confused if not unique. Extend this schema adding unique constraint if needed.
annotation |
documentation | One record from xCIL representing a customer. Here a Customer can be defined or a group of Customers say, Joint Customers, ie. Eg. Customer "A" or Group "A" of Customers

element FreeTextLine

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
used by |
elements | Account Account/BillPaymentOption InRelationshipWith/RelationshipInformation/CommonEntities InRelationshipWith/ContactHistory/ContactDetails InRelationshipWith/ContactHistory InRelationshipWith/ContactHistory/ContactDetails/ContactVenue Account/CurrentBillingCycle Customer InRelationshipWith Account/LastPayment Account/OtherCharges InRelationshipWith/RelationshipInformation xCRL/RelationshipRecord InRelationshipWith/UpdateHistory/UpdateDetails InRelationshipWith/UpdateHistory
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | Type of the description to distinguish between identically named elements carrying different content - application dependent.
annotation |
documentation | Free Text information

element InRelationshipWith

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine Customer RelationshipInformation ContactHistory UpdateHistory InRelationshipWith
used by |
elements | Customer InRelationshipWith xCRL/RelationshipRecord
attributes |
Name | Type | Use | Default | Fixed | Annotation
RelationshipRecordKeyRef |  |  |  |  |
documentation | Use this element to break up the chain of deeply nested relationships and start it from the top again. At the same time the logical chain of relationships will be preserved.
RelationshipType |  |  |  |  |
documentation | Who to who: person to person, person to organisation, biz to biz and etc. Can be any variation or even encoded. Different parties have to agree on the list of values for this attribute prior to information exchange, if required.
annotation |
documentation | Primary Customer element is in relationship with a Secondary Customer or a group of secondary customers. Eg. Customer "A" or Group "A" of Customers are "InRelationshipWith" Customer "B" or a group "B" of Customers. Group "B" of Customers or Customer "B" are "InRelationshipWith" Group "C" of Customers or Customer "C" and so on... Customer "A" is Primary Customer and Customer "B" is Secondary Customer

element InRelationshipWith/RelationshipInformation

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine RelationshipTitle PrimaryCustomerRelationshipTitle SecondaryCustomerRelationshipTitle RelationshipNature CommonEntities RelationshipPrivilege RelationshipEstablishedDate RelationshipStatus RelationshipLapsedDate RelationshipLapsedReason RelationshipSuspendedDate RelationshipSuspendedReason Account
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Description of the relationship. Direction: Primary Customer(s) to Secondary Customer(s).

element InRelationshipWith/RelationshipInformation/RelationshipTitle

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Relationship Title between Primary and Secondary Customer. Eg.: in trust for, doing business as, trading as, etc

element InRelationshipWith/RelationshipInformation/PrimaryCustomerRelationshipTitle

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Relationship Title of the Primary Customer with the Secondary Customer. Example: Customer A "In Trust For" Customer B. Here Customer A is the Primary Customer and the title is "Trustee"

element InRelationshipWith/RelationshipInformation/SecondaryCustomerRelationshipTitle

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Relationship Title of the Secondary Customer with the Primary Customer. Example: Customer A "In Trust For" Customer B. Here Customer B is the Secondary Customer and the title is "Trustee"

element InRelationshipWith/RelationshipInformation/RelationshipNature

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Relationship nature between Primary and Secondary Customers. Direction: Primary to Secondary Customer. Example: Formal, Informal, Legal, Illegal, Business Contact, Personal Contact, Personal, etc

element InRelationshipWith/RelationshipInformation/CommonEntities

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine a:AddressDetails i:PersonInfo i:OrganisationInfo
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Customer centric data that are common to/shared by both Primary and Secondary Customers. Example: Telephone, account, email, postal address, etc

element InRelationshipWith/RelationshipInformation/RelationshipPrivilege

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | Type of priviledge
annotation |
documentation | Privilee level: Gold Customer, Silver Customer, etc

element InRelationshipWith/RelationshipInformation/RelationshipEstablishedDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date of establishment of the relationship

element InRelationshipWith/RelationshipInformation/RelationshipStatus

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Potential Customer, Former Customer, Current Customer, etc.

element InRelationshipWith/RelationshipInformation/RelationshipLapsedDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date the relationship lapsed

element InRelationshipWith/RelationshipInformation/RelationshipLapsedReason

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | Type of reason
annotation |
documentation | Reason for the relationship lapse. Eg. Contract expired, etc

element InRelationshipWith/RelationshipInformation/RelationshipSuspendedDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date of suspension of relationship

element InRelationshipWith/RelationshipInformation/RelationshipSuspendedReason

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | Type of reason
annotation |
documentation | Reason for suspension of relationship. Example: Unpaid bills

element InRelationshipWith/ContactHistory

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine ContactDetails
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Information on who, how and when contacted the customer.

element InRelationshipWith/ContactHistory/ContactDetails

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine ContactDate ContactTime n:NameDetails ContactVenue ContactDescription ContactMode
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Contact details as structured information.

element InRelationshipWith/ContactHistory/ContactDetails/ContactDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date of contact

element InRelationshipWith/ContactHistory/ContactDetails/ContactTime

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
TimeType |  |  |  |  |
documentation | 12HR, 24HR, etc.
annotation |
documentation | Time of contact

element InRelationshipWith/ContactHistory/ContactDetails/ContactVenue

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine i:ContactNumbers a:AddressDetails i:EmailAddresses i:URL
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Where the contact happens

element InRelationshipWith/ContactHistory/ContactDetails/ContactDescription

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | Type of contact description
annotation |
documentation | Additional contact information.

element InRelationshipWith/ContactHistory/ContactDetails/ContactMode

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | Type of contact mode
annotation |
documentation | Mode of contact. Example: In person, Phone, e-mail, fax, etc

element InRelationshipWith/UpdateHistory

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine UpdateDetails
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Information of the last update for this information.

element InRelationshipWith/UpdateHistory/UpdateDetails

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine UpdateDate UpdateTime n:NameDetails UpdateDescription
attributes |
Name | Type | Use | Default | Fixed | Annotation
annotation |
documentation | Stuctured information about update: who updated and when.

element InRelationshipWith/UpdateHistory/UpdateDetails/UpdateDate

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
type | i:Date
children | Date Day Month Year
attributes |
Name | Type | Use | Default | Fixed | Annotation
Date | xs:date |  |  |  |
documentation | Date as full date format (xs:date)
annotation |
documentation | Date updated

element InRelationshipWith/UpdateHistory/UpdateDetails/UpdateTime

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
TimeType |  |  |  |  |
documentation | 12HR, 24HR, etc.
annotation |
documentation | Time of update

element InRelationshipWith/UpdateHistory/UpdateDetails/UpdateDescription

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
attributes |
Name | Type | Use | Default | Fixed | Annotation
Type |  |  |  |  |
documentation | Type of update
annotation |
documentation | Additional contact information.

element xCRL

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | RelationshipRecord
attributes |
Name | Type | Use | Default | Fixed | Annotation
Version |  |  |  |  |
documentation | Used for compatibility with DTD
annotation |
documentation | Root element

element xCRL/RelationshipRecord

diagram |
namespace | urn:oasis:names:tc:ciq:xsdschema:xCRL:2.0
children | FreeTextLine Customer InRelationshipWith
attributes |
Name | Type | Use | Default | Fixed | Annotation
RelationshipRecordKey |  |  |  |  |
documentation | Key identifier for the element for not reinforced references from other elements. Not required to be unique for the document to be valid, but application may get confused if not unique. Extend this schema adding unique contraint if needed.
annotation |
documentation | Reflects single or multiple relationships between one or more customers. If more than one customer say, Mrs Shantha Ramkumar and Mr.Ramkumar, then use the attributes to define that this is more than one customer and the group type is say, "Joint customer"