|
| 1 | +<!-- 10-Header --> |
| 2 | +[](https://smartdatamodels.org) |
| 3 | +엔티티: 엔티티: 약속 |
| 4 | +============<!-- /10-Header --> |
| 5 | +<!-- 15-License --> |
| 6 | +[오픈 라이선스](https://github.com/smart-data-models//dataModel.PredictiveMaintenance/blob/master/Appointment/LICENSE.md) |
| 7 | +[문서 자동 생성](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60) |
| 8 | +<!-- /15-License --> |
| 9 | +<!-- 20-Description --> |
| 10 | +글로벌 설명: **운영자의 예약된 약속을 나타냅니다**. |
| 11 | +버전: 0.0.1 |
| 12 | +<!-- /20-Description --> |
| 13 | +<!-- 30-PropertiesList --> |
| 14 | + |
| 15 | +## 속성 목록 |
| 16 | + |
| 17 | +<sup><sub>[*] 속성에 유형이 없는 것은 여러 유형 또는 다른 형식/패턴을 가질 수 있기 때문입니다</sub></sup>. |
| 18 | +- `appointmentDescription[string]`: 약속에 대한 설명입니다. - `category[string]`: 약속의 카테고리입니다. - `externalKey[array]`: ListProperty. 이 요소의 외부 키입니다. - `flag[string]`: 약속의 깃발입니다. - `from[date]`: 약속의 시작 날짜와 시간입니다. - `note[string]`: 약속에 대한 추가 참고 사항 - `recurring[boolean]`: 약속이 반복되는지 여부를 나타냅니다. - `recurringException[string]`: 약속에 대한 반복 예외입니다. - `recurringRule[string]`: 약속에 대한 반복 규칙입니다. - `to[date]`: 약속 종료 날짜 및 시간입니다. - `type[string]`: 엔티티의 유형(인벤토리 항목)입니다. - `wholeDay[boolean]`: 약속이 하루 종일 진행되는 행사인지 여부를 나타냅니다. <!-- /30-PropertiesList --> |
| 19 | +<!-- 35-RequiredProperties --> |
| 20 | +필수 속성 |
| 21 | +- `appointmentDescription` - `category` - `externalKey` - `from` - `id` - `recurring` - `to` - `type` - `wholeDay` <!-- /35-RequiredProperties --> |
| 22 | +<!-- 40-NotesYaml --> |
| 23 | +<!-- /40-NotesYaml --> |
| 24 | +<!-- 50-DataModelHeader --> |
| 25 | +## 속성에 대한 데이터 모델 설명 |
| 26 | +알파벳순으로 정렬(자세한 내용을 보려면 클릭) |
| 27 | +<!-- /50-DataModelHeader --> |
| 28 | +<!-- 60-ModelYaml --> |
| 29 | +<details><summary><strong>full yaml details</strong></summary> |
| 30 | +```yaml |
| 31 | +Appointment: |
| 32 | + description: Represent an scheduled appointment for the operator |
| 33 | + properties: |
| 34 | + appointmentDescription: |
| 35 | + description: The description of the appointment. |
| 36 | + type: string |
| 37 | + x-ngsi: |
| 38 | + type: Property |
| 39 | + category: |
| 40 | + description: The category of the appointment. |
| 41 | + type: string |
| 42 | + x-ngsi: |
| 43 | + type: Property |
| 44 | + externalKey: |
| 45 | + description: ListProperty. The external keys for this element. |
| 46 | + items: |
| 47 | + description: The external key for this element. |
| 48 | + type: string |
| 49 | + x-ngsi: |
| 50 | + type: Property |
| 51 | + type: array |
| 52 | + flag: |
| 53 | + description: The flag for the appointment. |
| 54 | + type: string |
| 55 | + x-ngsi: |
| 56 | + type: Property |
| 57 | + from: |
| 58 | + description: The start date and time of the appointment. |
| 59 | + format: date |
| 60 | + type: string |
| 61 | + x-ngsi: |
| 62 | + type: Property |
| 63 | + note: |
| 64 | + description: Additional notes for the appointment. |
| 65 | + type: string |
| 66 | + x-ngsi: |
| 67 | + type: Property |
| 68 | + recurring: |
| 69 | + description: Indicates if the appointment is recurring. |
| 70 | + type: boolean |
| 71 | + x-ngsi: |
| 72 | + type: Property |
| 73 | + recurringException: |
| 74 | + description: The recurring exception for the appointment. |
| 75 | + type: string |
| 76 | + x-ngsi: |
| 77 | + type: Property |
| 78 | + recurringRule: |
| 79 | + description: The recurring rule for the appointment. |
| 80 | + type: string |
| 81 | + x-ngsi: |
| 82 | + type: Property |
| 83 | + to: |
| 84 | + description: The end date and time of the appointment. |
| 85 | + format: date |
| 86 | + type: string |
| 87 | + x-ngsi: |
| 88 | + type: Property |
| 89 | + type: |
| 90 | + description: The type of the entity (InventoryItem). |
| 91 | + type: string |
| 92 | + x-ngsi: |
| 93 | + type: Property |
| 94 | + wholeDay: |
| 95 | + description: Indicates if the appointment is a whole day event. |
| 96 | + type: boolean |
| 97 | + x-ngsi: |
| 98 | + type: Property |
| 99 | + required: |
| 100 | + - id |
| 101 | + - type |
| 102 | + - externalKey |
| 103 | + - from |
| 104 | + - to |
| 105 | + - wholeDay |
| 106 | + - recurring |
| 107 | + - category |
| 108 | + - appointmentDescription |
| 109 | + type: object |
| 110 | + x-derived-from: '' |
| 111 | + x-disclaimer: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the license conditions are met. Copyleft (c) 2025 Contributors to Smart Data Models Program |
| 112 | + x-license-url: https://github.com/smart-data-models/dataModel.PredictiveMaintenance/blob/master/Appointment/LICENSE.md |
| 113 | + x-model-schema: https://smart-data-models.github.io/dataModel.PredictiveMaintenance/Appointment/schema.json |
| 114 | + x-model-tags: maintenance |
| 115 | + x-version: 0.0.1 |
| 116 | +``` |
| 117 | +</details> |
| 118 | +<!-- /60-ModelYaml --> |
| 119 | +<!-- 70-MiddleNotes --> |
| 120 | +<!-- /70-MiddleNotes --> |
| 121 | +<!-- 80-Examples --> |
| 122 | +## 페이로드 예시 |
| 123 | +#### 약속 NGSI-v2 키 값 예시 |
| 124 | +다음은 키 값으로 JSON-LD 형식의 약속 예시입니다. 이는 `옵션=키값`을 사용할 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다. |
| 125 | +<details><summary><strong>show/hide example</strong></summary> |
| 126 | +```json |
| 127 | +{ |
| 128 | + "id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/Appointment/appointment01", |
| 129 | + "type": "Appointment", |
| 130 | + "externalKey": [ |
| 131 | + "F105024", |
| 132 | + "0000000000 970" |
| 133 | + ], |
| 134 | + "from": "2024-08-12", |
| 135 | + "to": "2024-08-14", |
| 136 | + "wholeDay": true, |
| 137 | + "recurring": false, |
| 138 | + "category": "808080", |
| 139 | + "appointmentDescription": "EX_Ferie NO PRESIDIO U-FORM" |
| 140 | +} |
| 141 | +``` |
| 142 | +</details> |
| 143 | +#### 약속 NGSI-v2 정규화 예제 |
| 144 | +다음은 정규화된 JSON-LD 형식의 약속 예시입니다. 이는 옵션을 사용하지 않을 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다. |
| 145 | +<details><summary><strong>show/hide example</strong></summary> |
| 146 | +```json |
| 147 | +{ |
| 148 | + "id": "urn:ngsi-ld:dataModel.PredictiveMaintenance:Appointment:appointment01", |
| 149 | + "type": "Appointment", |
| 150 | + "externalKey": { |
| 151 | + "type": "Property", |
| 152 | + "value": [ |
| 153 | + "F105024", |
| 154 | + "0000000000 970" |
| 155 | + ] |
| 156 | + }, |
| 157 | + "from": { |
| 158 | + "type": "Property", |
| 159 | + "value": "2024-08-12" |
| 160 | + }, |
| 161 | + "to": { |
| 162 | + "type": "Property", |
| 163 | + "value": "2024-08-14" |
| 164 | + }, |
| 165 | + "wholeDay": { |
| 166 | + "type": "Property", |
| 167 | + "value": true |
| 168 | + }, |
| 169 | + "recurring": { |
| 170 | + "type": "Property", |
| 171 | + "value": false |
| 172 | + }, |
| 173 | + "category": { |
| 174 | + "type": "Property", |
| 175 | + "value": "808080" |
| 176 | + }, |
| 177 | + "appointmentDescription": { |
| 178 | + "type": "Property", |
| 179 | + "value": "EX_Ferie NO PRESIDIO U-FORM" |
| 180 | + } |
| 181 | +} |
| 182 | +``` |
| 183 | +</details> |
| 184 | +#### 약속 NGSI-LD 키 값 예시 |
| 185 | +다음은 키 값으로 JSON-LD 형식의 약속 예시입니다. 이는 `옵션=키값`을 사용할 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다. |
| 186 | +<details><summary><strong>show/hide example</strong></summary> |
| 187 | +```json |
| 188 | +{ |
| 189 | + "@context": [ |
| 190 | + "https://smartdatamodels.org/context.jsonld" |
| 191 | + ], |
| 192 | + "id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/Appointment/appointment01", |
| 193 | + "type": "Appointment", |
| 194 | + "externalKey": [ |
| 195 | + "F105024", |
| 196 | + "0000000000 970" |
| 197 | + ], |
| 198 | + "from": "2024-08-12", |
| 199 | + "to": "2024-08-14", |
| 200 | + "wholeDay": true, |
| 201 | + "recurring": false, |
| 202 | + "category": "808080", |
| 203 | + "appointmentDescription": "EX_Ferie NO PRESIDIO U-FORM" |
| 204 | +} |
| 205 | +``` |
| 206 | +</details> |
| 207 | +#### 약속 NGSI-LD 정규화 예제 |
| 208 | +다음은 정규화된 JSON-LD 형식의 약속 예시입니다. 이는 옵션을 사용하지 않을 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다. |
| 209 | +<details><summary><strong>show/hide example</strong></summary> |
| 210 | +```json |
| 211 | +{ |
| 212 | + "@context": [ |
| 213 | + "https://smartdatamodels.org/context.jsonld" |
| 214 | + ], |
| 215 | + "id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/Appointment/appointment01", |
| 216 | + "type": "Appointment", |
| 217 | + "externalKey": { |
| 218 | + "type": "Property", |
| 219 | + "value": [ |
| 220 | + "F105024", |
| 221 | + "0000000000 970" |
| 222 | + ] |
| 223 | + }, |
| 224 | + "from": { |
| 225 | + "type": "Property", |
| 226 | + "value": "2024-08-12" |
| 227 | + }, |
| 228 | + "to": { |
| 229 | + "type": "Property", |
| 230 | + "value": "2024-08-14" |
| 231 | + }, |
| 232 | + "wholeDay": { |
| 233 | + "type": "Property", |
| 234 | + "value": true |
| 235 | + }, |
| 236 | + "recurring": { |
| 237 | + "type": "Property", |
| 238 | + "value": false |
| 239 | + }, |
| 240 | + "category": { |
| 241 | + "type": "Property", |
| 242 | + "value": "808080" |
| 243 | + }, |
| 244 | + "appointmentDescription": { |
| 245 | + "type": "Property", |
| 246 | + "value": "EX_Ferie NO PRESIDIO U-FORM" |
| 247 | + } |
| 248 | +} |
| 249 | +``` |
| 250 | +</details><!-- /80-Examples --> |
| 251 | +<!-- 90-FooterNotes --> |
| 252 | +<!-- /90-FooterNotes --> |
| 253 | +<!-- 95-Units --> |
| 254 | +규모 단위를 다루는 방법에 대한 답변은 [FAQ 10](https://smartdatamodels.org/index.php/faqs/)을 참조하세요. |
| 255 | +<!-- /95-Units --> |
| 256 | +<!-- 97-LastFooter --> |
| 257 | +--- |
| 258 | +[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
|
0 commit comments