RegistryDashboard

Languages

Definition language schemas. Access the four core languages (ADL, CDL, WDL, PDL) and their current JSON Schema documents.

2 methods

client.languages.list()

List all definition languages with current version info.

languagesrequiredLanguage[]

Array of language metadata.

totalrequirednumber

Total number of languages.

list(): Promise<LanguagesListResponse>
typescript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

const result = await client.languages.list();

console.log(result.languages);
Response Type
// Promise<LanguagesListResponse>
{
  languages: Language[];
  total: number;
}

client.languages.get()

Get a definition language with its current JSON Schema. The schema.content field contains the full JSON Schema document.

idrequiredstring

Language identifier.

adlcdlwdlpdl
idrequiredstring

Language identifier.

displayNamerequiredstring

Human-readable name.

abbreviationrequiredstring

Short abbreviation (ADL, CDL, etc.).

currentVersionrequiredstring

Current schema version.

schema.versionrequiredstring

Schema version.

schema.titlerequiredstring

Schema title.

schema.schemaUrlrequiredstring

Schema $id URL.

schema.contentrequiredobject

Full JSON Schema document.

get(id: string): Promise<LanguageWithSchema>
typescript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

const result = await client.languages.get('adl');

console.log(result.id);
Response Type
// Promise<LanguageWithSchema>
{
  id: string;
  displayName: string;
  abbreviation: string;
  currentVersion: string;
  schema.version: string;
  schema.title: string;
  schema.schemaUrl: string;
  schema.content: object;
}