SCALAR types in the ACMC schema represent fundamental data types that serve as the building blocks for more complex structures. These types are used to define atomic values and cannot be subdivided further. SCALAR types are essential for representing basic information such as text, numbers, dates, and boolean values.
Common SCALAR types in the ACMC schema include:
String
: For text-based data (e.g., names, descriptions)Int
: For whole number values (e.g., counts, identifiers)Float
: For decimal number values (e.g., monetary amounts)Boolean
: For true/false valuesID
: For unique identifiersDate
andDateTime
: For date and time representations
Custom SCALAR types may also be defined to handle specific data formats or validation requirements unique to the ACMC system.
SCALAR TYPES EXAMPLES
Name | Description |
---|---|
AccountNumber |
The account number of a bank account (maximum of 28 characters). |
BankCode |
The 6-digit bank code used to identify a specific bank. |
Boolean |
A true or false value. |
CountryShortCode |
Two-letter country code, typically following the ISO 3166 standard. |
CurrencyCode |
ISO 4217 three-letter currency code (e.g., USD, EUR). |
Date |
A date in the format YYYY-MM-DD. |
DateTime |
A date-time value in ISO 8601 format. |
ID |
A unique identifier, typically used for identifying entities. |
Int |
An integer value. |
String |
A UTF-8 string value. |
This overview provides a summary of key SCALAR types available in the ACMC GraphQL API, including their descriptions and basic use cases. For more comprehensive information, detailed usage examples, and the complete set of available SCALAR types, please refer to the full ACMC GraphQL schema documentation and dedicated sample pages.