Skip to content

Commit

Permalink
Adding PropertyCreate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed Feb 5, 2025
1 parent 6236292 commit 9c33050
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/fides/api/schemas/property.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ class MinimalProperty(FidesSchema):
name: str


class PropertyCreate(FidesSchema):
name: str
type: PropertyType
id: Optional[str] = None
experiences: List[MinimalPrivacyExperienceConfig]
privacy_center_config: Optional[PrivacyCenterConfig] = None
stylesheet: Optional[CssStr] = None
paths: List[str]


class PublicPropertyResponse(FidesSchema):
"""
Schema that represents a `Property` as returned in the
Expand Down

0 comments on commit 9c33050

Please sign in to comment.