{
  "$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-team-assignment-response-schema.json",
  "title": "RoleTeamAssignmentResponse",
  "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-team-assignments-api-openapi.yml#/components/schemas/RoleTeamAssignmentResponse",
  "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
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "description": "The date/time this resource was created."
    },
    "created_by": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "readOnly": true,
      "description": "The user who created this resource."
    },
    "content_type": {
      "type": "string",
      "description": "String to use for references to this type from other models in the API.",
      "readOnly": true
    },
    "object_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The primary key of the object this assignment applies to; null value indicates system-wide assignment."
    },
    "object_ansible_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The resource id of the object this role applies to. An alternative to the object_id field."
    },
    "role_definition": {
      "type": "integer",
      "format": "int64",
      "description": "The role definition which defines permissions conveyed by this assignment."
    },
    "team": {
      "type": "integer",
      "format": "int64"
    },
    "team_ansible_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The resource ID of the team who will receive permissions from this assignment. An alternative to team field."
    }
  },
  "required": [
    "role_definition"
  ]
}