# Component: Topic

## Element: [Topic](https://developers.google.com/public-data/docs/schema/dspl15#id29) / info

| Namespace | http://schemas.google.com/dspl/2010 |
| Annotations | Textual information about the topic. |
| Diagram | ![Diagram](https://developers.google.com/static/public-data/images/schema/dspl.html55.jpeg) |
| Type | [Info](https://developers.google.com/public-data/docs/schema/dspl4#id6) |
| Properties | | content: | complex | |---|---| |
| Model | [name](https://developers.google.com/public-data/docs/schema/dspl4#id7) , [description{0,1}](https://developers.google.com/public-data/docs/schema/dspl4#id14) , [url{0,1}](https://developers.google.com/public-data/docs/schema/dspl4#id15) |
| Children | [description](https://developers.google.com/public-data/docs/schema/dspl4#id14), [name](https://developers.google.com/public-data/docs/schema/dspl4#id7), [url](https://developers.google.com/public-data/docs/schema/dspl4#id15) |
| Instance | ``` <info> <name>{1,1}</name> <description>{0,1}</description> <url>{0,1}</url> </info> ``` |
| Source | ``` <xs:element name="info" type="Info"> <xs:annotation> <xs:documentation>Textual information about the topic.</xs:documentation> </xs:annotation> </xs:element> ``` |
|---|---|

## Element: [Topic](https://developers.google.com/public-data/docs/schema/dspl15#id29) / topic

| Namespace | http://schemas.google.com/dspl/2010 |
| Annotations | Child topics can be inlined inside their parent topic. If so, the order of children is meaningful and should be respected by applications that display these topics. |
| Diagram | ![Diagram](https://developers.google.com/static/public-data/images/schema/dspl.html56.jpeg) |
| Type | [Topic](https://developers.google.com/public-data/docs/schema/dspl15#id29) |
| Properties | | content: | complex | | minOccurs: | 0 | | maxOccurs: | unbounded | |---|---| |
| Model | [info](https://developers.google.com/public-data/docs/schema/dspl15#id30) , [topic\*](https://developers.google.com/public-data/docs/schema/dspl15#id31) |
| Children | [info](https://developers.google.com/public-data/docs/schema/dspl15#id30), [topic](https://developers.google.com/public-data/docs/schema/dspl15#id31) |
| Instance | ``` <topic id="" parentTopic=""> <info>{1,1}</info> <topic id="" parentTopic="">{0,unbounded}</topic> </topic> ``` |
| Attributes | | QName | Type | Fixed | Default | Use | Annotation | | [id](https://developers.google.com/public-data/docs/schema/dspl15#id32) | [Id](https://developers.google.com/public-data/docs/schema/dspl19#id33) |   |   | required | The unique identifier of the topic in the dataset. | | [parentTopic](https://developers.google.com/public-data/docs/schema/dspl15#id34) | xs:QName |   |   | optional | The id of the parent topic of this topic, if it has one. parentTopic cannot be specified for topics that are inlined inside other topics. | |---|---|---|---|---|---| |
| Source | ``` <xs:element name="topic" type="Topic" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>Child topics can be inlined inside their parent topic. If so, the order of children is meaningful and should be respected by applications that display these topics.</xs:documentation> </xs:annotation> </xs:element> ``` |
|---|---|

## Complex Type: Topic

| Namespace | http://schemas.google.com/dspl/2010 |
| Annotations | A topic is a label that can be attached to concepts. Topics are organized hierarchically. |
| Diagram | ![Diagram](https://developers.google.com/static/public-data/images/schema/dspl.html63.jpeg) |
| Used by | | Elements | [Topic/topic](https://developers.google.com/public-data/docs/schema/dspl15#id31), [dspl/topics/topic](https://developers.google.com/public-data/docs/schema/dspl9#id28) | |---|---| |
| Model | [info](https://developers.google.com/public-data/docs/schema/dspl15#id30) , [topic\*](https://developers.google.com/public-data/docs/schema/dspl15#id31) |
| Children | [info](https://developers.google.com/public-data/docs/schema/dspl15#id30), [topic](https://developers.google.com/public-data/docs/schema/dspl15#id31) |
| Attributes | | QName | Type | Fixed | Default | Use | Annotation | | [id](https://developers.google.com/public-data/docs/schema/dspl15#id32) | [Id](https://developers.google.com/public-data/docs/schema/dspl19#id33) |   |   | required | The unique identifier of the topic in the dataset. | | [parentTopic](https://developers.google.com/public-data/docs/schema/dspl15#id34) | xs:QName |   |   | optional | The id of the parent topic of this topic, if it has one. parentTopic cannot be specified for topics that are inlined inside other topics. | |---|---|---|---|---|---| |
| Source | ``` <xs:complexType name="Topic"> <xs:annotation> <xs:documentation>A topic is a label that can be attached to concepts. Topics are organized hierarchically.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="info" type="Info"> <xs:annotation> <xs:documentation>Textual information about the topic.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="topic" type="Topic" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>Child topics can be inlined inside their parent topic. If so, the order of children is meaningful and should be respected by applications that display these topics.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:attribute name="id" type="Id" use="required"> <xs:annotation> <xs:documentation>The unique identifier of the topic in the dataset.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="parentTopic" type="xs:QName" use="optional"> <xs:annotation> <xs:documentation>The id of the parent topic of this topic, if it has one. parentTopic cannot be specified for topics that are inlined inside other topics.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> ``` |
|---|---|

## Attribute: [Topic](https://developers.google.com/public-data/docs/schema/dspl15#id29) / @id

| Namespace | No namespace |
| Annotations | The unique identifier of the topic in the dataset. |
| Type | [Id](https://developers.google.com/public-data/docs/schema/dspl19#id33) |
| Properties | | use: | required | |---|---| |
| Facets | | maxLength | 64 |   | |---|---|---| |
| Used by | | Complex Type | [Topic](https://developers.google.com/public-data/docs/schema/dspl15#id29) | |---|---| |
| Source | ``` <xs:attribute name="id" type="Id" use="required"> <xs:annotation> <xs:documentation>The unique identifier of the topic in the dataset.</xs:documentation> </xs:annotation> </xs:attribute> ``` |
|---|---|

## Attribute: [Topic](https://developers.google.com/public-data/docs/schema/dspl15#id29) / @parentTopic

| Namespace | No namespace |
| Annotations | The id of the parent topic of this topic, if it has one. parentTopic cannot be specified for topics that are inlined inside other topics. |
| Type | xs:QName |
| Properties | | use: | optional | |---|---| |
| Used by | | Complex Type | [Topic](https://developers.google.com/public-data/docs/schema/dspl15#id29) | |---|---| |
| Source | ``` <xs:attribute name="parentTopic" type="xs:QName" use="optional"> <xs:annotation> <xs:documentation>The id of the parent topic of this topic, if it has one. parentTopic cannot be specified for topics that are inlined inside other topics.</xs:documentation> </xs:annotation> </xs:attribute> ``` |
|---|---|

Created using the
[oXygen XML Editor](http://www.oxygenxml.com).