{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-role-definition-response-schema.json",
  "title": "RoleDefinitionResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-ui-v2-role-definitions-api-openapi.yml#/components/schemas/RoleDefinitionResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "readOnly": true
    },
    "url": {
      "type": "string",
      "readOnly": true
    },
    "related": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "readOnly": true
    },
    "summary_fields": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      },
      "readOnly": true
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "String to use for references to this type from other models in the API."
      }
    },
    "content_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "String to use for references to this type from other models in the API."
    },
    "modified": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "description": "The date/time this resource was created."
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "description": "The date/time this resource was created."
    },
    "name": {
      "type": "string",
      "description": "The name of this role."
    },
    "description": {
      "type": "string",
      "description": "A description of this role."
    },
    "managed": {
      "type": "boolean",
      "readOnly": true,
      "description": "Is this role managed by the system (not changeable by the users)."
    },
    "modified_by": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "readOnly": true,
      "description": "The user who last modified this resource."
    },
    "created_by": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "readOnly": true,
      "description": "The user who created this resource."
    }
  },
  "required": [
    "name",
    "permissions"
  ]
}