From 8a91e73635039481746203ef317f712ab73e85fd Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Fri, 17 Nov 2023 22:04:27 +0100 Subject: [PATCH] updated ITTests/doc/spec_FR.md --- ITTests/doc/spec_FR.md | 980 ++++++++++++++++++++--------------------- 1 file changed, 489 insertions(+), 491 deletions(-) diff --git a/ITTests/doc/spec_FR.md b/ITTests/doc/spec_FR.md index 5087458..a33f000 100644 --- a/ITTests/doc/spec_FR.md +++ b/ITTests/doc/spec_FR.md @@ -1,443 +1,441 @@ - -[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) - Entité : ITTests -================ - - [Licence ouverte] (https://github.com/smart-data-models//dataModel.IT/blob/master/ITTests/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 : **Il s'agit du modèle de données permettant de représenter le résultat des procédures de test**. - version : 0.0.1 - - - - ## Liste des propriétés - - [*] 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/address](https://schema.org/address) - `addressCountry[string]`: Le pays. Par exemple, l'Espagne . Model: [https://schema.org/addressCountry](https://schema.org/addressCountry) - - `addressLocality[string]`: La localité dans laquelle se trouve l'adresse postale et qui se trouve dans la région . Model: [https://schema.org/addressLocality](https://schema.org/addressLocality) - - `addressRegion[string]`: La région dans laquelle se trouve la localité et qui se trouve dans le pays . Model: [https://schema.org/addressRegion](https://schema.org/addressRegion) - - `district[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/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) - - `postalCode[string]`: Le code postal. Par exemple, 24004 . Model: [https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) - - `streetAddress[string]`: L'adresse de la rue . Model: [https://schema.org/streetAddress](https://schema.org/streetAddress) -- `alternateName[string]`: Un nom alternatif pour ce poste - `areaServed[string]`: La zone géographique où un service ou un article est offert . Model: [https://schema.org/Text](https://schema.org/Text) - `component[uri]`: Format d'identification de toute entité NGSI correspondant au logiciel ou au composant à tester - `dataProvider[string]`: Une séquence de caractères identifiant le fournisseur de l'entité de données harmonisées - `dateCreated[date-time]`: Horodatage de la création de l'entité. Celle-ci est généralement attribuée par la plate-forme de stockage - `dateModified[date-time]`: Date de la dernière modification de l'entité. Cette date est généralement attribuée par la plate-forme de stockage - `description[string]`: Une description de l'article - `elapsedTime[number]`: Temps écoulé depuis le début de l'exécution des tests. Il mesure en millisecondes la durée de l'exécution des tests. . Model: [https://schema.org/Number](https://schema.org/Number) - `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ément - `owner[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ément - `source[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. - `status[string]`: État général de l'exécution des tests : OK, tous les tests ont réussi ; NOK, il y a au moins quelques tests qui ont échoué ; POK, il est possible que certains tests soient marqués comme optionnels, donc s'ils échouent l'état général n'est pas NOK mais POK. . Model: [https://schema.org/Text](https://schema.org/Text) - `tests[array]`: Statut de l'exécution de chacun des tests . Model: [https://schema.org/Text](https://schema.org/Text) - `timestamp[number]`: EPOCH timestamp mesure en millisecondes correspondant au point de départ de l'exécution des tests . Model: [https://schema.org/Number](https://schema.org/Number) - `type[string]`: Type d'entité NGSI. Il doit s'agir d'ITTests - - Propriétés requises -- `id` - `type` - - - - ## Modèle de données description des propriétés - Classés par ordre alphabétique (cliquez pour plus de détails) - - -
full yaml details - ```yaml -ITTests: - description: This is the data model for representing the result of testing procedures. - 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 - component: - description: Identifier format of any NGSI entity corresponding to the Software or component to be tested - format: uri - type: string - x-ngsi: - type: Relationship - 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 - elapsedTime: - description: Elapsed time since the beginning of the execution of the tests. It measures in milliseconds the duration of the execution of the tests - minimum: 0 - multipleOf: 1 - type: number - x-ngsi: - model: https://schema.org/Number - 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 - status: - description: 'Overall status of the execution of the tests: OK, all the tests passed; NOK, there is at least some tests that failed; POK, it is possible that some tests are marked as optionals, therefore it they fails the overall status is not NOK but POK' - enum: - - OK - - NOK - - POK - type: string - x-ngsi: - model: https://schema.org/Text - type: Property - tests: - description: Status of the execution of each of the tests - items: - properties: - name: - description: The name or identification to the test executed - type: string - x-ngsi: - model: https://schema.org/Text - type: Property - result: - description: 'The result of the execution of the test. it could be:OK, the test passed; NOK, the test failed; N/A, the test was not executed due to it was not applicable for the corresponding software or component; DISMISS, the test could not be executed due to a previous error in other test' - enum: - - OK - - NOK - - NA - - DISMISS - type: string - x-ngsi: - model: https://schema.org/Text - type: Property - required: - - name - - result - type: object - type: array - x-ngsi: - model: https://schema.org/Text - type: Property - timestamp: - description: EPOCH timestamp measures in milliseconds corresponding to the starting point of the execution of the tests - minimum: 0 - multipleOf: 1 - type: number - x-ngsi: - model: https://schema.org/Number - type: Property - type: - description: NGSI Entity type. It has to be ITTests - enum: - - ITTests - 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.IT/blob/master/ITTests/LICENSE.md - x-model-schema: https://smart-data-models.github.io/dataModel.IT/Tests/schema.json - x-model-tags: "" - x-version: 0.0.1 -``` -
- - - - - ## Exemples de charges utiles - #### ITTests Valeurs clés de l'INSG-v2 Exemple - Voici un exemple d'ITTests au format JSON-LD en tant que valeurs-clés. Ceci est compatible avec NGSI-v2 lorsque l'on utilise `options=keyValues` et renvoie les données de contexte d'une entité individuelle. -
show/hide example + +[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) + Entité : ITTests +================ + + [Licence ouverte] (https://github.com/smart-data-models//dataModel.IT/blob/master/ITTests/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 : **Il s'agit du modèle de données permettant de représenter le résultat des procédures de test**. + version : 0.0.1 + + + ## Liste des propriétés + [*] 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/address](https://schema.org/address) - `addressCountry[string]`: Le pays. Par exemple, l'Espagne . Model: [https://schema.org/addressCountry](https://schema.org/addressCountry) + - `addressLocality[string]`: La localité dans laquelle se trouve l'adresse postale et qui se trouve dans la région . Model: [https://schema.org/addressLocality](https://schema.org/addressLocality) + - `addressRegion[string]`: La région dans laquelle se trouve la localité et qui se trouve dans le pays . Model: [https://schema.org/addressRegion](https://schema.org/addressRegion) + - `district[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/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) + - `postalCode[string]`: Le code postal. Par exemple, 24004 . Model: [https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) + - `streetAddress[string]`: L'adresse de la rue . Model: [https://schema.org/streetAddress](https://schema.org/streetAddress) +- `alternateName[string]`: Un nom alternatif pour ce poste - `areaServed[string]`: La zone géographique où un service ou un article est offert . Model: [https://schema.org/Text](https://schema.org/Text) - `component[uri]`: Format d'identification de toute entité NGSI correspondant au logiciel ou au composant à tester - `dataProvider[string]`: Une séquence de caractères identifiant le fournisseur de l'entité de données harmonisées - `dateCreated[date-time]`: Horodatage de la création de l'entité. Celle-ci est généralement attribuée par la plate-forme de stockage - `dateModified[date-time]`: Date de la dernière modification de l'entité. Cette date est généralement attribuée par la plate-forme de stockage - `description[string]`: Une description de l'article - `elapsedTime[number]`: Temps écoulé depuis le début de l'exécution des tests. Il mesure en millisecondes la durée de l'exécution des tests. . Model: [https://schema.org/Number](https://schema.org/Number) - `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ément - `owner[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ément - `source[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. - `status[string]`: État général de l'exécution des tests : OK, tous les tests ont réussi ; NOK, il y a au moins quelques tests qui ont échoué ; POK, il est possible que certains tests soient marqués comme optionnels, donc s'ils échouent l'état général n'est pas NOK mais POK. . Model: [https://schema.org/Text](https://schema.org/Text) - `tests[array]`: Statut de l'exécution de chacun des tests . Model: [https://schema.org/Text](https://schema.org/Text) - `timestamp[number]`: EPOCH timestamp mesure en millisecondes correspondant au point de départ de l'exécution des tests . Model: [https://schema.org/Number](https://schema.org/Number) - `type[string]`: Type d'entité NGSI. Il doit s'agir d'ITTests + + Propriétés requises +- `id` - `type` + + + + ## Modèle de données description des propriétés + Classés par ordre alphabétique (cliquez pour plus de détails) + + +
full yaml details + ```yaml +ITTests: + description: This is the data model for representing the result of testing procedures. + 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 + component: + description: Identifier format of any NGSI entity corresponding to the Software or component to be tested + format: uri + type: string + x-ngsi: + type: Relationship + 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 + elapsedTime: + description: Elapsed time since the beginning of the execution of the tests. It measures in milliseconds the duration of the execution of the tests + minimum: 0 + multipleOf: 1 + type: number + x-ngsi: + model: https://schema.org/Number + 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 + status: + description: 'Overall status of the execution of the tests: OK, all the tests passed; NOK, there is at least some tests that failed; POK, it is possible that some tests are marked as optionals, therefore it they fails the overall status is not NOK but POK' + enum: + - OK + - NOK + - POK + type: string + x-ngsi: + model: https://schema.org/Text + type: Property + tests: + description: Status of the execution of each of the tests + items: + properties: + name: + description: The name or identification to the test executed + type: string + x-ngsi: + model: https://schema.org/Text + type: Property + result: + description: 'The result of the execution of the test. it could be:OK, the test passed; NOK, the test failed; N/A, the test was not executed due to it was not applicable for the corresponding software or component; DISMISS, the test could not be executed due to a previous error in other test' + enum: + - OK + - NOK + - NA + - DISMISS + type: string + x-ngsi: + model: https://schema.org/Text + type: Property + required: + - name + - result + type: object + type: array + x-ngsi: + model: https://schema.org/Text + type: Property + timestamp: + description: EPOCH timestamp measures in milliseconds corresponding to the starting point of the execution of the tests + minimum: 0 + multipleOf: 1 + type: number + x-ngsi: + model: https://schema.org/Number + type: Property + type: + description: NGSI Entity type. It has to be ITTests + enum: + - ITTests + 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.IT/blob/master/ITTests/LICENSE.md + x-model-schema: https://smart-data-models.github.io/dataModel.IT/Tests/schema.json + x-model-tags: "" + x-version: 0.0.1 +``` +
+ + + + + ## Exemples de charges utiles + #### ITTests Valeurs clés de l'INSG-v2 Exemple + Voici un exemple d'ITTests au format JSON-LD en tant que valeurs-clés. Ceci est compatible avec NGSI-v2 lorsque l'on utilise `options=keyValues` et renvoie les données de contexte d'une entité individuelle. +
show/hide example ```json { "id": "urn:ngsi-ld:Tests:Tempest:23278568", @@ -466,10 +464,10 @@ ITTests: ] } ``` -
- #### ITTests NGSI-v2 normalisé Exemple - Voici un exemple d'ITTests au format JSON-LD tel qu'il a été normalisé. Ce format est compatible avec l'INSG-v2 lorsqu'il n'utilise pas d'options et renvoie les données contextuelles d'une entité individuelle. -
show/hide example +
+ #### ITTests NGSI-v2 normalisé Exemple + Voici un exemple d'ITTests au format JSON-LD tel qu'il a été normalisé. Ce format est compatible avec l'INSG-v2 lorsqu'il n'utilise pas d'options et renvoie les données contextuelles d'une entité individuelle. +
show/hide example ```json { "id": "urn:ngsi-ld:Tests:Tempest:23278568", @@ -487,11 +485,11 @@ ITTests: "value": 1344875 }, "component": { - "type": "uri", + "type": "Text", "value": "urn:ngsi-ld:CloudRegion:Noida" }, "tests": { - "type": "array", + "type": "StructuredValue", "value": [ { "name": "test_allocate_ip", @@ -513,46 +511,46 @@ ITTests: } } ``` -
- #### ITTests Valeurs clés NGSI-LD Exemple - Voici un exemple d'ITTests au format JSON-LD en tant que 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 +
+ #### ITTests Valeurs clés NGSI-LD Exemple + Voici un exemple d'ITTests au format JSON-LD en tant que 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 ```json { - "id": "urn:ngsi-ld:Tests:Tempest:23278568", - "type": "ITTests", - "status": "OK", - "timestamp": 1645543927345, - "elapsedTime": 1344875, - "component": "urn:ngsi-ld:CloudRegion:Noida", - "tests": [ - { - "name": "test_allocate_ip", - "result": "OK" - }, - { - "name": "test_allocate_ip", - "result": "OK" - }, - { - "name": "test_object_storage", - "result": "NA" - }, - { - "name": "test_associate_io", - "result": "DISMISS" - } - ], - "@context": [ - "https://smart-data-models.github.com/dataModel.IT/context.jsonld", - "https://raw.githubusercontent.com/smart-data-models/dataModel.IT/master/context.jsonld" - ] + "id": "urn:ngsi-ld:Tests:Tempest:23278568", + "type": "ITTests", + "status": "OK", + "timestamp": 1645543927345, + "elapsedTime": 1344875, + "component": "urn:ngsi-ld:CloudRegion:Noida", + "tests": [ + { + "name": "test_allocate_ip", + "result": "OK" + }, + { + "name": "test_allocate_ip", + "result": "OK" + }, + { + "name": "test_object_storage", + "result": "NA" + }, + { + "name": "test_associate_io", + "result": "DISMISS" + } + ], + "@context": [ + "https://smart-data-models.github.com/dataModel.IT/context.jsonld", + "https://raw.githubusercontent.com/smart-data-models/dataModel.IT/master/context.jsonld" + ] } ``` -
- #### ITTests NGSI-LD normalisé Exemple - Voici un exemple d'ITTests au format JSON-LD tel qu'il a été 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 +
+ #### ITTests NGSI-LD normalisé Exemple + Voici un exemple d'ITTests au format JSON-LD tel qu'il a été 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 ```json { "id": "urn:ngsi-ld:Tests:Tempest:23278568", @@ -600,12 +598,12 @@ ITTests: ] } ``` -
- - - - 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. - - ---- - [Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM) +
+ + + + 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. + + +--- + [Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)