{
  "$schema": "http://json-schema.org/draft-04/schema",
  "id": "authorization-grant.json",
  "type": "object",
  "properties": {
    "grant_type": {
      "readOnly": true,
      "type": "string",
      "enum": [
        "password"
      ]
    },
    "username": {
      "readOnly": false,
      "type": "string"
    },
    "password": {
      "readOnly": false,
      "type": "string"
    }
  },
  "required": [ "grant_type", "username", "password" ]
}
