github.com/weaviate/weaviate@v1.24.6/test/acceptance/graphql_resolvers/fixtures/actions_schema.json (about) 1 { 2 "version": "0.0.1", 3 "type": "action", 4 "name": "weaviate demo actions schema", 5 "maintainer": "yourfriends@weaviate.com", 6 "classes": [ 7 { 8 "class": "Flight", 9 "description": "An airline flight", 10 "properties": [ 11 { 12 "name": "aircraft", 13 "dataType": ["Aircraft"], 14 "description": "The kind of aircraft" 15 }, 16 { 17 "name": "arrivalAirport", 18 "dataType": ["Airport"], 19 "description": "The airport where the flight terminates" 20 }, 21 { 22 "name": "departureAirport", 23 "dataType": ["Airport"], 24 "description": "The airport where the flight originates." 25 }, 26 { 27 "name": "flightNumber", 28 "dataType": ["string"], 29 "description": "The unique identifier for a flight" 30 }, 31 { 32 "name": "date", 33 "dataType": ["date"], 34 "description": "The date the person is moving" 35 }, 36 { 37 "name": "estimatedFlightDuration", 38 "dataType": ["number"], 39 "description": "The estimated time in minutes the flight will take" 40 }, 41 { 42 "name": "numberOfPassengers", 43 "dataType": ["int"], 44 "description": "Total number of passengers" 45 }, 46 { 47 "name": "isDelayed", 48 "dataType": ["boolean"], 49 "description": "True if the flight is delayed" 50 } 51 ] 52 }, 53 { 54 "class": "BuyAction", 55 "description": "An agent buys an object, product, or service from a seller for a price.", 56 "properties": [ 57 { 58 "name": "salesPerson", 59 "dataType": ["Airline", "Person"], 60 "description": "The seller of the thing", 61 "keywords": [ 62 {"keyword": "sale", "weight": 0.5}, 63 {"keyword": "person", "weight": 0.5} 64 ] 65 }, 66 { 67 "name": "price", 68 "dataType": ["number"], 69 "description": "The offer price of a product" 70 }, 71 { 72 "name": "recipient", 73 "dataType": ["Person"], 74 "description": "The recipient of the good", 75 "keywords": [ 76 {"keyword": "buy", "weight": 0.5}, 77 {"keyword": "person", "weight": 0.5} 78 ] 79 } 80 ] 81 }, 82 { 83 "class": "Event", 84 "description": "Event is used to replicate bugs and prevent regressions for the fixes mentioned in gh-824", 85 "properties": [ 86 { 87 "name": "name", 88 "dataType": ["string"], 89 "description": "The name of the event" 90 }, 91 { 92 "name": "description", 93 "dataType": ["text"], 94 "description": "The description of the event" 95 } 96 ] 97 } 98 ] 99 }