changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "Call": {
+ "properties": {
+ "date": {
+ "description": "ISO 8601, heure locale du PC",
+ "title": "Date",
+ "type": "string"
+ },
+ "duration_s": {
+ "title": "Duration S",
+ "type": "integer"
+ },
+ "number": {
+ "title": "Number",
+ "type": "string"
+ },
+ "type": {
+ "description": "reçu, émis, manqué, messagerie, refusé, bloqué",
+ "title": "Type",
+ "type": "string"
+ },
+ "who": {
+ "title": "Who",
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "type",
+ "who",
+ "number",
+ "duration_s"
+ ],
+ "title": "Call",
+ "type": "object"
+ },
+ "Contact": {
+ "properties": {
+ "name": {
+ "title": "Name",
+ "type": "string"
+ },
+ "number": {
+ "title": "Number",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "number"
+ ],
+ "title": "Contact",
+ "type": "object"
+ },
+ "Event": {
+ "properties": {
+ "all_day": {
+ "title": "All Day",
+ "type": "boolean"
+ },
+ "begin": {
+ "title": "Begin",
+ "type": "string"
+ },
+ "end": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "End"
+ },
+ "location": {
+ "title": "Location",
+ "type": "string"
+ },
+ "title": {
+ "title": "Title",
+ "type": "string"
+ }
+ },
+ "required": [
+ "begin",
+ "end",
+ "all_day",
+ "title",
+ "location"
+ ],
+ "title": "Event",
+ "type": "object"
+ },
+ "Location": {
+ "properties": {
+ "accuracy_m": {
+ "title": "Accuracy M",
+ "type": "integer"
+ },
+ "age_s": {
+ "title": "Age S",
+ "type": "integer"
+ },
+ "latitude": {
+ "title": "Latitude",
+ "type": "number"
+ },
+ "longitude": {
+ "title": "Longitude",
+ "type": "number"
+ },
+ "maps_url": {
+ "title": "Maps Url",
+ "type": "string"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude",
+ "accuracy_m",
+ "age_s",
+ "maps_url"
+ ],
+ "title": "Location",
+ "type": "object"
+ }
+ },
+ "description": "Réponse structurée de info : le champ du `kind` demandé est rempli, le texte reprend tout.",
+ "properties": {
+ "calls": {
+ "items": {
+ "$ref": "#/$defs/Call"
+ },
+ "title": "Calls",
+ "type": "array"
+ },
+ "contacts": {
+ "items": {
+ "$ref": "#/$defs/Contact"
+ },
+ "title": "Contacts",
+ "type": "array"
+ },
+ "events": {
+ "items": {
+ "$ref": "#/$defs/Event"
+ },
+ "title": "Events",
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "location",
+ "calls",
+ "contacts",
+ "calendar"
+ ],
+ "title": "Kind",
+ "type": "string"
+ },
+ "location": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/Location"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "text": {
+ "title": "Text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "text"
+ ],
+ "title": "InfoResult",
+ "type": "object"
+}