{
  "$schema": "https://get.aiware.com/schemas/v2/aion/schema.json",
  "$id": "https://get.aiware.com/schemas/v2/aion/examples/cc-mediatranslated.json",
  "$comment": "Translations of full media files. When media is translated, the translation may be attached to TDOs (temporal data objects) as asset documents. The engine stores references to these translation assets in a 'media' list, which identifies the language of each document. In this example, literal translations are also stored as optional 'text' objects, which makes this document also fulfill the Text Capability Contract.",
  "validationContracts": [
    "media-translated",
    "text"
  ],
  "media": [
    {
      "language": "en",
      "assetId": "3190799828_SHBrXAuFGv"
    },
    {
      "language": "fr",
      "assetId": "3190799828_0lYoNodINr"
    }
  ],
  "object": [
    {
      "type": "text",
      "text": "Once upon a time, there was a small village in the mountains.",
      "language": "en",
      "sentence": 1
    },
    {
      "type": "text",
      "text": "Il était une fois un petit village dans les montagnes.",
      "language": "fr",
      "sentence": 1
    }
  ]
}
