글로벌 설명: **주차 그룹 **
버전: 0.1.2
[*] 속성에 유형이 없는 것은 여러 유형 또는 다른 형식/패턴을 가질 수 있기 때문입니다.
address[object]
: 우편 주소 . Model: https://schema.org/addressaddressCountry[string]
: 국가. 예를 들어, 스페인 . Model: https://schema.org/addressCountryaddressLocality[string]
: 도로명 주소가 있는 지역 및 해당 지역에 속한 지역 . Model: https://schema.org/addressLocalityaddressRegion[string]
: 해당 지역이 위치한 지역과 해당 국가의 지역 . Model: https://schema.org/addressRegiondistrict[string]
: 지구는 일부 국가에서는 지방 정부에서 관리하는 행정 구역의 일종입니다.postOfficeBoxNumber[string]
: 사서함 주소의 우체국 사서함 번호입니다. 예: 03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]
: 우편 번호입니다. 예: 24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]
: 거리 주소 . Model: https://schema.org/streetAddressstreetNr[string]
: 공공 도로의 특정 건물을 식별하는 번호
allowedVehicleType[string]
: 허용되는 차량 유형(주차 그룹은 한 가지 차량 유형만 허용). Enum: '자전거, 버스, 승용차, 카라반, 오토바이, 모터스쿠터, 트럭' . Model: http://schema.org/TextalternateName[string]
: 이 항목의 대체 이름areBordersMarked[boolean]
: 주차 공간이 구분되어 있는지(빈 줄 등으로 구분되어 있는지) 여부를 나타냅니다. 이 속성이 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 속성 값을 검사해야 합니다. . Model: https://schema.org/BooleanareaServed[string]
: 서비스 또는 제공 품목이 제공되는 지리적 영역 . Model: https://schema.org/TextavailableSpotNumber[number]
: 이 그룹에서 사용 가능한 스팟 수입니다. 총 스팟 수`보다 작거나 같아야 합니다. . Model: http://schema.org/NumberaverageSpotLength[number]
: 주차 공간의 평균 길이입니다. 이 속성이 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 속성 값을 검사해야 합니다. . Model: http://schema.org/lengthaverageSpotWidth[number]
: 주차 공간의 평균 너비입니다. 이 속성이 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 속성 값을 검사해야 합니다. . Model: http://schema.org/widthcategory[array]
: 주차 그룹의 카테고리입니다. Enum:'인접한 공간, 파란색 구역, 완료 층, 무료, 유료, 녹색 구역, 부하 해제 구역, 비 인접한 공간, 노외, 전용 장애인, 전용 전기 충전, 전용 거주자, 전용 허가, 노상, 특정 조건 공간, 단기 중기 장기, 통계 전용, 차량 유형 공간' . Model: http://schema.org/TextchargeType[array]
: 주차장에서 부과하는 요금 유형입니다. Enum:'추가요금, 연간요금, 첫요금, 정액, 무료, 최소, 최대, 월정액, 시즌권, 임시요금, 임시요금, 알 수 없음, 기타'dataProvider[string]
: 조화된 데이터 엔티티의 공급자를 식별하는 일련의 문자dateCreated[date-time]
: 엔티티 생성 타임스탬프. 이는 일반적으로 스토리지 플랫폼에서 할당합니다.dateModified[date-time]
: 엔티티의 마지막 수정 타임스탬프입니다. 이는 일반적으로 스토리지 플랫폼에서 할당합니다.description[string]
: 이 항목에 대한 설명id[*]
: 엔티티의 고유 식별자location[*]
: 항목에 대한 지오숀 참조입니다. 포인트, 라인 문자열, 다각형, 멀티포인트, 멀티라인 문자열 또는 멀티폴리곤일 수 있습니다.maximumAllowedHeight[number]
: 차량에 허용되는 최대 높이입니다. 이 프로퍼티가 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 프로퍼티의 값을 검사해야 합니다. . Model: http://schema.org/heigthmaximumAllowedWidth[number]
: 차량에 허용되는 최대 너비입니다. 이 프로퍼티가 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 프로퍼티의 값을 검사해야 합니다. . Model: http://schema.org/widthmaximumParkingDuration[date-time]
: ISO8601 기간으로 인코딩된 최대 허용 체류 기간입니다. 존재하지 않거나 빈 문자열과 같으면 무기한을 의미합니다. 이 속성이 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 속성 값을 검사해야 합니다.name[string]
: 이 항목의 이름occupancyDetectionType[array]
: 허용되는 값입니다: DATEX II 버전 2.3 _OccupancyDetectionTypeEnum_의 다음. 열거형: '밸런싱, 수동, 모델 기반, 없음, 단일 공간 감지'. 또는 기타 애플리케이션별 . Model: http://schema.org/Textowner[array]
: 소유자의 고유 ID를 참조하는 JSON 인코딩된 문자 시퀀스가 포함된 목록입니다.parkingMode[array]
: 주차 모드. 이 속성이 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 속성 값을 검사해야 합니다. 허용되는 값: DATEX II 버전 2.3 ParkingModeEnum 열거형에 정의된 값. Enum:'echelonParking, parallelParking, perpendicularParking' . Model: http://schema.org/TextpermitActiveHours[object]
: 이 속성을 사용하면 특정 시간 또는 요일에만 권한이 필요한 상황을 캡처할 수 있습니다. 이 속성은 구조화된 값으로, 필요한 각 권한마다 하위 속성을 포함해야 하며 권한이 활성화된 시점을 나타냅니다. 권한에 대해 지정된 것이 없으면 권한이 항상 필요하다는 의미입니다. 빈 객체는 항상 활성 상태임을 의미합니다. 구문은 schema.org 영업 시간 지정을 준수해야 합니다. 예를 들어, 주중에만 활성화되는 파란색 구역은 'blueZonePermit'으로 인코딩됩니다: 'Mo,Tu,We,Th,Fr,Sa 09:00-20:00'. 애플리케이션은 이 속성이 정의되지 않은 경우 부모 수준에서 이 속성 값을 검사해야 합니다. . Model: https://schema.org/openingHoursrefParkingSite[*]
: 이 구역이 속한 주차 사이트. 그룹은 고아가 될 수 없습니다. 그룹은 하위 그룹을 가질 수 없습니다. 노외주차장 또는 노상주차장에 대한 참조refParkingSpot[*]
: 이 주차 그룹에 속한 개별 주차 공간requiredPermit[array]
: 이 속성은 이 사이트에 주차하는 데 필요한 허가증을 캡처합니다. 의미는 주차하려면 이러한 허가증 중 적어도 _하나_가 필요하다는 것입니다. 허가증이 두 개 이상의 항목(및)으로 구성되는 경우 ','로 결합할 수 있습니다. 예를 들어 '거주자 허가증, 장애인 허가증'은 주차를 위해 거주자 허가증과 장애인 허가증이 동시에 필요하다는 것을 나타냅니다. 목록이 비어 있으면 허가증이 필요하지 않습니다. . Model: http://schema.org/TextreservationType[string]
: 예약 조건. 이 속성이 정의되지 않은 경우 애플리케이션은 부모 수준에서 이 속성 값을 검사해야 합니다. 열거형:'필수, 사용할 수 없음, 선택 사항, 부분적으로'seeAlso[*]
: 항목에 대한 추가 리소스를 가리키는 URL 목록source[string]
: 엔티티 데이터의 원본 소스를 URL로 제공하는 문자 시퀀스입니다. 소스 공급자의 정규화된 도메인 이름 또는 소스 개체에 대한 URL을 사용하는 것이 좋습니다.totalSpotNumber[number]
: 이 그룹과 관련된 총 스팟 수입니다. 허용되는 값: 임의의 양의 정수 또는 0. 규범 참조: DATEX 2 버전 2.3 속성 ParkingRecord 클래스의 parkingNumberOfSpaces . Model: http://schema.org/Numbertype[string]
: NGSI 엔티티 유형. 주차 그룹이어야 합니다.
필수 속성
id
refParkingSite
type
주차 공간 그룹입니다. 세분화 수준은 다양할 수 있습니다. 주차장의 층, 대형 주차장에 속한 특정 구역 또는 특정 차량 유형 또는 특정 제한 사항(장애인, 거주자 등)이 적용되는 주차 구역 그룹일 수 있습니다. 단순화를 위해 주차 그룹당 하나의 차종만 허용됩니다. 마찬가지로 그룹 유형당 하나의 필수 허가증만 허용됩니다.
알파벳순으로 정렬(자세한 내용을 보려면 클릭)
full yaml details
ParkingGroup:
description: 'Parking Group '
properties:
address:
description: The mailing address
properties:
addressCountry:
description: 'The country. For example, Spain'
type: string
x-ngsi:
model: https://schema.org/addressCountry
type: Property
addressLocality:
description: 'The locality in which the street address is, and which is in the region'
type: string
x-ngsi:
model: https://schema.org/addressLocality
type: Property
addressRegion:
description: 'The region in which the locality is, and which is in the country'
type: string
x-ngsi:
model: https://schema.org/addressRegion
type: Property
district:
description: 'A district is a type of administrative division that, in some countries, is managed by the local government'
type: string
x-ngsi:
type: Property
postOfficeBoxNumber:
description: 'The post office box number for PO box addresses. For example, 03578'
type: string
x-ngsi:
model: https://schema.org/postOfficeBoxNumber
type: Property
postalCode:
description: 'The postal code. For example, 24004'
type: string
x-ngsi:
model: https://schema.org/https://schema.org/postalCode
type: Property
streetAddress:
description: The street address
type: string
x-ngsi:
model: https://schema.org/streetAddress
type: Property
streetNr:
description: Number identifying a specific property on a public street
type: string
x-ngsi:
type: Property
type: object
x-ngsi:
model: https://schema.org/address
type: Property
allowedVehicleType:
description: 'Vehicle type allowed (a parking group only allows one vehicle type). Enum:''bicycle, bus, car, caravan, motorcycle, motorscooter, truck'' '
enum:
- bicycle
- bus
- car
- caravan
- motorcycle
- motorscooter
- truck
type: string
x-ngsi:
model: http://schema.org/Text
type: Property
alternateName:
description: An alternative name for this item
type: string
x-ngsi:
type: Property
areBordersMarked:
description: Denotes whether parking spots are delimited (with blank lines or similar) or not. Applications _SHOULD_ inspect the value of this property at parent's level if it is not defined
type: boolean
x-ngsi:
model: https://schema.org/Boolean
type: Property
areaServed:
description: The geographic area where a service or offered item is provided
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
availableSpotNumber:
description: The number of spots available in this group. It must lower or equal than `totalSpotNumber`
minimum: 0
type: number
x-ngsi:
model: http://schema.org/Number
type: Property
averageSpotLength:
description: The average length of parking spots. Applications _SHOULD_ inspect the value of this property at parent's level if it is not defined
exclusiveMinimum: 0
minimum: 0
type: number
x-ngsi:
model: http://schema.org/length
type: Property
units: meters
averageSpotWidth:
description: The average width of parking spots. Applications _SHOULD_ inspect the value of this property at parent's level if it is not defined
exclusiveMinimum: 0
minimum: 0
type: number
x-ngsi:
model: http://schema.org/width
type: Property
units: meters
category:
description: 'Parking Group''s category. Enum:''adjacentSpaces, blueZone, completeFloor, free, feeCharged, greenZone, loadUnloadZone, nonAdjacentSpaces, offStreet, onlyDisabled, onlyElectricalCharging, onlyResidents, onlyWithPermit, onStreet, particularConditionsSpaces, shortTermMediumTermLongTerm, statisticsOnly, vehicleTypeSpaces'''
items:
enum:
- adjacentSpaces
- blueZone
- completeFloor
- free
- feeCharged
- greenZone
- loadUnloadZone
- nonAdjacentSpaces
- offStreet
- onlyDisabled
- onlyElectricalCharging
- onlyResidents
- onlyWithPermit
- onStreet
- particularConditionsSpaces
- shortTermMediumTermLongTerm
- statisticsOnly
- vehicleTypeSpaces
type: string
type: array
x-ngsi:
model: http://schema.org/Text
type: Property
chargeType:
description: 'Type of charge(s) performed by the parking site. Enum:''additionalIntervalPrice, annualPayment, firstIntervalPrice, flat, free, minimum, maximum, monthlyPayment, seasonTicket, temporaryFee, temporaryPrice, unknown, other'''
items:
enum:
- additionalIntervalPrice
- annualPayment
- firstIntervalPrice
- flat
- free
- minimum
- maximum
- monthlyPayment
- seasonTicket
- temporaryFee
- temporaryPrice
- unknown
- other
type: string
type: array
x-ngsi:
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
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
location:
description: 'Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon'
oneOf:
- description: Geojson reference to the item. Point
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
type: number
minItems: 2
type: array
type:
enum:
- Point
type: string
required:
- type
- coordinates
title: GeoJSON Point
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. LineString
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
type: number
minItems: 2
type: array
minItems: 2
type: array
type:
enum:
- LineString
type: string
required:
- type
- coordinates
title: GeoJSON LineString
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. Polygon
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
items:
type: number
minItems: 2
type: array
minItems: 4
type: array
type: array
type:
enum:
- Polygon
type: string
required:
- type
- coordinates
title: GeoJSON Polygon
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. MultiPoint
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
type: number
minItems: 2
type: array
type: array
type:
enum:
- MultiPoint
type: string
required:
- type
- coordinates
title: GeoJSON MultiPoint
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. MultiLineString
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
items:
type: number
minItems: 2
type: array
minItems: 2
type: array
type: array
type:
enum:
- MultiLineString
type: string
required:
- type
- coordinates
title: GeoJSON MultiLineString
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. MultiLineString
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
items:
items:
type: number
minItems: 2
type: array
minItems: 4
type: array
type: array
type: array
type:
enum:
- MultiPolygon
type: string
required:
- type
- coordinates
title: GeoJSON MultiPolygon
type: object
x-ngsi:
type: GeoProperty
x-ngsi:
type: GeoProperty
maximumAllowedHeight:
description: Maximum allowed height for vehicles. Applications _SHOULD_ inspect the value of this property at parent's level if it is not defined
exclusiveMinimum: 0
minimum: 0
type: number
x-ngsi:
model: http://schema.org/heigth
type: Property
units: meters
maximumAllowedWidth:
description: Maximum allowed width for vehicles. Applications _SHOULD_ inspect the value of this property at parent's level if it is not defined
exclusiveMinimum: 0
minimum: 0
type: number
x-ngsi:
model: http://schema.org/width
type: Property
units: Meters
maximumParkingDuration:
description: Maximum allowed stay encoded as a ISO8601 duration. When non present or equals to the empty string it means indefinite. Applications _SHOULD_ inspect the value of this property at parent's level if it is not defined
format: date-time
type: string
x-ngsi:
type: Property
name:
description: The name of this item
type: string
x-ngsi:
type: Property
occupancyDetectionType:
description: 'Allowed values: The following from DATEX II version 2.3 _OccupancyDetectionTypeEnum_. Enum:''balancing, manual, modelBased, none, singleSpaceDetection''. Or any other application-specific'
items:
enum:
- balancing
- manual
- modelBased
- none
- singleSpaceDetection
type: string
minItems: 1
type: array
uniqueItems: true
x-ngsi:
model: http://schema.org/Text
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
parkingMode:
description: 'Parking mode(s). Applications _SHOULD_ inspect the value of this property at parent''s level if it is not defined. Allowed values: Those defined by the DATEX II version 2.3 _ParkingModeEnum_ enumeration. Enum:''echelonParking, parallelParking, perpendicularParking'''
items:
enum:
- echelonParking
- parallelParking
- perpendicularParking
type: string
minItems: 1
type: array
uniqueItems: true
x-ngsi:
model: http://schema.org/Text
type: Property
permitActiveHours:
description: 'This attribute allows to capture situations when a permit is only needed at specific hours or days of week. It is an structured value which must contain a subproperty per each required permit, indicating when the permit is active. If nothing specified for a permit it will mean that a permit is always required. Empty object means always active. The syntax must be conformant with schema.org [opening hours specification](https://schema.org/openingHours). For instance, a blue zone which is only active on dayweeks will be encoded as ''blueZonePermit'': ''Mo,Tu,We,Th,Fr,Sa 09:00-20:00''. Applications _SHOULD_ inspect the value of this property at parent''s level if it is not defined'
type: object
x-ngsi:
model: https://schema.org/openingHours
type: Property
refParkingSite:
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: Parking site to which this zone belongs to. A group cannot be orphan. A group cannot have subgroups. Reference to an OffStreetParking or to an OnStreetParking
x-ngsi:
type: Relationship
refParkingSpot:
anyOf:
- maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
- format: uri
type: string
description: Individual parking spots belonging to this parking group
x-ngsi:
type: Relationship
requiredPermit:
description: 'This attribute captures what permit(s) might be needed to park at this site. Semantics is that at least _one of_ these permits is needed to park. When a permit is composed by more than one item (and) they can be combined with a '',''. For instance ''residentPermit,disabledPermit'' stays that both, at the same time, a resident and a disabled permit are needed to park. If list is empty, no permit is needed'
items:
enum:
- employeePermit
- studentPermit
- fairPermit
- governmentPermit
- residentPermit
- specificIdentifiedVehiclePermit
- disabledPermit
- visitorPermit
- blueZonePermit
- careTakingPermit
- carpoolingPermit
- carSharingPermit
- emergencyVehiclePermit
- maintenanceVehiclePermit
- roadWorksPermit
- taxiPermit
- transportationPermit
- noPermitNeeded
type: string
type: array
x-ngsi:
model: http://schema.org/Text
type: Property
reservationType:
description: 'Conditions for reservation. Applications _SHOULD_ inspect the value of this property at parent''s level if it is not defined. Enum:''mandatory, notAvailable, optional, partly'''
enum:
- mandatory
- notAvailable
- optional
- partly
type: string
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
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
totalSpotNumber:
description: 'The total number of spots pertaining to this group. Allowed values: Any positive integer number or 0. Normative references: DATEX 2 version 2.3 attribute _parkingNumberOfSpaces_ of the _ParkingRecord_ class'
minimum: 1
type: number
x-ngsi:
model: http://schema.org/Number
type: Property
type:
description: NGSI Entity type. It has to be ParkingGroup
enum:
- ParkingGroup
type: string
x-ngsi:
type: Property
required:
- id
- type
- refParkingSite
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.Parking/blob/master/ParkingGroup/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.Parking/ParkingGroup/schema.json
x-model-tags: ""
x-version: 0.1.2
다음은 JSON-LD 형식의 주차 그룹을 키값으로 사용하는 예제입니다. 이는 옵션=키값
을 사용할 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
show/hide example
{
"id": "daoiz-velarde-1-5-disabled",
"type": "ParkingGroup",
"category": [
"onStreet",
"adjacentSpaces",
"onlyDisabled"
],
"allowedVehicleType": "car",
"chargeType": [
"free"
],
"refParkingSite": "daoiz-velarde-1-5",
"description": "Two parking spots reserved for disabled people",
"totalSpotNumber": 2,
"availableSpotNumber": 1,
"location": {
"type": "Polygon",
"coordinates": [
[
[
-3.80356167695194,
43.46296641666926
],
[
-3.803161973253841,
43.46301091092682
],
[
-3.803147082548618,
43.462879859445884
],
[
-3.803536474744068,
43.462838666196674
],
[
-3.80356167695194,
43.46296641666926
]
]
]
},
"requiredPermit": [
"disabledPermit"
],
"permitActiveHours": {
"Monday": "null"
}
}
다음은 정규화된 JSON-LD 형식의 주차 그룹의 예입니다. 이는 옵션을 사용하지 않을 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
show/hide example
{
"id": "daoiz-velarde-1-5-disabled",
"type": "ParkingGroup",
"category": {
"type": "StructuredValue",
"value": [
"onStreet",
"adjacentSpaces",
"onlyDisabled"
]
},
"refParkingSite": {
"type": "Text",
"value": "daoiz-velarde-1-5"
},
"permitActiveHours": {
"type": "StructuredValue",
"value": {
"Monday": "null"
}
},
"requiredPermit": {
"type": "StructuredValue",
"value": [
"disabledPermit"
]
},
"allowedVehicleType": {
"type": "Text",
"value": "car"
},
"availableSpotNumber": {
"type": "Boolean",
"value": true,
"metadata": {
"timestamp": {
"type": "DateTime",
"value": "2018-09-12T12:00:00"
}
}
},
"totalSpotNumber": {
"type": "Number",
"value": 2
},
"location": {
"type": "geo:json",
"value": {
"type": "Polygon",
"coordinates": [
[
[
-3.80356167695194,
43.46296641666926
],
[
-3.803161973253841,
43.46301091092682
],
[
-3.803147082548618,
43.462879859445884
],
[
-3.803536474744068,
43.462838666196674
],
[
-3.80356167695194,
43.46296641666926
]
]
]
}
},
"chargeType": {
"type": "StructuredValue",
"value": [
"free"
]
},
"description": {
"type": "Text",
"value": "Two parking spots reserved for disabled people"
}
}
다음은 키-값으로 JSON-LD 형식의 주차 그룹의 예입니다. 이는 옵션=키값
을 사용할 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
show/hide example
{
"id": "urn:ngsi-ld:ParkingGroup:daoiz-velarde-1-5-disabled",
"type": "ParkingGroup",
"allowedVehicleType": "car",
"availableSpotNumber": 1,
"category": [
"onStreet",
"adjacentSpaces",
"onlyDisabled"
],
"chargeType": [
"free"
],
"description": "Two parking spots reserved for disabled people",
"location": {
"coordinates": [
[
[
-3.80356167695194,
43.46296641666926
],
[
-3.803161973253841,
43.46301091092682
],
[
-3.803147082548618,
43.462879859445884
],
[
-3.803536474744068,
43.462838666196674
],
[
-3.80356167695194,
43.46296641666926
]
]
],
"type": "Polygon"
},
"permitActiveHours": {
"Monday": "null"
},
"refParkingSite": "urn:ngsi-ld:ParkingSite:daoiz-velarde-1-5",
"requiredPermit": [
"disabledPermit"
],
"totalSpotNumber": 2,
"@context": [
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Parking/master/context.jsonld"
]
}
다음은 정규화된 JSON-LD 형식의 주차 그룹의 예입니다. 이는 옵션을 사용하지 않을 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.
show/hide example
{
"id": "urn:ngsi-ld:ParkingGroup:daoiz-velarde-1-5-disabled",
"type": "ParkingGroup",
"allowedVehicleType": {
"type": "Property",
"value": "car"
},
"availableSpotNumber": {
"type": "Property",
"value": 1,
"observedAt": "2018-09-12T12:00:00Z"
},
"category": {
"type": "Property",
"value": [
"onstreet",
"adjacentSpaces",
"onlyDisabled"
]
},
"chargeType": {
"type": "Property",
"value": [
"free"
]
},
"description": {
"type": "Property",
"value": "Two parking spots reserved for disabled people"
},
"location": {
"type": "GeoProperty",
"value": {
"type": "Polygon",
"coordinates": [
[
[
-3.80356167695194,
43.46296641666926
],
[
-3.803161973253841,
43.46301091092682
],
[
-3.803147082548618,
43.462879859445884
],
[
-3.803536474744068,
43.462838666196674
],
[
-3.80356167695194,
43.46296641666926
]
]
]
}
},
"permitActiveHours": {
"type": "Property",
"value": "null"
},
"refParkingSite": {
"type": "Relationship",
"object": "urn:ngsi-ld:ParkingSite:daoiz-velarde-1-5"
},
"requiredPermit": {
"type": "Property",
"value": "disabledPermit"
},
"totalSpotNumber": {
"type": "Property",
"value": 2
},
"@context": [
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Parking/master/context.jsonld"
]
}
10](https://smartdatamodels.org/index.php/faqs/)를 참조하여 규모 단위를 다루는 방법에 대한 답변을 확인하세요.