{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Service Account",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "project_id"
  ],
  "properties": {
    "project_id": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "iam_project_roles": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-z0-9-]+$": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}
