{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mantic/json-schema/mantic-membership-response-schema.json",
  "title": "MembershipResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mantic-scenarios-api-openapi.yml#/components/schemas/MembershipResponse",
  "properties": {
    "membership_id": {
      "type": "integer",
      "title": "Membership Id"
    },
    "instance_id": {
      "type": "integer",
      "title": "Instance Id"
    },
    "position": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Position"
    },
    "detached": {
      "type": "boolean",
      "title": "Detached",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "membership_id",
    "instance_id"
  ]
}