AuthorityBean

Name AuthorityBean
Usage HandcarIdService
getAuthorities getAuthority
Type Complex

Description

An authority in the OSID model.

An authority defines the issuer of the id.

OSID reference: Id

Structure Definition

ShortName Name Type Description Required? Read only? Implementation Notes
displayName Display Name DisplayTextBean Get the name of the authority to be displayed on the screen to a user. Required    
description Description DisplayTextBean The description of the authority

The consumer might have to interrogate the format type to properly display the the description on the screen.
     
code Code String Code -- a unique identifier or for this authority Required    

JSON Structure

{
     "type" : "Authority",
     "displayName" :  {
          "languageTypeId" : "id",
          "scriptTypeId" : "id",
          "formatTypeId" : "id",
          "text" : "XXXX"
          },
     "description" :  {
          "languageTypeId" : "id",
          "scriptTypeId" : "id",
          "formatTypeId" : "id",
          "text" : "XXXX"
          },
     "code" : "XXXX"
}