{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/1176","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/1176/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/1176/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/1176/events","html_url":"https://github.com/Microsoft/vscode/issues/1176","id":121577647,"number":1176,"title":"Support JSON Schema for YAML files","user":{"login":"mohsen1","id":543633,"avatar_url":"https://avatars.githubusercontent.com/u/543633?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsen1","html_url":"https://github.com/mohsen1","followers_url":"https://api.github.com/users/mohsen1/followers","following_url":"https://api.github.com/users/mohsen1/following{/other_user}","gists_url":"https://api.github.com/users/mohsen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsen1/subscriptions","organizations_url":"https://api.github.com/users/mohsen1/orgs","repos_url":"https://api.github.com/users/mohsen1/repos","events_url":"https://api.github.com/users/mohsen1/events{/privacy}","received_events_url":"https://api.github.com/users/mohsen1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestones/Backlog","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":681,"closed_issues":257,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2016-02-09T10:03:44Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-12-10T21:07:54Z","updated_at":"2016-02-09T10:49:33Z","closed_at":null,"body":"It's getting more common to use YAML for configuration. For example `docker-compose.yml` or Swagger files are usually written in YAML. The JSON Schema based autocomplete for JSON files is a neat feature, please enable that for YAML files also. "},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/181812257","html_url":"https://github.com/Microsoft/vscode/issues/1176#issuecomment-181812257","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/1176","id":181812257,"user":{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T10:49:33Z","updated_at":"2016-02-09T10:49:33Z","body":"Have a look at the JSON extension at (https://github.com/Microsoft/vscode/tree/master/extensions/json).\r\nIt's implemented as a [language server](https://code.visualstudio.com/docs/extensions/example-language-server)..\r\nTo try it out:\r\n- open a VSCode window on the `extensions/json` folder, also run `npm install` in that folder, press the 'run' button in the debug viewlet\r\n- a new VSCode window opens, where you can open a JSON file\r\n- to debug the validation code, additionally open a VSCode window on the 'server' folder, and use the 'attach' option in the debug viewlet.\r\n- Check out the JSONParser code that creates a AST out of the JSON document and contains the 'validate' functions that verify a node against the JSON schema."}}