Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 5 message thread #38

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

fabrizio-turchi
Copy link
Contributor

Fix #5 issue, I changed the FacetMessagethread class. The class doesn't generate a complex structure as illustrated in the message example:

https://github.com/casework/CASE-Examples/blob/master/examples/illustrations/message/message.json).

The class takes into consideration the list of participants (array of Account ObservableObject), the list of messages (array of Message ObservableObjects) and the visibility.

BTW, the example on the repo should be slightly updated replacing the properties:
"uco-observable:displayName": "Best Friend Chat!!" --> uco-core:name outside of the uco-core:hasFacet array and
"drafting:visibility": "PRIVATE" --> boolean value False.

ajnelson-nist added a commit that referenced this pull request Mar 12, 2024
This patch is an isolated and expanded change drawn from PR 38.

This patch was written to integrate into the current class hierarchy
without disruption to existing code.  This patch does not necessarily
indicate agreement with the current class hierarchy.

A follow-on patch will regenerate Make-managed files.

References:
* #38

Signed-off-by: Alex Nelson <[email protected]>
@ajnelson-nist
Copy link
Member

I'm addressing the merge conflict now.

case.jsonld Show resolved Hide resolved
case_mapping/uco/observable.py Show resolved Hide resolved
ajnelson-nist added a commit to casework/CASE-Examples that referenced this pull request Mar 13, 2024
Reported in CASE-Mapping-Python PR 38.

No effects were observed on Make-managed files.

References:
* casework/CASE-Mapping-Python#38

Reported-by: Fabrizio Turchi <[email protected]>
Signed-off-by: Alex Nelson <[email protected]>
ajnelson-nist added a commit to casework/CASE-Examples that referenced this pull request Mar 13, 2024
`uco-observable:displayName` is not associated with
`uco-observable:MessageThreadFacet` by a SHACL property shape, at the
time of UCO 1.3.0.

Nothing encoded in UCO disallows the way it was used in `message.json`,
but the data stored in that property is being removed to follow the
suggestions from the SHACL shapes.

Reported in CASE-Mapping-Python PR 38.

No effects were observed on Make-managed files.

References:
* casework/CASE-Mapping-Python#38

Reported-by: Fabrizio Turchi <[email protected]>
Signed-off-by: Alex Nelson <[email protected]>
@ajnelson-nist ajnelson-nist merged commit 89edf1a into casework:main Mar 13, 2024
2 checks passed
@fabrizio-turchi fabrizio-turchi deleted the issue_5_message_thread branch March 14, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MessageThread structure has changed
2 participants