{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/callidus-legal-ai/json-schema/callidus-legal-ai-deposition-response-schema.json",
  "title": "DepositionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/callidus-legal-ai-depositions-api-openapi.yml#/components/schemas/DepositionResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "matter_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Matter Id"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "data": {
      "anyOf": [
        {
          "$ref": "#/$defs/DepositionData"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created By"
    },
    "shared_with": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Shared With"
    },
    "capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Capabilities"
    },
    "party_role": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Party Role"
    },
    "key_parties": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/KeyParty"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Key Parties"
    },
    "short_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Short Description"
    },
    "background_information": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Background Information"
    },
    "cause_of_action_defense": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cause Of Action Defense"
    }
  },
  "type": "object",
  "required": [
    "id",
    "title",
    "matter_id",
    "created_at",
    "updated_at",
    "data"
  ],
  "$defs": {
    "DepositionData": {
      "properties": {
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "short_description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Short Description"
        },
        "background_information": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Background Information"
        },
        "cause_of_action_defense": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cause Of Action Defense"
        },
        "party_role": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Party Role"
        },
        "key_parties": {
          "items": {
            "$ref": "#/$defs/KeyParty"
          },
          "type": "array",
          "title": "Key Parties"
        }
      },
      "type": "object",
      "title": "DepositionData"
    },
    "KeyParty": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "type": "string",
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "name",
        "description"
      ],
      "title": "KeyParty"
    }
  }
}