documento generato automaticamente
Descrizione globale: Un'eccezione di restrizione rappresenta un caso particolare che specializza la restrizione segnalata in un'area a traffico limitato; ad esempio potrebbe descrivere permessi particolari applicati a veicoli di tipo specifico.
versione: 0.1.0
[*] 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
allowedVehicleType[array]
: Tipi di veicoli autorizzati ad attraversare la zona a traffico limitatoalternateName[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/TextdataProvider[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'articoloexceptionValidityHours[string]
: Giorni della settimana e orari in cui è valida l'eccezione . Model: http://schema.org/openingHoursid[*]
: 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.refRestrictedTrafficArea[*]
: La Zona a Traffico Limitato a cui appartiene questa eccezionerefVehicleModel[array]
: Specificare le caratteristiche del veicolo per il quale è stata stabilita l'eccezioneseeAlso[*]
: 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 RestrictionException
Proprietà richieste
allowedVehicleType
id
refRestrictedTrafficArea
type
Modello di dati proveniente dal progetto synchronicity
Ordinati in ordine alfabetico (clicca per i dettagli)
full yaml details
RestrictionException:
description: A Restriction Exception represents a particular case that specialise restriction reported in a Restricted Traffic Areas; for instance it could describe particular permissions applied to specific kind vehicles
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(s) allowed to cross the restricted traffic area
items:
enum:
- anyVehicle
- agriculturalVehicle
- bicycle
- bus
- car
- caravan
- carWithCaravan
- carWithTrailer
- constructionOrMaintenanceVehicle
- dieselCarEuro0
- dieselCarEuro1
- dieselCarEuro2
- dieselCarEuro3
- dieselCarEuro4
- dieselCarEuro5a
- dieselCarEuro5b
- dieselCarEuro6
- freightTransportVehicle
- lorry
- moped
- motorcycle
- motorcycleWithSideCar
- motorscooter
- petrolCarEuro0
- petrolCarEuro1
- petrolCarEuro2
- petrolCarEuro3
- petrolCarEuro4
- petrolCarEuro5
- petrolCarEuro6
- tanker
- trailer
- van
type: string
minItems: 1
type: array
uniqueItems: true
x-ngsi:
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
description:
description: A description of this item
type: string
x-ngsi:
type: Property
exceptionValidityHours:
description: Days of the week and hours in which the exception is valid
type: string
x-ngsi:
model: 'http://schema.org/openingHours '
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
refRestrictedTrafficArea:
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: The Restricted Traffic Area this exception belongs
x-ngsi:
type: Relationship
refVehicleModel:
description: Specify characteristics of the vehicle for which the exception has been established
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 Entity type. It has to be RestrictionException
enum:
- RestrictionException
type: string
x-ngsi:
type: Property
required:
- id
- type
- allowedVehicleType
- refRestrictedTrafficArea
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.Transportation/blob/master/RestrictionException/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.Transportation/RestrictionException/schema.json
x-model-tags: ""
x-version: 0.1.0
Ecco un esempio di RestrictionException 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:RestrictedTrafficArea:Milan:RestrictionException:GeoJson:ds51-1",
"type": "RestrictionException",
"name": "Corso Concordia Area",
"allowedVehicleType": [
"dieselCarEuro6",
"petrolCarEuro6"
],
"exceptionValidityHours": "Tu,Th 16:00-20:00",
"refVehicleModel": [
"vehicle:VehicleModel:modelName-1"
],
"refRestrictedTrafficArea": "urn:ngsi-ld:RestrictedTrafficArea:Milan:RestrictedTrafficAreas:GeoJson:ds51-1"
}
Ecco un esempio di RestrictionException in formato JSON-LD normalizzato. Questo è compatibile con NGSI-v2 quando non si usano le opzioni e restituisce i dati di contesto di una singola entità.
show/hide example
{
"id": "urn:ngsi-ld:RestrictedTrafficArea:Milan:RestrictionException:GeoJson:ds51-1",
"type": "RestrictionException",
"name": {
"type": "Text",
"value": "Corso Concordia Area"
},
"allowedVehicleType": {
"type": "StructuredValue",
"value": [
"dieselCarEuro6",
"petrolCarEuro6"
]
},
"exceptionValidityHours": {
"type": "Text",
"value": "Tu,Th 16:00-20:00"
},
"refVehicleModel": {
"type": "StructuredValue",
"value": [
"vehicle:VehicleModel:modelName-1"
]
},
"refRestrictedTrafficArea": {
"type": "Text",
"value": "urn:ngsi-ld:RestrictedTrafficArea:Milan:RestrictedTrafficAreas:GeoJson:ds51-1"
}
}
Ecco un esempio di RestrictionException 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:RestrictedTrafficArea:Milan:RestrictionException:GeoJson:ds51-1",
"type": "RestrictionException",
"allowedVehicleType": [
"dieselCarEuro6",
"petrolCarEuro6"
],
"exceptionValidityHours": "Tu,Th 16:00-20:00",
"name": "Corso Concordia Area",
"refRestrictedTrafficArea": "urn:ngsi-ld:RestrictedTrafficArea:Milan:RestrictedTrafficAreas:GeoJson:ds51-1",
"refVehicleModel": [
"vehicle:VehicleModel:modelName-1"
],
"@context": [
"https://raw.githubusercontent.com/smart-data-models/dataModel.Transportation/master/context.jsonld"
]
}
Ecco un esempio di RestrictionException in formato JSON-LD normalizzato. Questo è compatibile con NGSI-LD quando non si usano le opzioni e restituisce i dati di contesto di una singola entità.
show/hide example
{
"id": "urn:ngsi-ld:RestrictedTrafficArea:Milan:RestrictionException:GeoJson:ds51-1",
"type": "RestrictionException",
"name": {
"type": "string",
"value": "Corso Concordia Area"
},
"allowedVehicleType": {
"type": "array",
"value": [
"dieselCarEuro6",
"petrolCarEuro6"
]
},
"exceptionValidityHours": {
"type": "string",
"value": "Tu,Th 16:00-20:00"
},
"refVehicleModel": {
"type": "array",
"value": [
"vehicle:VehicleModel:modelName-1"
]
},
"refRestrictedTrafficArea": {
"type": "string",
"value": "urn:ngsi-ld:RestrictedTrafficArea:Milan:RestrictedTrafficAreas:GeoJson:ds51-1"
},
"@context": [
"https://raw.githubusercontent.com/smart-data-models/dataModel.Transportation/master/context.jsonld"
]
}
Vedere FAQ 10 per ottenere una risposta su come gestire le unità di grandezza.