Skip to main content
Version: latest

agrag.common.data_models.candidate_review.PatchProperty

Bases: BaseModel

Describe a property to add to an entity type.

Attributes:

  • entity (str) – Entity label that will own the property.
  • name (str) – Property name.
  • spec (dict[str, Any]) – Property definition, defaulting to an optional string.

entity​

entity: str

name​

name: str

spec​

spec: dict[str, Any] = Field(default_factory=lambda: {'type': 'string', 'required': False, 'enum': None, 'description': ''})