{"action":"opened","issue":{"url":"https://api.github.com/repos/adiwg/mdJson-schemas/issues/167","repository_url":"https://api.github.com/repos/adiwg/mdJson-schemas","labels_url":"https://api.github.com/repos/adiwg/mdJson-schemas/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/adiwg/mdJson-schemas/issues/167/comments","events_url":"https://api.github.com/repos/adiwg/mdJson-schemas/issues/167/events","html_url":"https://github.com/adiwg/mdJson-schemas/issues/167","id":269210412,"number":167,"title":"entity rule change","user":{"login":"stansmith907","id":4998910,"avatar_url":"https://avatars3.githubusercontent.com/u/4998910?v=4","gravatar_id":"","url":"https://api.github.com/users/stansmith907","html_url":"https://github.com/stansmith907","followers_url":"https://api.github.com/users/stansmith907/followers","following_url":"https://api.github.com/users/stansmith907/following{/other_user}","gists_url":"https://api.github.com/users/stansmith907/gists{/gist_id}","starred_url":"https://api.github.com/users/stansmith907/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stansmith907/subscriptions","organizations_url":"https://api.github.com/users/stansmith907/orgs","repos_url":"https://api.github.com/users/stansmith907/repos","events_url":"https://api.github.com/users/stansmith907/events{/privacy}","received_events_url":"https://api.github.com/users/stansmith907/received_events","type":"User","site_admin":false},"labels":[{"id":81324257,"url":"https://api.github.com/repos/adiwg/mdJson-schemas/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-27T19:25:32Z","updated_at":"2017-10-27T19:25:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"New elements for *entity*:  \r\n\r\n* *citation* {citation}: \"reference to a standard or external schema which describes the entity*\"\r\n* *fieldSeparatorCharacter* {character}: \"the character which indicates the end of the data field contents\"\r\n* *numberOfHeaderLines* {integer}: \"the number of lines at the beginning of the file before the data content actually begins\"\r\n* *quoteCharacter* {string}: \"Character used to quote fields in the data representation so that the field delimiter can be used as part of the field value. This character is typically a single quote mark or double quote mark.\"\r\n\r\nRules:\r\n - [ ] *citation* optional\r\n - [ ] *fieldSeparatorCharacter* optional\r\n - [ ] *numberOfHeaderLines* optional\r\n - [ ] *quoteCharacter* optional\r\n\r\nmdJson:\r\n````json\r\n{\r\n   \"entity\": [\r\n      {\r\n         \"entityId\": \"\",\r\n         \"commonName\": \"\",\r\n         \"codeName\": \"\",\r\n         \"alias\": [],\r\n         \"citation\": {},\r\n         \"definition\": \"\",\r\n         \"primaryKeyAttributeCodeName\": [],\r\n         \"index\": [],\r\n         \"attribute\": [],\r\n         \"foreignKey\": [],\r\n         \"fieldSeparatorCharacter\": [\"\",\"tab\"],\r\n         \"numberOfHeaderLines\": 9,\r\n         \"quoteCharacter\": \"\"\r\n      }\r\n   ]\r\n}\r\n````\r\n\r\nISO 19110-2 mapping:\r\nThe citation will be placed in an entity section (featureType) as follows:\r\n````xml\r\n<gfc:featureType>\r\n  <gfc:FC_FeatureType id=\"entity_001\">\r\n    <gfc:typeName>\r\n      <gco:LocalName>agency</gco:LocalName>\r\n    </gfc:typeName>\r\n    <gfc:definition>\r\n      <gco:CharacterString>Organizations providing...</gco:CharacterString>\r\n    </gfc:definition>\r\n    <gfc:code>\r\n      <gco:CharacterString>AGENCY</gco:CharacterString>\r\n    </gfc:code>\r\n    <gfc:isAbstract>\r\n      <gco:Boolean>false</gco:Boolean>\r\n    </gfc:isAbstract>\r\n    <gfc:definitionReference>\r\n      <gfc:FC_DefinitionReference>\r\n        <gfc:definitionSource>\r\n          <gfc:FC_DefinitionSource>\r\n            <gfc:source>\r\n              <gmd:CI_Citation>\r\n                <gmd:title>title</gmd:title>\r\n                <gmd:date></gmd:date>\r\n              </gmd:CI_Citation>\r\n            </gfc:source>\r\n          </gfc:FC_DefinitionSource>\r\n        </gfc:definitionSource>\r\n      </gfc:FC_DefinitionReference>\r\n    </gfc:definitionReference>\r\n  </gfc:FC_FeatureType>\r\n</gfc:featureType>\r\n````\r\n"}}
{"actor":{"display_login":"stansmith907"}}