What is the 'scopes' field of the swagger security scheme object used for?
<pre><code>petstore_auth:
  type: oauth2
  authorizationUrl: http://swagger.io/api/oauth/dialog
  flow: implicit
  scopes:
    write:pets: modify pets in your account
    read:pets: read your pets
</code></pre>
<p>This is a securityDefinitions example from <a href="http://swagger.io/specification/#securitySchemeObject" rel="nofollow noreferrer">the Swagger Specification</a>. What does the <strong>write:pets</strong> and <strong>read:pets</strong> intended for? Is that some categories for the paths?</p>