diff --git a/ocsf_validator/types.py b/ocsf_validator/types.py index 243c941..67a8f7e 100644 --- a/ocsf_validator/types.py +++ b/ocsf_validator/types.py @@ -128,13 +128,19 @@ class OcsfInclude(TypedDict): annotations: NotRequired[Dict[str, str]] -class OcsfProfile(TypedDict): - caption: str - description: str - meta: str - name: str - attributes: Dict[str, OcsfAttr] - annotations: NotRequired[Dict[str, str]] +OcsfProfile = TypedDict( + "OcsfProfile", + { + "caption": str, + "description": str, + "meta": str, + "name": str, + "attributes": Dict[str, OcsfAttr], + "annotations": NotRequired[Dict[str, str]], + "references": NotRequired[OcsfReferences], + "@deprecated": NotRequired[OcsfDeprecationInfo], + }, +) OcsfObject = TypedDict( diff --git a/pyproject.toml b/pyproject.toml index b9e5212..f01e628 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ocsf-validator" -version = "0.2.3" +version = "0.2.4" description = "OCSF Schema Validation" authors = [ "Jeremy Fisher ",