Declaration of relationship

June 23, 2023 ยท View on GitHub

Declaration

{
  "wordData": {
    "slug": "relationship",
    "wordTypes": ["wordType"],
    "metaData": {
      "nostr": {
        "stewardPubkey": "c51a542e4f93afe6f45e5bef002f7a0efcc0a47460a736654c0bee5402c482fa",
        "uniqueIDs": {
          "slug": "relationship"
        }
      }
    }
  },
  "wordTypeData": {
    "oSlug": {
      "singular": "relationship",
      "plural": "relationships"
    },
    "oName": {
      "singular": "relationship",
      "plural": "relationships"
    },
    "oTitle": {
      "singular": "Relationship",
      "plural": "Relationships"
    },
    "propertyPath": "relationshipData",
    "description": "A edge bwtween two nodes in a graph, as specified according to the DCoSL protocol."
  }
}

Alternate convention: A universal unique identifier, in this case the nostr event id corresponding to the relevant declaration, is used in place of the slug + 'Data'.

  • wordData is replaced by 4a5517d25ebae34b9794f1b8d4dba0681f7ff7297bacbc29de2c915695c53bfe (see the declaration of word)
  • wordTypeData is replaced by eb36f4e459500234538daaed36fcdcdf3b7f0ee8912959da5ad10053725f6b28 (see the declaration of word type)
{
  "4a5517d25ebae34b9794f1b8d4dba0681f7ff7297bacbc29de2c915695c53bfe": {
    "slug": "relationship",
    "wordTypes": ["wordType"],
    "metaData": {
      "nostr": {
        "stewardPubkey": "c51a542e4f93afe6f45e5bef002f7a0efcc0a47460a736654c0bee5402c482fa",
        "uniqueIDs": {
          "slug": "relationship"
        }
      }
    }
  },
  "eb36f4e459500234538daaed36fcdcdf3b7f0ee8912959da5ad10053725f6b28": {
    "slug": "relationship",
    "name": "relationship",
    "title": "Relationship",
    "description": "A edge bwtween two nodes in a graph, as specified according to the DCoSL protocol."
  }
}

NOTE: the above word type (above) may not match the published version (below) due to editing subsequent to publishing.

Publication to nostr

as per DIP-1101

Retrieval from nostr

As per DIP 101 (updated for testnet-2), all versions of the above word can be found in nostr (testnet-2) using the following filter:

{
  "since": 0,
  "kinds": [9902],
  "authors": ["c51a542e4f93afe6f45e5bef002f7a0efcc0a47460a736654c0bee5402c482fa"],
  "#c": ["concept-graph-testnet-902"],
  "#w": [""],
}

or

{
  "ids": [""],
}

References