The following tables list the schema elements and attributes that you can use to query from the data source.
This is the top-level element of the schema.
| Attribute | Description |
|---|---|
| ID | Database unique identifier. |
| name | Database name. |
| URL | Database URL. |
The schema contains a single element named folder. Use its isProject attribute to determine whether the result is a folder or a project and depict it accordingly in the output.
| Attribute | Description |
|---|---|
| Description | The project or folder description. |
| ID | The project or folder identifier. |
| isProject | Set to true if the folder is a project; set to false otherwise. |
| Name | The name of the project or folder. |
| URL | The project or folder URL. |
The module element allows access to certain properties of the module:
| Attribute | Description |
|---|---|
| Description | The module description. |
| fullname | The fully qualified name of the module /demo/car/test/System requirements). |
| Id | The module identifier. |
| Name | The name of the module (System requirements). |
| type | The type of the module: formal, descriptive, link. |
| URL | The project or module URL. |
The schema is designed so that a single query can retrieve all the structure information. Defining a recursive level greater than 0 for the database.folder query, retrieves all the folders and projects up to that level of nesting.
List DOORS Structure 1 $1 Database.Folder List-detail Text Database.Folder.name List DOORS Structure 1 $2 Database.Folder.Module Text Database.Folder.Module.name