{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-feature-library-schema.json",
  "title": "FeatureLibrary",
  "description": "A feature library",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-feature-libraries-api-openapi.yml#/components/schemas/FeatureLibrary",
  "allOf": [
    {
      "$ref": "#/$defs/FeatureLibraryBase"
    },
    {
      "properties": {
        "createdAt": {
          "description": "DateTime the Feature Library was created",
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "description": "The id of the feature library",
          "type": "string"
        },
        "modifiedAt": {
          "description": "DateTime the Feature Library was last modified",
          "format": "date-time",
          "type": "string"
        },
        "owner": {
          "anyOf": [
            {
              "$ref": "#/$defs/Organization"
            },
            {
              "$ref": "#/$defs/UserSummary"
            }
          ]
        },
        "webURL": {
          "description": "The Benchling web UI url to view the Feature Library",
          "format": "uri",
          "type": "string"
        }
      }
    }
  ],
  "type": "object",
  "$defs": {
    "FeatureLibraryBase": {
      "properties": {
        "description": {
          "description": "The description for the feature library",
          "type": "string"
        },
        "name": {
          "description": "The name of the feature library",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Organization": {
      "properties": {
        "handle": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "PartySummary": {
      "properties": {
        "handle": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "UserSummary": {
      "allOf": [
        {
          "$ref": "#/$defs/PartySummary"
        },
        {}
      ]
    }
  }
}