app.thesocialwire.readStateDefs

samclemente.me

Documentation

boundary object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

maxLength: 2048 bytes
entryId string Optional

No description available.

maxLength: 2048 bytes
scope ref #scope Required

No description available.

View raw schema
{
  "properties": {
    "createdAt": {
      "format": "datetime",
      "maxLength": 2048,
      "type": "string"
    },
    "entryId": {
      "maxLength": 2048,
      "type": "string"
    },
    "scope": {
      "ref": "#scope",
      "type": "ref"
    }
  },
  "required": [
    "scope",
    "createdAt"
  ],
  "type": "object"
}
calendar object

Exact age selection audit metadata. Reference date is YYYY-MM-DD in the IANA timezone; cutoff is resolved UTC. Matching uses exact subject IDs, not recomputed calendar dates.

Properties

cutoff string datetime Required

An RFC 3339 formatted timestamp.

referenceDate string Required

No description available.

maxLength: 10 bytes
timeZone string Required

No description available.

maxLength: 128 bytes
View raw schema
{
  "description": "Exact age selection audit metadata. Reference date is YYYY-MM-DD in the IANA timezone; cutoff is resolved UTC. Matching uses exact subject IDs, not recomputed calendar dates.",
  "properties": {
    "cutoff": {
      "format": "datetime",
      "type": "string"
    },
    "referenceDate": {
      "maxLength": 10,
      "type": "string"
    },
    "timeZone": {
      "maxLength": 128,
      "type": "string"
    }
  },
  "required": [
    "cutoff",
    "timeZone",
    "referenceDate"
  ],
  "type": "object"
}
fragment object

Surviving semantic fragment with its original whole-intent digest. Device identity/counter must appear together; otherwise a matching finite legacy receipt is required.

Properties

actedAt string datetime Required

An RFC 3339 formatted timestamp.

maxLength: 2048 bytes
actionId string Required

No description available.

maxLength: 128 bytes
boundaries array of ref#boundary Optional

No description available.

maxLength: 128 items
calendar ref #calendar Optional

No description available.

deviceCounter integer Optional

No description available.

minimum: 1maximum: 9007199254740991
deviceId string Optional

No description available.

maxLength: 128 bytesminLength: 1 bytes
fragment boolean Required

No description available.

intentHash string Required

No description available.

maxLength: 64 bytesminLength: 64 bytes
selection string Required

No description available.

maxLength: 10 bytes
sequence integer Required

No description available.

minimum: 1maximum: 9007199254740991
state string Required

No description available.

maxLength: 6 bytes
subjectUris array of string Optional

No description available.

maxLength: 256 items
View raw schema
{
  "description": "Surviving semantic fragment with its original whole-intent digest. Device identity/counter must appear together; otherwise a matching finite legacy receipt is required.",
  "properties": {
    "actedAt": {
      "format": "datetime",
      "maxLength": 2048,
      "type": "string"
    },
    "actionId": {
      "maxLength": 128,
      "type": "string"
    },
    "boundaries": {
      "items": {
        "ref": "#boundary",
        "type": "ref"
      },
      "maxLength": 128,
      "type": "array"
    },
    "calendar": {
      "ref": "#calendar",
      "type": "ref"
    },
    "deviceCounter": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    },
    "deviceId": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "fragment": {
      "const": true,
      "type": "boolean"
    },
    "intentHash": {
      "maxLength": 64,
      "minLength": 64,
      "type": "string"
    },
    "selection": {
      "enum": [
        "boundaries",
        "exact"
      ],
      "maxLength": 10,
      "type": "string"
    },
    "sequence": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    },
    "state": {
      "enum": [
        "read",
        "unread"
      ],
      "maxLength": 6,
      "type": "string"
    },
    "subjectUris": {
      "items": {
        "maxLength": 2048,
        "type": "string"
      },
      "maxLength": 256,
      "type": "array"
    }
  },
  "required": [
    "actionId",
    "sequence",
    "state",
    "actedAt",
    "selection",
    "fragment",
    "intentHash"
  ],
  "type": "object"
}
operation object

Public read-history operation. Exactly one nonempty boundaries or subjectUris array must match selection. Sequence is allocated using manifest CAS, never device time. Splits of one action share sequence, actionId, state and actedAt.

Properties

actedAt string datetime Required

An RFC 3339 formatted timestamp.

maxLength: 2048 bytes
actionId string Required

No description available.

maxLength: 128 bytes
boundaries array of ref#boundary Optional

No description available.

maxLength: 128 items
calendar ref #calendar Optional

No description available.

selection string Required

No description available.

maxLength: 10 bytes
sequence integer Required

No description available.

minimum: 1maximum: 9007199254740991
state string Required

No description available.

maxLength: 6 bytes
subjectUris array of string Optional

No description available.

maxLength: 256 items
View raw schema
{
  "description": "Public read-history operation. Exactly one nonempty boundaries or subjectUris array must match selection. Sequence is allocated using manifest CAS, never device time. Splits of one action share sequence, actionId, state and actedAt.",
  "properties": {
    "actedAt": {
      "format": "datetime",
      "maxLength": 2048,
      "type": "string"
    },
    "actionId": {
      "maxLength": 128,
      "type": "string"
    },
    "boundaries": {
      "items": {
        "ref": "#boundary",
        "type": "ref"
      },
      "maxLength": 128,
      "type": "array"
    },
    "calendar": {
      "ref": "#calendar",
      "type": "ref"
    },
    "selection": {
      "enum": [
        "boundaries",
        "exact"
      ],
      "maxLength": 10,
      "type": "string"
    },
    "sequence": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    },
    "state": {
      "enum": [
        "read",
        "unread"
      ],
      "maxLength": 6,
      "type": "string"
    },
    "subjectUris": {
      "items": {
        "maxLength": 2048,
        "type": "string"
      },
      "maxLength": 256,
      "type": "array"
    }
  },
  "required": [
    "actionId",
    "sequence",
    "state",
    "actedAt",
    "selection"
  ],
  "type": "object"
}
receipt object

A devices chunk requires deviceId, committedCounter and prefixHash only. A legacyReceipts chunk requires actionId, originalSequence and originalIntentHash only. Version-aware clients and projectors enforce the complete disjoint shape. Receipts never execute read actions.

Properties

actionId string Optional

No description available.

maxLength: 128 bytesminLength: 1 bytes
committedCounter integer Optional

No description available.

minimum: 0maximum: 9007199254740991
deviceId string Optional

No description available.

maxLength: 128 bytesminLength: 1 bytes
originalIntentHash string Optional

No description available.

maxLength: 64 bytesminLength: 64 bytes
originalSequence integer Optional

No description available.

minimum: 1maximum: 9007199254740991
prefixHash string Optional

No description available.

maxLength: 64 bytesminLength: 64 bytes
View raw schema
{
  "description": "A devices chunk requires deviceId, committedCounter and prefixHash only. A legacyReceipts chunk requires actionId, originalSequence and originalIntentHash only. Version-aware clients and projectors enforce the complete disjoint shape. Receipts never execute read actions.",
  "properties": {
    "actionId": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "committedCounter": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "deviceId": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "originalIntentHash": {
      "maxLength": 64,
      "minLength": 64,
      "type": "string"
    },
    "originalSequence": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    },
    "prefixHash": {
      "maxLength": 64,
      "minLength": 64,
      "type": "string"
    }
  },
  "type": "object"
}
scope object

No description available.

Properties

authorDid string did Required

A decentralized identifier (DID).

maxLength: 2048 bytes
publicationId string Required

No description available.

maxLength: 2048 bytes
publicationSiteKeys array of string Required

No description available.

maxLength: 128 items
View raw schema
{
  "properties": {
    "authorDid": {
      "format": "did",
      "maxLength": 2048,
      "type": "string"
    },
    "publicationId": {
      "maxLength": 2048,
      "type": "string"
    },
    "publicationSiteKeys": {
      "items": {
        "maxLength": 2048,
        "type": "string"
      },
      "maxLength": 128,
      "type": "array"
    }
  },
  "required": [
    "publicationId",
    "authorDid",
    "publicationSiteKeys"
  ],
  "type": "object"
}

Lexicon Garden

@