{"action":"created","issue":{"url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/603","repository_url":"https://api.github.com/repos/OAI/OpenAPI-Specification","labels_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/603/comments","events_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/603/events","html_url":"https://github.com/OAI/OpenAPI-Specification/issues/603","id":141946948,"number":603,"title":"NaN, Infinity, and -Infinity for numbers","user":{"login":"ralfhandl","id":951576,"avatar_url":"https://avatars.githubusercontent.com/u/951576?v=3","gravatar_id":"","url":"https://api.github.com/users/ralfhandl","html_url":"https://github.com/ralfhandl","followers_url":"https://api.github.com/users/ralfhandl/followers","following_url":"https://api.github.com/users/ralfhandl/following{/other_user}","gists_url":"https://api.github.com/users/ralfhandl/gists{/gist_id}","starred_url":"https://api.github.com/users/ralfhandl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralfhandl/subscriptions","organizations_url":"https://api.github.com/users/ralfhandl/orgs","repos_url":"https://api.github.com/users/ralfhandl/repos","events_url":"https://api.github.com/users/ralfhandl/events{/privacy}","received_events_url":"https://api.github.com/users/ralfhandl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-18T18:38:59Z","updated_at":"2016-03-21T13:34:55Z","closed_at":null,"body":"Somehow the authors of the JSON specification forgot the special number values NaN, Infinity, and -Infinity. As a workaround we represent these double values as JSON string values, and declare the corresponding properties as \r\n    \"type\": [\"number\",\"string\"],\r\n    \"format\":\"double\"\r\n\r\nIs there a best practice to deal with this, and could that become part of the OpenAPI specification or an accompanying document?\r\n"},"comment":{"url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/comments/199279874","html_url":"https://github.com/OAI/OpenAPI-Specification/issues/603#issuecomment-199279874","issue_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/603","id":199279874,"user":{"login":"DavidBiesack","id":545944,"avatar_url":"https://avatars.githubusercontent.com/u/545944?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBiesack","html_url":"https://github.com/DavidBiesack","followers_url":"https://api.github.com/users/DavidBiesack/followers","following_url":"https://api.github.com/users/DavidBiesack/following{/other_user}","gists_url":"https://api.github.com/users/DavidBiesack/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBiesack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBiesack/subscriptions","organizations_url":"https://api.github.com/users/DavidBiesack/orgs","repos_url":"https://api.github.com/users/DavidBiesack/repos","events_url":"https://api.github.com/users/DavidBiesack/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBiesack/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T13:34:55Z","updated_at":"2016-03-21T13:34:55Z","body":"In statistics and data analysis an IoT, missing values are quite common. For example, in a data vector  contains values for each of N sources, a NaN indicates no data from that source i, while there may be data from other items in the vector. (This is different from a named value in a JSON object not being present.)"}}