diff --git a/.gitignore b/.gitignore index b7faf40..e8fece7 100644 --- a/.gitignore +++ b/.gitignore @@ -173,7 +173,7 @@ cython_debug/ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ +.idea/ # Abstra # Abstra is an AI-powered process automation framework. diff --git a/schemas/schemas.py b/schemas/schemas.py new file mode 100644 index 0000000..3e40b2f --- /dev/null +++ b/schemas/schemas.py @@ -0,0 +1,14 @@ +from pydantic import BaseModel, HttpUrl +from datetime import datetime + +class News(BaseModel): + description: str + tag: str + +class Library(BaseModel): + library_name: str + news: list[News] + logo: HttpUrl + version: str + release_date: datetime + release_doc_url: HttpUrl \ No newline at end of file