Skip to content

Commit

Permalink
to be removed soon (#53)
Browse files Browse the repository at this point in the history
* to be removed soon

* version
  • Loading branch information
marshHawk4 authored Jul 23, 2024
1 parent 1e2a264 commit ce755f8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion cdr_schemas/prospectivity_input.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from enum import Enum
from typing import List, Union
from typing import List, Optional, Union

from geojson_pydantic import MultiPolygon
from pydantic import BaseModel, Field
Expand Down Expand Up @@ -135,3 +135,17 @@ class CreateProspectModelMetaData(BaseModel):
evidence_layers: List[DefineProcessDataLayer] = Field(
description="Datasource and preprocess steps"
)


class DataSource(BaseModel):
DOI: Optional[str]
authors: Optional[List[str]]
publication_date: Optional[str]
category: Optional[Union[LayerCategory, str]]
subcategory: Optional[str]
description: Optional[str]
derivative_ops: Optional[str]
type: LayerDataType
resolution: Optional[tuple]
format: DataFormat
download_url: Optional[str]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cdr_schemas"
version = "0.3.9"
version = "0.4.0"
description = "CDR Schemas"
authors = []
readme = "README.md"
Expand Down

0 comments on commit ce755f8

Please sign in to comment.