Dokument automatisch generiert
Globale Beschreibung: Objektmodellierung einer Tierbewegung für einen Viehzuchtbetrieb.
Version: 0.0.1
[*] 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/addressaddressCountry[string]
: Das Land. Zum Beispiel, Spanien . Model: https://schema.org/addressCountryaddressLocality[string]
: Die Ortschaft, in der sich die Adresse befindet, und die in der Region liegt . Model: https://schema.org/addressLocalityaddressRegion[string]
: Die Region, in der sich der Ort befindet, und die auf dem Land liegt . Model: https://schema.org/addressRegiondistrict[string]
: Ein Bezirk ist eine Art von Verwaltungseinheit, die in einigen Ländern von der lokalen Regierung verwaltet wird.postOfficeBoxNumber[string]
: Die Postfachnummer für Postfachadressen. Zum Beispiel, 03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]
: Die Postleitzahl. Zum Beispiel, 24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]
: Die Straßenanschrift . Model: https://schema.org/streetAddress
alternateName[string]
: Ein alternativer Name für diesen Artikelanimal[array]
: Liste der Tiere, die Gegenstand der Verbringung sind . Model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/Animal/schema.jsonareaServed[string]
: Das geografische Gebiet, in dem eine Dienstleistung oder ein angebotener Artikel erbracht wird . Model: https://schema.org/TextdataProvider[string]
: Eine Folge von Zeichen zur Identifizierung des Anbieters der harmonisierten Dateneinheitdate[date-time]
: Datum der TierverbringungdateCreated[date-time]
: Zeitstempel der Entitätserstellung. Dieser wird normalerweise von der Speicherplattform zugewiesendateModified[date-time]
: Zeitstempel der letzten Änderung der Entität. Dieser wird in der Regel von der Speicherplattform vergebendescription[string]
: Eine Beschreibung dieses Artikelsfarm[uri]
: Landwirtschaftliches Objekt der Bewegung . Model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/AgriFarm/schema.jsonid[*]
: Eindeutiger Bezeichner der Entitätlocation[*]
: Geojson-Referenz auf das Element. Es kann Punkt, LineString, Polygon, MultiPoint, MultiLineString oder MultiPolygon seinmovement[string]
: Art der Verbringung: Input/Output. Input bedeutet, dass die Tiere den Betrieb/das Gehege betreten, während Output bedeutet, dass sie den Betrieb verlassen.name[string]
: Der Name dieses Artikelsowner[array]
: Eine Liste mit einer JSON-kodierten Zeichenfolge, die auf die eindeutigen Kennungen der Eigentümer verweistparcel[uri]
: Gegenstand des Pakets der Bewegung . Model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/AgriParcel/schema.jsonpen[uri]
: Stift Gegenstand der Bewegung . Model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/Pen/schema.jsonseeAlso[*]
: Liste von URLs, die auf zusätzliche Ressourcen zu dem Artikel verweisensource[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. Es muss AnimalMovement sein
Erforderliche Eigenschaften
animal
id
type
Alphabetisch sortiert (für Details anklicken)
full yaml details
AnimalMovement:
description: Object modelling of an animal movement for a livestock farm.
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
animal:
description: List of animals subject to the movement
items:
format: uri
type: string
type: array
x-ngsi:
model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/Animal/schema.json
type: Relationship
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
date:
description: Date of animal movement
format: date-time
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
farm:
description: Farm object of the movement
format: uri
type: string
x-ngsi:
model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/AgriFarm/schema.json
type: Relationship
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
movement:
description: 'Type of movement: input/output. Input means that animals enter the farm/enclosure, while output means that they leave'
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
parcel:
description: Parcel object of the movement
format: uri
type: string
x-ngsi:
model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/AgriParcel/schema.json
type: Relationship
pen:
description: Pen object of the movement
format: uri
type: string
x-ngsi:
model: https://github.com/smart-data-models/dataModel.Agrifood/blob/master/Pen/schema.json
type: Relationship
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 AnimalMovement
enum:
- AnimalMovement
type: string
x-ngsi:
type: Property
required:
- id
- type
- animal
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.Agrifood/blob/master/AnimalMovement/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.Agrifood/AnimalMovement/schema.json
x-model-tags: I4Trust
x-version: 0.0.1
Hier ist ein Beispiel für ein AnimalMovement im JSON-LD-Format als Key-Values. Dies ist kompatibel mit NGSI-v2, wenn options=keyValues
verwendet wird und liefert die Kontextdaten einer einzelnen Entität.
show/hide example
{
"id": "urn:ngsi-ld:AnimalMovement:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalMovement",
"movement": "input",
"date": "2022-01-01T01:20:00Z",
"animal": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
],
"parcel": "urn:ngsi-ld:AgriParcel:72d9fb43-53f8-4ec8-a33c-fa931360259a",
"farm": "urn:ngsi-ld:AgriFarm:72d9fb43-53f8-4ec8-a33c-fa931360259a"
}
Hier ist ein Beispiel für eine Tierbewegung 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:AnimalMovement:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalMovement",
"movement": {
"type": "Text",
"value": "input"
},
"date": {
"type": "DateTime",
"value": "2022-01-01T01:20:00Z"
},
"animal": {
"type": "StructuredValue",
"value": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
]
},
"parcel": {
"type": "Text",
"value": "urn:ngsi-ld:AgriParcel:72d9fb43-53f8-4ec8-a33c-fa931360259a"
},
"farm": {
"type": "Text",
"value": "urn:ngsi-ld:AgriFarm:72d9fb43-53f8-4ec8-a33c-fa931360259a"
}
}
Hier ist ein Beispiel für ein AnimalMovement im JSON-LD-Format als Key-Values. Dies ist kompatibel mit NGSI-LD, wenn options=keyValues
verwendet wird und liefert die Kontextdaten einer einzelnen Entität.
show/hide example
{
"id": "urn:ngsi-ld:AnimalMovement:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalMovement",
"movement": "input",
"date": "2022-01-01T01:20:00Z",
"animal": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
],
"parcel": "urn:ngsi-ld:AgriParcel:72d9fb43-53f8-4ec8-a33c-fa931360259a",
"farm": "urn:ngsi-ld:AgriFarm:72d9fb43-53f8-4ec8-a33c-fa931360259a",
"@context": [
"https://smart-data-models.github.io/dataModel.Agrifood/context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Agrifood/master/context.jsonld"
]
}
Hier ist ein Beispiel für eine Tierbewegung im JSON-LD-Format in normalisierter Form. Dies ist kompatibel mit NGSI-LD, wenn keine Optionen verwendet werden, und liefert die Kontextdaten einer einzelnen Entität.
show/hide example
{
"id": "urn:ngsi-ld:AnimalMovement:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalMovement",
"movement": {
"type": "Property",
"value": "input"
},
"date": {
"type": "Property",
"value": {
"@type": "Date-Time",
"@value": "2022-01-01T01:20:00Z"
}
},
"animal": {
"type": "Property",
"value": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
]
},
"parcel": {
"type": "Relationship",
"object": "urn:ngsi-ld:AgriParcel:72d9fb43-53f8-4ec8-a33c-fa931360259a"
},
"farm": {
"type": "Relationship",
"object": "urn:ngsi-ld:AgriFarm:72d9fb43-53f8-4ec8-a33c-fa931360259a"
},
"@context": [
"https://smart-data-models.github.io/dataModel.Agrifood/context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Agrifood/master/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