Expand description
Domain types for the OSINT case graph.
These types represent the target data model per ADR-014. They are pure value objects with no infrastructure dependencies.
Structs§
- Amount
Entry - A single financial amount entry with currency, optional label, and approximation flag.
- Jurisdiction
- Geographic jurisdiction: ISO 3166-1 country code with optional subdivision.
- Money
- Monetary amount with currency and human-readable display.
- Source
- A source of information (news article, official document, etc.).
Enums§
- Asset
Status - Status of an asset.
- Asset
Type - Type of asset.
- Case
Status - Status of a case.
- Case
Type - Type of case.
- DocType
- Type of document.
- Entity
Label - Graph node label — determines which fields are valid on an entity.
- Event
Type - Type of event.
- OrgStatus
- Status of an organization.
- OrgType
- Type of organization.
- Person
Status - Status of a person.
- Role
- Role a person holds (multiple allowed per person).
- Severity
- Event severity.
Constants§
- AMOUNT_
LABEL_ KNOWN - Known amount label values (matches Elixir
EnumField:amount_label). - MAX_
AMOUNT_ ENTRIES - Maximum number of amount entries per field.
- MAX_
COUNTRY_ LEN - Maximum length of the
countryfield (ISO 3166-1 alpha-2 = 2 chars). - MAX_
CURRENCY_ LEN - Maximum length of the
currencyfield (ISO 4217 = 3 chars). - MAX_
MONEY_ DISPLAY_ LEN - Maximum length of the
displayfield. - MAX_
SOURCE_ DOMAIN_ LEN - Maximum length of a source domain.
- MAX_
SOURCE_ LANGUAGE_ LEN - Maximum length of a source language code (ISO 639-1 = 2 chars).
- MAX_
SOURCE_ TITLE_ LEN - Maximum length of a source title.
- MAX_
SOURCE_ URL_ LEN - Maximum length of a source URL.
- MAX_
SUBDIVISION_ LEN - Maximum length of the
subdivisionfield.
Functions§
- parse_
custom - Parse a
custom:Valuestring. ReturnsSome(value)if the prefix is present and the value is within length limits,Noneotherwise.