Skip to content

Commit

Permalink
Clarified why field is named describedby and not described_by.
Browse files Browse the repository at this point in the history
  • Loading branch information
JPBergsma committed Oct 19, 2023
1 parent da11332 commit 61361b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions optimade/models/partial_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ class LinksObject(BaseModel):
None,
description="""The base URL of the implementation serving the database to which this property belongs.""",
)
# todo should it not be item_described_by? check with json Api they may have defined this field name.
item_describedby: Optional[str] = OptimadeField(
item_describedby: Optional[
str
] = OptimadeField( # The term describedby is used in the json Api, therefore we do not place an underscore between described and by.
None,
description="""A URL to an external JSON Schema that validates the data lines of the response.
The format and requirements on this schema are the same as for the inline schema field :field:`item_schema`.
Expand Down

0 comments on commit 61361b8

Please sign in to comment.