{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Root or main admin copies one record of the other parent into this parent ('같아요' chip), as an ordinary write in this parent's name with its own provenance. Allowed for interestsAndTastesNews, interestsAndTastesTravel, interestsAndTastesFood and profileScheduleActivities; health and mobility are NotCopyable.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "NotAdmin"
        },
        {
          "name": "HomeNotFound"
        },
        {
          "name": "ParentNotLinked"
        },
        {
          "name": "NotCopyable"
        },
        {
          "name": "RecordNotFound"
        },
        {
          "name": "DelegationUnavailable"
        },
        {
          "name": "PdsUnavailable"
        },
        {
          "name": "RequestConflict"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "collection": {
              "ref": "ai.newnal.illi.mydata.defs#collection",
              "type": "ref"
            },
            "fromSlot": {
              "description": "The parent slot, 1 or 2.",
              "maximum": 2,
              "minimum": 1,
              "type": "integer"
            },
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "requestKey": {
              "description": "Idempotency key chosen by the client; a replay with the same key and input returns the first result.",
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[A-Za-z0-9._:-]+$",
              "type": "string"
            },
            "rkey": {
              "format": "record-key",
              "type": "string"
            },
            "toSlot": {
              "description": "The parent slot, 1 or 2.",
              "maximum": 2,
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "homeId",
            "fromSlot",
            "toSlot",
            "collection",
            "rkey",
            "requestKey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "record": {
              "ref": "ai.newnal.illi.mydata.defs#recordView",
              "type": "ref"
            }
          },
          "required": [
            "record"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.mydata.copyFromOtherParent",
  "lexicon": 1
}
