API Reference > ecschema-editing > Diagnostic > IDiagnostic > code code code: string The unique string identifier of the diagnostic in the format ':. Value is static across all instances. Defined in ecschema-editing/src/Validation/Diagnostic.ts Line 53 Last Updated: 20 June, 2023