At

 view release on metacpan or  search on metacpan

share/lexicons/com/atproto/sync/subscribeRepos.json  view on Meta::CPAN

        "seq": {
          "type": "integer",
          "description": "The stream sequence number of this message."
        },
        "did": {
          "type": "string",
          "format": "did",
          "description": "The account this repo event corresponds to. Must match that in the commit object."
        },
        "blocks": {
          "type": "bytes",
          "description": "CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.",
          "maxLength": 10000
        },
        "rev": {
          "type": "string",
          "description": "The rev of the commit. This value must match that in the commit object."
        },
        "time": {
          "type": "string",
          "format": "datetime",
          "description": "Timestamp of when this message was originally broadcast."
        }
      }
    },
    "identity": {
      "type": "object",
      "description": "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
      "required": ["seq", "did", "time"],
      "properties": {
        "seq": { "type": "integer" },
        "did": { "type": "string", "format": "did" },
        "time": { "type": "string", "format": "datetime" },
        "handle": {
          "type": "string",
          "format": "handle",
          "description": "The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in...
        }
      }
    },
    "account": {
      "type": "object",
      "description": "Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay taked...
      "required": ["seq", "did", "time", "active"],
      "properties": {
        "seq": { "type": "integer" },
        "did": { "type": "string", "format": "did" },
        "time": { "type": "string", "format": "datetime" },
        "active": {
          "type": "boolean",
          "description": "Indicates that the account has a repository which can be fetched from the host that emitted this event."
        },
        "status": {
          "type": "string",
          "description": "If active=false, this optional field indicates a reason for why the account is not active.",
          "knownValues": [
            "takendown",
            "suspended",
            "deleted",
            "deactivated",
            "desynchronized",
            "throttled"
          ]
        }
      }
    },
    "info": {
      "type": "object",
      "required": ["name"],
      "properties": {
        "name": {
          "type": "string",
          "knownValues": ["OutdatedCursor"]
        },
        "message": {
          "type": "string"
        }
      }
    },
    "repoOp": {
      "type": "object",
      "description": "A repo operation, ie a mutation of a single record.",
      "required": ["action", "path", "cid"],
      "nullable": ["cid"],
      "properties": {
        "action": {
          "type": "string",
          "knownValues": ["create", "update", "delete"]
        },
        "path": { "type": "string" },
        "cid": {
          "type": "cid-link",
          "description": "For creates and updates, the new record CID. For deletions, null."
        },
        "prev": {
          "type": "cid-link",
          "description": "For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined."
        }
      }
    }
  }
}



( run in 0.752 second using v1.01-cache-2.11-cpan-39bf76dae61 )