GCC Build OSv0
/api

FunctionFunction

retention: reference

Top-level pillar within a tenant engagement (e.g., IT, Finance, HR, Legal, PMO). Container for Workstreams.

RACI requirements

decision_maker
n/a
approver
n/a
reviewer
n/a
contributor
n/a
informed
n/a

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://gcc.bootminds.com/ontology/node-types/function.json",
  "title": "Function",
  "description": "Top-level pillar within a tenant engagement (e.g., IT, Finance, HR, Legal, PMO). Container for Workstreams.",
  "type": "object",
  "x-node-type": "Function",
  "x-lifecycle-state-machine": null,
  "x-raci-requirements": {
    "decision_maker": "n/a",
    "approver": "n/a",
    "reviewer": "n/a",
    "contributor": "n/a",
    "informed": "n/a"
  },
  "x-retention-class": "reference",
  "required": [
    "node_id",
    "node_type",
    "tenant_id",
    "attributes",
    "state",
    "created_at",
    "created_by"
  ],
  "properties": {
    "node_id": {
      "type": "string",
      "format": "uuid"
    },
    "node_type": {
      "const": "Function"
    },
    "tenant_id": {
      "type": "string",
      "format": "uuid"
    },
    "state": {
      "const": "active",
      "description": "Functions are stateless reference data within a tenant; always active."
    },
    "attributes": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "name",
        "display_order"
      ],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "Function name (e.g., 'IT', 'Finance', 'HR', 'Legal', 'PMO', 'Procurement', 'Real Estate & Facilities', 'Change & Comms'). Free-text in Phase 0; expected canonical values evolve with pack library."
        },
        "display_order": {
          "type": "integer",
          "minimum": 0,
          "description": "Sort order for UI rendering of functions within a tenant."
        },
        "description": {
          "type": "string",
          "description": "Optional longer description of the function's scope within this engagement."
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string",
      "format": "uuid"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}