[Licence ouverte] (https://github.com/smart-data-models//dataModel.Agrifood/blob/master/AnimalDisease/LICENSE.md)
[document généré automatiquement] (https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60)
Description globale : Objet modélisant une maladie animale pour une ferme d'élevage.
version : 0.0.1
[*] S'il n'y a pas de type dans un attribut, c'est parce qu'il peut avoir plusieurs types ou différents formats/modèles.
address[object]
: L'adresse postale . Model: https://schema.org/addressaddressCountry[string]
: Le pays. Par exemple, l'Espagne . Model: https://schema.org/addressCountryaddressLocality[string]
: La localité dans laquelle se trouve l'adresse postale et qui se trouve dans la région . Model: https://schema.org/addressLocalityaddressRegion[string]
: La région dans laquelle se trouve la localité et qui se trouve dans le pays . Model: https://schema.org/addressRegiondistrict[string]
: Un district est un type de division administrative qui, dans certains pays, est géré par le gouvernement local.postOfficeBoxNumber[string]
: Le numéro de la boîte postale pour les adresses de boîtes postales. Par exemple, 03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]
: Le code postal. Par exemple, 24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]
: L'adresse de la rue . Model: https://schema.org/streetAddress
alternateName[string]
: Un nom alternatif pour ce posteanimals[array]
: Animaux ou liste des animaux diagnostiqués avec la maladie. Modèle https://github.com/smart-data-models/dataModel.Agrifood/blob/master/Animal/schema.jsonareaServed[string]
: La zone géographique où un service ou un article est offert . Model: https://schema.org/TextdataProvider[string]
: Une séquence de caractères identifiant le fournisseur de l'entité de données harmoniséesdate[date-time]
: Date du diagnostic de la maladie par un vétérinairedateCreated[date-time]
: Horodatage de la création de l'entité. Celle-ci est généralement attribuée par la plate-forme de stockagedateModified[date-time]
: Date de la dernière modification de l'entité. Cette date est généralement attribuée par la plate-forme de stockagedescription[string]
: Une description de l'articlediagnosticTest[string]
: Test de diagnostic effectué sur les animaux pour la détermination de la maladie par un vétérinairedisease[string]
: Maladie de l'animal. Indique la maladie de l'animal diagnostiquée par un vétérinaire. Source espagnole des maladies https://www.mapa.gob.es/es/ganaderia/temas/sanidad-animal-higiene-ganadera/sanidad-animal/enfermedades/id[*]
: Identifiant unique de l'entitélocation[*]
: Référence Geojson à l'élément. Il peut s'agir d'un point, d'une chaîne de ligne, d'un polygone, d'un point multiple, d'une chaîne de ligne multiple ou d'un polygone multiple.name[string]
: Le nom de cet élémentowner[array]
: Une liste contenant une séquence de caractères encodés JSON référençant les identifiants uniques du ou des propriétaires.seeAlso[*]
: liste d'uri pointant vers des ressources supplémentaires concernant l'élémentsource[string]
: Séquence de caractères indiquant la source originale des données de l'entité sous forme d'URL. Il est recommandé d'utiliser le nom de domaine complet du fournisseur de la source ou l'URL de l'objet source.type[string]
: Type d'entité NGSI. Il doit s'agir de AnimalDiseaseveterinarian[uri]
: Vétérinaire diagnosticien. Relation avec le vétérinaire prescripteurveterinarianTreatment[uri]
: Traitement médical diagnostiqué par le vétérinaire pour traiter la maladie. https://github.com/smart-data-models/dataModel.Agrifood/blob/master/VeterinarianTreatment/schema.json
Propriétés requises
disease
id
type
Classés par ordre alphabétique (cliquez pour plus de détails)
full yaml details
AnimalDisease:
description: Object modelling an animal disease 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
animals:
description: 'Animals or list of animals diagnosed with the disease. Model https://github.com/smart-data-models/dataModel.Agrifood/blob/master/Animal/schema.json'
items:
format: uri
type: string
type: array
x-ngsi:
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 diagnosis of the disease by a veterinarian
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
diagnosticTest:
description: Diagnostic test performed in the animals for the determination of the disease by a veterinarian
type: string
x-ngsi:
type: Property
disease:
description: 'Animal disease. Indicates the disease the animal has as diagnosed by a veterinarian. Spanish source of diseases https://www.mapa.gob.es/es/ganaderia/temas/sanidad-animal-higiene-ganadera/sanidad-animal/enfermedades/'
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 entity type. It has to be AnimalDisease
enum:
- AnimalDisease
type: string
x-ngsi:
type: Property
veterinarian:
description: Diagnostic veterinarian. Relationship to the prescribing veterinarian
format: uri
type: string
x-ngsi:
type: Relationship
veterinarianTreatment:
description: 'Medical treatment diagnosed by the veterinarian to treat the disease. https://github.com/smart-data-models/dataModel.Agrifood/blob/master/VeterinarianTreatment/schema.json'
format: uri
type: string
x-ngsi:
type: Relationship
required:
- id
- type
- disease
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/AnimalDisease/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.Agrifood/AnimalDisease/schema.json
x-model-tags: I4Trust
x-version: 0.0.1
Voici un exemple d'une AnimalDisease au format JSON-LD sous forme de valeurs-clés. Ceci est compatible avec NGSI-v2 lorsque l'on utilise options=keyValues
et renvoie les données contextuelles d'une entité individuelle.
show/hide example
{
"id": "urn:ngsi-ld:AnimalDisease:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalDisease",
"disease": "Lameness",
"diagnosticTest": "Visual inspection",
"date": "2022-01-01T01:20:00Z",
"animals": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
],
"veterinarianTreatment": "urn:ngsi-ld:VeterinarianTreatment:ca3f1295-500c-4aa3-b745-d143097d5c65",
"veterinarian": "urn:ngsi-ld:Veterinarian:ca3f1295-500c-4aa3-b745-d143097d5d11"
}
Voici un exemple d'AnimalDisease au format JSON-LD tel que normalisé. Ce format est compatible avec la norme NGSI-v2 lorsqu'il n'utilise pas d'options et renvoie les données contextuelles d'une entité individuelle.
show/hide example
{
"id": "urn:ngsi-ld:AnimalDisease:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalDisease",
"disease": {
"type": "Text",
"value": "Lameness"
},
"diagnosticTest": {
"type": "Text",
"value": "Visual inspection"
},
"date": {
"type": "DateTime",
"value": "2022-01-01T01:20:00Z"
},
"animals": {
"type": "StructuredValue",
"value": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
]
},
"veterinarianTreatment": {
"type": "Text",
"value": "urn:ngsi-ld:VeterinarianTreatment:ca3f1295-500c-4aa3-b745-d143097d5c65"
},
"veterinarian": {
"type": "Text",
"value": "urn:ngsi-ld:Veterinarian:ca3f1295-500c-4aa3-b745-d143097d5d11"
}
}
Voici un exemple d'une AnimalDisease au format JSON-LD sous forme de valeurs-clés. Ceci est compatible avec NGSI-LD lorsque l'on utilise options=keyValues
et renvoie les données contextuelles d'une entité individuelle.
show/hide example
{
"id": "urn:ngsi-ld:AnimalDisease:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalDisease",
"disease": "Lameness",
"diagnosticTest": "Visual inspection",
"date": "2022-01-01T01:20:00Z",
"animals": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
],
"veterinarianTreatment": "urn:ngsi-ld:VeterinarianTreatment:ca3f1295-500c-4aa3-b745-d143097d5c65",
"veterinarian": "urn:ngsi-ld:Veterinarian:ca3f1295-500c-4aa3-b745-d143097d5d11",
"@context": [
"https://smart-data-models.github.io/dataModel.Agrifood/context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Agrifood/master/context.jsonld"
]
}
Voici un exemple d'AnimalDisease au format JSON-LD tel que normalisé. Ce format est compatible avec NGSI-LD lorsqu'il n'utilise pas d'options et renvoie les données contextuelles d'une entité individuelle.
show/hide example
{
"id": "urn:ngsi-ld:AnimalDisease:ca3f1295-500c-4aa3-b745-d143097d5c01",
"type": "AnimalDisease",
"disease": {
"type": "Property",
"value": "Lameness"
},
"diagnosticTest": {
"type": "Property",
"value": "Visual inspection"
},
"date": {
"type": "Property",
"value": {
"@type": "Date-Time",
"@value": "2022-01-01T01:20:00Z"
}
},
"animals": {
"type": "Property",
"value": [
"urn:ngsi-ld:Animal:ca3f1295-500c-4aa3-b745-d143097d5c01",
"urn:ngsi-ld:Animal:bb3f1295-500c-4aa3-b745-d143097d4321"
]
},
"veterinarianTreatment": {
"type": "Relationship",
"object": "urn:ngsi-ld:VeterinarianTreatment:ca3f1295-500c-4aa3-b745-d143097d5c65"
},
"veterinarian": {
"type": "Relationship",
"object": "urn:ngsi-ld:Veterinarian:ca3f1295-500c-4aa3-b745-d143097d5d11"
},
"@context": [
"https://smart-data-models.github.io/dataModel.Agrifood/context.jsonld",
"https://raw.githubusercontent.com/smart-data-models/dataModel.Agrifood/master/context.jsonld"
]
}
Voir [FAQ 10] (https://smartdatamodels.org/index.php/faqs/) pour obtenir une réponse à la question de savoir comment traiter les unités de magnitude.