Skip to content

Commit

Permalink
updated GtfsTrip/doc/spec_KO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Oct 25, 2023
1 parent 9a35f69 commit 60b3e4e
Showing 1 changed file with 356 additions and 0 deletions.
356 changes: 356 additions & 0 deletions GtfsTrip/doc/spec_KO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,356 @@
<!-- 10-Header -->
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org)
엔티티: GtfsTrip
=============<!-- /10-Header -->
<!-- 15-License -->
[오픈 라이선스](https://github.com/smart-data-models//dataModel.UrbanMobility/blob/master/GtfsTrip/LICENSE.md)
[문서 자동 생성](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)
<!-- /15-License -->
<!-- 20-Description -->
글로벌 설명: **GTFS 여행**
버전: 0.0.1
<!-- /20-Description -->
<!-- 30-PropertiesList -->

## 속성 목록

<sup><sub>[*] 속성에 유형이 없는 것은 여러 유형 또는 다른 형식/패턴을 가질 수 있기 때문입니다</sub></sup>.
- `alternateName[string]`: 이 항목의 대체 이름 - `bikesAllowed[number]`: GTFS `bikes_allowed`와 동일합니다. 열거형:'0, 1, 2'. GTFS](https://developers.google.com/transit/gtfs/reference/#tripstxt) 참조 . Model: [https://schema.org/Number](https://schema.org/Number)- `block[string]`: GTFS `block_id`와 동일합니다. . Model: [https://schema.org/Text](https://schema.org/Text)- `dataProvider[string]`: 조화된 데이터 엔티티의 공급자를 식별하는 일련의 문자 - `dateCreated[date-time]`: 엔티티 생성 타임스탬프. 이는 일반적으로 스토리지 플랫폼에서 할당합니다. - `dateModified[date-time]`: 엔티티의 마지막 수정 타임스탬프입니다. 이는 일반적으로 스토리지 플랫폼에서 할당합니다. - `description[string]`: 이 항목에 대한 설명 - `direction[number]`: GTFS `direction_id`와 동일합니다. 열거형:'0, 1' . Model: [https://schema.org/Number](https://schema.org/Number)- `hasRoute[string]`: route_id`와 동일합니다. 이 엔티티는 GtfsRoute 타입의 엔티티를 가리켜야 합니다. . Model: [http://schema.org/URL](http://schema.org/URL)- `hasService[*]`: GTFS `service_id`와 동일합니다. GtfsService 타입의 엔티티를 가리켜야 합니다. . Model: [http://schema.org/URL](http://schema.org/URL)- `hasShape[*]`: GTFS `shape_id`와 동일합니다. 이 엔티티는 GtfsShape 타입의 엔티티를 가리켜야 합니다. . Model: [http://schema.org/URL](http://schema.org/URL)- `headSign[string]`: GTFS `trip_headsign`과 동일합니다. . Model: [https://schema.org/Text](https://schema.org/Text)- `id[*]`: 엔티티의 고유 식별자 - `name[string]`: 이 항목의 이름 - `owner[array]`: 소유자의 고유 ID를 참조하는 JSON 인코딩된 문자 시퀀스가 포함된 목록입니다. - `seeAlso[*]`: 항목에 대한 추가 리소스를 가리키는 URL 목록 - `shortName[string]`: GTFS `trip_short_name`과 동일합니다. . Model: [https://schema.org/Text](https://schema.org/Text)- `source[string]`: 엔티티 데이터의 원본 소스를 URL로 제공하는 문자 시퀀스입니다. 소스 공급자의 정규화된 도메인 이름 또는 소스 개체에 대한 URL을 사용하는 것이 좋습니다. - `type[string]`: NGSI 엔티티 유형. GtfsTrip이어야 합니다. - `wheelChairAccessible[number]`: GTFS `wheelchair_accessible`과 동일합니다. Enum:'0, 1, 2' . Model: [https://schema.org/Number](https://schema.org/Number)<!-- /30-PropertiesList -->
<!-- 35-RequiredProperties -->
필수 속성
- `hasRoute` - `hasService` - `id` - `type` <!-- /35-RequiredProperties -->
<!-- 40-RequiredProperties -->
https://developers.google.com/transit/gtfs/reference/#tripstxt](https://developers.google.com/transit/gtfs/reference/#tripstxt) 참조
<!-- /40-RequiredProperties -->
<!-- 50-DataModelHeader -->
## 속성에 대한 데이터 모델 설명
알파벳순으로 정렬(자세한 내용을 보려면 클릭)
<!-- /50-DataModelHeader -->
<!-- 60-ModelYaml -->
<details><summary><strong>full yaml details</strong></summary>
```yaml
GtfsTrip:
description: GTFS Trip
properties:
alternateName:
description: An alternative name for this item
type: string
x-ngsi:
type: Property
bikesAllowed:
description: "Same as GTFS `bikes_allowed`. Enum:'0, 1, 2'. See [GTFS](https://developers.google.com/transit/gtfs/reference/#tripstxt)"
enum:
- 0
- 1
- 2
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
block:
description: Same as GTFS `block_id`
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
dataProvider:
description: A sequence of characters identifying the provider of the harmonised data entity
type: string
x-ngsi:
type: Property
dateCreated:
description: Entity creation timestamp. This will usually be allocated by the storage platform
format: date-time
type: string
x-ngsi:
type: Property
dateModified:
description: Timestamp of the last modification of the entity. This will usually be allocated by the storage platform
format: date-time
type: string
x-ngsi:
type: Property
description:
description: A description of this item
type: string
x-ngsi:
type: Property
direction:
description: 'Same as GTFS `direction_id`. Enum:''0, 1'''
enum:
- 0
- 1
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
hasRoute:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Same as `route_id`. It shall point to an Entity of type GtfsRoute
type: string
x-ngsi:
model: http://schema.org/URL
type: Relationship
hasService:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Same as GTFS `service_id`. It shall point to an Entity of type GtfsService
x-ngsi:
model: http://schema.org/URL
type: Relationship
hasShape:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Same as GTFS `shape_id`. It shall point to an Entity of type GtfsShape
x-ngsi:
model: http://schema.org/URL
type: Relationship
headSign:
description: Same as GTFS `trip_headsign`
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
id:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Unique identifier of the entity
x-ngsi:
type: Property
name:
description: The name of this item
type: string
x-ngsi:
type: Property
owner:
description: A List containing a JSON encoded sequence of characters referencing the unique Ids of the owner(s)
items:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Unique identifier of the entity
x-ngsi:
type: Property
type: array
x-ngsi:
type: Property
seeAlso:
description: list of uri pointing to additional resources about the item
oneOf:
- items:
format: uri
type: string
minItems: 1
type: array
- format: uri
type: string
x-ngsi:
type: Property
shortName:
description: Same as GTFS `trip_short_name`
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
source:
description: 'A sequence of characters giving the original source of the entity data as a URL. Recommended to be the fully qualified domain name of the source provider, or the URL to the source object'
type: string
x-ngsi:
type: Property
type:
description: NGSI Entity type. It has to be GtfsTrip
enum:
- GtfsTrip
type: string
x-ngsi:
type: Property
wheelChairAccessible:
description: 'Same as GTFS `wheelchair_accessible`. Enum:''0, 1, 2'''
enum:
- 0
- 1
- 2
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
required:
- id
- type
- hasRoute
- hasService
type: object
x-derived-from: ""
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) 2022 Contributors to Smart Data Models Program'
x-license-url: https://github.com/smart-data-models/dataModel.UrbanMobility/blob/master/GtfsTrip/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.UrbanMobility/GtfsTrip/schema.json
x-model-tags: ""
x-version: 0.0.1
```
</details>
<!-- /60-ModelYaml -->
<!-- 70-MiddleNotes -->
<!-- /70-MiddleNotes -->
<!-- 80-Examples -->
## 페이로드 예시
#### GtfsTrip NGSI-v2 키-값 예제
다음은 키-값으로 JSON-LD 형식의 GtfsTrip의 예입니다. 이는 `옵션=키값`을 사용할 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
<details><summary><strong>show/hide example</strong></summary>
```json
{
"id": "urn:ngsi-ld:GtfsTrip:Spain:Malaga:1",
"type": "GtfsTrip",
"hasService": "urn:ngsi-ld:GtfsService:Malaga_LAB",
"headSign": "San Andrés",
"direction": 0,
"hasRoute": "urn:ngsi-ld:GtfsRoute:Spain:Malaga:1",
"hasShape": "urn:ngsi-ld:GtfsShape:Shape01"
}
```
</details>
#### GtfsTrip NGSI-v2 정규화 예제
다음은 정규화된 JSON-LD 형식의 GtfsTrip의 예입니다. 이는 옵션을 사용하지 않을 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
<details><summary><strong>show/hide example</strong></summary>
```json
{
"id": "urn:ngsi-ld:GtfsTrip:Spain:Malaga:1",
"type": "GtfsTrip",
"direction": {
"type": "Number",
"value": 0
},
"headSign": {
"type": "Text",
"value": "San Andr\u00e9s"
},
"hasRoute": {
"type": "URI",
"value": "urn:ngsi-ld:GtfsRoute:Spain:Malaga:1"
},
"hasService": {
"type": "URI",
"value": "urn:ngsi-ld:GtfsService:Malaga_LAB"
},
"hasShape": {
"type": "URI",
"value": "urn:ngsi-ld:GtfsShape:Shape01"
}
}
```
</details>
#### GtfsTrip NGSI-LD 키-값 예제
다음은 키 값으로 JSON-LD 형식의 GtfsTrip의 예입니다. 이는 `옵션=키값`을 사용할 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
<details><summary><strong>show/hide example</strong></summary>
```json
{
"id": "urn:ngsi-ld:GtfsTrip:Spain:Malaga:1",
"type": "GtfsTrip",
"direction": 0,
"hasRoute": "urn:ngsi-ld:GtfsRoute:Spain:Malaga:1",
"hasService": "urn:ngsi-ld:GtfsService:Malaga_LAB",
"hasShape": "urn:ngsi-ld:GtfsShape:Shape01",
"headSign": "San Andr\u00e9s",
"@context": [
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.UrbanMobility/master/context.jsonld"
]
}
```
</details>
#### GtfsTrip NGSI-LD 정규화 예제
다음은 정규화된 JSON-LD 형식의 GtfsTrip의 예입니다. 이는 옵션을 사용하지 않을 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
<details><summary><strong>show/hide example</strong></summary>
```json
{
"id": "urn:ngsi-ld:GtfsTrip:Spain:Malaga:1",
"type": "GtfsTrip",
"direction": {
"type": "Property",
"value": 0
},
"hasRoute": {
"type": "Relationship",
"object": "urn:ngsi-ld:GtfsRoute:Spain:Malaga:1"
},
"hasService": {
"type": "Relationship",
"object": "urn:ngsi-ld:GtfsService:Malaga_LAB"
},
"hasShape": {
"type": "Relationship",
"object": "urn:ngsi-ld:GtfsShape:Shape01"
},
"headSign": {
"type": "Property",
"value": "San Andr\u00e9s"
},
"@context": [
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.UrbanMobility/master/context.jsonld"
]
}
```
</details><!-- /80-Examples -->
<!-- 90-FooterNotes -->
<!-- /90-FooterNotes -->
<!-- 95-Units -->
[FAQ 10](https://smartdatamodels.org/index.php/faqs/)을 참조하여 규모 단위를 다루는 방법에 대한 답변을 확인하세요.
<!-- /95-Units -->
<!-- 97-LastFooter -->
---
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->
Expand Down

0 comments on commit 60b3e4e

Please sign in to comment.