at.locale.translation

locale.at

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

key string Required

Stable source key/id from the source file.

maxLength: 4096 bytesminLength: 1 bytes
locale string Required

BCP-47 target locale.

maxLength: 35 bytesminLength: 2 bytes
message string Optional

Optional note from the translator.

maxLength: 2000 bytesmaxGraphemes: 1000 graphemes
parentRevision string at-uri Optional

Previous revision by this author (the history chain).

project string at-uri Required

AT-URI of the at.locale.project this targets.

sourceHash string Required

Hash of the source string this was translated against; lets the appview flag staleness.

maxLength: 128 bytesminLength: 1 bytes
value string Optional

Inline translation (ICU-aware). For small values; capped well under the record-size ceiling. Empty when valueBlob is set.

maxLength: 10240 bytes
valueBlob blob Optional

Blob ref for large values, used instead of value.

maxSize: 1.0 MB
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "project",
      "locale",
      "key",
      "sourceHash",
      "createdAt"
    ],
    "properties": {
      "key": {
        "type": "string",
        "maxLength": 4096,
        "minLength": 1,
        "description": "Stable source key/id from the source file."
      },
      "value": {
        "type": "string",
        "maxLength": 10240,
        "description": "Inline translation (ICU-aware). For small values; capped well under the record-size ceiling. Empty when valueBlob is set."
      },
      "locale": {
        "type": "string",
        "maxLength": 35,
        "minLength": 2,
        "description": "BCP-47 target locale."
      },
      "message": {
        "type": "string",
        "maxLength": 2000,
        "description": "Optional note from the translator.",
        "maxGraphemes": 1000
      },
      "project": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the at.locale.project this targets."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "valueBlob": {
        "type": "blob",
        "accept": [
          "text/*",
          "application/json",
          "application/octet-stream"
        ],
        "maxSize": 1000000,
        "description": "Blob ref for large values, used instead of value."
      },
      "sourceHash": {
        "type": "string",
        "maxLength": 128,
        "minLength": 1,
        "description": "Hash of the source string this was translated against; lets the appview flag staleness."
      },
      "parentRevision": {
        "type": "string",
        "format": "at-uri",
        "description": "Previous revision by this author (the history chain)."
      }
    }
  }
}

Lexicon Garden

@