Skip to content

Latest commit

 

History

History
702 lines (646 loc) · 23.7 KB

File metadata and controls

702 lines (646 loc) · 23.7 KB

Smart Data Models

엔티티: 진동 관찰됨

오픈 라이선스

문서 자동 생성

글로벌 설명: **특정 장소에서 관찰되는 진동입니다.

버전: 0.0.1

속성 목록

[*] 속성에 유형이 없는 것은 여러 유형 또는 다른 형식/패턴을 가질 수 있기 때문입니다.

  • accelerationMeasured[number]: 관측된 진동(예: 지진) 또는 기타 바닥 움직임의 크기 . Model: https://schema.org/Number
  • address[object]: 우편 주소 . Model: https://schema.org/address
  • alternateName[string]: 이 항목의 대체 이름
  • areaServed[string]: 서비스 또는 제공 품목이 제공되는 지리적 영역 . Model: https://schema.org/Text
  • dataProvider[string]: 조화된 데이터 엔티티의 공급자를 식별하는 일련의 문자
  • dateCreated[date-time]: 엔티티 생성 타임스탬프. 이는 일반적으로 스토리지 플랫폼에서 할당합니다.
  • dateModified[date-time]: 엔티티의 마지막 수정 타임스탬프입니다. 이는 일반적으로 스토리지 플랫폼에서 할당합니다.
  • dateObserved[date-time]: ISO8601의 관측 날짜 및 시간
  • description[string]: 이 항목에 대한 설명
  • id[*]: 엔티티의 고유 식별자
  • location[*]: 항목에 대한 지오숀 참조입니다. 포인트, 라인 문자열, 다각형, 멀티포인트, 멀티라인 문자열 또는 멀티폴리곤일 수 있습니다.
  • name[string]: 이 항목의 이름
  • owner[array]: 소유자의 고유 ID를 참조하는 JSON 인코딩된 문자 시퀀스가 포함된 목록입니다.
  • seeAlso[*]: 항목에 대한 추가 리소스를 가리키는 URL 목록
  • source[string]: 엔티티 데이터의 원본 소스를 URL로 제공하는 문자 시퀀스입니다. 소스 공급자의 정규화된 도메인 이름 또는 소스 개체에 대한 URL을 사용하는 것이 좋습니다.
  • type[string]: NGSI-LD 엔티티 유형. VibrationsObserved여야 합니다.

필수 속성

  • accelerationMeasured
  • dateObserved
  • id

속성에 대한 데이터 모델 설명

알파벳순으로 정렬(자세한 내용을 보려면 클릭)

full yaml details
VibrationsObserved:      
  description: The vibrations observed in a specific place.      
  properties:      
    accelerationMeasured:      
      description: Magnitude of the vibrations observed (e.g. Earthquake) or other floor movements      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        type: Property      
        units: m/s2      
    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      
    alternateName:      
      description: An alternative name for this item      
      type: string      
      x-ngsi:      
        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      
    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      
    dateObserved:      
      description: Date and time of the observation in ISO8601      
      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      
    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      
    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-LD Entity Type. It has to be VibrationsObserved      
      enum:      
        - VibrationsObserved      
      type: string      
      x-ngsi:      
        type: Property      
  required:      
    - id      
    - dateObserved      
    - accelerationMeasured      
  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.Building/blob/master/VibrationsObserved/LICENSE.md      
  x-model-schema: https://smart-data-models.github.io/dataModel.Building/VibrationsObserved/schema.json      
  x-model-tags: ""      
  x-version: 0.0.1      

페이로드 예시

진동 관측 NGSI-v2 키 값 예시

다음은 키 값으로 JSON-LD 형식의 VibrationsObserved의 예입니다. 이는 옵션=키값을 사용할 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.

show/hide example
{  
  "id": "VibrationsObserved-Sevilla-1",  
  "type": "VibrationsObserved",  
  "name": "Sevilla vibrations",  
  "address": {  
    "addressCountry": "ES",  
    "addressLocality": "Sevilla"  
  },  
  "location": {  
    "type": "Point",  
    "coordinates": [  
      37.3984759,  
      -5.9904124  
    ]  
  },  
  "dataProvider": "IMU-Station-123",  
  "dateObserved": "2021-03-08T09:45:00Z",  
  "accelerationMeasured": 1.3  
}  

진동이 관측된 NGSI-v2 정규화 예제

다음은 정규화된 JSON-LD 형식의 VibrationsObserved의 예입니다. 이는 옵션을 사용하지 않을 때 NGSI-v2와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.

show/hide example
{  
  "id": "urn:ngsi-ld:VibrationsObserved:id:IPZH:79807295",  
  "type": "VibrationsObserved",  
  "dateCreated": {  
    "type": "DateTime",  
    "value": "2021-03-08T09:45:00Z"  
  },  
  "dateModified": {  
    "type": "DateTime",  
    "value": "2021-03-08T09:45:00Z"  
  },  
  "source": {  
    "type": "Text",  
    "value": "No source"  
  },  
  "name": {  
    "type": "Text",  
    "value": "Sevilla vibrations"  
  },  
  "alternateName": {  
    "type": "Text",  
    "value": ""  
  },  
  "description": {  
    "type": "Text",  
    "value": "Sevilla vibrations"  
  },  
  "dataProvider": {  
    "type": "Text",  
    "value": ""  
  },  
  "owner": {  
    "type": "StructuredValue",  
    "value": [  
      "urn:ngsi-ld:VibrationsObserved:items:ENTK:59457468",  
      "urn:ngsi-ld:VibrationsObserved:items:DDNB:10988523"  
    ]  
  },  
  "location": {  
    "type": "geo:json",  
    "value": {  
      "type": "Point",  
      "coordinates": [  
        37.3984759,  
        -5.9904124  
      ]  
    }  
  },  
  "address": {  
    "type": "StructuredValue",  
    "value": {  
      "streetAddress": "C/Torre del Oro",  
      "addressLocality": "Seville",  
      "addressRegion": "Andalucia",  
      "addressCountry": "ES",  
      "postalCode": "41410",  
      "postOfficeBoxNumber": "",  
      "areaServed": ""  
    }  
  },  
  "areaServed": {  
    "type": "Text",  
    "value": ""  
  },  
  "dateObserved": {  
    "type": "DateTime",  
    "value": "2021-03-08T09:45:00Z"  
  },  
  "accelerationMeasured": {  
    "type": "Number",  
    "value": 1.3  
  }  
}  

진동 관측 NGSI-LD 키 값 예시

다음은 키 값으로 JSON-LD 형식의 VibrationsObserved의 예입니다. 이는 옵션=키값을 사용할 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.

show/hide example
{  
  "id": "urn:ngsi-ld:VibrationsObserved-Sevilla-1",  
  "type": "VibrationsObserved",  
  "accelerationMeasured": 1.3,  
  "address": {  
    "addressCountry": "ES",  
    "addressLocality": "Sevilla"  
  },  
  "dataProvider": "IMU-Station-123",  
  "dateObserved": "2021-03-08T09:45:00Z",  
  "location": {  
    "type": "Point",  
    "coordinates": [  
      37.3984759,  
      -5.9904124  
    ]  
  },  
  "name": "Sevilla vibrations",  
  "@context": [  
    "https://schema.lab.fiware.org/ld/context",  
    "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",  
    "https://raw.githubusercontent.com/smart-data-models/dataModel.Building/master/context.jsonld"  
  ]  
}  

진동이 관측된 NGSI-LD 정규화 예제

다음은 정규화된 JSON-LD 형식의 VibrationsObserved의 예입니다. 이는 옵션을 사용하지 않을 때 NGSI-LD와 호환되며 개별 엔티티의 컨텍스트 데이터를 반환합니다.

show/hide example
{  
    "id": "urn:ngsi-ld:VibrationsObserved:id:IPZH:79807295",  
    "type": "VibrationsObserved",  
    "accelerationMeasured": {  
        "type": "Property",  
        "value": 1.3  
    },  
    "address": {  
        "type": "Property",  
        "value": {  
            "streetAddress": "C/Torre del Oro",  
            "addressLocality": "Seville",  
            "addressRegion": "Andalucia",  
            "addressCountry": "ES",  
            "postalCode": "41410",  
            "postOfficeBoxNumber": "",  
            "areaServed": ""  
        }  
    },  
    "alternateName": {  
        "type": "Property",  
        "value": ""  
    },  
    "areaServed": {  
        "type": "Property",  
        "value": ""  
    },  
    "dataProvider": {  
        "type": "Property",  
        "value": ""  
    },  
    "dateCreated": {  
        "type": "Property",  
        "value": {  
            "@type": "DateTime",  
            "@value": "2021-03-08T09:45:00Z"  
        }  
    },  
    "dateModified": {  
        "type": "Property",  
        "value": {  
            "@type": "DateTime",  
            "@value": "2021-03-08T09:45:00Z"  
        }  
    },  
    "dateObserved": {  
        "type": "Property",  
        "value": {  
            "@type": "DateTime",  
            "@value": "2021-03-08T09:45:00Z"  
        }  
    },  
    "description": {  
        "type": "Property",  
        "value": "Sevilla vibrations"  
    },  
    "location": {  
        "type": "Property",  
        "value": {  
            "type": "Point",  
            "coordinates": [  
                37.3984759,  
                -5.9904124  
            ]  
        }  
    },  
    "name": {  
        "type": "Property",  
        "value": "Sevilla vibrations"  
    },  
    "owner": {  
        "type": "Property",  
        "value": [  
            "urn:ngsi-ld:VibrationsObserved:items:ENTK:59457468",  
            "urn:ngsi-ld:VibrationsObserved:items:DDNB:10988523"  
        ]  
    },  
    "seeAlso": {  
        "type": "Property",  
        "value": []  
    },  
    "source": {  
        "type": "Property",  
        "value": "No source"  
    },  
    "@context": [  
        "https://raw.githubusercontent.com/smart-data-models/dataModel.Building/master/context.jsonld"  
    ]  
}  

FAQ 10을 참조하여 규모 단위를 다루는 방법에 대한 답변을 확인하세요.


Smart Data Models +++ Contribution Manual +++ About