{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxLength": 3000,
            "type": "string"
          },
          "name": {
            "description": "Slug used as the sample prefix.",
            "maxLength": 40,
            "type": "string"
          },
          "samples": {
            "items": {
              "ref": "#sample",
              "type": "ref"
            },
            "maxLength": 64,
            "type": "array"
          },
          "source": {
            "description": "Where the sounds came from, and their licence.",
            "maxLength": 3000,
            "type": "string"
          },
          "studio": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "studio",
          "name",
          "samples",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "sample": {
      "properties": {
        "audio": {
          "accept": [
            "audio/*"
          ],
          "maxSize": 2000000,
          "type": "blob"
        },
        "name": {
          "maxLength": 40,
          "type": "string"
        },
        "note": {
          "maxLength": 300,
          "type": "string"
        }
      },
      "required": [
        "name",
        "audio"
      ],
      "type": "object"
    }
  },
  "description": "A sample kit: short audio files any clip can trigger as <kit>_<sample>.",
  "id": "city.opposite.slopflag.kit",
  "lexicon": 1
}
