---
title: Get lists of SEC XML schema files by year
description: OpenBB Platform Data Model
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
---
## Implementation details
### Class names
| Model name | Parameters class | Data class |
| ---------- | ---------------- | ---------- |
| `SchemaFiles` | `SchemaFilesQueryParams` | `SchemaFilesData` |
### Import Statement
```python
from openbb_provider.standard_models. import (
SchemaFilesData,
SchemaFilesQueryParams,
)
```
## Parameters
| Name | Type | Description | Default | Optional |
| ---- | ---- | ----------- | ------- | -------- |
| query | str | Search query. | | True |
| provider | Literal['sec'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'sec' if there is no default. | sec | True |
| Name | Type | Description | Default | Optional |
| ---- | ---- | ----------- | ------- | -------- |
| query | str | Search query. | | True |
| provider | Literal['sec'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'sec' if there is no default. | sec | True |
| url | str | Enter an optional URL path to fetch the next level. | None | True |
## Data
| Name | Type | Description |
| ---- | ---- | ----------- |
| Name | Type | Description |
| ---- | ---- | ----------- |
| files | List | Dictionary of URLs to SEC Schema Files |