{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "event": {
      "description": "One occasion on which the talk was given.",
      "properties": {
        "date": {
          "description": "Date of the event.",
          "format": "datetime",
          "type": "string"
        },
        "eventName": {
          "description": "Name of the event.",
          "maxLength": 2000,
          "type": "string"
        },
        "location": {
          "description": "Location of the event.",
          "maxLength": 2000,
          "type": "string"
        },
        "mode": {
          "description": "How the event was attended.",
          "knownValues": [
            "inperson",
            "virtual",
            "hybrid"
          ],
          "maxLength": 2000,
          "type": "string"
        },
        "role": {
          "description": "The repo owner's role at the event.",
          "knownValues": [
            "presenter",
            "panelist",
            "keynote",
            "workshop",
            "host"
          ],
          "maxLength": 2000,
          "type": "string"
        }
      },
      "required": [
        "eventName"
      ],
      "type": "object"
    },
    "link": {
      "description": "One link of a talk.",
      "properties": {
        "label": {
          "description": "Short label for the link.",
          "maxLength": 2000,
          "type": "string"
        },
        "url": {
          "description": "Web address of the link.",
          "format": "uri",
          "maxLength": 2000,
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "main": {
      "description": "A talk or presentation the repo owner has given, with the events at which it was given.",
      "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 talk.",
            "maxLength": 40000,
            "type": "string"
          },
          "events": {
            "description": "The occasions on which the talk was given.",
            "items": {
              "ref": "#event",
              "type": "ref"
            },
            "maxLength": 200,
            "type": "array"
          },
          "links": {
            "description": "Links for the talk, such as slides or a recording.",
            "items": {
              "ref": "#link",
              "type": "ref"
            },
            "maxLength": 20,
            "type": "array"
          },
          "title": {
            "description": "Title of the talk.",
            "maxLength": 2000,
            "type": "string"
          }
        },
        "required": [
          "title",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "work.nectvia.career.talk",
  "lexicon": 1
}
