Skip to content

Latest commit

 

History

History
817 lines (760 loc) · 29.9 KB

spec_DE.md

File metadata and controls

817 lines (760 loc) · 29.9 KB

Smart Data Models

Entität: Kapazität

Offene Lizenz

Dokument automatisch generiert

Globale Beschreibung: Diese Ressource beschreibt die Kapazität (Heizung oder Kühlung) eines HLK-Systems. Die "Kapazität" ist eine Zahl in der Einheit kW (Kilowatt). Für die Umrechnung von kW in andere Einheiten, die in bestimmten geografischen Gebieten üblich sind, sollten folgende Umrechnungen vorgenommen werden: - Umrechnung in BTU/hr: BTU/hr = 3412.142 * kW - Umrechnung in Tonne: Tonne = kW/3.5168525

Version: 0.0.2

Liste der Eigenschaften

[*] Wenn es für ein Attribut keinen Typ gibt, kann es mehrere Typen oder verschiedene Formate/Muster haben.

  • address[object]: Die Postanschrift . Model: https://schema.org/address
  • alternateName[string]: Ein alternativer Name für diesen Artikel
  • areaServed[string]: Das geografische Gebiet, in dem eine Dienstleistung oder ein angebotener Artikel erbracht wird . Model: https://schema.org/Text
  • capacity[number]: Die Nennkapazität für das Gerät
  • dataProvider[string]: Eine Folge von Zeichen zur Identifizierung des Anbieters der harmonisierten Dateneinheit
  • dateCreated[date-time]: Zeitstempel der Entitätserstellung. Dieser wird normalerweise von der Speicherplattform zugewiesen
  • dateModified[date-time]: Zeitstempel der letzten Änderung der Entität. Dieser wird in der Regel von der Speicherplattform vergeben
  • description[string]: Eine Beschreibung dieses Artikels
  • id[*]: Eindeutiger Bezeichner der Entität
  • if[array]: Der von dieser Ressource unterstützte OCF-Schnittstellensatz
  • location[*]: Geojson-Referenz auf das Element. Es kann Punkt, LineString, Polygon, MultiPoint, MultiLineString oder MultiPolygon sein
  • n[string]: Freundlicher Name der Ressource
  • name[string]: Der Name dieses Artikels
  • owner[array]: Eine Liste mit einer JSON-kodierten Zeichenfolge, die auf die eindeutigen Kennungen der Eigentümer verweist
  • rt[array]: Der Ressourcentyp
  • seeAlso[*]: Liste von URLs, die auf zusätzliche Ressourcen zu dem Artikel verweisen
  • source[string]: Eine Folge von Zeichen, die die ursprüngliche Quelle der Entitätsdaten als URL angibt. Empfohlen wird der voll qualifizierte Domänenname des Quellanbieters oder die URL des Quellobjekts.
  • type[string]: NGSI-Entitätstyp. Sie muss eine Kapazität haben

Erforderliche Eigenschaften

  • capacity
  • id
  • type

Datenmodell nach dem von der Open Connectivity Foundation erstellten Original. Ursprüngliches Repository in https://github.com/openconnectivityfoundation/IoTDataModels

Datenmodell Beschreibung der Eigenschaften

Alphabetisch sortiert (für Details anklicken)

full yaml details
capacity:      
  description: 'This Resource describes the capacity (heating or cooling) of a HVAC system. ''capacity'' is a number in units of kW (kilowatts). To convert from kW to other units that may be commonly used in certain geographic locales the following conversions should be applied: - to convert to BTU/hr: BTU/hr = 3412.142 * kW - to convert to ton: ton = kW/3.5168525'      
  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      
    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      
    capacity:      
      description: The rated capacity for the Device      
      exclusiveMinimum: 0      
      minimum: 0      
      readOnly: true      
      type: number      
      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      
    if:      
      description: The OCF Interface set supported by this Resource      
      items:      
        enum:      
          - oic.if.r      
          - oic.if.baseline      
        type: string      
      minItems: 2      
      readOnly: true      
      type: array      
      uniqueItems: true      
      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      
    n:      
      description: Friendly name of the Resource      
      maxLength: 64      
      readOnly: true      
      type: string      
      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      
    rt:      
      description: The Resource Type      
      items:      
        enum:      
          - oic.r.hvac.capacity      
        maxLength: 64      
        type: string      
      minItems: 1      
      readOnly: true      
      type: array      
      uniqueItems: true      
      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 entity type. It has to be capacity      
      enum:      
        - capacity      
      type: string      
      x-ngsi:      
        type: Property      
  required:      
    - capacity      
    - id      
    - type      
  type: object      
  x-derived-from: https://raw.githubusercontent.com/openconnectivityfoundation/IoTDataModels/master/HVACCapacityResURI.swagger.json      
  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.OCF/blob/master/capacity/LICENSE.md      
  x-model-schema: https://smart-data-models.github.io/dataModel.OCF/capacity/schema.json      
  x-model-tags: OCF      
  x-version: 0.0.2      

Beispiel-Nutzlasten

Kapazität NGSI-v2 Schlüsselwerte Beispiel

Hier ist ein Beispiel für eine Kapazität im JSON-LD-Format als Key-Values. Dies ist mit NGSI-v2 kompatibel, wenn options=keyValues verwendet wird und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
  "id": "urn:ngsi-ld:capacity:id:PLSG:66048764",  
  "dateCreated": "2004-05-06T01:26:19Z",  
  "dateModified": "1979-06-24T16:00:13Z",  
  "source": "Sense peace economy travel. Total financial role toge",  
  "name": "Whom local tend employee source. Trouble be",  
  "alternateName": "Board necessary religious natural sport music wh",  
  "description": "Theory type successful togethe",  
  "dataProvider": "Every manage political record word group ",  
  "owner": [  
    "urn:ngsi-ld:capacity:items:SDMC:98910139",  
    "urn:ngsi-ld:capacity:items:PGXZ:51090321"  
  ],  
  "seeAlso": [  
    "urn:ngsi-ld:capacity:items:HCUJ:00869141"  
  ],  
  "location": {  
    "type": "Point",  
    "coordinates": [  
      4.0313215,  
      54.112573  
    ]  
  },  
  "address": {  
    "streetAddress": "Mean always beyond write. Employee toward like total now.",  
    "addressLocality": "Small citizen class morning. Others kind company likely.",  
    "addressRegion": "Themselves true power home price check real. Score from animal exactly drive well good. Pull opportunity throu",  
    "addressCountry": "Security stock ball organization recognize civil. Pm her then nothing increase.",  
    "postalCode": "Industry product another knowledge else citizen month. Traditional page a although for study anyone. Could yourself plan base rise would.",  
    "postOfficeBoxNumber": "First degree re",  
    "streetNr": "Son break either president stage population boy. Everything affect American race.",  
    "district": "Water voice travel among see red. Republican "  
  },  
  "areaServed": "Full per among clearly. Face house nature fall long dream answer",  
  "rt": [  
    "oic.r.hvac.capacity"  
  ],  
  "capacity": 343.2,  
  "n": "Rich institution meeting seven art inside ",  
  "if": [  
    "oic.if.baseline",  
    "oic.if.r"  
  ],  
  "type": "capacity"  
}  

Kapazität NGSI-v2 normalisiert Beispiel

Hier ist ein Beispiel für eine Kapazität im JSON-LD-Format in normalisierter Form. Dies ist kompatibel mit NGSI-v2, wenn keine Optionen verwendet werden, und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
  "id": "urn:ngsi-ld:capacity:id:PLSG:66048764",  
  "dateCreated": {  
    "type": "DateTime",  
    "value": "2004-05-06T01:26:19Z"  
  },  
  "dateModified": {  
    "type": "DateTime",  
    "value": "1979-06-24T16:00:13Z"  
  },  
  "source": {  
    "type": "Text",  
    "value": "Sense peace economy travel. Total financial role toge"  
  },  
  "name": {  
    "type": "Text",  
    "value": "Whom local tend employee source. Trouble be"  
  },  
  "alternateName": {  
    "type": "Text",  
    "value": "Board necessary religious natural sport music wh"  
  },  
  "description": {  
    "type": "Text",  
    "value": "Theory type successful togethe"  
  },  
  "dataProvider": {  
    "type": "Text",  
    "value": "Every manage political record word group "  
  },  
  "owner": {  
    "type": "StructuredValue",  
    "value": [  
      "urn:ngsi-ld:capacity:items:SDMC:98910139",  
      "urn:ngsi-ld:capacity:items:PGXZ:51090321"  
    ]  
  },  
  "seeAlso": {  
    "type": "StructuredValue",  
    "value": [  
      "urn:ngsi-ld:capacity:items:HCUJ:00869141"  
    ]  
  },  
  "location": {  
    "type": "geo:json",  
    "value": {  
      "type": "Point",  
      "coordinates": [  
        4.0313215,  
        54.112573  
      ]  
    }  
  },  
  "address": {  
    "type": "StructuredValue",  
    "value": {  
      "streetAddress": "Mean always beyond write. Employee toward like total now.",  
      "addressLocality": "Small citizen class morning. Others kind company likely.",  
      "addressRegion": "Themselves true power home price check real. Score from animal exactly drive well good. Pull opportunity throu",  
      "addressCountry": "Security stock ball organization recognize civil. Pm her then nothing increase.",  
      "postalCode": "Industry product another knowledge else citizen month. Traditional page a although for study anyone. Could yourself plan base rise would.",  
      "postOfficeBoxNumber": "First degree re",  
      "streetNr": "Son break either president stage population boy. Everything affect American race.",  
      "district": "Water voice travel among see red. Republican "  
    }  
  },  
  "areaServed": {  
    "type": "Text",  
    "value": "Full per among clearly. Face house nature fall long dream answer"  
  },  
  "rt": {  
    "type": "StructuredValue",  
    "value": [  
      "oic.r.hvac.capacity"  
    ]  
  },  
  "capacity": {  
    "type": "Number",  
    "value": 343.2  
  },  
  "n": {  
    "type": "Text",  
    "value": "Rich institution meeting seven art inside "  
  },  
  "if": {  
    "type": "StructuredValue",  
    "value": [  
      "oic.if.baseline",  
      "oic.if.r"  
    ]  
  },  
  "type": "capacity"  
}  

Kapazität NGSI-LD-Schlüsselwerte Beispiel

Hier ist ein Beispiel für eine Kapazität im JSON-LD-Format als Key-Values. Dies ist mit NGSI-LD kompatibel, wenn options=keyValues verwendet wird und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
  "id": "urn:ngsi-ld:capacity:id:PLSG:66048764",  
  "dateCreated": "2004-05-06T01:26:19Z",  
  "dateModified": "1979-06-24T16:00:13Z",  
  "source": "Sense peace economy travel. Total financial role toge",  
  "name": "Whom local tend employee source. Trouble be",  
  "alternateName": "Board necessary religious natural sport music wh",  
  "description": "Theory type successful togethe",  
  "dataProvider": "Every manage political record word group ",  
  "owner": [  
    "urn:ngsi-ld:capacity:items:SDMC:98910139",  
    "urn:ngsi-ld:capacity:items:PGXZ:51090321"  
  ],  
  "seeAlso": [  
    "urn:ngsi-ld:capacity:items:HCUJ:00869141"  
  ],  
  "location": {  
    "type": "Point",  
    "coordinates": [  
      4.0313215,  
      54.112573  
    ]  
  },  
  "address": {  
    "streetAddress": "Mean always beyond write. Employee toward like total now.",  
    "addressLocality": "Small citizen class morning. Others kind company likely.",  
    "addressRegion": "Themselves true power home price check real. Score from animal exactly drive well good. Pull opportunity throu",  
    "addressCountry": "Security stock ball organization recognize civil. Pm her then nothing increase.",  
    "postalCode": "Industry product another knowledge else citizen month. Traditional page a although for study anyone. Could yourself plan base rise would.",  
    "postOfficeBoxNumber": "First degree re",  
    "streetNr": "Son break either president stage population boy. Everything affect American race.",  
    "district": "Water voice travel among see red. Republican "  
  },  
  "areaServed": "Full per among clearly. Face house nature fall long dream answer",  
  "rt": [  
    "oic.r.hvac.capacity"  
  ],  
  "capacity": 343.2,  
  "n": "Rich institution meeting seven art inside ",  
  "if": [  
    "oic.if.baseline",  
    "oic.if.r"  
  ],  
  "type": "capacity",  
  "@context": [  
    "https://smartdatamodels.org/context.jsonld"  
  ]  
}  

Kapazität NGSI-LD normalisiert Beispiel

Hier ist ein Beispiel für eine Kapazität im JSON-LD-Format in normalisierter Form. Dies ist mit NGSI-LD kompatibel, wenn keine Optionen verwendet werden, und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
    "id": "urn:ngsi-ld:capacity:id:PLSG:66048764",  
    "dateCreated": {  
        "type": "Property",  
        "value": {  
            "@type": "DateTime",  
            "@value": "2004-05-06T01:26:19Z"  
        }  
    },  
    "dateModified": {  
        "type": "Property",  
        "value": {  
            "@type": "DateTime",  
            "@value": "1979-06-24T16:00:13Z"  
        }  
    },  
    "source": {  
        "type": "Property",  
        "value": "Sense peace economy travel. Total financial role toge"  
    },  
    "name": {  
        "type": "Property",  
        "value": "Whom local tend employee source. Trouble be"  
    },  
    "alternateName": {  
        "type": "Property",  
        "value": "Board necessary religious natural sport music wh"  
    },  
    "description": {  
        "type": "Property",  
        "value": "Theory type successful togethe"  
    },  
    "dataProvider": {  
        "type": "Property",  
        "value": "Every manage political record word group "  
    },  
    "owner": {  
        "type": "Property",  
        "value": [  
            "urn:ngsi-ld:capacity:items:SDMC:98910139",  
            "urn:ngsi-ld:capacity:items:PGXZ:51090321"  
        ]  
    },  
    "seeAlso": {  
        "type": "Property",  
        "value": [  
            "urn:ngsi-ld:capacity:items:HCUJ:00869141"  
        ]  
    },  
    "location": {  
        "type": "GeoProperty",  
        "value": {  
            "type": "Point",  
            "coordinates": [  
                4.0313215,  
                54.112573  
            ]  
        }  
    },  
    "address": {  
        "type": "Property",  
        "value": {  
            "streetAddress": "Mean always beyond write. Employee toward like total now.",  
            "addressLocality": "Small citizen class morning. Others kind company likely.",  
            "addressRegion": "Themselves true power home price check real. Score from animal exactly drive well good. Pull opportunity throu",  
            "addressCountry": "Security stock ball organization recognize civil. Pm her then nothing increase.",  
            "postalCode": "Industry product another knowledge else citizen month. Traditional page a although for study anyone. Could yourself plan base rise would.",  
            "postOfficeBoxNumber": "First degree re",  
            "streetNr": "Son break either president stage population boy. Everything affect American race.",  
            "district": "Water voice travel among see red. Republican "  
        }  
    },  
    "areaServed": {  
        "type": "Property",  
        "value": "Full per among clearly. Face house nature fall long dream answer"  
    },  
    "rt": {  
        "type": "Property",  
        "value": [  
            "oic.r.hvac.capacity"  
        ]  
    },  
    "capacity": {  
        "type": "Property",  
        "value": 343.2  
    },  
    "n": {  
        "type": "Property",  
        "value": "Rich institution meeting seven art inside "  
    },  
    "if": {  
        "type": "Property",  
        "value": [  
            "oic.if.baseline",  
            "oic.if.r"  
        ]  
    },  
    "type": "capacity",  
    "@context": [  
        "https://smartdatamodels.org/context.jsonld"  
    ]  
}  

Siehe [FAQ 10] (https://smartdatamodels.org/index.php/faqs/), um eine Antwort auf die Frage zu erhalten, wie man mit Größeneinheiten umgeht


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