github.com/weaviate/weaviate@v1.24.6/test/acceptance/graphql_resolvers/fixtures/things_schema.json (about)

     1  {
     2    "@context": "",
     3    "version": "0.0.1",
     4    "type": "object",
     5    "name": "weaviate demo objects schema",
     6    "maintainer": "yourfriends@weaviate.com",
     7    "classes": [
     8      {
     9        "class": "City",
    10        "description": "A city, place or town",
    11        "properties": [
    12          {
    13            "name": "name",
    14            "dataType": ["string"],
    15            "description": "Official name of the city."
    16          },
    17          {
    18            "name": "inCountry",
    19            "dataType": ["Country"],
    20            "description": "The country the city lies in"
    21          },
    22          {
    23            "name": "population",
    24            "dataType": ["int"],
    25            "description": "Number of inhabitants of the city"
    26          },
    27          {
    28            "name": "isCapital",
    29            "dataType": ["boolean"],
    30            "description": "True if the city is a capital"
    31          },
    32          {
    33            "name": "reviews",
    34            "dataType": ["string"],
    35            "description": "Visitors opinions about the city"
    36          },
    37          {
    38            "name": "location",
    39            "dataType": ["geoCoordinates"],
    40            "description": "The city's longitude and latitude",
    41            "keywords": [{"keyword": "location", "weight": 1.0}]
    42          }
    43        ]
    44      },
    45      {
    46        "class": "Person",
    47        "description": "Person",
    48        "properties": [
    49          {
    50            "name": "livesIn",
    51            "dataType": ["City"],
    52            "description": "The place where the person lives in."
    53          },
    54          {
    55            "name": "birthday",
    56            "dataType": ["date"],
    57            "description": "Birthday of the person"
    58          },
    59          {
    60            "name": "name",
    61            "dataType": ["string"],
    62            "description": "Name of the person"
    63          },
    64          {
    65            "name": "ofNation",
    66            "dataType": ["Country"],
    67            "description": "Nationality of the person",
    68            "keywords": [
    69              {"keyword": "nation", "weight": 1.0},
    70              {"keyword": "country", "weight": 1.0},
    71              {"keyword": "person", "weight": 1.0}
    72            ]
    73          }
    74        ]
    75      },
    76      {
    77        "class": "Country",
    78        "description": "Country",
    79        "properties": [
    80          {
    81            "name": "name",
    82            "dataType": ["string"],
    83            "description": "Official name of the country"
    84          },
    85          {
    86            "name": "population",
    87            "dataType": ["int"],
    88            "description": "Amount of people living in the country"
    89          }
    90        ]
    91      },
    92      {
    93        "class": "Airport",
    94        "description": "An airport",
    95        "properties": [
    96          {
    97            "name": "code",
    98            "dataType": ["string"],
    99            "description": "identifier for an airport"
   100          },
   101          {
   102            "name": "inCity",
   103            "dataType": ["City"],
   104            "description": "City where the airport lies."
   105          },
   106          {
   107            "name": "name",
   108            "dataType": ["string"],
   109            "description": "Official name of the airport"
   110          }
   111        ]
   112      },
   113      {
   114        "class": "Airline",
   115        "description": "An organization that provides flights for passengers",
   116        "properties": [
   117          {
   118            "name": "code",
   119            "dataType": ["string"],
   120            "description": "identifier for an airport"
   121          },
   122          {
   123            "name": "basedIn",
   124            "dataType": ["City", "Country"],
   125            "description": "City or country where the airline is based."
   126          },
   127          {
   128            "name": "name",
   129            "dataType": ["string"],
   130            "description": "Official name of the airline"
   131          },
   132          {
   133            "name": "hasNumberOfPlanes",
   134            "dataType": ["int"],
   135            "description": "Number of airplanes the airline owns"
   136          }
   137        ]
   138      },
   139      {
   140        "class": "Plane",
   141        "description": "An airplane",
   142        "properties": [
   143          {
   144            "name": "code",
   145            "dataType": ["string"],
   146            "description": "identifier for the plane"
   147          },
   148          {
   149            "name": "aircraft",
   150            "dataType": ["Aircraft"],
   151            "description": "the kind of aircraft"
   152          },
   153          {
   154            "name": "ofAirline",
   155            "dataType": ["Airline"],
   156            "description": "Airline the plane is owned by"
   157          }
   158        ]
   159      },
   160      {
   161        "class": "Aircraft",
   162        "description": "The kind of aircraft (e.g., \"Boeing 747\")",
   163        "properties": [
   164          {
   165            "name": "name",
   166            "dataType": ["string"],
   167            "description": "name of the aircraft"
   168          },
   169          {
   170            "name": "numberOfSeats",
   171            "dataType": ["number"],
   172            "description": "number of seats available in the aircraft."
   173          }
   174        ]
   175      }
   176    ]
   177  }