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

datatypes in jsonld are not defined in @context #12

Open
DavidLeoni opened this issue Mar 5, 2015 · 0 comments
Open

datatypes in jsonld are not defined in @context #12

DavidLeoni opened this issue Mar 5, 2015 · 0 comments

Comments

@DavidLeoni
Copy link
Member

Inside values there is indicated the datatype, i.e. "dataType": "NLSTRING". but "NLSTRING" is not defined in @context. it would be better to put a jsonld @type tag like "@type":"NLSTRING"

"attributes": [{
            "creationDate": 1411057967173,
            "modificationDate": 1411057967173,
            "conceptId": 2,
            "dataType": "NLSTRING",
            "values": [{
                    "creationDate": 1411057967174,
                    "modificationDate": 1411057967174,
                    "dataType": "NLSTRING",
                    "operator": "EQUAL",
                    "value": "Andalo",
                    "languageCode": "en"
            }]

See http://www.w3.org/TR/json-ld/#typed-values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant