Deprecated: Return type of YDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/ydata.inc.php on line 428

Deprecated: Return type of YamlDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/yamldata.inc.php on line 295
ydc autodescr.inc.php

Fichier autodescr.inc.php

File: autodescr.inc.php - document autodécrit contenant un registre hiérarchique d'objets JSON-LD

doc

Testé sur:
  - http://localhost/yamldoc/id.php/organizations ou http://id.georef.eu/organizations
  - http://127.0.0.1/yamldoc/id.php/contactspro ou http://bdavid.alwaysdata.net/yamldoc/id.php/contactspro
  
Problèmes rencontrés:
  - http://localhost/yamldoc/id.php/organizations/fr.gouv/CGDD renvoie bien du JSON mais pas du JSON-LD
  - http://localhost/yamldoc/id.php/organizations/fr.gouv/CGDD/Orléans est un IRI incorrect
  - comment structurer http://localhost/yamldoc/id.php/organizations en JSON-LD ?
    - quel est son type ?
    - quelle définition donner à contents ?
  - un document AutoDescribed doit-il obligatoirement comporter un champ contents ?

journal


Warning: Array to string conversion in /home/bdavid/prod/georef/yamldoc/ydclasses.php on line 86
Array

classe AutoDescribed : document autodécrit par un schema et avec un comportement paramétré

Document auto-décrit par un schéma JSON défini dans le champ $schema. Le champ ydADscrBhv permet de paramétrer: - l'enregistrement du document en pser - l'extract/extractByUri Conçu pour gérer un registre hiérarchique d'objets JSON-LD