com.opendatingprotocol.listing

A dating wish belonging to the author's profile. Keep it in a permissioned Space, never a public repository.

Details · record, key tid
Kindrecord
Record keytid
Authorityopendatingprotocol.com
Commit rev3n2jyw65uzc2p
Indexed

Showing version bafyreifvsczoorbsudbkfm67tsr5na4slosrz2zvdiay2pnfqh6df3kez4. Show the latest

cid bafyreifvsczoorbsudbkfm67tsr5na4slosrz2zvdiay2pnfqh6df3kez4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A dating wish belonging to the author's profile. Keep it in a permissioned Space, never a public repository.",
      "key": "tid",
      "record": {
        "properties": {
          "boundaries": {
            "items": {
              "ref": "com.opendatingprotocol.defs#term",
              "type": "ref"
            },
            "type": "array"
          },
          "city": {
            "description": "Optional city shared only with permitted readers.",
            "maxLength": 160,
            "type": "string"
          },
          "coupleMix": {
            "items": {
              "ref": "com.opendatingprotocol.defs#term",
              "type": "ref"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "createdBy": {
            "description": "Optional client origin that created this listing, for example https://cherishly.love. Other clients must preserve it when editing.",
            "format": "uri",
            "type": "string"
          },
          "example": {
            "description": "True only for a fictional demonstration listing that cannot receive real interactions.",
            "type": "boolean"
          },
          "game": {
            "maxLength": 160,
            "type": "string"
          },
          "headline": {
            "maxLength": 160,
            "minLength": 1,
            "type": "string"
          },
          "meet": {
            "items": {
              "ref": "com.opendatingprotocol.defs#term",
              "type": "ref"
            },
            "type": "array"
          },
          "note": {
            "maxLength": 800,
            "type": "string"
          },
          "openTo": {
            "items": {
              "ref": "com.opendatingprotocol.defs#term",
              "type": "ref"
            },
            "type": "array"
          },
          "otherVr": {
            "maxLength": 160,
            "type": "string"
          },
          "profile": {
            "description": "Space record URI for the author's com.opendatingprotocol.profile/self record. Clients must verify its exact Space, author, collection and key.",
            "maxLength": 512,
            "type": "string"
          },
          "radiusKm": {
            "maximum": 500,
            "minimum": 1,
            "type": "integer"
          },
          "status": {
            "knownValues": [
              "on",
              "off"
            ],
            "maxLength": 40,
            "minLength": 1,
            "type": "string"
          },
          "timing": {
            "ref": "#timing",
            "type": "ref"
          },
          "where": {
            "items": {
              "ref": "com.opendatingprotocol.defs#term",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "profile"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "timing": {
      "description": "Open until hidden, available now until a time, or available during a window. Unknown kinds are allowed for future clients.",
      "properties": {
        "from": {
          "format": "datetime",
          "type": "string"
        },
        "kind": {
          "knownValues": [
            "open",
            "now",
            "window"
          ],
          "maxLength": 40,
          "minLength": 1,
          "type": "string"
        },
        "to": {
          "format": "datetime",
          "type": "string"
        },
        "until": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    }
  },
  "description": "Draft portable dating listing. One account may write several listings for its profile.",
  "id": "com.opendatingprotocol.listing",
  "lexicon": 1
}