SCIM 리소스 타입

SCIM 리소스 타입 (scim_resource_type)

SCIM 2.0에서 지원하는 리소스 타입을 나타내는 스키마예요. 리소스 타입의 ID·이름·엔드포인트·설명과 따르는 스키마를 담아요. SCIM 서비스가 노출하는 리소스 종류(User, Group 등)를 정의할 때 쓰입니다.

출처: 문서

본문

리소스 타입 객체의 필드는 다음과 같아요.

  • id/name/description: 리소스 타입 식별자·이름·설명 (예: User)
  • endpoint: 이 리소스 타입의 API 엔드포인트 (예: /Users)
  • schema: 이 리소스가 따르는 SCIM 스키마 URI
  • schemas: 응답이 따르는 SCIM 스키마 URI 배열
{
  "examples": [
    {
      "description": "User",
      "endpoint": "/Users",
      "id": "User",
      "name": "User",
      "schema": "urn:ietf:params:scim:schemas:core:2.0:User",
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
      ]
    }
  ],
  "properties": {
    "description": {
      "example": "User",
      "type": "string"
    },
    "endpoint": {
      "example": "/Users",
      "type": "string"
    },
    "id": {
      "example": "User",
      "type": "string"
    },
    "name": {
      "example": "User",
      "type": "string"
    },
    "schema": {
      "example": "urn:ietf:params:scim:schemas:core:2.0:User",
      "type": "string"
    },
    "schemas": {
      "example": [
        "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
      ],
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}

더 알아보기