NTP-4: Interchangeable Data Standard
Authors: Danthur Lice
Date of Creation: 2025-01-15
Date of Publication: 2025-01-15
References: NTP-2
License: NCL-11
1. Scope
2. Normative Principles
3. Preconditions and Scope Constraints
4. Technical Specification
4.1 Format and Encoding
4.2 Escaping and Character Normalization
Character | Escaped |
---|---|
Newline | \n |
Tab | \t |
Quote | \" |
Backslash | \\ |
\uXXXX
escaping is allowed. No control characters below 0x20
are permitted unescaped.4.3 Key Naming and Sensitivity
camelCase
convention.userId
, userID
, and UserId
are different and must not be conflated by any parser or schema.snake_case
, PascalCase
, or kebab-case
is prohibited in all machine-readable fields.4.4 Timestamps and Epoch Representation
YYYY-MM-DDTHH:mm:ss.sssZ
"createdAt": "2025-01-01T00:00:00.000Z"
"duration": 1250000000 // nanoseconds
4.5 Numeric Format and Precision
.
(dot),
(comma), only in human-readable outputs such as logs or reports.1234567.89
"1.23e6"
, "1.234.567,89"
4.6 Boolean and Null Semantics
true
, false
, null
"yes"
, "no"
, "undefined"
, "None"
, 0
, 1
(as booleans)4.7 Whitespace, Indentation, and Formatting
4.8 Base64 for Binary Embedding
"signature": "MEUCIQD+FqTZ/…" // Base64-encoded, not raw binary
4.9 Unknown Fields and Forward Compatibility
5. Implementation Requirements
6. Conclusion
Modified at 2025-05-29 16:14:15