# XML Schema Documentation

Printer-friendly Version
Logical Diagram:
[ Expand All | Collapse All ]
XML Instance Representation:
[ Expand All | Collapse All ]
Diagram:
[ Expand All | Collapse All ]
Schema Component Representation:
[ Expand All | Collapse All ]

## Table of Contents

- Schema Document Properties
- Global Declarations
  - Element: OwnershipTypeCode
- Global Definitions
  - Simple Type: OwnershipTypeCodeType

top

## Schema Document Properties

Target Namespace | http://rep.oio.dk/cvr.dk/xml/schemas/2005/03/22/
Version | 1.1
Element and Attribute Namespaces | Global element and attribute declarations belong to this schema's target namespace. By default, local element declarations belong to this schema's target namespace. By default, local attribute declarations have no namespace.

### Declared Namespaces

Prefix | Namespace
--- | ---
Default namespace | http://www.w3.org/2001/XMLSchema
xml | http://www.w3.org/XML/1998/namespace
cvr | http://rep.oio.dk/cvr.dk/xml/schemas/2005/03/22/

Schema Component Representation
<schema targetNamespace="http://rep.oio.dk/cvr.dk/xml/schemas/2005/03/22/" elementFormDefault="qualified" version="1.1">
...
</schema>
top

## Global Declarations

### Element: OwnershipTypeCode

Name | OwnershipTypeCode
Type | cvr:OwnershipTypeCodeType
Nillable | no
Abstract | no
Documentation | Declares the type of ownership using a code regarding the legal unit in question, i.e. sole trader, partnership (possibly with limited liability), limited company, governmental or local authority institution. This is a relating code.

Logical Diagram
XML Instance Representation
<cvr:OwnershipTypeCode> cvr:OwnershipTypeCodeType </cvr:OwnershipTypeCode>
Diagram
Schema Component Representation
<element name="OwnershipTypeCode" type=" cvr:OwnershipTypeCodeType "/>
top

## Global Definitions

### Simple Type: OwnershipTypeCodeType

Super-types: | string < OwnershipTypeCodeType (by restriction)
Sub-types: | None

Name | OwnershipTypeCodeType
Content | Base XSD Type: string length >= 1

Diagram
Schema Component Representation
<simpleType name="OwnershipTypeCodeType">
<restriction base=" string ">
<minLength value="1"/>
<maxLength value="3"/>
</restriction>
</simpleType>
top