id.sifa.graph.connection

sifa.id

Documentation

Record representing a professional connection request or acceptance. Lives in the author's PDS.

main record

Record representing a professional connection request or acceptance. Lives in the author's PDS.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Client-declared timestamp when this connection record was created.

origins array of ref #origin Optional

How the connection originated. Each side can independently set their own origins.

maxLength: 5 items
subject string did Required

DID of the other party in the connection.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "createdAt"
    ],
    "properties": {
      "origins": {
        "type": "array",
        "items": {
          "ref": "#origin",
          "type": "ref"
        },
        "maxLength": 5,
        "description": "How the connection originated. Each side can independently set their own origins."
      },
      "subject": {
        "type": "string",
        "format": "did",
        "description": "DID of the other party in the connection."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this connection record was created."
      }
    }
  },
  "description": "Record representing a professional connection request or acceptance. Lives in the author's PDS."
}
origin object

Describes how a connection originated — a shared project, event, or common interest.

Properties

name string Required

Human-readable label for the origin.

maxLength: 1000 bytesmaxGraphemes: 100 graphemes
type string Required

Category of the connection origin.

Known values: project, event, interest
uri string at-uri Optional

Optional AT URI referencing the origin record (e.g. a project or event record).

View raw schema
{
  "type": "object",
  "required": [
    "type",
    "name"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "format": "at-uri",
      "description": "Optional AT URI referencing the origin record (e.g. a project or event record)."
    },
    "name": {
      "type": "string",
      "maxLength": 1000,
      "description": "Human-readable label for the origin.",
      "maxGraphemes": 100
    },
    "type": {
      "type": "string",
      "description": "Category of the connection origin.",
      "knownValues": [
        "project",
        "event",
        "interest"
      ]
    }
  },
  "description": "Describes how a connection originated — a shared project, event, or common interest."
}

Lexicon Garden

@