All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.api.teams.createRole.json Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
{
  "$id": "https://open-metadata.org/schema/api/teams/createRole.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateRoleRequest",
  "description": "Request for creating a Role entity",
  "type": "object",
  "javaType": "org.openmetadata.schema.api.teams.CreateRole",
  "javaInterfaces": ["org.openmetadata.schema.CreateEntity"],

  "properties": {
    "name": {
      "$ref": "../../type/basic.json#/definitions/entityName"
    },
    "displayName": {
      "description": "Optional name used for display purposes. Example 'Data Consumer'",
      "type": "string"
    },
    "description": {
      "description": "Optional description of the role",
      "$ref": "../../type/basic.json#/definitions/markdown"
    },
    "policies": {
      "description": "Policies that is attached to this role. At least one policy is required.",
      "type": "array",
      "items": {
        "$ref" : "../../type/basic.json#/definitions/entityName"
      }
    },
    "domain" : {
      "description": "Fully qualified name of the domain the Table belongs to.",
      "type": "string"
    }
  },
  "required": ["name", "policies"],
  "additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy