{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-create-sdk-details-schema.json",
  "title": "CreateSdkDetails",
  "description": "Information about the new SDK.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-apigateway-api-openapi.yml#/components/schemas/CreateSdkDetails",
  "properties": {
    "apiId": {
      "description": "The [OCID](/Content/General/Concepts/identifiers.htm) of API resource\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "definedTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only the String type is supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing a defined tag key and value, scoped to a\nnamespace.\n\nExample: `{\"CostCenter\": \"42\"}`\n",
        "type": "object"
      },
      "description": "Defined tags for this resource. Each key is predefined and scoped to a\nnamespace. For more information, see\n[Resource Tags](/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Operations\": {\"CostCenter\": \"42\"}}`\n",
      "type": "object"
    },
    "displayName": {
      "description": "A user-friendly name. Does not have to be unique, and it's changeable.\nAvoid entering confidential information.\n\nExample: `My new resource`\n",
      "type": "string"
    },
    "freeformTags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Free-form tags for this resource. Each tag is a simple key-value pair\nwith no predefined name, type, or namespace. For more information, see\n[Resource Tags](/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Department\": \"Finance\"}`\n",
      "type": "object"
    },
    "locks": {
      "description": "Locks associated with this resource.",
      "items": {
        "$ref": "#/$defs/AddResourceLockDetails"
      },
      "maxItems": 1,
      "type": "array"
    },
    "parameters": {
      "additionalProperties": {
        "description": "The value of the config. Only the String type is supported.\n",
        "type": "string"
      },
      "description": "Additional optional configurations that can be passed to generate SDK Api.\nThe applicable parameters are listed under \"parameters\" when \"/sdkLanguageTypes\" is called.\n\nExample: `{\"configName\": \"configValue\"}`\n",
      "type": "object"
    },
    "targetLanguage": {
      "description": "The string representing the target programming language for generating the SDK.\n",
      "type": "string"
    }
  },
  "required": [
    "apiId",
    "targetLanguage"
  ],
  "type": "object",
  "$defs": {
    "AddResourceLockDetails": {
      "description": "Used to add a resource lock.\nResource locks are used to prevent certain APIs from being called for the resource.\nA full lock prevents both updating the resource and deleting the resource. A delete\nlock prevents deleting the resource.\n",
      "properties": {
        "message": {
          "description": "A message added by the creator of the lock. This is typically used to give an\nindication of why the resource is locked.\n",
          "type": "string"
        },
        "type": {
          "description": "Type of the lock.",
          "enum": [
            "FULL",
            "DELETE"
          ],
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  }
}