{"action":"created","issue":{"url":"https://api.github.com/repos/jdorn/json-editor/issues/532","labels_url":"https://api.github.com/repos/jdorn/json-editor/issues/532/labels{/name}","comments_url":"https://api.github.com/repos/jdorn/json-editor/issues/532/comments","events_url":"https://api.github.com/repos/jdorn/json-editor/issues/532/events","html_url":"https://github.com/jdorn/json-editor/issues/532","id":116132367,"number":532,"title":"Array Items with the same type","user":{"login":"rolfn","id":1469001,"avatar_url":"https://avatars.githubusercontent.com/u/1469001?v=3","gravatar_id":"","url":"https://api.github.com/users/rolfn","html_url":"https://github.com/rolfn","followers_url":"https://api.github.com/users/rolfn/followers","following_url":"https://api.github.com/users/rolfn/following{/other_user}","gists_url":"https://api.github.com/users/rolfn/gists{/gist_id}","starred_url":"https://api.github.com/users/rolfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolfn/subscriptions","organizations_url":"https://api.github.com/users/rolfn/orgs","repos_url":"https://api.github.com/users/rolfn/repos","events_url":"https://api.github.com/users/rolfn/events{/privacy}","received_events_url":"https://api.github.com/users/rolfn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T15:40:27Z","updated_at":"2015-11-12T01:12:12Z","closed_at":null,"body":"I defined in a schema something like the following\r\n```\r\n\"foo\" : {\r\n  \"items\": [\r\n    {\r\n      \"type\": \"number\"\r\n    }\r\n  ],\r\n  \"type\": \"array\"\r\n}\r\n```\r\nThe editor knows the type of the first item (number). But for the following items I must choose the type explicitly. I expect that the type definition should be valid for all the array items in this case.\r\n\r\nMany thanks for your very good library.\r\n\r\n...Rolf\r\n"},"comment":{"url":"https://api.github.com/repos/jdorn/json-editor/issues/comments/155965811","html_url":"https://github.com/jdorn/json-editor/issues/532#issuecomment-155965811","issue_url":"https://api.github.com/repos/jdorn/json-editor/issues/532","id":155965811,"user":{"login":"sm587","id":15808774,"avatar_url":"https://avatars.githubusercontent.com/u/15808774?v=3","gravatar_id":"","url":"https://api.github.com/users/sm587","html_url":"https://github.com/sm587","followers_url":"https://api.github.com/users/sm587/followers","following_url":"https://api.github.com/users/sm587/following{/other_user}","gists_url":"https://api.github.com/users/sm587/gists{/gist_id}","starred_url":"https://api.github.com/users/sm587/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sm587/subscriptions","organizations_url":"https://api.github.com/users/sm587/orgs","repos_url":"https://api.github.com/users/sm587/repos","events_url":"https://api.github.com/users/sm587/events{/privacy}","received_events_url":"https://api.github.com/users/sm587/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T01:12:12Z","updated_at":"2015-11-12T01:12:12Z","body":"Try:\r\n```javascript\r\n\"items\": {\r\n    \"type\": \"number\"\r\n}\r\n```"}}