--- title: schema_files description: Get lists of SEC XML schema files by year with the OBBect function. Returns serializable results, provider name, warnings list, chart object, metadata info, and data including a list of URLs to SEC Schema Files. keywords: - SEC XML schema files - SEC XML schema files by year - get SEC XML schema files - OBBect - Serializable results - provider name - warnings list - chart object - metadata info - fetch URL path - data - list of URLs to SEC Schema Files --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Get lists of SEC XML schema files by year. ```python wordwrap obb.regulators.sec.schema_files(query: str, provider: Literal[str] = sec) ``` --- ## 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 | --- ## Returns ```python wordwrap OBBject results : List[SchemaFiles] Serializable results. provider : Optional[Literal['sec']] Provider name. warnings : Optional[List[Warning_]] List of warnings. chart : Optional[Chart] Chart object. metadata: Optional[Metadata] Metadata info about the command execution. ``` --- ## Data | Name | Type | Description | | ---- | ---- | ----------- | | Name | Type | Description | | ---- | ---- | ----------- | | files | List | Dictionary of URLs to SEC Schema Files |