{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An organisation the repo owner is or was a member of.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this record was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Free-text description of the membership.",
            "maxLength": 40000,
            "type": "string"
          },
          "endDate": {
            "description": "Date the membership ended. Omitted if current.",
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "Name of the organisation.",
            "maxLength": 2000,
            "type": "string"
          },
          "position": {
            "description": "The repo owner's position in the organisation.",
            "maxLength": 2000,
            "type": "string"
          },
          "startDate": {
            "description": "Date the membership started.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "work.nectvia.career.organization",
  "lexicon": 1
}
