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
$schema: http://json-schema.org/draft-07/schema#
$id: http://ydclasses.georef.eu/YamlDoc/schema
title: Définition du schema JSON d'un YamlDoc générique
description: reprend le schéma Dublin Core en lui ajoutant les propriétés spécifiques génériques aux doc YamlDoc
modified: 2019-01-26
allOf:
- description: schéma du Dublin Core
$ref: http://id.georef.eu/dublincore.schema
- description: propriétés supplémentaires par rapport à un doc DublinCore
type: object
properties:
$schema:
description: définition de la classe de document
type: string
pattern: ^http://ydclasses.georef.eu/
yamlPassword:
description: mot de passe d'accès au document
type: string
authorizedWriters:
description: liste des utilisateurs YamlDoc autorisés à modifier le document
type: array
items: {type: string}
authWr:
description: liste des utilisateurs YamlDoc autorisés à modifier le document, synonyme de authorizedWriters
type: array
items: {type: string}
authorizedReaders:
description: liste des utilisateurs YamlDoc autorisés à lire le document
type: array
items: {type: string}
authRd:
description: liste des utilisateurs YamlDoc autorisés à lire le document, synonyme de authorizedReaders
type: array
items: {type: string}
examples:
- title: un exemple simple monolingue
$schema: http://ydclasses.georef.eu/YData/schema
authorizedReaders: [benoit]