# network.coopsource.relationship.acceptance

> The party's acceptance of the organisation's invitation, in the party's own repository in the space.

- Kind: record
- Record key: literal:self
- Authority: relationship.coopsource.network
- Lexicon: 1
- Published by [coopsource.org](https://lexicon.garden/identity/did:plc:nesm5xe6eyaq4vdlxrcyb2qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:nesm5xe6eyaq4vdlxrcyb2qc/network.coopsource.relationship.acceptance)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:nesm5xe6eyaq4vdlxrcyb2qc/network.coopsource.relationship.acceptance/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:nesm5xe6eyaq4vdlxrcyb2qc/network.coopsource.relationship.acceptance/analytics)

## Record (`network.coopsource.relationship.acceptance`)

Type: record · key literal:self

### Properties

- `assertedAt` (string · datetime, required)
- `compatibleFrom` (integer, required): The earliest version whose reader acts on this record correctly; never above version. A reader of an earlier version refuses the record. A writer that only adds optional fields or values keeps it; one that changes a meaning raises it.
  - Constraints: minimum: 1
- `invitation` (string, required): The invitation this answers.
  - Constraints: minLength: 36, maxLength: 36
- `kind` (string, required): The kind of relationship. A reader refuses a kind it does not know or does not serve.
  - Constraints: minLength: 1, maxLength: 192, maxGraphemes: 64, knownValues: membership | participation | partnership
- `org` (string · did, required): The organisation that holds the space.
- `party` (string · did, required): The party the relationship is with.
- `sequence` (integer, required): Raised by every write of the record, a renewal included.
  - Constraints: minimum: 1
- `state` (string, required): Whether the party accepts, or has withdrawn.
  - Constraints: minLength: 1, maxLength: 192, maxGraphemes: 64, knownValues: submitted | withdrawn
- `submittedBy` (string · did, required): The person who accepted for the party.
- `version` (integer, required): The version of these definitions the writer used.
  - Constraints: minimum: 1

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The party's acceptance of the organisation's invitation, in the party's own repository in the space.",
      "key": "literal:self",
      "record": {
        "properties": {
          "assertedAt": {
            "format": "datetime",
            "type": "string"
          },
          "compatibleFrom": {
            "description": "The earliest version whose reader acts on this record correctly; never above version. A reader of an earlier version refuses the record. A writer that only adds optional fields or values keeps it; one that changes a meaning raises it.",
            "minimum": 1,
            "type": "integer"
          },
          "invitation": {
            "description": "The invitation this answers.",
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          },
          "kind": {
            "description": "The kind of relationship. A reader refuses a kind it does not know or does not serve.",
            "knownValues": [
              "membership",
              "participation",
              "partnership"
            ],
            "maxGraphemes": 64,
            "maxLength": 192,
            "minLength": 1,
            "type": "string"
          },
          "org": {
            "description": "The organisation that holds the space.",
            "format": "did",
            "type": "string"
          },
          "party": {
            "description": "The party the relationship is with.",
            "format": "did",
            "type": "string"
          },
          "sequence": {
            "description": "Raised by every write of the record, a renewal included.",
            "minimum": 1,
            "type": "integer"
          },
          "state": {
            "description": "Whether the party accepts, or has withdrawn.",
            "knownValues": [
              "submitted",
              "withdrawn"
            ],
            "maxGraphemes": 64,
            "maxLength": 192,
            "minLength": 1,
            "type": "string"
          },
          "submittedBy": {
            "description": "The person who accepted for the party.",
            "format": "did",
            "type": "string"
          },
          "version": {
            "description": "The version of these definitions the writer used.",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "kind",
          "version",
          "compatibleFrom",
          "org",
          "party",
          "invitation",
          "submittedBy",
          "sequence",
          "assertedAt",
          "state"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "network.coopsource.relationship.acceptance",
  "lexicon": 1
}
```
