{"action":"created","comment":{"url":"https://api.github.com/repos/Fiware/dataModels/pulls/comments/233081062","pull_request_review_id":174417231,"id":233081062,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzA4MTA2Mg==","diff_hunk":"@@ -69,6 +69,7 @@ module.exports = {\n     const file = path.join(fullPath, fileSchema);\n     const schema = openFile(file, \"schema\");\n     const ajv = new Ajv(conf.ajvOptions);\n+    ajv.addFormat(\"date-optionally-yearless\", /^(\\d\\d\\d\\d|-)-[0-1]\\d-[0-3]\\d$/);","path":"validator/libs/schema.js","position":4,"original_position":4,"commit_id":"89711e87dc84b8d1c60f80e5a6a603768312202c","original_commit_id":"f5c716cae9798b08adafa33b2588b011bccf5337","user":{"login":"aarranz","id":841201,"node_id":"MDQ6VXNlcjg0MTIwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/841201?v=4","gravatar_id":"","url":"https://api.github.com/users/aarranz","html_url":"https://github.com/aarranz","followers_url":"https://api.github.com/users/aarranz/followers","following_url":"https://api.github.com/users/aarranz/following{/other_user}","gists_url":"https://api.github.com/users/aarranz/gists{/gist_id}","starred_url":"https://api.github.com/users/aarranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarranz/subscriptions","organizations_url":"https://api.github.com/users/aarranz/orgs","repos_url":"https://api.github.com/users/aarranz/repos","events_url":"https://api.github.com/users/aarranz/events{/privacy}","received_events_url":"https://api.github.com/users/aarranz/received_events","type":"User","site_admin":false},"body":"Ok, do yo mean something like this (removing support for dates using `/` and `. ` for separator): https://stackoverflow.com/questions/15491894/regex-to-validate-date-format-dd-mm-yyyy/15504877#15504877?","created_at":"2018-11-13T15:20:20Z","updated_at":"2018-11-13T15:20:21Z","html_url":"https://github.com/Fiware/dataModels/pull/322#discussion_r233081062","pull_request_url":"https://api.github.com/repos/Fiware/dataModels/pulls/322","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Fiware/dataModels/pulls/comments/233081062"},"html":{"href":"https://github.com/Fiware/dataModels/pull/322#discussion_r233081062"},"pull_request":{"href":"https://api.github.com/repos/Fiware/dataModels/pulls/322"}},"in_reply_to_id":231067707},"pull_request":{"url":"https://api.github.com/repos/Fiware/dataModels/pulls/322","id":228010637,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MDEwNjM3","html_url":"https://github.com/Fiware/dataModels/pull/322","diff_url":"https://github.com/Fiware/dataModels/pull/322.diff","patch_url":"https://github.com/Fiware/dataModels/pull/322.patch","issue_url":"https://api.github.com/repos/Fiware/dataModels/issues/322","number":322,"state":"open","locked":false,"title":"[WIP] Fix some StreetLighting doc details","user":{"login":"aarranz","id":841201,"node_id":"MDQ6VXNlcjg0MTIwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/841201?v=4","gravatar_id":"","url":"https://api.github.com/users/aarranz","html_url":"https://github.com/aarranz","followers_url":"https://api.github.com/users/aarranz/followers","following_url":"https://api.github.com/users/aarranz/following{/other_user}","gists_url":"https://api.github.com/users/aarranz/gists{/gist_id}","starred_url":"https://api.github.com/users/aarranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarranz/subscriptions","organizations_url":"https://api.github.com/users/aarranz/orgs","repos_url":"https://api.github.com/users/aarranz/repos","events_url":"https://api.github.com/users/aarranz/events{/privacy}","received_events_url":"https://api.github.com/users/aarranz/received_events","type":"User","site_admin":false},"body":"This PR fixes some problems in the StreetLightning specifications and provides initial JSON schemas for the `StreetlightGroup` and `StreetlightModel` data models.","created_at":"2018-11-02T17:39:58Z","updated_at":"2018-11-13T15:20:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d97708278a7eb1f6f787cfdf5adacc9ed04b6aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Fiware/dataModels/pulls/322/commits","review_comments_url":"https://api.github.com/repos/Fiware/dataModels/pulls/322/comments","review_comment_url":"https://api.github.com/repos/Fiware/dataModels/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fiware/dataModels/issues/322/comments","statuses_url":"https://api.github.com/repos/Fiware/dataModels/statuses/89711e87dc84b8d1c60f80e5a6a603768312202c","head":{"label":"aarranz:fix/streetlighting-doc-problems","ref":"fix/streetlighting-doc-problems","sha":"89711e87dc84b8d1c60f80e5a6a603768312202c","user":{"login":"aarranz","id":841201,"node_id":"MDQ6VXNlcjg0MTIwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/841201?v=4","gravatar_id":"","url":"https://api.github.com/users/aarranz","html_url":"https://github.com/aarranz","followers_url":"https://api.github.com/users/aarranz/followers","following_url":"https://api.github.com/users/aarranz/following{/other_user}","gists_url":"https://api.github.com/users/aarranz/gists{/gist_id}","starred_url":"https://api.github.com/users/aarranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarranz/subscriptions","organizations_url":"https://api.github.com/users/aarranz/orgs","repos_url":"https://api.github.com/users/aarranz/repos","events_url":"https://api.github.com/users/aarranz/events{/privacy}","received_events_url":"https://api.github.com/users/aarranz/received_events","type":"User","site_admin":false},"repo":{"id":93597175,"node_id":"MDEwOlJlcG9zaXRvcnk5MzU5NzE3NQ==","name":"dataModels","full_name":"aarranz/dataModels","private":false,"owner":{"login":"aarranz","id":841201,"node_id":"MDQ6VXNlcjg0MTIwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/841201?v=4","gravatar_id":"","url":"https://api.github.com/users/aarranz","html_url":"https://github.com/aarranz","followers_url":"https://api.github.com/users/aarranz/followers","following_url":"https://api.github.com/users/aarranz/following{/other_user}","gists_url":"https://api.github.com/users/aarranz/gists{/gist_id}","starred_url":"https://api.github.com/users/aarranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarranz/subscriptions","organizations_url":"https://api.github.com/users/aarranz/orgs","repos_url":"https://api.github.com/users/aarranz/repos","events_url":"https://api.github.com/users/aarranz/events{/privacy}","received_events_url":"https://api.github.com/users/aarranz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/aarranz/dataModels","description":"This repository contains code and specifications to support harmonized data models developed by FIWARE","fork":true,"url":"https://api.github.com/repos/aarranz/dataModels","forks_url":"https://api.github.com/repos/aarranz/dataModels/forks","keys_url":"https://api.github.com/repos/aarranz/dataModels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aarranz/dataModels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aarranz/dataModels/teams","hooks_url":"https://api.github.com/repos/aarranz/dataModels/hooks","issue_events_url":"https://api.github.com/repos/aarranz/dataModels/issues/events{/number}","events_url":"https://api.github.com/repos/aarranz/dataModels/events","assignees_url":"https://api.github.com/repos/aarranz/dataModels/assignees{/user}","branches_url":"https://api.github.com/repos/aarranz/dataModels/branches{/branch}","tags_url":"https://api.github.com/repos/aarranz/dataModels/tags","blobs_url":"https://api.github.com/repos/aarranz/dataModels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aarranz/dataModels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aarranz/dataModels/git/refs{/sha}","trees_url":"https://api.github.com/repos/aarranz/dataModels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aarranz/dataModels/statuses/{sha}","languages_url":"https://api.github.com/repos/aarranz/dataModels/languages","stargazers_url":"https://api.github.com/repos/aarranz/dataModels/stargazers","contributors_url":"https://api.github.com/repos/aarranz/dataModels/contributors","subscribers_url":"https://api.github.com/repos/aarranz/dataModels/subscribers","subscription_url":"https://api.github.com/repos/aarranz/dataModels/subscription","commits_url":"https://api.github.com/repos/aarranz/dataModels/commits{/sha}","git_commits_url":"https://api.github.com/repos/aarranz/dataModels/git/commits{/sha}","comments_url":"https://api.github.com/repos/aarranz/dataModels/comments{/number}","issue_comment_url":"https://api.github.com/repos/aarranz/dataModels/issues/comments{/number}","contents_url":"https://api.github.com/repos/aarranz/dataModels/contents/{+path}","compare_url":"https://api.github.com/repos/aarranz/dataModels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aarranz/dataModels/merges","archive_url":"https://api.github.com/repos/aarranz/dataModels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aarranz/dataModels/downloads","issues_url":"https://api.github.com/repos/aarranz/dataModels/issues{/number}","pulls_url":"https://api.github.com/repos/aarranz/dataModels/pulls{/number}","milestones_url":"https://api.github.com/repos/aarranz/dataModels/milestones{/number}","notifications_url":"https://api.github.com/repos/aarranz/dataModels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aarranz/dataModels/labels{/name}","releases_url":"https://api.github.com/repos/aarranz/dataModels/releases{/id}","deployments_url":"https://api.github.com/repos/aarranz/dataModels/deployments","created_at":"2017-06-07T05:47:17Z","updated_at":"2017-06-07T05:47:19Z","pushed_at":"2018-11-10T22:27:42Z","git_url":"git://github.com/aarranz/dataModels.git","ssh_url":"git@github.com:aarranz/dataModels.git","clone_url":"https://github.com/aarranz/dataModels.git","svn_url":"https://github.com/aarranz/dataModels","homepage":"","size":2243,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Fiware:master","ref":"master","sha":"8f8ed68a971431177015519cf9b69323641bfd3d","user":{"login":"Fiware","id":5936803,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5MzY4MDM=","avatar_url":"https://avatars2.githubusercontent.com/u/5936803?v=4","gravatar_id":"","url":"https://api.github.com/users/Fiware","html_url":"https://github.com/Fiware","followers_url":"https://api.github.com/users/Fiware/followers","following_url":"https://api.github.com/users/Fiware/following{/other_user}","gists_url":"https://api.github.com/users/Fiware/gists{/gist_id}","starred_url":"https://api.github.com/users/Fiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fiware/subscriptions","organizations_url":"https://api.github.com/users/Fiware/orgs","repos_url":"https://api.github.com/users/Fiware/repos","events_url":"https://api.github.com/users/Fiware/events{/privacy}","received_events_url":"https://api.github.com/users/Fiware/received_events","type":"Organization","site_admin":false},"repo":{"id":53853819,"node_id":"MDEwOlJlcG9zaXRvcnk1Mzg1MzgxOQ==","name":"dataModels","full_name":"Fiware/dataModels","private":false,"owner":{"login":"Fiware","id":5936803,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5MzY4MDM=","avatar_url":"https://avatars2.githubusercontent.com/u/5936803?v=4","gravatar_id":"","url":"https://api.github.com/users/Fiware","html_url":"https://github.com/Fiware","followers_url":"https://api.github.com/users/Fiware/followers","following_url":"https://api.github.com/users/Fiware/following{/other_user}","gists_url":"https://api.github.com/users/Fiware/gists{/gist_id}","starred_url":"https://api.github.com/users/Fiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fiware/subscriptions","organizations_url":"https://api.github.com/users/Fiware/orgs","repos_url":"https://api.github.com/users/Fiware/repos","events_url":"https://api.github.com/users/Fiware/events{/privacy}","received_events_url":"https://api.github.com/users/Fiware/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Fiware/dataModels","description":"Code and specifications to support harmonized data models ","fork":false,"url":"https://api.github.com/repos/Fiware/dataModels","forks_url":"https://api.github.com/repos/Fiware/dataModels/forks","keys_url":"https://api.github.com/repos/Fiware/dataModels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fiware/dataModels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fiware/dataModels/teams","hooks_url":"https://api.github.com/repos/Fiware/dataModels/hooks","issue_events_url":"https://api.github.com/repos/Fiware/dataModels/issues/events{/number}","events_url":"https://api.github.com/repos/Fiware/dataModels/events","assignees_url":"https://api.github.com/repos/Fiware/dataModels/assignees{/user}","branches_url":"https://api.github.com/repos/Fiware/dataModels/branches{/branch}","tags_url":"https://api.github.com/repos/Fiware/dataModels/tags","blobs_url":"https://api.github.com/repos/Fiware/dataModels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fiware/dataModels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fiware/dataModels/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fiware/dataModels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fiware/dataModels/statuses/{sha}","languages_url":"https://api.github.com/repos/Fiware/dataModels/languages","stargazers_url":"https://api.github.com/repos/Fiware/dataModels/stargazers","contributors_url":"https://api.github.com/repos/Fiware/dataModels/contributors","subscribers_url":"https://api.github.com/repos/Fiware/dataModels/subscribers","subscription_url":"https://api.github.com/repos/Fiware/dataModels/subscription","commits_url":"https://api.github.com/repos/Fiware/dataModels/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fiware/dataModels/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fiware/dataModels/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fiware/dataModels/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fiware/dataModels/contents/{+path}","compare_url":"https://api.github.com/repos/Fiware/dataModels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fiware/dataModels/merges","archive_url":"https://api.github.com/repos/Fiware/dataModels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fiware/dataModels/downloads","issues_url":"https://api.github.com/repos/Fiware/dataModels/issues{/number}","pulls_url":"https://api.github.com/repos/Fiware/dataModels/pulls{/number}","milestones_url":"https://api.github.com/repos/Fiware/dataModels/milestones{/number}","notifications_url":"https://api.github.com/repos/Fiware/dataModels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fiware/dataModels/labels{/name}","releases_url":"https://api.github.com/repos/Fiware/dataModels/releases{/id}","deployments_url":"https://api.github.com/repos/Fiware/dataModels/deployments","created_at":"2016-03-14T12:19:01Z","updated_at":"2018-11-06T09:53:22Z","pushed_at":"2018-11-13T10:30:57Z","git_url":"git://github.com/Fiware/dataModels.git","ssh_url":"git@github.com:Fiware/dataModels.git","clone_url":"https://github.com/Fiware/dataModels.git","svn_url":"https://github.com/Fiware/dataModels","homepage":"http://schema.fiware.org","size":2233,"stargazers_count":29,"watchers_count":29,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":54,"open_issues":48,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Fiware/dataModels/pulls/322"},"html":{"href":"https://github.com/Fiware/dataModels/pull/322"},"issue":{"href":"https://api.github.com/repos/Fiware/dataModels/issues/322"},"comments":{"href":"https://api.github.com/repos/Fiware/dataModels/issues/322/comments"},"review_comments":{"href":"https://api.github.com/repos/Fiware/dataModels/pulls/322/comments"},"review_comment":{"href":"https://api.github.com/repos/Fiware/dataModels/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fiware/dataModels/pulls/322/commits"},"statuses":{"href":"https://api.github.com/repos/Fiware/dataModels/statuses/89711e87dc84b8d1c60f80e5a6a603768312202c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"aarranz"}}