{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/johnson-controls/json-schema/johnson-controls-post-objects-request-schema.json",
  "title": "post-objects-request",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/johnson-controls-objects-api-openapi.yml#/components/schemas/post-objects-request",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "parentId",
    "localUniqueIdentifier",
    "objectType"
  ],
  "properties": {
    "parentId": {
      "type": "string",
      "description": "The ID of the parent object. The new object will be created under this\nobject.\n"
    },
    "localUniqueIdentifier": {
      "type": "string",
      "maxLength": 32,
      "description": "A string that is locally unique within the context of the parent object\nfor identifying the new object. This string will be the last component of\nthe `itemReference` of the newly created object. For example, assume you\nhave a folder with an `itemReference` of `adx:oas/Programming`. Then you\ncreate an AV with a local unique identifier of `ZN-3-T` within that\nfolder. The newly created object will have an `itemReference` of\n`adx:oas/Programming.ZN-3-T`.\n\nThe value must not contain any control characters or any of the following\ncharacters: `\" # ' * , . / : < > ? @ [ \\ ] |`\n",
      "pattern": "^[^\\x00-\\x1F\\x7F\\x22#'*,.\\/:<>?@\\[\\\\\\]|]+$"
    },
    "objectType": {
      "type": "string",
      "x-metasysType": "enum",
      "x-metasysEnum": "objectTypeEnumSet",
      "description": "The type of object to create.\n\nThe values for this property come from the `objectTypeEnumSet` enumeration.\nFind the definition of `objectTypeEnumSet` at the relative URL of `/schemas/enums/objectTypeEnumSet`.\n\n**See also:**\n* [Get enumeration](#operation/getEnumerationAsJsonSchema) for more information on retrieving an enumeration."
    },
    "item": {
      "type": "object",
      "description": "The `item` object is where you set the properties of the newly created\nobject. Which properties can be set and their data types can be discovered\nby using the _Get schema for object type_ operation.\n\nThis property may or may not be required depending on the object you are\ncreating. Some objects have defaults for all properties and require\nnothing to be set when creating them. Others have required properties that\nmust be set at creation time.\n"
    }
  }
}