OBJECT
PackageResource
A Resource is an aiWARE asset that a package is dependent on, such as an application, engine, schema, engine build, and so on. Refer to PackageResourceType for the aiWARE assets that can be added to a package.
link GraphQL Schema definition
1 type PackageResource { 2 3 # This is a unique integer identifier for the resource entry in the database. 4 # Note that this is _not_ the ID of the resource itself. That would be the 5 # __resourceId__. 6 ID! : 7 8 # This is the ID belonging to the resource. For example, if the resource is an 9 # application, 10 # this would be its application ID, or if it were an engine, it would be its 11 # engine ID, and so on. 12 # If the resource is an automateNode the resource will be a tdo ID, if it were an 13 # automateTemplate, 14 # the resource will be an automate flow template ID. 15 ID! : 16 17 PackageResourceType! : 18 19 # This is the ID of the package that the resource belongs to. 20 ID! : 21 22 # This id should be used when referencing a resource from another resource in the 23 # same package 24 # since it is guaranteed to be consistent across aiware instances 25 String : 26 27 # The referencePaths field is an array containing unique chains of packages that 28 # lead to the reference 29 # of the resource. Each item in the array represents a distinct path. It is 30 # possible for multiple 31 # packages to reference the same resource, and this array captures the path for 32 # each reference. 33 String] : [ 34 35 DateTime! : 36 37 DateTime! : 38 39 BasicUserInfo! : 40 41 BasicUserInfo! : 42 43 }