casework / CASE-Mapping-Python

Apache License 2.0
0 stars 3 forks source link

AccountFacet - property uco-observable:accountIssuer #14

Closed fabrizio-turchi closed 5 months ago

fabrizio-turchi commented 1 year ago

The uco-observable:accountIssuer property must contain a @id reference to an Identity not a string value. Example:

{
            "@id": "kb:6601090d-e021-4fc7-8c99-3e80e965f7b3",
            "@type": "uco-observable:ObservableObject",
            "uco-core:hasFacet": [
                {
                    "@id": "kb:dc0c105c-ac96-451f-bfdb-3ca01f9c8a79",
                    "@type": "uco-observable:AccountFacet",
                    "uco-observable:accountIdentifier": "",
                    "uco-observable:accountIssuer": {
                        "@id": "kb:3358fc60-4b1b-4ad4-ba7e-231d00d40973"
                    },
                    "uco-observable:isActive": {
                        "@type": "xsd:boolean",
                        "@value": true
                    }
                },
                {
                    "@id": "kb:0e7f3d99-c204-4ab3-bdba-3f9c28970603",
                    "@type": "uco-observable:PhoneAccountFacet",
                    "uco-observable:phoneNumber": "+499734468551",
                    "uco-observable:displayName": "Hans Meyer"
                }
            ]
        },
        {
            "@id": "kb:3358fc60-4b1b-4ad4-ba7e-231d00d40973",
            "@type": "uco-identity:Organization",
            "uco-core:hasFacet": [
                {
                    "@id": "kb:6551977d-8b9f-4bbf-aa22-03f2060fcfe2",
                    "@type": "uco-identity:SimpleNameFacet",
                    "uco-identity:givenName": "DE Telecom"
                }
            ]
        }
fabrizio-turchi commented 5 months ago

uco-observable:accountIssuer property is already represented as a @id reference to an Identity.