{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Reference to a project. Identified by a handle and enriched with optional human-friendly metadata, links and visuals.",
      "key": "tid",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/*"
            ],
            "description": "Avatar image representing the project. Less than 1MB in size.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "banner": {
            "accept": [
              "image/*"
            ],
            "description": "Banner image used as the project's cover. Less than 1MB in size.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Short description of the project.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "displayName": {
            "description": "Display name of the project as shown in user interfaces.",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "docs": {
            "description": "URL of the project's documentation.",
            "format": "uri",
            "type": "string"
          },
          "github": {
            "description": "URL of the project's GitHub repository.",
            "format": "uri",
            "type": "string"
          },
          "handle": {
            "description": "Canonical handle identifying the project (e.g. `myproject.example.com`).",
            "format": "handle",
            "type": "string"
          },
          "href": {
            "description": "Primary external URL for the project (e.g. project homepage).",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "handle",
          "displayName"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.atview.project",
  "lexicon": 1
}
