code: def test_url_data_format():
      data = """
      {
        "rasa_nlu_data": {
          "entity_synonyms": [
            {
              "value": "nyc",
              "synonyms": ["New York City", "nyc", "the big apple"]
            }
          ],
          "common_examples" : [
            {
              "text": "show me flights to New York City",
              "intent": "unk",
              "entities": [
                {
                  "entity": "destination",
                  "start": 19,
                  "end": 32,
                  "value": "NYC"
                }
              ]
            }
          ]
        }
      }"""
      fname = io_utils.create_temporary_file(
          data.encode(rasa.shared.utils.io.DEFAULT_ENCODING),
          suffix="_tmp_training_data.json",
          mode="w+b",
      )
      data = rasa.shared.utils.io.read_json_file(fname)
      assert data is not None
      validation_utils.validate_training_data(
          data, schema.rasa_nlu_data_schema()
      )
  
imports: from typing import Text
  from threading import Thread
  import pytest
  from pep440_version_utils import Version
  from rasa.shared.exceptions import YamlException, SchemaValidationError
  import rasa.shared.utils.io
  import rasa.shared.utils.validation
  import rasa.utils.io
  import rasa.shared.nlu.training_data.schemas.data_schema
  from rasa.shared.constants import CONFIG_SCHEMA_FILE, DOMAIN_SCHEMA_FILE, LATEST_TRAINING_DATA_FORMAT_VERSION
  from rasa.shared.nlu.training_data.formats.rasa_yaml import NLU_SCHEMA_FILE
  from rasa.shared.utils.validation import KEY_TRAINING_DATA_FORMAT_VERSION
label_desc: Use image node_id 11 for calling a global function with example usage: test_url_data_format() without return types