SCIM 스키마

SCIM 스키마 (scim_schema)

SCIM 2.0 스키마 리소스를 나타내는 스키마예요. 스키마의 ID·이름·설명과 속성(attribute) 목록을 담아요. SCIM은 리소스가 따르는 속성 정의를 이런 스키마 구조로 표현합니다.

출처: 문서

본문

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

  • id: 스키마 URN (예: urn:ietf:params:scim:schemas:core:2.0:User)
  • name/description: 스키마 이름·설명
  • attributes: 이 스키마가 정의하는 속성 목록 (scim_schema_parent_attribute 배열)
  • schemas: 응답이 따르는 SCIM 스키마 URI 배열
{
  "examples": [
    {
      "attributes": [],
      "description": "User Account",
      "id": "urn:ietf:params:scim:schemas:core:2.0:User",
      "name": "User",
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Schema"
      ]
    }
  ],
  "properties": {
    "attributes": {
      "example": [],
      "items": {
        "$ref": "#/components/schemas/scim_schema_parent_attribute"
      },
      "type": "array"
    },
    "description": {
      "example": "User Account",
      "type": "string"
    },
    "id": {
      "example": "urn:ietf:params:scim:schemas:core:2.0:User",
      "type": "string"
    },
    "name": {
      "example": "User",
      "type": "string"
    },
    "schemas": {
      "example": [
        "urn:ietf:params:scim:schemas:core:2.0:Schema"
      ],
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}

더 알아보기