{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-service-schema.json",
  "title": "Service",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-space-resources-api-openapi.yml#/components/schemas/Service",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "service"
      ]
    },
    "api_version": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "2.0.0"
      ]
    },
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "version": {
      "type": "string",
      "maxLength": 255
    },
    "title": {
      "type": "string",
      "maxLength": 1023
    },
    "summary": {
      "type": "string",
      "maxLength": 65535
    },
    "service": {
      "type": "object",
      "properties": {
        "endpoint": {
          "type": "string"
        },
        "tls_client_profile_url": {
          "type": "string",
          "format": "uri"
        },
        "timeout": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2147483647
        },
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string",
          "format": "password"
        },
        "http_method": {
          "type": "string",
          "enum": [
            "get",
            "post",
            "put",
            "delete",
            "patch",
            "head",
            "options"
          ]
        },
        "compression": {
          "type": "boolean"
        },
        "org_url": {
          "type": "string",
          "format": "uri"
        },
        "catalog_url": {
          "type": "string",
          "format": "uri"
        },
        "space_url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "service_schema": {
      "type": "object",
      "additionalProperties": true
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "url": {
      "type": "string",
      "readOnly": true,
      "format": "uri"
    }
  }
}