Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Martin Constantino-Bodin (martinshadok@aleph.land)'s status on Friday, 22-Nov-2019 10:50:12 EST Martin Constantino-Bodin Martin Constantino-Bodin

    Je suis sûr qu’il y a des gens qui maîtrisent le JSON+LD ici ☺ #json #jsonld

    J’aimerais faire un fichier avec des définitions de personnes fictives, suivies de déclarations d’événements fictifs référençant ces mêmes personnes. Comme il y a pas mal d’événements et assez peu de personnes (mais beaucoup d’information pour chacune d’elles), j’aimerais leur donner un identifiant interne au fichier pour ne pas avoir à répéter tous leurs attributs, mais je ne suis pas certain de si c’est bien valide.

    Genre un fichier de la forme :
    [
    {
    "@context": "http://schema.org/",
    "@type": "Person",
    "identifier": "person1",
    …
    },
    …
    {
    "@context": "http://schema.org/",
    "@type": "Person",
    "identifier": "personn",
    …
    },
    {
    "@context": "http://schema.org/",
    "@type": "Event",
    "attendee": [{"identifier":"person1"}; {"identifier":"person2"}],
    …
    },
    …
    {
    "@context": "http://schema.org/",
    "@type": "Event",
    "attendee": [{"identifier":"person1"}; …; {"identifier":"personn"}],
    …
    }
    ]

    In conversation Friday, 22-Nov-2019 10:50:12 EST from aleph.land permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.