{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "literal:self",
      "record": {
        "properties": {
          "appIds": {
            "description": "Opted-in profile application registry IDs. The reader must prove the matching app identity.",
            "items": {
              "maxLength": 41,
              "minLength": 2,
              "type": "string"
            },
            "maxLength": 128,
            "type": "array"
          },
          "show": {
            "description": "Whether the owner asks to see eligible choices shared by a match.",
            "type": "boolean"
          },
          "tagLabels": {
            "description": "Human-readable terms with exactly one label per tag, in the same order.",
            "items": {
              "ref": "#tagLabel",
              "type": "ref"
            },
            "maxLength": 128,
            "type": "array"
          },
          "tags": {
            "items": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            "maxLength": 128,
            "type": "array"
          },
          "visibility": {
            "description": "Nobody is owner-only. Connected apps may read only matches-mode tags for a verified match.",
            "enum": [
              "nobody",
              "matches",
              "reciprocal"
            ],
            "type": "string"
          }
        },
        "required": [
          "tags",
          "tagLabels",
          "show",
          "visibility",
          "appIds"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "tagLabel": {
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "label": {
          "maxLength": 120,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "id",
        "label"
      ],
      "type": "object"
    }
  },
  "description": "One individual's intimate choices and audience. Write only to that person's own private intimate Space.",
  "id": "com.opendatingprotocol.intimateProfile",
  "lexicon": 1
}
