Varieties
Contact
Bases: StrictModel
Represent a contact.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Name of the company |
required |
address
|
str
|
Address of the company |
required |
post_box
|
str | None
|
Post box of the company |
None
|
postal_code
|
str | None
|
Postal code of the company |
None
|
city
|
str | None
|
City of the company |
None
|
country
|
str
|
|
required |
BotanicalInfo
Bases: StrictModel
Represent botanical information.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
family
|
str | None
|
Family of the plant |
None
|
genus
|
str | None
|
Genus of the plant |
None
|
species
|
str | None
|
Species of the plant |
None
|
upov_code
|
str
|
UPOV code of the plant. For more information: https://www.upov.int/en |
required |
Status
Bases: StrictModel
Represent a status
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
status
|
str
|
Application status |
required |
valid_from
|
date
|
Valid from date |
required |
Denomination
Bases: StrictModel
Represent a denomination
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
denomination
|
str
|
Denomination of the crop |
required |
status_history
|
list[Status]
|
Status history of the crop |
required |
CurrentDenomination
Bases: StrictModel
Represent the current denomination
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
denomination
|
str
|
Current denomination of the crop |
required |
status
|
Status
|
Current status of the crop |
required |
build_status
classmethod
build_status(source: dict) -> dict
Transform flat input into nested Status.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source
|
dict
|
Current denomination source |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
nested current denomination |
PBRRequest
Bases: StrictModel
Represent a plant breeders request
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number
|
str
|
Number of the request |
required |
entry_date
|
Annotated[date, BeforeValidator] | None
|
Entry date of the request |
None
|
PBRRegister
Bases: StrictModel
Represent a plant breeders register
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number
|
str
|
Number of the register |
required |
grant_of_protection
|
date
|
Grant of protection date |
required |
max_protection_years
|
int
|
Max protection years |
required |
end_protection
|
Annotated[date, BeforeValidator] | None
|
End of protection date |
None
|
PBRContact
Bases: StrictModel
Represent a plant breeders contact
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
agent
|
Contact
|
Plant breeders contact |
required |
PlantBreedersRight
Bases: StrictModel
Represent a plant breeders right
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
status
|
str
|
Plant breeders status |
required |
request
|
PBRRequest
|
Plant breeders request |
required |
register_info
|
PBRRegister | None
|
Plant breeders register |
None
|
contact
|
PBRContact
|
plant breeders contact |
required |
VarietyContacts
Bases: StrictModel
Represent the contacts of the plant variety
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
owners
|
list[Contact]
|
Owners contacts |
required |
breeders
|
list[Contact]
|
Breeders contacts |
required |
Variety
Bases: StrictModel
Represent a plant variety.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id
|
str
|
Unique identifier of the variety. Represented by a UUID |
required |
status
|
str
|
Variety status |
required |
breeding_country
|
str | None
|
Breeding country of the variety |
None
|
trade_names
|
list[str] | None
|
Trade names of the variety |
None
|
brand_names
|
list[str] | None
|
Brand names of the variety |
None
|
breeders_reference
|
str | None
|
Breeders reference of the variety |
None
|
crop_category
|
CropCategory
|
Crop category of the variety |
required |
botanical_info
|
BotanicalInfo
|
Botanical information of the variety |
required |
current_denomination
|
CurrentDenomination | None
|
Currently accepted denomination of the variety |
None
|
denominations
|
list[Denomination] | None
|
Denomination history of the variety |
None
|
plant_breeders_right
|
PlantBreedersRight
|
Plant breeders right of the variety |
required |
contacts
|
VarietyContacts
|
Contacts of the variety |
required |
Varieties
Bases: StrictModel
Represent the raw data model for plant varieties.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
varieties
|
list[Variety]
|
List of varieties |
required |