node record schema
RAGE Node. Required: node_id, node_type.
Properties
| property | type | required | notes |
|---|---|---|---|
kind |
const |
required |
must be "node".
|
node_id |
string |
required | primary key. MUST follow the node_id grammar in spec/format.md (provider|account|type|native, with | escaped as %7C in components). |
node_type |
string |
required | |
attributes |
object |
optional | |
name |
string |
optional | |
observed_at |
string |
optional | format: date-time. when this node was collected |
provider |
string |
optional | |
scope |
object |
optional | where the node lives: {account, region|location, project|subscription, global} |
Additional properties are allowed - RAGE is forward-compatible; unknown fields are ignored.
Raw schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rage.fail/schemas/0.1/node.schema.json",
"title": "RAGE Node",
"type": "object",
"required": [
"kind",
"node_id",
"node_type"
],
"additionalProperties": true,
"properties": {
"kind": {
"const": "node"
},
"node_id": {
"type": "string",
"description": "primary key. MUST follow the node_id grammar in spec/format.md (provider|account|type|native, with | escaped as %7C in components)."
},
"node_type": {
"type": "string"
},
"provider": {
"type": "string"
},
"name": {
"type": "string"
},
"scope": {
"type": "object",
"description": "where the node lives: {account, region|location, project|subscription, global}"
},
"observed_at": {
"type": "string",
"format": "date-time",
"description": "when this node was collected"
},
"attributes": {
"type": "object"
}
}
}