DatasetModel

DatasetModel

퍼블리셔가 이용할 수 있는 데이터셋과 뷰 집합을 나타내는 스키마예요. 권한(entitlements)에 따라 어떤 데이터셋과 뷰를 쓸 수 있는지가 결정돼요.

출처: 문서

본문

퍼블리셔가 이용할 수 있는 데이터셋과 뷰 집합을 나타내는 스키마예요. 권한(entitlements)에 따라 어떤 데이터셋과 뷰를 쓸 수 있는지가 결정돼요.

실제 JSON 스키마는 다음과 같아요.

{
  "description": "Datasets and views available to the publisher, based on its entitlements.",
  "properties": {
    "name": {
      "$ref": "#/components/schemas/DatasetType"
    },
    "timespans": {
      "items": {
        "$ref": "#/components/schemas/TimespanType"
      },
      "type": "array"
    },
    "views": {
      "items": {
        "$ref": "#/components/schemas/DataviewType"
      },
      "type": "array"
    }
  },
  "type": "object"
}

더 알아보기