SCIM 스키마 속성

SCIM 스키마 속성 (scim_schema_attribute)

SCIM 2.0 스키마가 정의하는 개별 속성(attribute)의 스키마예요. 속성의 이름·타입·필수 여부·복수값·변경 가능성(mutability) 등을 정의해요.

출처: 문서

본문

SCIM 스키마 속성 객체의 필드는 다음과 같아요.

  • name: 속성 이름 (예: userName)
  • description: 속성 설명
  • type: 값 타입 (string/boolean/complex)
  • required: 필수 여부
  • multiValued: 복수값 허용 여부
  • caseExact: 대소문자 구분 여부
  • mutability: 변경 가능성 (readWrite 등)
  • returned: 응답에 반환되는 시점 (default 등)
  • uniqueness: 값 유일성 (server 등)

예를 들어 userName 속성은 사용자를 식별하는 유일한 값이라면 이런 모습이에요.

{
  "properties": {
    "caseExact": {
      "example": false,
      "type": "boolean"
    },
    "description": {
      "example": "Unique identifier for the User...",
      "type": "string"
    },
    "multiValued": {
      "example": false,
      "type": "boolean"
    },
    "mutability": {
      "example": "readWrite",
      "type": "string"
    },
    "name": {
      "example": "userName",
      "type": "string"
    },
    "required": {
      "example": true,
      "type": "boolean"
    },
    "returned": {
      "example": "default",
      "type": "string"
    },
    "type": {
      "enum": [
        "string",
        "boolean",
        "complex"
      ],
      "example": "string",
      "type": "string"
    },
    "uniqueness": {
      "example": "server",
      "type": "string"
    }
  },
  "type": "object"
}

더 알아보기