コンポーネント: 属性
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
名前空間 |
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 attribute.</xs:documentation>
</xs:annotation>
</xs:element>
|
要素: 属性 / 型
名前空間 |
http://schemas.google.com/dspl/2010 |
アノテーション |
属性のデータ型。 |
図 |
 |
プロパティ |
|
属性 |
QName |
タイプ |
固定 |
デフォルト |
使用 |
Annotation |
形式 |
xs:string |
|
|
省略可 |
値の形式。テキストの解析や
値を表現します。[日付形式の仕様] を参照
|
参照 |
DataType |
|
|
必須 |
|
|
ソース |
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
複合型: 属性
名前空間 |
http://schemas.google.com/dspl/2010 |
アノテーション |
データセットまたはコンセプトの属性。 |
図 |
 |
使用者 |
|
モデル |
info{0,1}、type{0,1}、(value*
|conceptValue{0,1}) |
子供 |
conceptValue、info、type、
値 |
属性 |
QName |
タイプ |
固定 |
デフォルト |
使用 |
Annotation |
コンセプト |
xs:QName |
|
|
省略可 |
値に対応するコンセプトへの参照
使用します。属性でタイプが指定されている場合、そのタイプは
参照されるコンセプトのタイプと一致している必要があります。参照:
外部コンセプトは、
"prefix:other_concept_id"("prefix")
外部データセットの名前空間に使用される接頭辞(XML を参照
実装します。 |
id |
LocalId |
|
|
省略可 |
コンセプト属性の ID。この識別子は、
(属性とプロパティ全体で)一意でなければなりません。「
concept 属性が指定されている場合、id は省略できます。その
場合、ID は、そのサービスのローカル名の値で暗黙的に作成されます。
参照されるコンセプトです。例: <attribute
concept="unit:currency"/>は次と同等です:
<attribute id="currency"
concept="unit:currency"/> |
|
ソース |
<xs:complexType name="Attribute">
<xs:annotation>
<xs:documentation>An attribute of a dataset or a concept.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the attribute.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:group ref="ValuesGroup" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept attribute is specified. In that case, an id is
implicity created with value the local name of the referenced concept. For instance
<attribute concept="unit:currency"/>
is equivalent to
<attribute id="currency" concept="unit:currency"/></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 attribute.
If the attribute 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:complexType>
|
属性: 属性 / タイプ / @ref
名前空間 |
名前空間がありません |
タイプ |
DataType |
プロパティ |
|
ファセット |
enumeration |
文字列 |
|
enumeration |
float |
|
enumeration |
integer |
|
enumeration |
ブール値 |
|
enumeration |
date |
|
enumeration |
concept |
|
|
使用者 |
|
ソース |
<xs:attribute name="ref" type="DataType" use="required"/>
|
名前空間 |
名前空間がありません |
アノテーション |
値の形式。テキスト表現の解析に使用されます。
作成されます。日付については、[日付形式の仕様] をご覧ください。 |
タイプ |
xs:string |
プロパティ |
|
使用者 |
|
ソース |
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
属性: 属性 / @id
名前空間 |
名前空間がありません |
アノテーション |
コンセプト属性の ID。この ID は一意である必要があります
(属性とプロパティにまたがる)。ID は
コンセプト属性が指定されている場合は省略されます。この場合、ID は
参照先のコンセプトのローカル名の値を使用して暗黙的に作成されます。
例: <attribute concept="unit:currency"/>
<attribute id="currency" と同等
concept="unit:currency"/> |
タイプ |
LocalId |
プロパティ |
|
ファセット |
|
使用者 |
|
ソース |
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept attribute is specified. In that case, an id is
implicity created with value the local name of the referenced concept. For instance
<attribute concept="unit:currency"/>
is equivalent to
<attribute id="currency" concept="unit:currency"/></xs:documentation>
</xs:annotation>
</xs:attribute>
|
名前空間 |
名前空間がありません |
アノテーション |
属性です。属性でタイプを指定する場合、そのタイプは一致している必要があります。
参照されるコンセプトの型。外部コンセプトへの参照
「prefix:other_concept_id」の形式にする必要があります。
"接頭辞"外部 IP アドレスの名前空間に使用される接頭辞です。
(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 attribute.
If the attribute 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>
|
次を使用して作成:
oXygen XML エディタ。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[],["The core content describes the structure and properties of an \"Attribute\" within a dataset or concept. An attribute can include optional textual information (`info`), its data `type` (required), and value. The `type` specifies the data type and can have a `format`. Attributes have an optional `id` for unique identification and can refer to another `concept`. The `info` section may include name, description, and URL.\n"]]