42 Un par propiedad-valor

https://w3id.org/class/redaktor/PropertyValue

JSON

Inbox

Definition

Mastodon soporta campos de perfil arbitrarios que contienen pares nombre-valor. Esto se implementa utilizando la propiedad attachment en los objetos actor, con objetos en la matriz que tienen un tipo de PropertyValue y una propiedad value, ambos del espacio de nombres schema.org.
schema.org/PropertyValue

Example

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "PropertyValue": "schema:PropertyValue",
      "value": "schema:value"
    }
  ],
  "id": "https://mastodon.social/users/Gargron",
  "type": "Person",
  "attachment": [
    {
      "type": "PropertyValue",
      "name": "Patreon",
      "value": "<a href="https://www.patreon.com/mastodon" rel="me nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="">patreon.com/mastodon</span><span class="invisible"></span}"
    },
    {
      "type": "PropertyValue",
      "name": "Homepage",
      "value": "<a href="https://zeonfederated.com" rel="me nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">zeonfederated.com</span><span class="invisible"></span}"
    }
  ]
}