{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-fusion/json-schema/oracle-fusion-users-item-schema.json",
  "title": "Users-item",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-fusion-common-features-openapi.json#/components/schemas/Users-item",
  "required": [
    "schemas",
    "userName"
  ],
  "type": "object",
  "properties": {
    "id": {
      "title": "Id",
      "type": "string",
      "description": "A unique identifier for the user resource in Oracle Fusion Cloud Applications.",
      "readOnly": true
    },
    "meta": {
      "title": "Meta",
      "type": "object",
      "description": "The metadata of the user resource."
    },
    "schemas": {
      "title": "Schemas",
      "type": "array",
      "description": "The schema of the user resource.",
      "items": {
        "type": "string"
      }
    },
    "userName": {
      "title": "UserName",
      "type": "string",
      "description": "A unique identifier for the user to authenticate with the service provider directly. This attribute is required."
    },
    "name": {
      "title": "Name",
      "type": "object",
      "description": "The components of the user's name. This attribute may return:Full name as a single string Individual component attributes Both variants. The  formatted version indicates how the component attributes are combined so that both variants describe the same name."
    },
    "displayName": {
      "title": "DisplayName",
      "type": "string",
      "description": "The display name of the user, usually the full name."
    },
    "emails": {
      "title": "Emails",
      "type": "array",
      "description": "The e-mail addresses of the user. The service provider uses canonical form of these addresses, for example, bjensen@example.com instead of bjensen@EXAMPLE.COM. Canonical type values are work, home, and other.",
      "items": {
        "$ref": "#/$defs/email-item"
      }
    },
    "urn:scim:schemas:extension:fa:2.0:faUser": {
      "$ref": "#/$defs/faUser-item"
    },
    "roles": {
      "title": "Roles",
      "type": "array",
      "description": "The list of roles for users in Oracle Fusion Cloud Applications.",
      "items": {
        "$ref": "#/$defs/role-item"
      }
    },
    "active": {
      "title": "Active",
      "type": "boolean",
      "description": "Indicates the administrative status of the user. The service provider determines the definitive value for this attribute. For example, true indicates that the user is able to login, and false indicates that the user account is suspended."
    },
    "password": {
      "title": "Password",
      "type": "string",
      "description": "The clear text password of the user. This attribute is used to specify an initial password for new users and to reset password for existing users. The password attribute is never returned in response to a query."
    }
  },
  "$defs": {
    "email-item": {
      "type": "object",
      "properties": {
        "value": {
          "title": "Value",
          "type": "string",
          "description": "The e-mail addresses of the user. The service provider uses canonical form of these addresses, for example, bjensen@example.com instead of bjensen@EXAMPLE.COM. Canonical type values are work, home, and other."
        },
        "type": {
          "title": "Type",
          "type": "string",
          "description": "The type of e-mail id, which is hard coded to work."
        },
        "primary": {
          "title": "Primary",
          "type": "boolean",
          "description": "Indicates that this e-mail id is the primary address. This value is hard coded to true."
        }
      }
    },
    "faUser-item": {
      "type": "object",
      "properties": {
        "userCategory": {
          "title": "UserCategory",
          "type": "string",
          "description": "A user is associated with only one category, at any given time. The default user category value is DEFAULT."
        },
        "accountType": {
          "title": "AccountType",
          "type": "string",
          "description": "The account type of a user to indicate person or party association.",
          "readOnly": true
        },
        "partyInformation": {
          "title": "PartyInformation",
          "type": "array",
          "description": "The party information associated with the user.",
          "items": {
            "$ref": "#/$defs/partyInformation-item"
          }
        },
        "workerInformation": {
          "title": "WorkerInformation",
          "type": "array",
          "description": "The worker information associated with the user.",
          "items": {
            "$ref": "#/$defs/workerInformation-item"
          }
        },
        "assignServiceAdminRoles": {
          "title": "AssignServiceAdminRoles",
          "type": "boolean",
          "description": "Indicates if the service admin roles are assigned to the user. You can use this attribute to assign ORA_FND_DIAG_ADMINISTRATOR_JOB, ORA_ASM_APPLICATION_IMPLEMENTATION_CONSULTANT_JOB, and ORA_FND_IT_SECURITY_MANAGER_JOB admin roles when you create or update a user."
        }
      }
    },
    "partyInformation-item": {
      "type": "object",
      "properties": {
        "partyNumber": {
          "title": "PartyNumber",
          "type": "string",
          "description": "The party number associated with the user.",
          "readOnly": true
        },
        "PartyUsage": {
          "title": "Party Usage",
          "type": "string",
          "description": "The party usage associated with the user, for example, Supplier Contact,Partner Contact, and Customer Contact.",
          "readOnly": true
        }
      }
    },
    "role-item": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "type": "string",
          "description": "A list of ids for the roles that a user can belong to, through direct membership.",
          "readOnly": true
        },
        "value": {
          "title": "Value",
          "type": "string",
          "description": "A list of values for the roles.",
          "readOnly": true
        },
        "displayName": {
          "title": "DisplayName",
          "type": "string",
          "description": "The display name of the role.",
          "readOnly": true
        },
        "description": {
          "title": "Description",
          "type": "string",
          "description": "The description of the role.",
          "readOnly": true
        }
      }
    },
    "workerInformation-item": {
      "type": "object",
      "properties": {
        "personNumber": {
          "title": "PersonNumber",
          "type": "string",
          "description": "The person number associated with the user.",
          "readOnly": true
        },
        "manager": {
          "title": "Manager",
          "type": "string",
          "description": "The manager name of the user.",
          "readOnly": true
        },
        "job": {
          "title": "Job",
          "type": "string",
          "description": "The job title of the user.",
          "readOnly": true
        },
        "businessUnit": {
          "title": "BusinessUnit",
          "type": "string",
          "description": "The business unit to which the user belongs.",
          "readOnly": true
        },
        "department": {
          "title": "Department",
          "type": "string",
          "description": "The department to which the user belongs.",
          "readOnly": true
        }
      }
    }
  }
}