Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Fediverso
  4. So, an interesting issue came up in the #Fedify repo that I've been thinking about: [#629].

So, an interesting issue came up in the #Fedify repo that I've been thinking about: [#629].

Pianificato Fissato Bloccato Spostato Fediverso
as2fepfedifyfedidevfediverseactivitypubpropertyvalueactivitystreams
7 Post 5 Autori 19 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • hongminhee@hollo.socialundefined Questo utente è esterno a questo forum
    hongminhee@hollo.socialundefined Questo utente è esterno a questo forum
    hongminhee@hollo.social
    scritto su ultima modifica di hongminhee@hollo.social
    #1

    So, an interesting issue came up in the #Fedify repo that I've been thinking about: #629.

    You know how every #fediverse server uses schema:PropertyValue in actor attachment for profile metadata fields (like “Website”, “GitHub”, etc.)? Turns out, strict #AS2 validators like browser.pub reject it, because the AS2 spec says attachment should only contain Object or Link—and PropertyValue is a schema.org type, not an Activity Streams 2.0 type.

    The thing is, we can't just drop the type like we did with Endpoints (#576), because Mastodon and others rely on seeing "type": "PropertyValue" to render profile fields. But at the same time, it's technically not spec-compliant.

    I'm leaning towards writing a #FEP to formalize this existing practice rather than trying to invent a new type (like toot:PropertyValue extending Object), which would be a nightmare to migrate across the whole fediverse.

    What do you all think? Has anyone else run into this? Would love to hear thoughts from implementers and spec folks.

    #fedidev #ActivityPub #ActivityStreams #ActivityStreams2 #AS2 #PropertyValue

    1 Risposta Ultima Risposta
    0
    • smallcircles@social.coopundefined Questo utente è esterno a questo forum
      smallcircles@social.coopundefined Questo utente è esterno a questo forum
      smallcircles@social.coop
      scritto su ultima modifica di
      #2

      @hongminhee

      Something to cc @trwnh and @evan on. And @steve who wrote an ontology for the `toot` namespace (is this elsewhere defined differently?) ..

      https://github.com/steve-bate/activitypub-ontology/blob/main/toot.ttl

      Options:

      - Break spec compliance with a pragmatic FEP hack. Acknowledging that the installed base creates the protocol and/or app (as the delineation is unclear) specs on-the-fly i.e. by means of follow the leader post-facto interoperability.

      - Create a type that extends `Object`. What is the best-practice here? In what ways is this done already?

      - Go multi-type, type property as a set. There are examples in AS2 specs, but it is unclear to me and I think never clearly defined how this works. Plus multi-type isn't widely supported on fedi either atm, I think.

      For last option see e.g. Example 103 in AS2 Vocab spec:

      `"type": ["Activity", "http://www.verbs.example/Check"]`

      In this example btw, the "result" property, defined as Object or Link is of type "http://www.types.example/flightstatus"

      smallcircles@social.coopundefined 1 Risposta Ultima Risposta
      0
      • smallcircles@social.coopundefined smallcircles@social.coop

        @hongminhee

        Something to cc @trwnh and @evan on. And @steve who wrote an ontology for the `toot` namespace (is this elsewhere defined differently?) ..

        https://github.com/steve-bate/activitypub-ontology/blob/main/toot.ttl

        Options:

        - Break spec compliance with a pragmatic FEP hack. Acknowledging that the installed base creates the protocol and/or app (as the delineation is unclear) specs on-the-fly i.e. by means of follow the leader post-facto interoperability.

        - Create a type that extends `Object`. What is the best-practice here? In what ways is this done already?

        - Go multi-type, type property as a set. There are examples in AS2 specs, but it is unclear to me and I think never clearly defined how this works. Plus multi-type isn't widely supported on fedi either atm, I think.

        For last option see e.g. Example 103 in AS2 Vocab spec:

        `"type": ["Activity", "http://www.verbs.example/Check"]`

        In this example btw, the "result" property, defined as Object or Link is of type "http://www.types.example/flightstatus"

        smallcircles@social.coopundefined Questo utente è esterno a questo forum
        smallcircles@social.coopundefined Questo utente è esterno a questo forum
        smallcircles@social.coop
        scritto su ultima modifica di
        #3

        @hongminhee @trwnh @evan @steve

        Regarding the option to create a spec-breaking FEP.. this is only one occurrence, of something that is a more general issue of protocol extensibility best practices to follow.

        trwnh@mastodon.socialundefined 1 Risposta Ultima Risposta
        0
        • smallcircles@social.coopundefined smallcircles@social.coop

          @hongminhee @trwnh @evan @steve

          Regarding the option to create a spec-breaking FEP.. this is only one occurrence, of something that is a more general issue of protocol extensibility best practices to follow.

          trwnh@mastodon.socialundefined Questo utente è esterno a questo forum
          trwnh@mastodon.socialundefined Questo utente è esterno a questo forum
          trwnh@mastodon.social
          scritto su ultima modifica di
          #4

          @smallcircles @hongminhee @evan @steve browser.pub is incorrect here -- having a range of Object or Link doesn't mean that schema PropertyValue is not allowed. it means that the value is inferred to be an Object or a Link *in addition to* a PropertyValue. there is no problem as long as there are no conflicting statements being made.

          cc @js

          trwnh@mastodon.socialundefined 1 Risposta Ultima Risposta
          0
          • trwnh@mastodon.socialundefined trwnh@mastodon.social

            @smallcircles @hongminhee @evan @steve browser.pub is incorrect here -- having a range of Object or Link doesn't mean that schema PropertyValue is not allowed. it means that the value is inferred to be an Object or a Link *in addition to* a PropertyValue. there is no problem as long as there are no conflicting statements being made.

            cc @js

            trwnh@mastodon.socialundefined Questo utente è esterno a questo forum
            trwnh@mastodon.socialundefined Questo utente è esterno a questo forum
            trwnh@mastodon.social
            scritto su ultima modifica di
            #5

            @smallcircles @hongminhee @evan @steve @js also, https://w3id.org/fep/fb2a exists for Actor metadata, and https://w3id.org/fep/e229 describes best practices for extensibility (although that one needs an update per the discussion thread)

            1 Risposta Ultima Risposta
            0
            • silverpill@mitra.socialundefined Questo utente è esterno a questo forum
              silverpill@mitra.socialundefined Questo utente è esterno a questo forum
              silverpill@mitra.social
              scritto su ultima modifica di
              #6

              @hongminhee +1 for formalizing the existing practice in a FEP.

              PropertyValue is covered in FEP-fb2a, but it proposes an alternative representation which implementers must support:

              https://codeberg.org/fediverse/fep/src/branch/main/fep/fb2a/fep-fb2a.md

              1 Risposta Ultima Risposta
              0
              • julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                julian@activitypub.space
                scritto su ultima modifica di
                #7

                Yup do as @trwnh@mastodon.social and @silverpill@mitra.social say and implement fb2a.

                It is supported by NodeBB and WordPress already.

                1 Risposta Ultima Risposta
                0

                Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                Registrati Accedi
                Rispondi
                • Risposta alla discussione
                Effettua l'accesso per rispondere
                • Da Vecchi a Nuovi
                • Da Nuovi a Vecchi
                • Più Voti


                Feed RSS
                So, an interesting issue came up in the #Fedify repo that I've been thinking about: [#629].
                @pierobosio@soc.bosio.info
                V4.10.0 Contributors
                • Accedi

                • Accedi o registrati per effettuare la ricerca.
                • Primo post
                  Ultimo post