{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-organizations-relationship-schema.json",
  "title": "organizationsRelationship",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-management-relationships-api-openapi.yml#/components/schemas/organizationsRelationship",
  "properties": {
    "assigned_admins": {
      "items": {
        "$ref": "#/$defs/AssignedAdmins"
      },
      "type": "array"
    },
    "assigned_groups": {
      "items": {
        "$ref": "#/$defs/AssignedGroups"
      },
      "type": "array"
    },
    "id": {
      "description": "id of the org",
      "type": "string"
    },
    "name": {
      "description": "name of the org",
      "type": "string"
    },
    "region": {
      "properties": {
        "label": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "subscriptions": {
      "items": {
        "$ref": "#/$defs/AssignedSubscriptions"
      },
      "type": "array"
    }
  },
  "$defs": {
    "AssignedAdmins": {
      "properties": {
        "email": {
          "description": "email of the assigned admin",
          "type": "string"
        },
        "id": {
          "description": "id of the admin",
          "type": "string"
        },
        "name": {
          "description": "name of the assigned admin",
          "type": "string"
        }
      }
    },
    "AssignedGroups": {
      "properties": {
        "id": {
          "description": "id of the group",
          "type": "string"
        },
        "name": {
          "description": "name of the assigned group",
          "type": "string"
        }
      }
    },
    "AssignedSubscriptions": {
      "properties": {
        "id": {
          "description": "id of the subscription",
          "type": "string"
        },
        "skus": {
          "items": {
            "properties": {
              "key": {
                "type": "string"
              },
              "productsInfo": {
                "description": "products on the subscription",
                "items": {
                  "properties": {
                    "assignedEntitlements": {
                      "description": "entitlement quantity shared with the managed org",
                      "type": "integer"
                    },
                    "product": {
                      "type": "string"
                    },
                    "productRegion": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "type": "array"
        }
      }
    }
  }
}