{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thomson-reuters/json-schema/thomson-reuters-firm-profile-schema.json",
  "title": "FirmProfile",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-firms-api-openapi.yml#/components/schemas/FirmProfile",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "globallyActive": {
      "type": "boolean"
    },
    "active": {
      "$ref": "#/$defs/FirmActiveStatus"
    },
    "status": {
      "$ref": "#/$defs/FirmInfoStatus"
    },
    "fullFirmName": {
      "type": [
        "string",
        "null"
      ]
    },
    "customFirmName": {
      "type": [
        "string",
        "null"
      ]
    },
    "serviceProviderType": {
      "$ref": "#/$defs/ServiceProviderType"
    },
    "firmHistory": {
      "type": [
        "string",
        "null"
      ]
    },
    "website": {
      "type": [
        "string",
        "null"
      ]
    },
    "mainOffice": {
      "$ref": "#/$defs/FirmOfficeSummary"
    },
    "previousOrgNames": {
      "type": [
        "string",
        "null"
      ]
    },
    "numberOfEmployees": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "leadSystemAdmin": {
      "$ref": "#/$defs/Contact"
    },
    "backupSystemAdmin": {
      "$ref": "#/$defs/Contact"
    },
    "primaryBillingContact": {
      "$ref": "#/$defs/Contact"
    },
    "backupBillingContact": {
      "$ref": "#/$defs/Contact"
    },
    "firmClassification": {
      "type": [
        "string",
        "null"
      ]
    },
    "matterBudgetRequirement": {
      "$ref": "#/$defs/MatterBudgetReqt"
    },
    "accrualAndUnbilledAmountsRequirement": {
      "$ref": "#/$defs/AccrualsReqt"
    },
    "evaluationRequirement": {
      "$ref": "#/$defs/EvaluationReqt"
    },
    "invoiceCurrenciesAllowed": {
      "$ref": "#/$defs/InvoiceCurrenciesAllowed"
    },
    "invoiceCurrencies": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "invoiceFormatsAllowed": {
      "$ref": "#/$defs/InvoiceFormatsAllowed"
    },
    "ledesFormatsAllowed": {
      "$ref": "#/$defs/LedesFormatsAllowed"
    },
    "invoiceTaxTypeAllowed": {
      "$ref": "#/$defs/InvoiceTaxTypeAllowed"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "firmCustomFields": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/FirmCustomField"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AccrualsReqt": {
      "enum": [
        "Null",
        "Optional",
        "Never"
      ],
      "type": "string"
    },
    "Contact": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "CustomFieldType": {
      "enum": [
        "Text",
        "File"
      ],
      "type": "string"
    },
    "EFile": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "fileName": {
          "type": [
            "string",
            "null"
          ]
        },
        "fileSize": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    },
    "EvaluationReqt": {
      "enum": [
        "Null",
        "Optional",
        "Never"
      ],
      "type": "string"
    },
    "FirmActiveStatus": {
      "enum": [
        "Active",
        "Restricted",
        "Inactive"
      ],
      "type": "string"
    },
    "FirmCustomField": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "$ref": "#/$defs/CustomFieldType"
        },
        "isEditable": {
          "type": "boolean"
        },
        "textValue": {
          "type": [
            "string",
            "null"
          ]
        },
        "fileValue": {
          "$ref": "#/$defs/EFile"
        }
      },
      "additionalProperties": false
    },
    "FirmInfoStatus": {
      "enum": [
        "Live",
        "Memo"
      ],
      "type": "string"
    },
    "FirmOfficeSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "InvoiceCurrenciesAllowed": {
      "enum": [
        "CompanyDefault",
        "AllCurrenciesAllowed",
        "SpecifiedCurrencies",
        "FirmDefault"
      ],
      "type": "string"
    },
    "InvoiceFormatsAllowed": {
      "enum": [
        "CompanyDefault",
        "AllFormatsAllowed",
        "LedesOnly",
        "FirmDefault"
      ],
      "type": "string"
    },
    "InvoiceTaxTypeAllowed": {
      "enum": [
        "CompanyDefault",
        "FirmDefault",
        "AllTaxTypesAllowed",
        "NonStandardTaxTypesProhibited",
        "NonStandardTaxTypesWithOtherProhibited"
      ],
      "type": "string"
    },
    "LedesFormatsAllowed": {
      "enum": [
        "CompanyDefault",
        "FirmDefault",
        "LedesAll",
        "Ledes98B",
        "Ledes98BI",
        "LedesXML"
      ],
      "type": "string"
    },
    "MatterBudgetReqt": {
      "enum": [
        "Null",
        "Optional",
        "Never"
      ],
      "type": "string"
    },
    "ServiceProviderType": {
      "enum": [
        "AccidentReconstruction",
        "Accountant",
        "Arbitrator",
        "Architect",
        "ComputerForensics",
        "Consultant",
        "CopyServices",
        "CourtReporter",
        "Doctor",
        "Economist",
        "ElectronicDataDiscovery",
        "Engineer",
        "EnvironmentalTesting",
        "ForensicAnimation",
        "ForensicGraphics",
        "IndependentAdjuster",
        "InsuranceCompany",
        "Laboratory",
        "LawFirm",
        "LegalServices",
        "LitigationSupport",
        "Lobbyist",
        "Logistics",
        "OccupationalTherapist",
        "Other",
        "PatentFilingService",
        "Photocopying",
        "Photographer",
        "PhysicalTherapist",
        "PrivateInvestigator",
        "ProcessService",
        "Psychologist",
        "Research",
        "TechnologyConsultant",
        "TemporaryStaffingService",
        "TrademarkService",
        "TransferAgent",
        "TranslationService",
        "TrialConsultant",
        "VideoDepositionService",
        "VideoServices",
        "Videographer",
        "WitnessExpert"
      ],
      "type": "string"
    }
  }
}