{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/device42/json-schema/device42-aws-role-schema.json",
  "title": "aws_role",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/device42-aws-roles-api-openapi.yml#/components/schemas/aws_role",
  "type": "object",
  "properties": {
    "id": {},
    "role_name": {},
    "role_description": {},
    "name": {},
    "accounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/aws_role_account"
      }
    }
  },
  "$defs": {
    "aws_role_account": {
      "type": "object",
      "properties": {
        "id": {},
        "aws_account_id": {},
        "aws_role_id": {}
      }
    }
  }
}