{"action":"created","issue":{"url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/issues/816","repository_url":"https://api.github.com/repos/metadatacenter/cedar-template-editor","labels_url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/issues/816/labels{/name}","comments_url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/issues/816/comments","events_url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/issues/816/events","html_url":"https://github.com/metadatacenter/cedar-template-editor/issues/816","id":358806209,"node_id":"MDU6SXNzdWUzNTg4MDYyMDk=","number":816,"title":"Add @context entry for SKOS in fields","user":{"login":"martinjoconnor","id":1731323,"node_id":"MDQ6VXNlcjE3MzEzMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1731323?v=4","gravatar_id":"","url":"https://api.github.com/users/martinjoconnor","html_url":"https://github.com/martinjoconnor","followers_url":"https://api.github.com/users/martinjoconnor/followers","following_url":"https://api.github.com/users/martinjoconnor/following{/other_user}","gists_url":"https://api.github.com/users/martinjoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/martinjoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinjoconnor/subscriptions","organizations_url":"https://api.github.com/users/martinjoconnor/orgs","repos_url":"https://api.github.com/users/martinjoconnor/repos","events_url":"https://api.github.com/users/martinjoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/martinjoconnor/received_events","type":"User","site_admin":false},"labels":[{"id":891429898,"node_id":"MDU6TGFiZWw4OTE0Mjk4OTg=","url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/labels/CDE","name":"CDE","color":"e6e6e6","default":false},{"id":815639521,"node_id":"MDU6TGFiZWw4MTU2Mzk1MjE=","url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/labels/Controlled%20Terms","name":"Controlled Terms","color":"e6e6e6","default":false},{"id":468689018,"node_id":"MDU6TGFiZWw0Njg2ODkwMTg=","url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/labels/Fields","name":"Fields","color":"e6e6e6","default":false},{"id":224906926,"node_id":"MDU6TGFiZWwyMjQ5MDY5MjY=","url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"marcosmro","id":7634440,"node_id":"MDQ6VXNlcjc2MzQ0NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/7634440?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosmro","html_url":"https://github.com/marcosmro","followers_url":"https://api.github.com/users/marcosmro/followers","following_url":"https://api.github.com/users/marcosmro/following{/other_user}","gists_url":"https://api.github.com/users/marcosmro/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosmro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosmro/subscriptions","organizations_url":"https://api.github.com/users/marcosmro/orgs","repos_url":"https://api.github.com/users/marcosmro/repos","events_url":"https://api.github.com/users/marcosmro/events{/privacy}","received_events_url":"https://api.github.com/users/marcosmro/received_events","type":"User","site_admin":false},"assignees":[{"login":"marcosmro","id":7634440,"node_id":"MDQ6VXNlcjc2MzQ0NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/7634440?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosmro","html_url":"https://github.com/marcosmro","followers_url":"https://api.github.com/users/marcosmro/followers","following_url":"https://api.github.com/users/marcosmro/following{/other_user}","gists_url":"https://api.github.com/users/marcosmro/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosmro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosmro/subscriptions","organizations_url":"https://api.github.com/users/marcosmro/orgs","repos_url":"https://api.github.com/users/marcosmro/repos","events_url":"https://api.github.com/users/marcosmro/events{/privacy}","received_events_url":"https://api.github.com/users/marcosmro/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/milestones/16","html_url":"https://github.com/metadatacenter/cedar-template-editor/milestone/16","labels_url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/milestones/16/labels","id":3585637,"node_id":"MDk6TWlsZXN0b25lMzU4NTYzNw==","number":16,"title":"2.1","description":null,"creator":{"login":"willrett","id":4739879,"node_id":"MDQ6VXNlcjQ3Mzk4Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/4739879?v=4","gravatar_id":"","url":"https://api.github.com/users/willrett","html_url":"https://github.com/willrett","followers_url":"https://api.github.com/users/willrett/followers","following_url":"https://api.github.com/users/willrett/following{/other_user}","gists_url":"https://api.github.com/users/willrett/gists{/gist_id}","starred_url":"https://api.github.com/users/willrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willrett/subscriptions","organizations_url":"https://api.github.com/users/willrett/orgs","repos_url":"https://api.github.com/users/willrett/repos","events_url":"https://api.github.com/users/willrett/events{/privacy}","received_events_url":"https://api.github.com/users/willrett/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":14,"state":"open","created_at":"2018-08-20T22:34:11Z","updated_at":"2018-09-19T21:58:34Z","due_on":"2018-09-30T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-09-10T21:44:17Z","updated_at":"2018-09-19T22:04:38Z","closed_at":null,"author_association":"MEMBER","body":"We will now (optionally) be using ```skos:prefLabel```, ```skos:altLabel```and ```skos:notation```  in fields (https://github.com/metadatacenter/cedar-model-validation-library/issues/85, ) so we need to add a @context entry in fields for SKOS."},"comment":{"url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/issues/comments/422974207","html_url":"https://github.com/metadatacenter/cedar-template-editor/issues/816#issuecomment-422974207","issue_url":"https://api.github.com/repos/metadatacenter/cedar-template-editor/issues/816","id":422974207,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjk3NDIwNw==","user":{"login":"johardi","id":5062950,"node_id":"MDQ6VXNlcjUwNjI5NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/5062950?v=4","gravatar_id":"","url":"https://api.github.com/users/johardi","html_url":"https://github.com/johardi","followers_url":"https://api.github.com/users/johardi/followers","following_url":"https://api.github.com/users/johardi/following{/other_user}","gists_url":"https://api.github.com/users/johardi/gists{/gist_id}","starred_url":"https://api.github.com/users/johardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johardi/subscriptions","organizations_url":"https://api.github.com/users/johardi/orgs","repos_url":"https://api.github.com/users/johardi/repos","events_url":"https://api.github.com/users/johardi/events{/privacy}","received_events_url":"https://api.github.com/users/johardi/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T22:04:38Z","updated_at":"2018-09-19T22:04:38Z","author_association":"MEMBER","body":"This is what we need to add:\r\n```\r\n\"@context\": {\r\n  ...\r\n  \"skos\": \"http://www.w3.org/2004/02/skos/core#\",\r\n  \"skos:prefLabel\": {\r\n    \"@type\": \"xsd:string\"\r\n  },\r\n  \"skos:altLabel\": {\r\n    \"@type\": \"xsd:string\"\r\n  }\r\n  ...\r\n}\r\n```\r\n(!) And pleaseee, use the model validator before pushing the editor code to check if the produced JSON  complies with the model "}}
{"actor":{"display_login":"johardi"}}