元件:ConceptProperty
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
概念屬性的文字資訊。 |
圖表 |
|
類型 |
資訊 |
屬性 |
|
模型 |
name、description{0,1}、url{0,1} |
兒童 |
description、name、url |
執行個體 |
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
|
資料來源 |
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the concept property.</xs:documentation>
</xs:annotation>
</xs:element>
|
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
概念屬性的資料類型。 |
圖表 |
|
屬性 |
|
屬性 |
QName |
類型 |
Fixed |
預設 |
使用 |
註解 |
參考 |
資料類型 |
|
|
必要 |
|
|
資料來源 |
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the concept property.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
</xs:complexType>
</xs:element>
|
複雜類型:ConceptProperty
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
概念的屬性,例如城市的國家/地區。 |
圖表 |
|
使用這項素材資源的廣告 |
|
模型 |
info{0,1}、type{0,1} |
兒童 |
info、type |
屬性 |
QName |
類型 |
Fixed |
預設 |
使用 |
註解 |
概念 |
Xs:QName |
|
|
選擇性 |
參照與屬性值的概念的參照。如果屬性指定了類型,則該類型必須與所參照概念的類型相符。外部概念的參照必須採用「prefix:other_concept_id」的形式,其中「prefix」是外部資料集命名空間使用的前置字串 (請參閱 XML 命名空間)。 |
id |
地區 ID |
|
|
選擇性 |
概念屬性的 ID。此 ID 在概念 (包括屬性和屬性) 中不得重複。如果已指定概念屬性,則可省略這個 ID。在這種情況下,系統會以隱含方式建立已參照概念本機名稱的值。例如,<property
concept="geo:country"/> 相當於 <property
id="country"
concept="geo:country"/> |
isMapping |
xs:布林值 |
|
否 |
選擇性 |
如果為 true,這個屬性應參照某個概念,此屬性代表這個概念與所參照概念之間的對應 (一對一) 關係。在參照這個概念的每個例項時,最多只會有一個概念的例項。 |
isParent |
xs:布林值 |
|
否 |
選擇性 |
如果值為 true,這個屬性必須參照概念,此屬性代表這個概念與所參照概念之間的階層關係 (例如國家的洲別)。 |
|
資料來源 |
<xs:complexType name="ConceptProperty">
<xs:annotation>
<xs:documentation>A property of a concept (e.g., the country of a city).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the concept property.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the concept property.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept property. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept property is specified. In that case, an id is
implicitly created with value the local name of the referenced concept. For instance
<property concept="geo:country"/>
is equivalent to
<property id="country" concept="geo:country"/></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the property.
If the property specifies a type, then the type must match the type of the
referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isParent" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a hierarchical
relationship between this concept and the referenced
concept (e.g., the continent of a country).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isMapping" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a mapping
(1-to-1) relationship between this concept and the
referenced concept. Each instance of the referenced
concept is referenced by at most one instance of
this concept.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|
命名空間 |
沒有命名空間 |
類型 |
資料類型 |
屬性 |
|
商情項目 |
列舉 |
string |
|
列舉 |
浮動 |
|
列舉 |
整數 |
|
列舉 |
布林值 |
|
列舉 |
date |
|
列舉 |
概念 |
|
|
使用這項素材資源的廣告 |
|
資料來源 |
<xs:attribute name="ref" type="DataType" use="required"/>
|
命名空間 |
沒有命名空間 |
註解 |
概念屬性的 ID。此 ID 在概念 (跨屬性和屬性) 中不得重複。如果已指定概念屬性,則可省略這個 ID。在這種情況下,系統會使用隱含方式參照所指概念的本機名稱,以隱含方式建立 ID。舉例來說,<property concept="geo:country"/> 相當於 <property id="country"
concept="geo:country"/> |
類型 |
地區 ID |
屬性 |
|
商情項目 |
|
使用這項素材資源的廣告 |
|
資料來源 |
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept property. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept property is specified. In that case, an id is
implicitly created with value the local name of the referenced concept. For instance
<property concept="geo:country"/>
is equivalent to
<property id="country" concept="geo:country"/></xs:documentation>
</xs:annotation>
</xs:attribute>
|
命名空間 |
沒有命名空間 |
註解 |
參照與屬性值的概念的參照。如果屬性指定了類型,則該類型必須與所參照概念的類型相符。外部概念的參照格式必須是「prefix:other_concept_id」,其中「prefix」是外部資料集命名空間使用的前置字串 (請參閱 XML 命名空間)。 |
類型 |
Xs:QName |
屬性 |
|
使用這項素材資源的廣告 |
|
資料來源 |
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the property.
If the property specifies a type, then the type must match the type of the
referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
|
命名空間 |
沒有命名空間 |
註解 |
如果值為 true,這個屬性必須參照概念,此屬性代表這個概念與所參照概念之間的階層關係 (例如國家的洲別)。 |
類型 |
xs:布林值 |
屬性 |
而應改為使用下列指令: |
選擇性 |
default: |
否 |
|
使用這項素材資源的廣告 |
|
資料來源 |
<xs:attribute name="isParent" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a hierarchical
relationship between this concept and the referenced
concept (e.g., the continent of a country).</xs:documentation>
</xs:annotation>
</xs:attribute>
|
命名空間 |
沒有命名空間 |
註解 |
如果值為 true,這個屬性應參照某個概念,此屬性代表這個概念與所參照概念之間的對應 (一對一) 關係。此概念的每個執行個體最多都會參照這個概念的執行個體。 |
類型 |
xs:布林值 |
屬性 |
而應改為使用下列指令: |
選擇性 |
default: |
否 |
|
使用這項素材資源的廣告 |
|
資料來源 |
<xs:attribute name="isMapping" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a mapping
(1-to-1) relationship between this concept and the
referenced concept. Each instance of the referenced
concept is referenced by at most one instance of
this concept.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
使用 oXygen XML 編輯器建立。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-01-19 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]