{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-scim-group-schema.json",
  "title": "scim_group",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-scim-api-openapi.yml#/components/schemas/scim_group",
  "type": "object",
  "required": [
    "schemas",
    "displayName"
  ],
  "properties": {
    "schemas": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "id": {
      "type": "string"
    },
    "externalId": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "members": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/scim_member"
      }
    },
    "meta": {
      "$ref": "#/$defs/scim_meta"
    }
  },
  "$defs": {
    "scim_member": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "User id of the member."
        },
        "$ref": {
          "type": "string"
        },
        "display": {
          "type": "string"
        }
      }
    },
    "scim_meta": {
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time",
          "description": "Time the resource was created (xsd:dateTime). Currently omitted until available upstream."
        },
        "lastModified": {
          "type": "string",
          "format": "date-time",
          "description": "Time the resource was last modified. Currently omitted until available upstream."
        },
        "location": {
          "type": "string"
        },
        "version": {
          "type": "string",
          "description": "Weak entity-tag, usable as an If-Match precondition."
        }
      }
    }
  }
}