Bu sayfa ve sayfaya bağlı alt sayfalar, DSPL XML şemasını belgeliyor.
Bu materyal, dilin alt düzey ayrıntılarını anlamak isteyen ileri düzey kullanıcılara yöneliktir. Çoğu kullanıcı için DSPL veri kümelerini oluşturmak ve düzenlemek üzere Geliştirici Kılavuzu'ndaki içerik yeterli olmalıdır.
XML şemasının tamamı, DSPL kodu sitesinden XSD biçiminde indirilebilir.
Öğe: dspl
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
DSPL spesifikasyonu bir veri kümesini açıklar. Veri kümesi, ad alanı tarafından tanımlanır. Veri kümesi aşağıdaki öğelerden oluşur: - Tablolar: Veri kümesinde tanımlanan kavramlar ve dilimlere ait veriler - Kavramlar: Veri kümesinde kullanılan kullanıcı tanımlı tanımlar ve yapılar - Dilimler: Veri kümesinde bulunan boyutların ve metriklerin kombinasyonları - Konular: Veri kümesi kavramlarını düzenlemek için kullanılan hiyerarşik etiketler |
Şema |
|
Özellikler |
|
Model |
içe aktarma*, bilgi, sağlayıcı, özellik*, konu{0,1}, kavramlar{0,1}, slices{0,1}, tablolar{0,1} |
Çocuk |
attribute, Kavramlar, içe aktar,
bilgi, sağlayıcı, Dilimler,
tablolar, konular |
Örnek |
<dspl targetNamespace="">
<import location="" namespace="">{0,unbounded}</import>
<info>{1,1}</info>
<provider>{1,1}</provider>
<attribute concept="" id="">{0,unbounded}</attribute>
<topics>{0,1}</topics>
<concepts>{0,1}</concepts>
<slices>{0,1}</slices>
<tables>{0,1}</tables>
</dspl>
|
Özellikler |
QName |
Tür |
Düzeltildi |
Varsayılan |
Kullanım |
Notasyon |
hedefAdı alanı |
xs:herhangibirURI |
|
|
isteğe bağlı |
Her veri kümesi bir hedef ad alanı sağlayabilir. Hedef ad alanı, veri kümesini benzersiz şekilde tanımlayan bir URI'dir. XML'de ad alanlarının kullanımı hakkında daha fazla bilgi için şu adrese bakın:
http://www.w3.org/TR/REC-xml-names/ targetNamespace sağlanmazsa veri kümesi içe aktarıldığında bir ad alanı oluşturulur. |
|
Kaynak |
<xs:element name="dspl">
<xs:annotation>
<xs:documentation>A DSPL specification describes a dataset. A dataset is
identified by its namespace. A dataset is comprised of the
following elements:
- Tables: Data for the concepts and slices defined in the
dataset
- Concepts: User-specified definitions and structures used in
the dataset
- Slices: Combinations of dimensions and metrics present in
the dataset
- Topics: Hierarchical labels used to organise the concepts of
the dataset</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="import" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Import directive for external datasets -- modeled after
the XML Schema import directive. In order to use
elements defined in an external dataset, the external
dataset must be referenced using an import directive.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="namespace" use="required">
<xs:annotation>
<xs:documentation>The namespace of the imported dataset, specified as
a URI. A prefix must be associated with this
namespace before its contents can be referenced. See
[XML Namespaces] for more information about the use
of namespaces and prefixes in XML.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="location" use="optional">
<xs:annotation>
<xs:documentation>An optional location where the definition of the
imported dataset can be found, specified as a
URL. If the location is omitted, the system
processing this DSPL dataset must already know the
imported dataset.
Implementation note: The Google dataset importer
ignores the location attribute. Any imported dataset
must be known by the Google importer beforehand.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="info" type="Info" minOccurs="1">
<xs:annotation>
<xs:documentation>General information about the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="provider" type="Info">
<xs:annotation>
<xs:documentation>General information about the dataset provider.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Attribute associated with the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="topics" minOccurs="0">
<xs:annotation>
<xs:documentation>A hierarchy of topics used to organize the contents of
the dataset. The order in which topics are given is
meaningful and should be respected by visualizations
that displays these topics.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="topic" type="Topic" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="concepts" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of concepts defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="concept" type="Concept" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="slices" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of slices defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="slice" type="Slice" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tables" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of tables defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="table" type="Table" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="targetNamespace" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation>Each dataset may provide a target namespace. The
target namespace is a URI that uniquely identifies the
dataset. For more information about the use of namespaces in XML,
see:
http://www.w3.org/TR/REC-xml-names/
If no targetNamespace is provided, then a namespace will be
generated when the dataset is imported.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
Öğe: dspl / içe aktarma
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Harici veri kümeleri için içe aktarma yönergesi: XML şeması içe aktarma yönergesinden sonra modellenir. Harici veri kümesinde tanımlanan öğeleri kullanmak için harici veri kümesine, içe aktarma yönergesi kullanılarak referans verilmelidir. |
Şema |
|
Özellikler |
içerik: |
karmaşık |
min. Tekrarlar: |
0 |
maxOccurs: |
sınırsız |
|
Özellikler |
QName |
Tür |
Düzeltildi |
Varsayılan |
Kullanım |
Notasyon |
konum |
|
|
|
isteğe bağlı |
İçe aktarılan veri kümesinin tanımının bulunabileceği ve URL olarak belirtilen isteğe bağlı bir konum. Konum atlanırsa bu DSPL veri kümesini işleyen sistemin, içe aktarılan veri kümesini zaten bilmesi gerekir. Uygulama notu: Google veri içe aktarma aracı, konum özelliğini yoksayar. İçe aktarılan tüm veri kümeleri
daha önce Google içe aktaran tarafından bilinmelidir. |
ad alanı |
|
|
|
zorunlu |
İçe aktarılan veri kümesinin, URI olarak belirtilen ad alanı. Bir ön eke, içeriğinin referans verilebilmesi için önce bu ad alanı ile ilişkilendirilmelidir. XML'de ad alanlarının ve ön eklerin kullanımı hakkında daha fazla bilgi için [XML Ad Alanları] konusuna bakın. |
|
Kaynak |
<xs:element name="import" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Import directive for external datasets -- modeled after
the XML Schema import directive. In order to use
elements defined in an external dataset, the external
dataset must be referenced using an import directive.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="namespace" use="required">
<xs:annotation>
<xs:documentation>The namespace of the imported dataset, specified as
a URI. A prefix must be associated with this
namespace before its contents can be referenced. See
[XML Namespaces] for more information about the use
of namespaces and prefixes in XML.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="location" use="optional">
<xs:annotation>
<xs:documentation>An optional location where the definition of the
imported dataset can be found, specified as a
URL. If the location is omitted, the system
processing this DSPL dataset must already know the
imported dataset.
Implementation note: The Google dataset importer
ignores the location attribute. Any imported dataset
must be known by the Google importer beforehand.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
Öğe: dspl / bilgi
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Veri kümesiyle ilgili genel bilgiler. |
Şema |
|
Tür |
Bilgi |
Özellikler |
içerik: |
karmaşık |
min. Tekrarlar: |
1 |
|
Model |
ad , açıklama{0,1} , url{0,1} |
Çocuk |
açıklama, ad, url |
Örnek |
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
|
Kaynak |
<xs:element name="info" type="Info" minOccurs="1">
<xs:annotation>
<xs:documentation>General information about the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
|
Öğe: dspl / sağlayıcı
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Veri kümesi sağlayıcı hakkında genel bilgiler. |
Şema |
|
Tür |
Bilgi |
Özellikler |
|
Model |
ad , açıklama{0,1} , url{0,1} |
Çocuk |
açıklama, ad, url |
Örnek |
<provider>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</provider>
|
Kaynak |
<xs:element name="provider" type="Info">
<xs:annotation>
<xs:documentation>General information about the dataset provider.</xs:documentation>
</xs:annotation>
</xs:element>
|
Öğe: dspl / özellik
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Veri kümesiyle ilişkili özellik. |
Şema |
|
Tür |
Özellik |
Özellikler |
içerik: |
karmaşık |
min. Tekrarlar: |
0 |
maxOccurs: |
sınırsız |
|
Model |
bilgi{0,1} , type{0,1} , (value*
| conceptValue{0,1}) |
Çocuk |
conceptValue, bilgi, tür, değer |
Örnek |
<attribute concept="" id="">
<info>{0,1}</info>
<type format="" ref="">{0,1}</type>
</attribute>
|
Özellikler |
QName |
Tür |
Düzeltildi |
Varsayılan |
Kullanım |
Notasyon |
kavram |
xs:QAd |
|
|
isteğe bağlı |
Özelliğin değerlerine karşılık gelen bir kavrama yapılan referans. Özellik bir tür belirtiyorsa tür, başvurulan kavramın türüyle eşleşmelidir. Harici bir kavramın referansı "prefix:other_concept_id" biçiminde olmalıdır. Burada "prefix", harici veri kümesinin ad alanı için kullanılan ön ektir (XML ad alanlarına bakın). |
id |
YerelKimlik |
|
|
isteğe bağlı |
Kavram özelliğinin kimliği. Bu tanımlayıcı, kavram içinde benzersiz olmalıdır (özellikler ve özellikler genelinde). Kavram özelliği belirtilirse kimlik atlanabilir. Bu durumda kimlik, başvurulan kavramın yerel adıyla değer oluşturmak üzere oluşturulur. Örneğin, <attribute
concept="unit:currency"/>
<attribute id="currency"
concept="unit:currency"/> ile eşdeğerdir |
|
Kaynak |
<xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Attribute associated with the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
|
Öğe: dspl / konu
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Veri kümesinin içeriğini düzenlemek için kullanılan konu hiyerarşisi. Konuların verildiği sırada anlam vardır ve bu konuların gösterildiği görselleştirmeler tarafından uygulanmalıdır. |
Şema |
|
Özellikler |
içerik: |
karmaşık |
min. Tekrarlar: |
0 |
|
Model |
konu+ |
Çocuk |
konu |
Örnek |
<topics>
<topic id="" parentTopic="">{1,unbounded}</topic>
</topics>
|
Kaynak |
<xs:element name="topics" minOccurs="0">
<xs:annotation>
<xs:documentation>A hierarchy of topics used to organize the contents of
the dataset. The order in which topics are given is
meaningful and should be respected by visualizations
that displays these topics.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="topic" type="Topic" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
Ad alanı |
http://schemas.google.com/dspl/2010 |
Şema |
|
Tür |
Konu |
Özellikler |
içerik: |
karmaşık |
maxOccurs: |
sınırsız |
|
Model |
bilgi , konu* |
Çocuk |
bilgi, konu |
Örnek |
<topic id="" parentTopic="">
<info>{1,1}</info>
<topic id="" parentTopic="">{0,unbounded}</topic>
</topic>
|
Özellikler |
QName |
Tür |
Düzeltildi |
Varsayılan |
Kullanım |
Notasyon |
id |
Kimlik |
|
|
zorunlu |
Veri kümesindeki konunun benzersiz tanımlayıcısı. |
ebeveynkonusu |
xs:QAd |
|
|
isteğe bağlı |
Bu konunun ana konusunun (varsa) kimliği.
üstKonu, diğer konuların içinde bulunan konular için belirtilemez. |
|
Kaynak |
<xs:element name="topic" type="Topic" maxOccurs="unbounded"/>
|
Öğe: dspl / kavramlar
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Bu veri kümesinde tanımlanan kavramların listesi. |
Şema |
|
Özellikler |
içerik: |
karmaşık |
min. Tekrarlar: |
0 |
|
Model |
kavram+ |
Çocuk |
kavram |
Örnek |
<concepts>
<concept extends="" id="">{1,unbounded}</concept>
</concepts>
|
Kaynak |
<xs:element name="concepts" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of concepts defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="concept" type="Concept" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
Ad alanı |
http://schemas.google.com/dspl/2010 |
Şema |
|
Tür |
Kavram |
Özellikler |
içerik: |
karmaşık |
maxOccurs: |
sınırsız |
|
Model |
bilgi , konu* , tür{0,1}, özellik* , özellik* , varsayılanDeğer{0,1} , tablo{0,1} |
Çocuk |
attribute, defaultValue, bilgi, mülk, tablo, konu, tür |
Örnek |
<concept extends="" id="">
<info>{1,1}</info>
<topic ref="">{0,unbounded}</topic>
<type ref="">{0,1}</type>
<attribute concept="" id="">{0,unbounded}</attribute>
<property concept="" id="" isMapping="false" isParent="false">{0,unbounded}</property>
<defaultValue>{0,1}</defaultValue>
<table ref="">{0,1}</table>
</concept>
|
Özellikler |
QName |
Tür |
Düzeltildi |
Varsayılan |
Kullanım |
Notasyon |
genişletilmiş |
xs:QAd |
|
|
isteğe bağlı |
Bir kavramın benzersiz tanımlayıcısıdır. Başvurulan kavram aynı veri kümesinde veya harici olarak (yani başka bir veri kümesinde) tanımlanabilir. Harici bir kavramın referansı "prefix:other_concept_id" biçiminde olmalıdır. Burada "prefix", harici veri kümesinin ad alanı için kullanılan ön ektir (XML ad alanlarına bakın). |
id |
Kimlik |
|
|
zorunlu |
Veri kümesinin içinde dünya genelinde benzersiz olması gereken, konseptin benzersiz tanımlayıcısıdır. |
|
Kaynak |
<xs:element name="concept" type="Concept" maxOccurs="unbounded"/>
|
Öğe: dspl / dilim
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Bu veri kümesinde tanımlanan dilimlerin listesi. |
Şema |
|
Özellikler |
içerik: |
karmaşık |
min. Tekrarlar: |
0 |
|
Model |
dilim+ |
Çocuk |
dilim |
Örnek |
<slices>
<slice id="">{1,unbounded}</slice>
</slices>
|
Kaynak |
<xs:element name="slices" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of slices defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="slice" type="Slice" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
Ad alanı |
http://schemas.google.com/dspl/2010 |
Şema |
|
Tür |
Dilim |
Özellikler |
içerik: |
karmaşık |
maxOccurs: |
sınırsız |
|
Model |
bilgi{0,1}, boyut+, metrik+
, tablo |
Çocuk |
boyut, bilgi, metrik, tablo |
Örnek |
<slice id="">
<info>{0,1}</info>
<dimension concept="">{1,unbounded}</dimension>
<metric concept="">{1,unbounded}</metric>
<table ref="">{1,1}</table>
</slice>
|
Özellikler |
QName |
Tür |
Düzeltildi |
Varsayılan |
Kullanım |
Notasyon |
id |
Kimlik |
|
|
zorunlu |
Dileğin benzersiz tanımlayıcısı. |
|
Kaynak |
<xs:element name="slice" type="Slice" maxOccurs="unbounded"/>
|
Öğe: dspl / tablo
Ad alanı |
http://schemas.google.com/dspl/2010 |
Ek açıklamalar |
Bu veri kümesinde tanımlanan tabloların listesi. |
Şema |
|
Özellikler |
içerik: |
karmaşık |
min. Tekrarlar: |
0 |
|
Model |
tablo+ |
Çocuk |
tablo |
Örnek |
<tables>
<table id="">{1,unbounded}</table>
</tables>
|
Kaynak |
<xs:element name="tables" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of tables defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="table" type="Table" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
Ad alanı |
http://schemas.google.com/dspl/2010 |
Şema |
|
Tür |
Tablo |
Özellikler |
içerik: |
karmaşık |
maxOccurs: |
sınırsız |
|
Model |
bilgi{0,1}, sütun+, veri{0,1} |
Çocuk |
sütun, veri, bilgi |
Örnek |
<table id="">
<info>{0,1}</info>
<column format="" id="" type="">{1,unbounded}</column>
<data>{0,1}</data>
</table>
|
Özellikler |
QName |
Tür |
Düzeltildi |
Varsayılan |
Kullanım |
Notasyon |
id |
Kimlik |
|
|
zorunlu |
Veri kümesindeki tablonun benzersiz tanımlayıcısı. |
|
Kaynak |
<xs:element name="table" type="Table" maxOccurs="unbounded"/>
|
Ad alanı |
Ad alanı yok |
Ek açıklamalar |
İçe aktarılan veri kümesinin, URI olarak belirtilen ad alanı. Bir ön eke, içeriğinin referans verilebilmesi için önce bu ad alanı ile ilişkilendirilmelidir. XML'de ad alanlarının ve ön eklerin kullanımı hakkında daha fazla bilgi için [XML Ad Alanları] konusuna bakın. |
Özellikler |
|
Kullanan reklam sayısı |
|
Kaynak |
<xs:attribute name="namespace" use="required">
<xs:annotation>
<xs:documentation>The namespace of the imported dataset, specified as
a URI. A prefix must be associated with this
namespace before its contents can be referenced. See
[XML Namespaces] for more information about the use
of namespaces and prefixes in XML.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
Ad alanı |
Ad alanı yok |
Ek açıklamalar |
İçe aktarılan veri kümesinin tanımının bulunabileceği ve URL olarak belirtilen isteğe bağlı bir konum. Konum atlanırsa bu DSPL veri kümesini işleyen sistemin, içe aktarılan veri kümesini zaten bilmesi gerekir. Uygulama notu: Google veri içe aktarma aracı, konum özelliğini yoksayar. İçe aktarılan tüm veri kümeleri önceden Google'dan içe aktarılmalıdır. |
Özellikler |
|
Kullanan reklam sayısı |
|
Kaynak |
<xs:attribute name="location" use="optional">
<xs:annotation>
<xs:documentation>An optional location where the definition of the
imported dataset can be found, specified as a
URL. If the location is omitted, the system
processing this DSPL dataset must already know the
imported dataset.
Implementation note: The Google dataset importer
ignores the location attribute. Any imported dataset
must be known by the Google importer beforehand.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
Özellik: dspl / @targetNamespace
Ad alanı |
Ad alanı yok |
Ek açıklamalar |
Her veri kümesi bir hedef ad alanı sağlayabilir. Hedef ad alanı, veri kümesini benzersiz şekilde tanımlayan bir URI'dir. XML'de ad alanlarının kullanımı hakkında daha fazla bilgi için şu adrese bakın:
http://www.w3.org/TR/REC-xml-names/ targetNamespace sağlanmazsa veri kümesi içe aktarıldığında bir ad alanı oluşturulur. |
Tür |
xs:herhangibirURI |
Özellikler |
|
Kullanan reklam sayısı |
|
Kaynak |
<xs:attribute name="targetNamespace" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation>Each dataset may provide a target namespace. The
target namespace is a URI that uniquely identifies the
dataset. For more information about the use of namespaces in XML,
see:
http://www.w3.org/TR/REC-xml-names/
If no targetNamespace is provided, then a namespace will be
generated when the dataset is imported.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
oXygen XML Düzenleyici kullanılarak oluşturulur.