{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elhub/json-schema/elhub-party-update-request-schema.json",
  "title": "party_update_request",
  "description": "Request schema for update operations - The body that interacts with the Flexibility Information System\n\nA party is the thing that is authorized to access or modify data in the Flexiblity Information System.\n\nExample party types:\n\n* Service Provider\n* System Operator\n* End User",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elhub-party-api-openapi.yml#/components/schemas/party_update_request",
  "summary": "Update - Party",
  "type": "object",
  "properties": {
    "name": {
      "description": "Name of the party. Maximum 128 characters.",
      "format": "text",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/party_status",
      "default": "new"
    }
  },
  "$defs": {
    "party_status": {
      "description": "The status of the party.",
      "format": "text",
      "type": "string",
      "default": "new",
      "enum": [
        "new",
        "active",
        "inactive",
        "suspended",
        "terminated"
      ]
    }
  }
}