{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-standard-object-record-schema.json",
  "title": "StandardObjectRecord",
  "description": "The data model that describes a record of a standard object. This includes the standard object name, the properties and values used to identify a record, and the custom field values that have been saved.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-custom-fields-api-api-openapi.yml#/components/schemas/StandardObjectRecord",
  "type": "object",
  "properties": {
    "standardObjectName": {
      "type": "string",
      "description": "The name of the standard object that is used internally by the system."
    },
    "recordIdentifiers": {
      "type": "object",
      "description": "A list of identity keys and their values that uniquely identify a standard object record."
    },
    "customFields": {
      "type": "object",
      "description": "The custom fields and values that have been saved to a standard object resource.\nThe customFields property is an object with a schema derived from the relevant custom fields. Each property is the name of a custom field (not case sensitive) with a corresponding value matching the custom field's type.\nCustom Field Type to JSON Type Mapping\n\nBoolean - boolean\nCustom Object Reference -  object\nDate - string(date)\nDate Time - string(date-time)\nDecimal - number(double)\nInteger - integer(int64)\nStandard Object Reference - object\nText - string\nTime - string(time)\n\nCustom Object Reference Format\nCustom Object References are always returned to the client as an object with three properties OR null.\nProperties\n\nid - string(uuid) - The uuid used to uniquely identify a custom object record.\nrecordIdentifier - integer(int64) - The value used to uniquely identify a custom object record.\ndisplayValue - string - This is either the object's Primary Field (when specified) or the object's first field.\n\nWhen adding or updating a custom object reference, several formats can be used.\n\nA string(uuid) representing the record's ID.\n\nExample\n{\n  &quot;customFields&quot;: {\n    &quot;MyCustomObjectReference&quot;: &quot;d13023f2-9841-4439-8f8b-2d75ef3e87f4&quot;\n  }\n}\n\n\nA integer(int64) representing a record identifier.\n\nExample\n{\n  &quot;customFields&quot;: {\n    &quot;MyCustomObjectReference&quot;: 15\n  }\n}\n\n\nAn object with either a recordIdentifier or id property. Additional properties (such as displayName) are ignored with write operations.\n\nExample\n{\n  &quot;customFields&quot;: {\n    &quot;MyCustomObjectReference&quot;: {\n      &quot;recordIdentifier&quot;: 15,\n      &quot;id&quot;: &quot;d13023f2-9841-4439-8f8b-2d75ef3e87f4&quot;,\n      &quot;displayValue&quot;: &quot;Blue&quot;\n    }\n  }\n}\n\nStandard Object Reference Format\nStandard Object References are always returned to the client as an object with two properties OR null.\nProperties\n\nrecordIdentifiers - object - An object of identity keys and their values that uniquely identify a standard object record.  This object has a schema that is derived from the identifiers used by the referenced standard object. For example, the Part standard object has a single identifier named Part_Key.\ndisplayValue -  string - The human readable text used to represent the referenced record. This value alone may not uniquely identify a record.\n\nWhen adding or updating a standard object reference, several formats can be used.\n\nAn object with the proper recordIdentifiers object. Additional properties (such as displayName) are ignored with write operations.\n\nExample\n{\n  &quot;customFields&quot;: {\n    &quot;MyPartReference&quot;: {\n      &quot;recordIdentifiers&quot;: {\n        &quot;Part_Key&quot;: 1234\n      },\n      &quot;displayValue&quot;: &quot;4799-AAA&quot;\n    }\n  }\n}\n\n\nWhen the referenced object only has one identifier, the single value may be used.\n\nExample\n{\n  &quot;customFields&quot;: {\n    &quot;MyPartReference&quot;: 1234\n  }\n}"
    }
  },
  "required": [
    "standardObjectName",
    "recordIdentifiers",
    "customFields"
  ]
}