{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/533","labels_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/533/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/533/events","html_url":"https://github.com/swagger-api/swagger-editor/issues/533","id":93620246,"number":533,"title":"\"pattern\" property not allowed in schema","user":{"login":"hamx0r","id":423974,"avatar_url":"https://avatars.githubusercontent.com/u/423974?v=3","gravatar_id":"","url":"https://api.github.com/users/hamx0r","html_url":"https://github.com/hamx0r","followers_url":"https://api.github.com/users/hamx0r/followers","following_url":"https://api.github.com/users/hamx0r/following{/other_user}","gists_url":"https://api.github.com/users/hamx0r/gists{/gist_id}","starred_url":"https://api.github.com/users/hamx0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamx0r/subscriptions","organizations_url":"https://api.github.com/users/hamx0r/orgs","repos_url":"https://api.github.com/users/hamx0r/repos","events_url":"https://api.github.com/users/hamx0r/events{/privacy}","received_events_url":"https://api.github.com/users/hamx0r/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-editor/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-07T20:24:21Z","updated_at":"2015-07-07T22:20:22Z","closed_at":"2015-07-07T22:20:22Z","body":"Per docs on [Schema Objects](https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#schema-object), one should be able to set a `pattern` property in a schema.  However, the Swagger Editor claims `pattern` is not OneOf the valid properties.  It's possible many of the documented allowed properties may be falsely noted as invalid in the Swagger Editor. \r\n\r\nHere's an example of an Email Address with pattern which I expect to be valid:\r\n\r\n     parameters:\r\n        - description: Email Address\r\n          in: query\r\n          pattern: \"(?i)^[A-Z0-9._%!#$%&'*+-/=?^_`{|}~()]+@[A-Z0-9]+([.-][A-Z0-9]+)*\\\\.[A-Z]{2,22}$\"\r\n          required: true\r\n          type: string\r\n          name: email"}}