documento generato automaticamente
Descrizione globale: Questa entità contiene una descrizione armonizzata di un'applicazione generica realizzata per il dominio Agrifood. Questa entità è principalmente associata al verticale agricolo e alle relative applicazioni IoT.
versione: 0.0.2
[*] Se non c'è un tipo in un attributo è perché potrebbe avere diversi tipi o diversi formati/modelli.
address[object]
: L'indirizzo postale . Model: https://schema.org/addressaddressCountry[string]
: Il paese. Ad esempio, la Spagna . Model: https://schema.org/addressCountryaddressLocality[string]
: La località in cui si trova l'indirizzo civico e che si trova nella regione . Model: https://schema.org/addressLocalityaddressRegion[string]
: La regione in cui si trova la località, e che si trova nel paese . Model: https://schema.org/addressRegiondistrict[string]
: Un distretto è un tipo di divisione amministrativa che, in alcuni paesi, è gestita dal governo locale.postOfficeBoxNumber[string]
: Il numero di casella postale per gli indirizzi di casella postale. Ad esempio, 03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]
: Il codice postale. Ad esempio, 24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]
: L'indirizzo stradale . Model: https://schema.org/streetAddress
alternateName[string]
: Un nome alternativo per questa voceareaServed[string]
: L'area geografica in cui viene fornito il servizio o l'articolo offerto. . Model: https://schema.org/Textcategory[array]
: Elenco delle categorie dell'applicazionedataProvider[string]
: una sequenza di caratteri che identifica il fornitore dell'entità di dati armonizzatadateCreated[date-time]
: Timestamp di creazione dell'entità. Di solito viene assegnato dalla piattaforma di archiviazionedateModified[date-time]
: Timestamp dell'ultima modifica dell'entità. Di solito viene assegnato dalla piattaforma di archiviazionedescription[string]
: Descrizione dell'articoloendpoint[uri]
: Il punto di connessione digitale per l'App . Model: http://schema.org/URLhasProvider[*]
: Fornitore (persona o organizzazione) dell'applicazioneid[*]
: Identificatore univoco dell'entitàlocation[*]
: Riferimento geojson all'elemento. Può essere un punto, una stringa di linea, un poligono, un multi-punto, una stringa di linea o un poligono multiplo.name[string]
: Il nome di questo elementoowner[array]
: Un elenco contenente una sequenza di caratteri codificata JSON che fa riferimento agli ID univoci dei proprietari.relatedSource[array]
: Elenco di ID che l'entità corrente può avere in applicazioni esterne.seeAlso[*]
: elenco di uri che puntano a risorse aggiuntive sull'elementosource[string]
: Una sequenza di caratteri che indica la fonte originale dei dati dell'entità come URL. Si consiglia di utilizzare il nome di dominio completamente qualificato del provider di origine o l'URL dell'oggetto di origine.type[string]
: Tipo di entità NGSI. deve essere AgriApp.version[string]
: La versione dell'App
Proprietà richieste
id
type
Ordinati in ordine alfabetico (clicca per i dettagli)
full yaml details
AgriApp:
description: This entity contains a harmonised description of a generic app made for the Agrifood domain. This entity is primarily associated with the agricultural vertical and related IoT applications.
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
category:
description: List of categories of the app
items:
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
endpoint:
description: The digital connection point for the App
format: uri
type: string
x-ngsi:
model: http://schema.org/URL
type: Property
hasProvider:
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: Provider (Person or Organization) of the application
x-ngsi:
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
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
relatedSource:
description: List of IDs the current entity may have in external applications
items:
properties:
application:
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
applicationEntityId:
description: Identifier in the external application
type: string
x-ngsi:
type: Property
type: object
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 Entity Type. it has to be AgriApp
enum:
- AgriApp
type: string
x-ngsi:
type: Property
version:
description: The version of the App
type: string
x-ngsi:
type: Property
required:
- id
- type
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/AgriApp/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.Agrifood/AgriApp/schema.json
x-model-tags: ""
x-version: 0.0.2
Ecco un esempio di AgriApp in formato JSON-LD come valori-chiave. Questo è compatibile con NGSI-v2 quando si usa options=keyValues
e restituisce i dati di contesto di una singola entità.
show/hide example
{
"id": "urn:ngsi-ld:AgriApp:72d9fb43-53f8-4ec8-a33c-fa931360259a",
"type": "AgriApp",
"dateCreated": "2017-01-01T01:20:00Z",
"dateModified": "2017-05-04T12:30:00Z",
"name": "Wine track",
"description": "An app for wine tracking",
"version": "1.0",
"hasProvider": "urn:ngsi-ld:Organization:fce9dcbc-4479-11e8-9de1-cb228de7a15c",
"endpoint": "https://app.endpoint/download",
"category": [
"TBD"
]
}
Ecco un esempio di AgriApp in formato JSON-LD normalizzato. Questo è compatibile con NGSI-v2 quando non si utilizzano opzioni e restituisce i dati di contesto di una singola entità.
show/hide example
{
"id": "urn:ngsi-ld:AgriApp:72d9fb43-53f8-4ec8-a33c-fa931360259a",
"type": "AgriApp",
"dateCreated": {
"type": "DateTime",
"value": "2017-01-01T01:20:00Z"
},
"dateModified": {
"type": "DateTime",
"value": "2017-05-04T12:30:00Z"
},
"name": {
"type": "Text",
"value": "Wine track"
},
"description": {
"type": "Text",
"value": "An app for wine tracking"
},
"version": {
"type": "Text",
"value": "1.0"
},
"hasProvider": {
"type": "Text",
"value": "urn:ngsi-ld:Organization:fce9dcbc-4479-11e8-9de1-cb228de7a15c"
},
"endpoint": {
"type": "Text",
"value": "https://app.endpoint/download"
},
"category": {
"type": "StructuredValue",
"value": [
"TBD"
]
}
}
Ecco un esempio di AgriApp in formato JSON-LD come valori-chiave. Questo è compatibile con NGSI-LD quando si usa options=keyValues
e restituisce i dati di contesto di una singola entità.
show/hide example
{
"id": "urn:ngsi-ld:AgriApp:72d9fb43-53f8-4ec8-a33c-fa931360259a",
"type": "AgriApp",
"category": [
"TBD"
],
"createdAt": "2017-01-01T01:20:00Z",
"description": "An app for wine tracking",
"endpoint": "https://app.endpoint/download",
"hasProvider": "urn:ngsi-ld:Organization:fce9dcbc-4479-11e8-9de1-cb228de7a15c",
"modifiedAt": "2017-05-04T12:30:00Z",
"name": "Wine track",
"version": "1.0",
"@context": [
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Agrifood/master/context.jsonld"
]
}
Ecco un esempio di AgriApp in formato JSON-LD normalizzato. Questo è compatibile con NGSI-LD quando non si utilizzano opzioni e restituisce i dati di contesto di una singola entità.
show/hide example
{
"id": "urn:ngsi-ld:AgriApp:72d9fb43-53f8-4ec8-a33c-fa931360259a",
"type": "AgriApp",
"category": {
"type": "Property",
"value": [
"TBD"
]
},
"createdAt": "2017-01-01T01:20:00Z",
"description": {
"type": "Property",
"value": "An app for wine tracking"
},
"endpoint": {
"type": "Property",
"value": "https://app.endpoint/download"
},
"hasProvider": {
"type": "Relationship",
"object": "urn:ngsi-ld:Organization:fce9dcbc-4479-11e8-9de1-cb228de7a15c"
},
"modifiedAt": "2017-05-04T12:30:00Z",
"name": {
"type": "Property",
"value": "Wine track"
},
"version": {
"type": "Property",
"value": "1.0"
},
"@context": [
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Agrifood/master/context.jsonld"
]
}
Vedere FAQ 10 per ottenere una risposta su come gestire le unità di grandezza.