casework / CASE-Mapping-Python

Apache License 2.0
0 stars 3 forks source link

xsd:nonNegativeInteger to be supported #37

Closed ajnelson-nist closed 4 months ago

ajnelson-nist commented 8 months ago

There are several properties across the core, action, and observable namespaces that use xsd:nonNegativeInteger. One happens to be referenced in example.py. The other properties will need a general library function to support their usage.

ajnelson-nist commented 4 months ago

@fabrizio-turchi : I believe UcoThing._nonegative_int_vars() is the function needed by this issue. If you've checked whether it is called everywhere it should be, please feel free to close this issue as addressed.

fabrizio-turchi commented 4 months ago

Yes I'll close it, it's called for the following properties: entity.py "drafting:reactionsCount": reactions_count, "drafting:sharesCount": shares_count, "drafting:commentsCount": comments_count action.py "uco-action:actionCount": action_count